/* ========================================
   Lebbeyk Landing Page - "Sacred Luxury"
   Islamic geometric meets modern minimalism
   Deep Emerald + Warm Gold
   ======================================== */

/* ----------------------------------------
   CSS Custom Properties
   ---------------------------------------- */
:root {
  /* Primary Palette */
  --primary: #047857;
  --primary-dark: #065f46;
  --primary-darker: #064e3b;
  --primary-light: #059669;
  --primary-subtle: #ecfdf5;
  --primary-muted: #d1fae5;

  /* Gold Accent */
  --accent: #c7922e;
  --accent-light: #d4a017;
  --accent-lighter: #e6b422;
  --accent-subtle: rgba(199, 146, 46, 0.1);

  /* Backgrounds */
  --bg-warm: #faf9f6;
  --bg-alt: #f5f3ee;
  --bg-card: #ffffff;
  --bg-dark: #0a1f1b;

  /* Text */
  --text-dark: #0a1f1b;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-faint: #94a3b8;
  --text-ghost: #cbd5e1;

  /* Borders */
  --border-warm: #e2e0d8;
  --border-gold: rgba(199, 146, 46, 0.1);
  --border-subtle: rgba(199, 146, 46, 0.08);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --section-pad: 120px;
  --section-pad-mobile: 64px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.06), 0 8px 16px rgba(4, 120, 87, 0.06);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.04);
  --shadow-primary: 0 4px 14px rgba(4, 120, 87, 0.35);
  --shadow-gold: 0 6px 24px rgba(199, 146, 46, 0.5);

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

/* ----------------------------------------
   Container
   ---------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------------------
   Typography - Section Titles
   ---------------------------------------- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 18px auto 0;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 56px;
  line-height: 1.75;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    background 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
  border: 2px solid transparent;
  text-align: center;
  letter-spacing: -0.01em;
  font-family: inherit;
  line-height: 1.4;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

/* Primary - Emerald Gradient */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
  box-shadow: 0 8px 25px rgba(4, 120, 87, 0.45);
}

.btn-primary:active {
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
}

/* Secondary - Emerald Border Outline */
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(4, 120, 87, 0.25);
}

/* Outline - Warm Border */
.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-warm);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-subtle);
  box-shadow: 0 4px 16px rgba(4, 120, 87, 0.12);
}

/* Large Variant */
.btn-lg {
  padding: 17px 48px;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

/* ========================================
   1. Navbar
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(199, 146, 46, 0.08);
  transition:
    background 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(250, 249, 246, 0.97);
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(199, 146, 46, 0.12);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}

.logo:hover {
  opacity: 0.85;
}

.logo-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.25s var(--ease-out);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 1px;
  transition: width 0.3s var(--ease-out);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

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

.nav-cta {
  background: var(--primary);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease-out) !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(4, 120, 87, 0.2);
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  box-shadow: 0 4px 16px rgba(4, 120, 87, 0.35) !important;
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease-out),
    opacity 0.3s var(--ease-out);
  transform-origin: center;
}

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

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

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

/* ========================================
   2. Hero
   ======================================== */
.hero {
  padding: 148px 0 108px;
  background: linear-gradient(
    155deg,
    #f0fdf4 0%,
    #faf9f6 28%,
    #fefce8 55%,
    #faf9f6 80%,
    #f0fdf4 100%
  );
  position: relative;
  overflow: hidden;
}

/* Radial glow - top right */
.hero::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -8%;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(4, 120, 87, 0.07) 0%,
    rgba(4, 120, 87, 0.03) 35%,
    transparent 65%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* Radial glow - bottom left (gold) */
.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -8%;
  width: 550px;
  height: 550px;
  background: radial-gradient(
    circle,
    rgba(199, 146, 46, 0.06) 0%,
    rgba(199, 146, 46, 0.02) 40%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* Islamic Geometric Pattern Overlay */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23047857' stroke-width='0.8'%3E%3Cpath d='M40 0L40 80M0 40L80 40'/%3E%3Cpath d='M0 0L80 80M80 0L0 80'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='28'/%3E%3Cpath d='M40 12L54.5 25.5L68 40L54.5 54.5L40 68L25.5 54.5L12 40L25.5 25.5Z'/%3E%3Cpath d='M20 20L60 20L60 60L20 60Z'/%3E%3Cpath d='M40 0L54.5 25.5L80 40L54.5 54.5L40 80L25.5 54.5L0 40L25.5 25.5Z'/%3E%3Ccircle cx='0' cy='0' r='14'/%3E%3Ccircle cx='80' cy='0' r='14'/%3E%3Ccircle cx='0' cy='80' r='14'/%3E%3Ccircle cx='80' cy='80' r='14'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.hero-content h1 .gold {
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: 1.1875rem;
  color: var(--text-body);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions .btn-primary {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.hero-actions .btn-secondary {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* Hero Trust Badges */
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust span::before {
  content: '\2713';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--primary-subtle) 0%, var(--primary-muted) 100%);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Hero Visual Area */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ========================================
   3. Phone Mockup
   ======================================== */
.phone-mockup {
  background: linear-gradient(155deg, #1a2a26 0%, #0a1f1b 60%, #0d2921 100%);
  border-radius: 40px;
  padding: 12px;
  max-width: 320px;
  margin: 0 auto;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.22),
    0 20px 40px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: #0a1f1b;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.phone-notch::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

.phone-screen {
  background: #e5ddd5;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* WhatsApp-style wallpaper pattern */
.phone-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%23c8c0b4' fill-opacity='0.15'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.chat-header {
  background: linear-gradient(135deg, #075e54 0%, #064e3b 100%);
  padding: 28px 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.chat-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.chat-header-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.chat-header-name {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.chat-header-status {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.6875rem;
}

.chat-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  max-width: 85%;
  position: relative;
  word-wrap: break-word;
}

.chat-incoming {
  background: #ffffff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
  color: var(--text-dark);
}

.chat-outgoing {
  background: #dcf8c6;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
  color: var(--text-dark);
}

/* ========================================
   4. Stats Bar
   ======================================== */
.stats-bar {
  padding: 56px 0;
  background: linear-gradient(
    135deg,
    var(--bg-dark) 0%,
    var(--primary-darker) 45%,
    var(--primary-dark) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Subtle geometric pattern on stats bar */
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='0.5'%3E%3Cpath d='M30 0L30 60M0 30L60 30'/%3E%3Cpath d='M0 0L60 60M60 0L0 60'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stats-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

/* Divider between stats */
.stats-bar-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 15%;
  height: 70%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(199, 146, 46, 0.25) 50%,
    transparent 100%
  );
}

.stats-bar-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stats-bar-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ========================================
   5. Features
   ======================================== */
.features {
  padding: var(--section-pad) 0;
  position: relative;
  background: var(--bg-warm);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* Top border reveal on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-light), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-subtle) 0%, var(--primary-muted) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 22px;
  transition: transform 0.3s var(--ease-spring);
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ========================================
   6. Testimonials
   ======================================== */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.35s var(--ease-out);
  position: relative;
}

/* Decorative quotation mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 5rem;
  font-family: var(--font-display);
  color: var(--primary-subtle);
  line-height: 1;
  pointer-events: none;
  transition: color 0.35s var(--ease-out);
}

.testimonial-card:hover::before {
  color: var(--primary-muted);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.0625rem;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.testimonial-text {
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.testimonial-author strong {
  color: var(--text-dark);
  font-size: 0.9375rem;
  font-weight: 700;
}

.testimonial-author span {
  color: var(--text-faint);
  font-size: 0.8125rem;
}

/* ========================================
   7. How It Works
   ======================================== */
.how-it-works {
  padding: var(--section-pad) 0;
  background: var(--bg-warm);
  position: relative;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 300px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-out);
  position: relative;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 22px;
  box-shadow: var(--shadow-primary);
  transition: transform 0.3s var(--ease-spring);
}

.step:hover .step-number {
  transform: scale(1.1);
}

.step-icon {
  color: var(--primary);
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Step Connector (gold arrow) */
.step-connector {
  color: var(--accent);
  flex-shrink: 0;
  align-self: center;
  margin-top: 24px;
  opacity: 0.55;
  transition: opacity 0.3s;
}

.steps:hover .step-connector {
  opacity: 0.8;
}

/* ========================================
   8. Pricing
   ======================================== */
.pricing {
  padding: var(--section-pad) 0;
  position: relative;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-alt) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(4, 120, 87, 0.15);
}

/* Popular Card */
@keyframes subtleGlow {
  0%, 100% {
    box-shadow:
      0 20px 60px rgba(4, 120, 87, 0.1),
      0 8px 24px rgba(0, 0, 0, 0.04),
      0 0 0 1px rgba(4, 120, 87, 0.1);
  }
  50% {
    box-shadow:
      0 20px 60px rgba(4, 120, 87, 0.2),
      0 8px 24px rgba(0, 0, 0, 0.04),
      0 0 0 1px rgba(4, 120, 87, 0.2);
  }
}

.pricing-popular {
  border: 2px solid var(--primary);
  transform: scale(1.04);
  box-shadow:
    0 20px 60px rgba(4, 120, 87, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.04);
  z-index: 1;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  animation: subtleGlow 4s ease-in-out infinite;
}

.pricing-popular:hover {
  transform: scale(1.06) translateY(-6px);
  box-shadow:
    0 28px 72px rgba(4, 120, 87, 0.18),
    0 12px 32px rgba(0, 0, 0, 0.06);
  animation: none;
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  padding: 6px 28px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-primary);
  letter-spacing: 0.03em;
}

.pricing-header h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-amount {
  margin-bottom: 36px;
}

.pricing-amount .price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-amount .currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
  vertical-align: super;
}

.pricing-amount .period {
  font-size: 1rem;
  color: var(--text-faint);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  color: var(--text-body);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--bg-alt);
  padding-left: 34px;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background:
    linear-gradient(135deg, var(--primary-subtle) 0%, var(--primary-muted) 100%);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6l2 2 4-4' stroke='%23047857' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-card .btn {
  width: 100%;
  padding: 14px 28px;
}

.pricing-popular .btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: var(--shadow-primary);
}

.pricing-popular .btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  box-shadow: 0 8px 25px rgba(4, 120, 87, 0.45);
}

.pricing-note {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.875rem;
  margin-top: 44px;
}

/* ========================================
   9. FAQ
   ======================================== */
.faq {
  padding: var(--section-pad) 0;
  background: var(--bg-warm);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-warm);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-warm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-dark);
  gap: 16px;
  font-family: inherit;
  transition: color 0.25s var(--ease-out);
  min-height: 44px;
  line-height: 1.4;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out), color 0.3s var(--ease-out);
  color: var(--text-faint);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.45s var(--ease-out),
    padding 0.45s var(--ease-out),
    opacity 0.35s var(--ease-out);
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 24px;
  opacity: 1;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* ========================================
   10. Trust Section
   ======================================== */
.trust-section {
  padding: 56px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-grid {
  display: flex;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-body);
  font-weight: 500;
  transition: color 0.25s;
}

.trust-item:hover {
  color: var(--primary);
}

.trust-icon {
  font-size: 1.5rem;
  line-height: 1;
}

/* ========================================
   11. CTA Section
   ======================================== */
.cta-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(
    135deg,
    var(--bg-dark) 0%,
    var(--primary-darker) 35%,
    var(--primary-dark) 65%,
    var(--primary) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Gold radial glow */
.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(
    circle,
    rgba(199, 146, 46, 0.14) 0%,
    rgba(199, 146, 46, 0.04) 40%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

/* White subtle glow */
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 65%
  );
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1875rem;
  margin-bottom: 44px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* Gold CTA Button in dark sections */
.cta-section .btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--bg-dark);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  border-color: transparent;
}

.cta-section .btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-lighter) 100%);
  box-shadow: 0 10px 40px rgba(199, 146, 46, 0.6);
  transform: translateY(-3px);
}

.cta-section .btn-primary:active {
  box-shadow: 0 4px 16px rgba(199, 146, 46, 0.4);
}

/* ========================================
   12. Footer
   ======================================== */
.footer {
  padding: 56px 0 44px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-alt);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 4px;
}

.footer-brand p {
  color: var(--text-faint);
  font-size: 0.875rem;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-copyright {
  color: var(--text-ghost);
  font-size: 0.8125rem;
  margin-top: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.25s var(--ease-out);
}

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

/* Footer links (simple layout fallback) */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.25s var(--ease-out);
}

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

/* ========================================
   13. WhatsApp Floating Button
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  z-index: 99;
  transition:
    transform 0.3s var(--ease-spring),
    box-shadow 0.3s var(--ease-out);
  text-decoration: none;
  color: #ffffff;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: whatsappPulse 2.5s ease-out infinite;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ========================================
   Chat Bubble Animations
   ======================================== */
.chat-bubble {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}

.chat-bubble.show {
  opacity: 1;
  transform: translateY(0);
}

.chat-bubble.hide {
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.3s var(--ease-out);
}

/* Typing Indicator (3 bouncing dots) */
.typing-indicator {
  display: none;
  align-self: flex-end;
  background: #dcf8c6;
  padding: 12px 18px;
  border-radius: 14px;
  border-top-right-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
  gap: 5px;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.typing-indicator.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  animation: typingDot 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

/* ========================================
   Utility Classes
   ======================================== */
.text-gold {
  color: var(--accent);
}

.text-emerald {
  color: var(--primary);
}

.bg-emerald-subtle {
  background: var(--primary-subtle);
}

/* ========================================
   Responsive - Tablet (1024px)
   ======================================== */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 48px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    gap: 20px;
  }

  .pricing-popular {
    transform: scale(1.02);
  }

  .pricing-popular:hover {
    transform: scale(1.04) translateY(-4px);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ========================================
   Responsive - Mobile (768px)
   ======================================== */
@media (max-width: 768px) {
  /* Variables override */
  :root {
    --section-pad: 64px;
  }

  /* Navbar */
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border-warm);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.4s var(--ease-out),
      opacity 0.4s var(--ease-out);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 10px 0;
  }

  .nav-links a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
    display: block;
    padding: 12px 20px;
    margin-top: 8px;
  }

  /* Hero */
  .hero {
    padding: 112px 0 56px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(1.875rem, 7vw, 2.5rem);
  }

  .hero-sub {
    font-size: 1.0625rem;
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    padding: 14px 28px;
    font-size: 0.9375rem;
  }

  .hero-trust {
    justify-content: center;
    gap: 16px;
  }

  .phone-mockup {
    max-width: 300px;
  }

  /* Stats Bar */
  .stats-bar {
    padding: 40px 0;
  }

  .stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .stats-bar-item:not(:last-child)::after {
    display: none;
  }

  .stats-bar-number {
    font-size: 1.75rem;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.625rem;
  }

  .section-sub {
    font-size: 1rem;
    margin-bottom: 36px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .testimonial-card {
    padding: 28px 24px;
  }

  /* How It Works */
  .steps {
    flex-direction: column;
    gap: 14px;
  }

  .step {
    max-width: 100%;
    padding: 28px 24px;
  }

  .step-connector {
    transform: rotate(90deg);
    margin-top: 0;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-popular {
    transform: none;
    box-shadow: 0 8px 32px rgba(4, 120, 87, 0.12);
  }

  .pricing-popular:hover {
    transform: translateY(-4px);
  }

  .pricing-card {
    padding: 32px 28px;
  }

  /* FAQ */
  .faq-question {
    padding: 20px 0;
    font-size: 1rem;
    min-height: 48px;
  }

  /* Trust Section */
  .trust-grid {
    gap: 20px;
  }

  .trust-item {
    font-size: 0.8125rem;
  }

  /* CTA */
  .cta-section::before,
  .cta-section::after {
    display: none;
  }

  .cta-inner h2 {
    font-size: 1.75rem;
  }

  .cta-inner p {
    font-size: 1.0625rem;
    margin-bottom: 32px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
}

/* ========================================
   Responsive - Small Mobile (480px)
   ======================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 96px 0 40px;
  }

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    padding: 14px 24px;
    font-size: 0.9375rem;
  }

  .hero-trust {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
  }

  .phone-mockup {
    max-width: 280px;
  }

  .chat-bubble {
    font-size: 0.75rem;
    padding: 8px 12px;
  }

  /* Stats */
  .stats-bar {
    padding: 32px 0;
  }

  .stats-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stats-bar-number {
    font-size: 1.5rem;
  }

  .stats-bar-label {
    font-size: 0.8125rem;
  }

  /* Cards */
  .feature-card {
    padding: 24px 20px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .step {
    padding: 24px 18px;
  }

  .pricing-card {
    padding: 28px 22px;
  }

  .pricing-amount .price {
    font-size: 2.75rem;
  }

  /* CTA */
  .cta-inner h2 {
    font-size: 1.5rem;
  }

  .cta-section .btn-lg {
    width: 100%;
  }

  /* Trust Section */
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* WhatsApp Float */
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }
}

/* ========================================
   Accessibility
   ======================================== */

/* Focus styles for keyboard navigation */
button:focus-visible,
a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.faq-question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* High contrast selection */
::selection {
  background: rgba(4, 120, 87, 0.15);
  color: var(--text-dark);
}

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

  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }

  .whatsapp-float::after {
    animation: none;
  }

  .chat-bubble {
    opacity: 1;
    transform: none;
  }

  .typing-indicator {
    display: none !important;
  }

  .pricing-popular {
    animation: none;
  }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
  .navbar,
  .whatsapp-float,
  .hero-visual,
  .phone-mockup,
  .typing-indicator {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .hero {
    padding-top: 20px;
    background: none;
  }

  .btn {
    border: 1px solid #000000;
  }

  .section-title::after {
    display: none;
  }
}
