/* ========================================
   Deep Ocean Theme - Ihavenet Redesign
   ======================================== */

:root {
  /* Deep Ocean Color Palette */
  --ocean-dark: #0B1437;
  --ocean-deep: #060A1F;
  --ocean-navy: #0F1C3F;
  --ocean-teal: #14B8A6;
  --ocean-teal-light: #2DD4BF;
  --ocean-teal-dark: #0D9488;
  --ocean-gold: #F59E0B;
  --ocean-gold-light: #FCD34D;
  --ocean-blue: #0EA5E9;
  --ocean-indigo: #4F46E5;
  
  /* Text Colors */
  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #64748B;
  --text-accent: #2DD4BF;
  
  /* Surface Colors */
  --surface: rgba(15, 28, 63, 0.6);
  --surface-glass: rgba(15, 28, 63, 0.4);
  --surface-raised: rgba(20, 184, 166, 0.1);
  --surface-hover: rgba(20, 184, 166, 0.15);
  
  /* Borders & Effects */
  --border: rgba(148, 163, 184, 0.12);
  --border-glow: rgba(20, 184, 166, 0.4);
  --border-accent: rgba(245, 158, 11, 0.5);
  
  /* Status Colors */
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  
  /* Shadows & Glows */
  --glow-teal: 0 0 40px rgba(20, 184, 166, 0.5);
  --glow-gold: 0 0 40px rgba(245, 158, 11, 0.4);
  --glow-soft: 0 8px 32px rgba(20, 184, 166, 0.2);
  --shadow-lg: 0 20px 60px rgba(6, 10, 31, 0.5);
  --shadow-xl: 0 30px 80px rgba(6, 10, 31, 0.6);
  
  color-scheme: dark;
}

/* ========================================
   Base Styles
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #060A1F 0%, #0B1437 40%, #0F1C3F 70%, #0B1437 100%);
  position: relative;
  color: var(--text-primary);
  font-family: 'Kanit', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Animated Background Stars */
.stars, .twinkling {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.stars {
  background: 
    radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, 0.3), transparent);
  background-size: 250% 250%;
  animation: stars 60s linear infinite;
}

@keyframes stars {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-50px, -50px); }
}

.twinkling {
  background: 
    radial-gradient(circle at 15% 40%, rgba(20, 184, 166, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(245, 158, 11, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 40%);
  animation: twinkling 20s ease-in-out infinite;
}

@keyframes twinkling {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.1); }
}

/* ========================================
   Layout
   ======================================== */

.container {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
  padding-block: clamp(2rem, 4vw, 4rem);
}

section {
  margin-block: clamp(4rem, 8vw, 8rem);
}

.glass-card {
  background: var(--surface-glass);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(20, 184, 166, 0.08) 0%, 
    transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.glass-card:hover::before {
  opacity: 1;
}

/* ========================================
   Header
   ======================================== */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 20, 55, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ocean-teal), var(--ocean-gold), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

header:hover::before {
  opacity: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border-glow);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--glow-teal);
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-gold));
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.logo:hover {
  transform: scale(1.08) rotate(-5deg);
  border-color: var(--ocean-gold);
  box-shadow: var(--glow-gold);
}

.logo:hover::after {
  opacity: 0.3;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text h1 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, #F1F5F9 0%, #14B8A6 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.brand-text p {
  color: var(--text-muted);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 500;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  background: var(--surface);
  padding: 0.375rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lang-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.lang-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.lang-btn.active,
.lang-btn:hover {
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.4);
}

.lang-btn.active::before,
.lang-btn:hover::before {
  opacity: 1;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin-top: 3rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(245, 158, 11, 0.15));
  color: var(--text-accent);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  border: 1px solid var(--border-glow);
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: float 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin: 1.5rem 0;
  background: linear-gradient(135deg, #F1F5F9 0%, #14B8A6 40%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 0 40px rgba(20, 184, 166, 0.3);
}

.hero p.lead {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 650px;
  margin-bottom: 2rem;
  line-height: 1.85;
  font-weight: 400;
}

.features {
  list-style: none;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}

.features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  border: 1px solid var(--border);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.features li::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(180deg, var(--ocean-teal), var(--ocean-gold));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease;
}

.features li:hover {
  transform: translateX(12px);
  background: var(--surface-raised);
  border-color: var(--ocean-teal);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.25);
}

.features li:hover::after {
  transform: scaleY(1);
  transform-origin: top;
}

.features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.4);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: var(--surface-glass);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--ocean-teal), var(--ocean-gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(20, 184, 166, 0.12) 0%, 
    transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--ocean-teal);
  box-shadow: 0 12px 32px rgba(20, 184, 166, 0.35), var(--glow-soft);
}

.stat-card:hover::before,
.stat-card:hover::after {
  opacity: 1;
}

.stat-value {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 600;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

/* ========================================
   Hero Card
   ======================================== */

.hero-card {
  background: var(--surface-glass);
  backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid var(--border-glow);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: 0 24px 72px rgba(20, 184, 166, 0.25), var(--glow-soft);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--ocean-teal), var(--ocean-gold));
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.6);
}

.hero-card::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 60%);
  animation: rotate-slow 25s linear infinite;
  pointer-events: none;
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 32px 96px rgba(20, 184, 166, 0.35), var(--glow-teal);
  border-color: var(--ocean-teal);
}

.hero-card-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-gold));
  color: white;
  font-weight: 700;
  padding: 0.625rem 1.5rem;
  border-radius: 999px;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.5);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-card h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 1rem 0;
  color: var(--text-primary);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.hero-card-price {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 1.25rem 0;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.hero-card-sub {
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  margin-bottom: 1.75rem;
  line-height: 1.7;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.hero-card-cta {
  margin: 1.75rem 0;
  position: relative;
  z-index: 1;
}

.hero-card-note {
  color: var(--text-muted);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px dashed var(--border);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.7s ease, height 0.7s ease;
}

.btn:hover::before {
  width: 350px;
  height: 350px;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-glow);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px var(--border-glow);
}

.btn-outline:hover {
  background: var(--surface-raised);
  border-color: var(--ocean-teal);
  box-shadow: 0 8px 28px rgba(20, 184, 166, 0.35), inset 0 0 20px rgba(20, 184, 166, 0.1);
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-gold));
  color: white;
  border: none;
  box-shadow: 0 8px 28px rgba(20, 184, 166, 0.45);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.55), var(--glow-teal);
}

/* ========================================
   Section Titles
   ======================================== */

.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  background: linear-gradient(135deg, #F1F5F9 0%, #14B8A6 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--ocean-teal), var(--ocean-gold));
  margin: 1.5rem auto 0;
  border-radius: 3px;
  box-shadow: 0 0 30px rgba(20, 184, 166, 0.7);
}

/* ========================================
   Pricing
   ======================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.plan {
  background: var(--surface-glass);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  position: relative;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
}

.plan::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(20, 184, 166, 0.12) 0%, 
    transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.plan:hover {
  transform: translateY(-16px) scale(1.02);
  border-color: var(--ocean-teal);
  box-shadow: 0 24px 72px rgba(20, 184, 166, 0.35), var(--glow-soft);
}

.plan:hover::before {
  opacity: 1;
}

.plan.popular {
  border-color: var(--ocean-teal);
  box-shadow: 0 0 0 2px var(--ocean-teal), 0 24px 72px rgba(20, 184, 166, 0.45);
  transform: scale(1.05);
}

.plan.popular::after {
  content: '⭐ Recommended';
  position: absolute;
  top: 2rem;
  right: -40px;
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-gold));
  color: white;
  font-weight: 800;
  padding: 0.5rem 3rem;
  transform: rotate(45deg);
  font-size: 0.75rem;
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
  letter-spacing: 0.5px;
}

.plan h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  margin-bottom: 1.75rem;
  color: var(--text-primary);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.plan-price {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 1.25rem 0;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.plan-subprice {
  color: var(--text-muted);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  margin-bottom: 2.5rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.plan-features {
  list-style: none;
  margin: 2.5rem 0;
  position: relative;
  z-index: 1;
}

.plan-features li {
  padding: 1.125rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.plan-features li:hover {
  color: var(--ocean-teal);
  transform: translateX(6px);
}

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

.plan-features li::before {
  content: '✓';
  color: var(--success);
  margin-right: 1rem;
  font-weight: 900;
  font-size: 1.1em;
}

/* ========================================
   Testimonials
   ======================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: var(--surface-glass);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  overflow: hidden;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-size: 6rem;
  color: rgba(20, 184, 166, 0.12);
  font-family: Georgia, serif;
  line-height: 1;
  font-weight: 700;
}

.testimonial::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(20, 184, 166, 0.1) 0%, 
    transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--ocean-teal);
  box-shadow: 0 16px 48px rgba(20, 184, 166, 0.35);
}

.testimonial:hover::after {
  opacity: 1;
}

.testimonial p {
  font-style: italic;
  color: var(--text-secondary);
  margin-left: 2.5rem;
  line-height: 1.9;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-gold));
  display: grid;
  place-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
  transition: transform 0.3s ease;
}

.testimonial:hover .author-avatar {
  transform: scale(1.1) rotate(5deg);
}

.author-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
}

.author-role {
  color: var(--text-muted);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 500;
}

/* ========================================
   FAQ
   ======================================== */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.faq-item {
  background: var(--surface-glass);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: var(--ocean-teal);
  box-shadow: 0 12px 36px rgba(20, 184, 166, 0.25);
  transform: translateY(-4px);
}

.faq-item summary {
  padding: 1.75rem;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: all 0.3s ease;
  color: var(--text-primary);
  position: relative;
}

.faq-item summary:hover {
  background: var(--surface-raised);
  color: var(--ocean-teal);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.75rem;
  color: var(--ocean-teal);
  font-weight: 300;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
  background: var(--ocean-teal);
  color: white;
}

.faq-item[open] {
  border-color: var(--ocean-teal);
  box-shadow: 0 12px 36px rgba(20, 184, 166, 0.35);
}

.faq-item[open] summary {
  background: var(--surface-raised);
  color: var(--ocean-teal);
}

.faq-content {
  padding: 0 1.75rem 1.75rem;
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.9;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Footer
   ======================================== */

footer {
  background: var(--ocean-deep);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 5vw, 5rem) 0;
  margin-top: clamp(4rem, 6vw, 8rem);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ocean-teal), var(--ocean-gold), transparent);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-col h3 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  margin-bottom: 1.75rem;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, #F1F5F9, var(--ocean-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-weight: 500;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ocean-teal), var(--ocean-gold));
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--ocean-teal);
  transform: translateX(6px);
}

.footer-links a:hover::before {
  width: 100%;
}

.footer-contact a {
  color: var(--ocean-teal);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact a:hover {
  color: var(--ocean-teal-light);
  transform: translateX(4px);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.badge {
  background: var(--surface);
  color: var(--text-muted);
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.badge:hover {
  border-color: var(--ocean-teal);
  color: var(--ocean-teal);
  background: var(--surface-raised);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.25);
}

.badge svg {
  width: 18px;
  height: 18px;
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  line-height: 1.9;
  font-weight: 500;
}

/* ========================================
   Floating CTA Button
   ======================================== */

.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-gold));
  border-radius: 50%;
  display: grid;
  place-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(20, 184, 166, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 32px rgba(20, 184, 166, 0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 32px rgba(20, 184, 166, 0.8), 0 0 0 10px rgba(20, 184, 166, 0.1);
    transform: scale(1.05);
  }
}

.floating-cta:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 12px 48px rgba(20, 184, 166, 0.7);
  animation: none;
}

.floating-cta svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
}

/* ========================================
   Animations
   ======================================== */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-card {
    max-width: 550px;
    margin: 0 auto;
  }
  
  .plan.popular {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
  }
  
  .pricing-grid,
  .testimonials-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .floating-cta {
    width: 56px;
    height: 56px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  
  .floating-cta svg {
    width: 24px;
    height: 24px;
  }
  
  .testimonial::before {
    font-size: 4rem;
    left: 1rem;
  }
  
  .testimonial p {
    margin-left: 1.5rem;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .container {
    width: calc(100% - 1.5rem);
  }
  
  .hero-eyebrow {
    font-size: 0.75rem;
    padding: 0.625rem 1rem;
  }
  
  .features li {
    padding: 0.875rem 1rem;
  }
  
  .stat-card {
    padding: 1.5rem 1rem;
  }
  
  .plan {
    padding: 2rem 1.5rem;
  }
  
  .testimonial {
    padding: 2rem 1.5rem;
  }
  
  .faq-item summary {
    padding: 1.25rem;
    font-size: 0.95rem;
  }
  
  .faq-content {
    padding: 0 1.25rem 1.25rem;
  }
}

/* ========================================
   Accessibility & Reduced Motion
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .stars,
  .twinkling {
    animation: none;
  }
  
  .floating-cta {
    animation: none;
  }
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--ocean-teal);
  outline-offset: 4px;
  border-radius: 4px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ocean-teal);
  outline-offset: 2px;
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
  .stars,
  .twinkling,
  .floating-cta,
  .lang-switcher {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .glass-card,
  .plan,
  .testimonial,
  .faq-item {
    border: 1px solid #ccc;
    box-shadow: none;
    page-break-inside: avoid;
  }
}