:root {
  --background: #ffffff;
  --foreground: #202124;
  --primary: #FF8143;
  --primary-hover: #e66a2a;
  --primary-light: #fff3ed;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f4;
  --gray-200: #e8eaed;
  --gray-300: #dadce0;
  --gray-500: #5f6368;
  --gray-700: #3c4043;
  --gray-900: #202124;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Google Sans', 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: disc inside;
}

.min-h-screen {
  min-height: 100vh;
}

.bg-white {
  background-color: #ffffff;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  z-index: 50;
  border-bottom: 1px solid var(--gray-300);
}

.header-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  height: 2rem;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  color: var(--gray-500);
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.mobile-menu-btn:hover {
  color: var(--gray-900);
  background-color: var(--gray-100);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  margin-top: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--gray-300);
}

.mobile-menu.active {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  color: var(--primary);
  background-color: var(--gray-100);
}

/* Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 3rem;
}

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero p {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .hero p {
    font-size: 1.25rem;
  }
}

/* App Introduction */
.app-intro {
  padding: 5rem 1.5rem;
  background-color: var(--gray-50);
}

.app-intro-container {
  max-width: 72rem;
  margin: 0 auto;
}

.app-intro-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .app-intro-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.app-intro h2 {
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .app-intro h2 {
    font-size: 2.25rem;
  }
}

.app-intro-text {
  font-size: 1.125rem;
  color: var(--gray-500);
  line-height: 1.75;
}

.app-screenshot-wrapper {
  display: flex;
  justify-content: center;
}

.app-screenshot-container {
  width: 18rem;
  background-color: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  padding: 0.625rem;
}

.app-screenshot {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 1rem;
}

/* Features */
.features {
  padding: 5rem 1.5rem;
  background-color: #ffffff;
}

.features-container {
  max-width: 72rem;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.25rem;
  }
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 42rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background-color: var(--gray-50);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s;
}

.feature-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Contact */
.contact {
  padding: 5rem 1.5rem;
  background-color: var(--gray-50);
}

.contact-container {
  max-width: 72rem;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s;
}

.contact-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.contact-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.contact-link {
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-link svg {
  width: 1rem;
  height: 1rem;
}

.contact-address {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Footer */
.footer {
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-300);
  padding: 1.5rem;
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--primary);
}

/* Policy Pages (Terms & Privacy) */
.policy-page {
  padding: 4rem 1.5rem;
}

.policy-container {
  max-width: 48rem;
  margin: 0 auto;
  padding-top: 3.75rem;
}

.policy-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.policy-date {
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.policy-intro {
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.policy-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--gray-500);
}

.policy-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.policy-section h3 {
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.policy-section p {
  margin-bottom: 0.5rem;
}

.policy-section ul {
  margin-left: 0;
  margin-bottom: 0.75rem;
}

.policy-section li {
  margin-bottom: 0.25rem;
}

.policy-link {
  color: #2563eb;
}

.policy-link:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* SVG Icons */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}
