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

:root {
  --brand-50: #fdf8f5;
  --brand-100: #f5e6dc;
  --brand-200: #e8c9b5;
  --brand-600: #ad6750;
  --brand-700: #8f5240;
  --brand-800: #733f31;
  --stone-50: #fafaf9;
  --stone-700: #3f3f46;
  --stone-800: #27272a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #ffffff;
}

html,
body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Navbar */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-600);
}

.logo-img {
  height: 60px;
  width: auto;
}

.navbar-links {
  display: flex;
  gap: 1rem;
}

.lang-link {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--gray-600);
  border-radius: 0.5rem;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.lang-link:hover {
  background: var(--gray-100);
}

.lang-link.active {
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--stone-800) 0%, var(--stone-700) 50%, var(--brand-800) 100%);
  color: var(--white);
  padding: 6rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to top, var(--gray-50), transparent);
  pointer-events: none;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(2rem, 8vw, 3.75rem);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.signin-link {
  margin-top: 1rem;
}

.signin-link a {
  color: var(--brand-100);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.signin-link a:hover {
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--white);
  color: var(--brand-600);
}

.btn-primary:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Mobile Section */
.mobile-section {
  padding: 4rem 1rem;
  background: var(--gray-50);
}

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

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

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

.mobile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.mobile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 390/844;
  background: var(--white);
  border-radius: 2.5rem;
  border: 6px solid var(--gray-800);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.mobile-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
}

/* Why Us Section */
.why-us {
  padding: 4rem 1rem;
  background: var(--white);
}

.why-us h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gray-800);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: var(--brand-200);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--brand-600);
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* How It Works Section */
.how-it-works {
  padding: 4rem 1rem;
  background: var(--gray-50);
}

.how-it-works h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--gray-800);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--brand-600);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--gray-800);
}

.step-card p {
  color: var(--gray-600);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-800) 100%);
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 0;
  opacity: 0.95;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: var(--gray-800);
  color: var(--white);
  padding: 2rem 1rem;
  margin-top: auto;
  text-align: center;
  border-top: 1px solid var(--gray-700);
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer p {
  opacity: 0.8;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
  font-size: 0.875rem;
}

.footer-links a:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .mobile-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .phone-frame {
    max-width: 150px;
  }

  .section-header h2,
  .why-us h2,
  .how-it-works h2,
  .cta-section h2 {
    font-size: 1.75rem;
  }

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 1rem;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .mobile-grid {
    grid-template-columns: 1fr;
  }

  .navbar-links {
    gap: 0.5rem;
  }

  .lang-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }
}
