/**
 * SAMPATTI - Landing Page
 * Light cream theme with coral accents
 * Brand: Cream background + Coral (#F87060) accent
 */

/* ============================================
   Variables - Sampatti Brand (Light Theme)
   ============================================ */
:root {
  /* Primary - Coral/Salmon */
  --color-primary: #F87060;
  --color-primary-dark: #E85A4A;
  --color-primary-light: #FF8A7A;
  --color-primary-glow: rgba(248, 112, 96, 0.2);

  /* Backgrounds - Cream/Off-white */
  --color-bg: #FFF9F0;
  --color-bg-pure: #FFFFFF;
  --color-surface: #FFFFFF;
  --color-surface-elevated: #FFFFFF;
  --color-card: #FFFFFF;
  --color-card-hover: #FFF5EB;

  /* Text */
  --color-text: #1A1A1A;
  --color-text-secondary: #4A4A4A;
  --color-text-muted: #8A8A8A;
  --color-text-light: #666666;

  /* Borders */
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-hover: rgba(0, 0, 0, 0.15);
  --color-border-subtle: rgba(0, 0, 0, 0.05);

  /* States */
  --color-success: #22C55E;
  --color-error: #EF4444;

  /* Typography */
  --font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Noto Sans', 'Noto Sans Devanagari', 'Noto Sans Kannada', sans-serif;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 4px 20px rgba(248, 112, 96, 0.25);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   Reset
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  overflow-x: hidden;
}

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

button, input {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   Top Header Navigation
   ============================================ */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-subtle);
  z-index: 100;
  /* For centered logo positioning */
}

.top-nav {
  display: flex;
  align-items: center;
  flex: 1;
}

/* Center Logo in Navigation */
.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

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

@media (max-width: 480px) {
  .nav-logo-img {
    height: 46px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.04);
}

.nav-link svg {
  opacity: 0.5;
  transition: transform 0.2s;
}

.nav-link.nav-cta {
  background: var(--color-primary);
  color: white;
  border-radius: 8px;
  font-weight: 500;
  margin-left: 0.5rem;
}

.nav-link.nav-cta:hover {
  background: #E85A4A;
  color: white;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.5rem;
  box-shadow: var(--shadow-elevated);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.nav-dropdown:hover .nav-link svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  border-radius: 6px;
  transition: all 0.15s ease;
}

.nav-dropdown-menu a:hover {
  color: var(--color-text);
  background: var(--color-bg);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.2s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

@media (max-width: 768px) {
  .top-header {
    padding: 0.625rem 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem;
    box-shadow: var(--shadow-card);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    background: transparent;
  }

  .nav-dropdown-menu a {
    padding: 0.625rem 1rem;
  }
}

/* ============================================
   Language Controls
   ============================================ */
.lang-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  position: relative;
}

/* Mobile language toggle button - hidden on desktop */
.lang-toggle-mobile {
  display: none;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.625rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.lang-toggle-mobile svg {
  transition: transform 0.2s;
}

.lang-toggle-mobile.active svg {
  transform: rotate(180deg);
}

.lang-selector {
  display: flex;
  gap: 0.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.25rem;
  box-shadow: var(--shadow-sm);
}

.lang-btn {
  padding: 0.5rem 0.625rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 36px;
  text-align: center;
}

.lang-btn:hover {
  color: var(--color-text);
  background: var(--color-bg);
}

.lang-btn.active {
  color: white;
  background: var(--color-primary);
  font-weight: 600;
}

/* Mobile: Show toggle, hide horizontal selector, show vertical dropdown */
@media (max-width: 480px) {
  .lang-toggle-mobile {
    display: flex;
  }

  .lang-selector {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    flex-direction: column;
    min-width: 70px;
    z-index: 50;
  }

  .lang-selector.open {
    display: flex;
  }

  .lang-btn {
    width: 100%;
    text-align: center;
  }
}

/* More languages button (globe icon) */
.lang-more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem !important;
}

.lang-more svg {
  opacity: 0.6;
  transition: opacity 0.2s;
}

.lang-more:hover svg,
.lang-more.active svg {
  opacity: 1;
}

/* Google Translate Widget Styling */
#google_translate_element {
  font-size: 0.75rem;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease, margin 0.3s ease;
  margin-top: 0;
}

#google_translate_element.gt-visible {
  max-height: 50px;
  opacity: 1;
  margin-top: 0.5rem;
}

#google_translate_element.gt-hidden {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

#google_translate_element .goog-te-gadget {
  font-family: var(--font-body) !important;
  font-size: 0.75rem;
}

#google_translate_element .goog-te-gadget-simple {
  background: var(--color-surface) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 8px !important;
  padding: 0.375rem 0.5rem !important;
  font-size: 0.75rem !important;
}

#google_translate_element .goog-te-gadget-simple .goog-te-menu-value {
  color: var(--color-text-secondary) !important;
}

#google_translate_element .goog-te-gadget-simple .goog-te-menu-value span {
  color: var(--color-text-secondary) !important;
}

/* Hide Google Translate banner */
.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

/* Language Suggestion Banner */
.lang-suggestion {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-text);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-elevated);
  z-index: 1000;
  transition: bottom 0.3s var(--ease);
  font-size: 0.875rem;
  max-width: calc(100% - 2rem);
}

.lang-suggestion.visible {
  bottom: 1.5rem;
}

.suggestion-msg {
  flex: 1;
}

.suggestion-yes {
  background: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.suggestion-yes:hover {
  background: var(--color-primary-dark);
}

.suggestion-no {
  color: rgba(255,255,255,0.6);
  padding: 0.25rem;
  font-size: 1rem;
  transition: color 0.2s;
}

.suggestion-no:hover {
  color: white;
}

@media (max-width: 480px) {
  .lang-suggestion {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
  }

  .suggestion-msg {
    width: 100%;
    margin-bottom: 0.25rem;
  }
}

/* ============================================
   Landing Page
   ============================================ */
.landing {
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6.5rem 1.25rem 2rem;
  position: relative;
  background: var(--color-bg);
}

.landing-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(248, 112, 96, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(248, 112, 96, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

.landing-content {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo removed - now in navigation bar */

/* Hero */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 0.625rem;
  color: var(--color-text);
}

.hero-sub {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  font-weight: 400;
  max-width: 420px;
  line-height: 1.55;
}

/* ============================================
   Chat Input
   ============================================ */
.chat-input-container {
  margin-bottom: 2.5rem;
}

.chat-form {
  display: flex;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 0.375rem;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
}

.chat-form:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow), var(--shadow-card);
}

.chat-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text);
  font-size: 1rem;
  padding: 0.875rem 1rem;
}

.chat-input::placeholder {
  color: var(--color-text-muted);
}

.chat-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--color-primary);
  border-radius: 12px;
  color: white;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.chat-submit:hover {
  background: var(--color-primary-dark);
  transform: scale(1.03);
}

.chat-submit:active {
  transform: scale(0.97);
}

/* ============================================
   Suggestions
   ============================================ */
.suggestions {
  margin-bottom: 3rem;
}

.suggestions-label {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.suggestion-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .suggestion-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.suggestion-card {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-align: left;
  color: var(--color-text);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.suggestion-card:hover {
  background: var(--color-card-hover);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.suggestion-card:active {
  transform: translateY(0);
}

.suggestion-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.suggestion-text {
  font-size: 0.875rem;
  line-height: 1.35;
  font-weight: 450;
  color: var(--color-text-secondary);
}

/* ============================================
   Trust Section
   ============================================ */
.trust-section {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 1rem;
}

@media (max-width: 480px) {
  .trust-section {
    margin-bottom: 0.75rem;
  }
  .trust-text {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }
  .trust-badges {
    gap: 0.5rem;
  }
  .trust-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }
}

.trust-text {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.625rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  padding: 0.375rem 0.625rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: 16px;
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s var(--ease);
  box-shadow: var(--shadow-elevated);
}

.modal-overlay.visible .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  color: var(--color-text);
  background: var(--color-bg);
}

/* Modal Steps */
.modal-step {
  text-align: center;
}

.modal-step.hidden {
  display: none;
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.modal-icon.success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--color-primary);
  color: white;
  font-size: 2rem;
  border-radius: 50%;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.modal-sub {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

/* Phone Input */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phone-input-group {
  display: flex;
  align-items: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.phone-input-group:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.phone-prefix {
  padding: 0 1rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  border-right: 1px solid var(--color-border);
  background: var(--color-surface);
}

.phone-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text);
  font-size: 1.0625rem;
  padding: 1rem;
  letter-spacing: 0.03em;
}

.phone-input::placeholder {
  color: var(--color-text-muted);
  letter-spacing: 0;
}

.input-hint {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: -0.5rem;
}

/* OTP Inputs */
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.otp-digit {
  width: 48px;
  height: 56px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  outline: none;
  transition: all 0.2s ease;
}

.otp-digit:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.otp-digit.error {
  border-color: var(--color-error);
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.otp-timer {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.resend-btn {
  font-size: 0.875rem;
  color: var(--color-primary);
  padding: 0.5rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.resend-btn:hover {
  opacity: 0.8;
}

.resend-btn.hidden {
  display: none;
}

/* Modal Buttons */
.modal-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

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

.modal-btn.primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.modal-btn.primary:active {
  transform: translateY(0);
}

.modal-btn.primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.modal-btn.secondary {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.modal-btn.secondary:hover {
  color: var(--color-text);
  background: var(--color-bg);
  border-color: var(--color-border-hover);
}

/* Loader */
.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn-loader.hidden {
  display: none;
}

.redirect-loader {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 1rem auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Error Message */
.error-message {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--color-error);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.error-message.hidden {
  display: none;
}

/* WhatsApp Explanation (Success Step) */
.whatsapp-explanation {
  text-align: left;
  margin: 1rem 0;
}

.whatsapp-explanation .modal-sub {
  text-align: center;
  margin-bottom: 1.25rem;
}

.why-whatsapp {
  background: var(--color-bg);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.why-whatsapp h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.whatsapp-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.whatsapp-benefits li {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  padding: 0.4rem 0;
  line-height: 1.4;
}

.whatsapp-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 1rem;
  font-style: italic;
}

.whatsapp-btn {
  background: #25D366 !important;
  text-decoration: none;
}

.whatsapp-btn:hover {
  background: #20BD5A !important;
}

.whatsapp-btn svg {
  flex-shrink: 0;
}

/* ============================================
   Utility Classes
   ============================================ */
.hidden {
  display: none !important;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 480px) {
  .landing {
    padding: 5rem 1rem 1.5rem;
    justify-content: flex-start;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .hero-sub {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }

  .services-grid {
    margin: 0.75rem 0;
    gap: 0.75rem;
  }

  .service-card {
    padding: 0.875rem 0.625rem;
  }

  .hero-video {
    max-width: 100%;
    margin: 0.75rem 0;
  }

  .landing-cta {
    margin-bottom: 1rem;
  }

  .trust-section {
    margin-bottom: 0.75rem;
  }

  .suggestion-cards {
    grid-template-columns: 1fr;
  }

  .suggestion-card {
    padding: 0.75rem 0.875rem;
  }

  .otp-digit {
    width: 42px;
    height: 50px;
    font-size: 1.25rem;
  }

  .modal {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .trust-badges {
    gap: 0.625rem;
  }

  .trust-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
  }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   RTL Support (for future)
   ============================================ */
[dir="rtl"] .phone-input-group {
  flex-direction: row-reverse;
}

[dir="rtl"] .phone-prefix {
  border-right: none;
  border-left: 1px solid var(--color-border);
}

/* ============================================
   Landing CTA - Centered & Prominent
   ============================================ */
.landing-cta {
  margin-bottom: 1.25rem;
  text-align: center;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, #E85A4A 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 24px rgba(248, 112, 96, 0.35);
}

.cta-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 32px rgba(248, 112, 96, 0.45);
}

.cta-icon {
  font-size: 1.125rem;
}

.cta-subtext {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* ============================================
   Services Grid
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 900px;
  margin: 1.5rem 0;
}

.service-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #FFF8F6 100%);
  border: 1px solid rgba(248, 112, 96, 0.15);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(248, 112, 96, 0.15);
}

.service-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.service-card p {
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 100%;
  }

  .service-card {
    padding: 0.875rem 0.5rem;
    border-radius: 12px;
  }

  .service-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .service-card h3 {
    font-size: 0.75rem;
  }

  .service-card p {
    font-size: 0.625rem;
    display: none;
  }
}

/* ============================================
   Hero Video
   ============================================ */
.hero-video {
  width: 100%;
  max-width: 600px;
  margin: 1.5rem 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 3px solid rgba(248, 112, 96, 0.2);
}

.hero-video-player {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 600px) {
  .hero-video {
    max-width: 100%;
    border-radius: 16px;
    margin: 1rem 0;
  }
}

@media (max-width: 480px) {
  .hero-video {
    border-radius: 12px;
    border-width: 2px;
    max-width: 300px;
    margin: 0.75rem 0;
  }
}

@media (max-width: 480px) {
  .cta-btn-primary {
    width: 100%;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
  .cta-icon { font-size: 1rem; }
}

/* ============================================
   Landing Page - Trusted By Logos
   ============================================ */
.landing-trusted-block {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
  width: 100%;
}

.landing-trusted-title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.landing-trusted-logos {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
}

.landing-trusted-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.landing-trusted-logo:hover {
  transform: scale(1.05);
}

/* ============================================
   Large Screen Optimization (Desktop)
   ============================================ */
@media (min-width: 1440px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-sub {
    font-size: 1.25rem;
    max-width: 800px;
  }

  .services-grid {
    gap: 2rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .service-card h3 {
    font-size: 1.125rem;
  }

  .service-card p {
    font-size: 0.9375rem;
  }

  .hero-video {
    max-width: 700px;
  }

  .landing-cta {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-sub {
    font-size: 1.125rem;
  }

  .services-grid {
    max-width: 800px;
    gap: 1.75rem;
  }

  .service-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (max-width: 1024px) {
  .landing-trusted-logos { gap: 1rem; }
  .landing-trusted-logo { height: 32px; }
}

@media (max-width: 768px) {
  .landing-content {
    max-width: 600px;
  }

  .services-grid {
    max-width: 500px;
    gap: 1rem;
  }

  .hero-video {
    max-width: 450px;
  }

  .landing-trusted-logos { gap: 0.75rem; }
  .landing-trusted-logo { height: 28px; }
}

@media (max-width: 600px) {
  .landing-content {
    max-width: 100%;
    padding: 0 0.75rem;
  }

  .services-grid {
    max-width: 100%;
    gap: 0.875rem;
  }

  .hero-video {
    max-width: 100%;
  }

  .landing-trusted-logos {
    gap: 0.75rem 0.5rem;
    flex-wrap: wrap;
    max-width: 320px;
    margin: 0 auto;
  }
  .landing-trusted-logo { height: 22px; }
}

@media (max-width: 480px) {
  .landing-trusted-block {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
  }
  .landing-trusted-title {
    font-size: 0.625rem;
    margin-bottom: 0.5rem;
  }
  .landing-trusted-logos {
    gap: 0.5rem 0.4rem;
    max-width: 280px;
  }
  .landing-trusted-logo { height: 18px; }
}

/* ============================================
   Scroll Indicator
   ============================================ */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-text-muted);
  font-size: 0.6875rem;
  cursor: pointer;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
}

.scroll-indicator span {
  opacity: 0.7;
}

.scroll-indicator svg {
  opacity: 0.4;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

/* ============================================
   Scroll-based Landing Fade
   ============================================ */
.landing {
  position: relative;
  z-index: 1;
}

.landing-content {
  transition: opacity 0.1s ease-out;
}

/* ============================================
   Features Section — scroll track for typewriter
   Height is set by JS: totalChars × pxPerChar
   ============================================ */
.features-section {
  position: relative;
  z-index: 2;
  background: transparent;
  min-height: 100vh;
  padding: 2rem 0;
}

/* Background Banner - Fixed to viewport */
.features-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease-out;
  pointer-events: none;
}

.features-bg.visible {
  opacity: 1;
}

.features-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.features-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 249, 240, 0.87);
}

.features-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  width: calc(100% - 3rem);
  margin: 0 auto;
  padding: 2rem;
  text-align: left;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease;
}

.features-content.active {
  opacity: 1;
  pointer-events: auto;
}

.story-text {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 650px;
}

.story-text p {
  margin-bottom: 1.25em;
}

.story-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 1.5em 0 0.75em;
  line-height: 1.3;
}

.story-text h2:first-child {
  margin-top: 0;
}

.story-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1.5em 0 0.5em;
  line-height: 1.3;
}

.story-text .highlight {
  color: #D64545;
}

.story-text .story-ending {
  font-size: 1.3rem;
  margin-top: 2em;
  font-weight: 500;
}

/* ============================================
   Trusted By Block (inside slide 2)
   ============================================ */
.trusted-block {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  text-align: center;
}

.trusted-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
}

.trusted-logo {
  max-height: 40px;
  max-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.trusted-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .trusted-block { margin-top: 2.5rem; padding-top: 2rem; }
  .trusted-logos { gap: 1.25rem 1.5rem; }
  .trusted-logo { max-height: 35px; max-width: 85px; }
}

@media (max-width: 480px) {
  .trusted-block { margin-top: 2rem; padding-top: 1.5rem; }
  .trusted-title { font-size: 1rem; margin-bottom: 1.25rem; }
  .trusted-logos { gap: 1rem 1.25rem; }
  .trusted-logo { max-height: 30px; max-width: 70px; }
}

/* ============================================
   Site Footer
   ============================================ */
.site-footer {
  position: relative;
  z-index: 20;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 2rem;
}

.footer-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.footer-content--expanded {
  max-width: 960px;
}

.footer-grid-main {
  display: grid;
  grid-template-columns: 1fr 1.5fr 0.8fr;
  gap: 2rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

.footer-brand-col .footer-brand-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.footer-brand-col .footer-brand-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-text-muted);
  transition: background 0.2s, color 0.2s;
}

.footer-social-links a:hover {
  background: var(--color-primary);
  color: #fff;
}

.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-text-muted);
  opacity: 0.7;
}

.footer-contact-item a {
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: var(--color-primary);
}

.footer-links-col {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-links-col .footer-links {
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: 1rem;
}

.footer-copyright {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-grid-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social-links {
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-links-col {
    justify-content: center;
  }

  .footer-links-col .footer-links {
    flex-direction: row;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 1.5rem 1rem;
  }

  .footer-links {
    gap: 1rem;
  }
}

.features-cta {
  margin-top: 3rem;
  text-align: center;
}
.features-cta.hidden {
  visibility: hidden;
}

.cta-btn {
  background: var(--color-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-glow);
}

.cta-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(248, 112, 96, 0.35);
}

@media (max-width: 768px) {
  .story-text { font-size: 1.05rem; }
  .story-text h2 { font-size: 1.5rem; }
  .story-text h3 { font-size: 1.25rem; }

  .features-content {
    padding: 1.5rem;
    width: calc(100% - 2rem);
  }
}

@media (max-width: 480px) {
  .story-text { font-size: 1rem; line-height: 1.7; }
  .story-text h2 { font-size: 1.35rem; }
  .story-text h3 { font-size: 1.15rem; }
  .story-text .story-ending { font-size: 1.15rem; }
  .cta-btn { width: 100%; padding: 1rem 1.5rem; }

  .features-content {
    padding: 1rem;
    width: calc(100% - 1rem);
  }

  .features-cta { margin-top: 1.5rem; }
}
