/* ==========================================
   Auditrice — Landing Page Design System
   ========================================== */

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

:root {
  --blue-900: #0a1628;
  --blue-800: #0f2140;
  --blue-700: #1a3a5c;
  --blue-600: #1e4d7a;
  --blue-500: #2563a0;
  --blue-400: #4fc3f7;
  --blue-300: #81d4fa;
  --blue-200: #b3e5fc;
  --blue-100: #e1f5fe;

  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.1);

  --gradient-primary: linear-gradient(135deg, var(--blue-400), var(--blue-300));
  --gradient-bg: linear-gradient(180deg, var(--blue-900) 0%, #050d1a 100%);
  --gradient-danger: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.02));

  --glass: rgba(255, 255, 255, 0.03);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.1);

  --section-py: 120px;
  --container-max: 1200px;
  --radius: 20px;
  --radius-sm: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--gradient-bg);
  color: var(--white-90);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Star Canvas --- */
#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* --- Utility --- */
.glass-box {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
  display: inline-block;
}
.label.warning-label { color: var(--danger); }
.label.success-label { color: var(--success); }
.label:not(.warning-label):not(.success-label) { color: var(--blue-400); }

/* --- Header / Navbar --- */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 0;
  transition: padding 0.3s ease, background 0.3s ease;
}

header.scrolled {
  padding: 10px 0;
  background: rgba(10, 22, 40, 0.98);
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo span { color: var(--blue-400); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-grow: 1;
  justify-content: center;
}

.nav-links a:not(.btn-nav):not(.btn-mobile-only) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white-70);
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.nav-links a:not(.btn-nav):not(.btn-mobile-only):hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links .btn-mobile-only { display: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.btn-nav {
  padding: 10px 24px;
  background: var(--white);
  color: var(--blue-900) !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--white);
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

/* --- Hero --- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
}

.hero-content { max-width: 860px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white-90);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-400);
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
  letter-spacing: -1.5px;
  color: var(--white);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.25rem;
  color: var(--white-70);
  max-width: 680px;
  margin: 0 auto 48px;
  animation: fadeInUp 0.8s ease 0.2s both;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.3s both;
  flex-wrap: wrap;
}

/* --- Page Hero (shorter, for inner pages) --- */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 160px 24px 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--white-70);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn-primary {
  padding: 16px 40px;
  background: var(--white);
  color: var(--blue-900);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  padding: 16px 40px;
  background: var(--glass-strong);
  color: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: var(--glass-hover);
  border-color: var(--white-20);
}

.w-100 { width: 100%; justify-content: center; }

/* --- Sections --- */
section {
  position: relative;
  z-index: 1;
  padding: var(--section-py) 0;
}

.section-header { text-align: center; margin-bottom: 80px; }

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--white);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--white-70);
  max-width: 600px;
  margin: 20px auto 0;
}

/* --- Pain Section --- */
.pain-section {
  background: rgba(239, 68, 68, 0.02);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pain-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--white);
}

.pain-description {
  font-size: 1.1rem;
  color: var(--white-70);
  margin-bottom: 32px;
  line-height: 1.7;
}

.pain-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--glass);
  border: 1px solid var(--danger-bg);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 500;
}

.pain-box {
  padding: 24px;
  background: var(--gradient-danger);
}

.excel-mockup {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.excel-header {
  background: #107c41;
  color: white;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: sans-serif;
  display: flex;
  align-items: center;
}
.excel-header::before { content: "✕"; margin-right: 12px; opacity: 0.7; }

.excel-body {
  height: 300px;
  background-image:
    linear-gradient(#e5e7eb 1px, transparent 1px),
    linear-gradient(90deg, #e5e7eb 1px, transparent 1px);
  background-size: 100% 30px, 120px 100%;
  position: relative;
}
.excel-body::after {
  content: "";
  position: absolute;
  top: 30px; left: 120px;
  width: 60%; height: 29px;
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid var(--danger);
}

/* --- Solution / Demo --- */
.solution-section { padding-top: 140px; }

.demo-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  z-index: 2;
  overflow: hidden;
}

.demo-image { width: 100%; display: block; }

.demo-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; height: 80%;
  background: var(--blue-400);
  filter: blur(140px);
  opacity: 0.15;
  z-index: -1;
}

/* --- How It Works --- */
.how-it-works { background: var(--glass); }

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

.step-card {
  padding: 40px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}

.step-card:hover { transform: translateY(-8px); border-color: var(--white-20); }

.step-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  background: var(--white-10);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
  color: var(--blue-400);
}

.step-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; color: var(--white); }
.step-card p { font-size: 1rem; color: var(--white-70); line-height: 1.6; }

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

.feature-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all 0.4s ease;
}

.feature-card:hover {
  background: var(--glass-hover);
  border-color: var(--white-20);
  transform: translateY(-6px);
}

.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(79, 195, 247, 0.1);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--white); }
.feature-card p { font-size: 0.95rem; color: var(--white-70); line-height: 1.6; }

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

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

.pricing-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover { border-color: var(--white-20); }

.pricing-card.popular {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--blue-400);
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-5px); }

.pricing-popular-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--blue-400);
  color: var(--blue-900);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.pricing-header { margin-bottom: 28px; border-bottom: 1px solid var(--glass-border); padding-bottom: 28px; }
.pricing-header h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; color: var(--white); }
.pricing-header p { font-size: 0.88rem; color: var(--white-50); margin: 0; }

.pricing-price { margin-bottom: 28px; }
.pricing-price .currency { font-size: 1.1rem; font-weight: 600; color: var(--white-70); vertical-align: top; line-height: 1.8; }
.pricing-price .amount { font-size: 3rem; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -2px; }
.pricing-price .amount.custom-price { font-size: 1.6rem; letter-spacing: -0.5px; line-height: 1.4; }
.pricing-price .period { font-size: 0.85rem; color: var(--white-50); display: block; margin-top: 6px; }

.pricing-features { margin-bottom: 32px; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--white-90);
  line-height: 1.5;
}
.pricing-features li i { color: var(--blue-400); flex-shrink: 0; margin-top: 3px; font-size: 0.85rem; }
.pricing-features li svg { color: var(--blue-400); flex-shrink: 0; margin-top: 3px; }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
}

.testimonial-stars { margin-bottom: 20px; display: flex; gap: 4px; }
.testimonial-card blockquote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--white-90);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white-10);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--white);
  flex-shrink: 0;
}
.testimonial-author .name { font-weight: 700; font-size: 1rem; color: var(--white); }
.testimonial-author .role { font-size: 0.85rem; color: var(--white-50); }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--glass-border); }
.faq-question {
  width: 100%; background: none; border: none;
  color: var(--white-90); font-size: 1.05rem; font-weight: 600;
  text-align: left; padding: 24px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font); transition: color 0.3s ease; gap: 16px;
}
.faq-question:hover { color: var(--white); }
.faq-icon { transition: transform 0.3s ease; color: var(--white-50); flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 24px; }
.faq-answer p { font-size: 1rem; color: var(--white-70); line-height: 1.6; }

/* --- CTA --- */
.cta-section {
  text-align: center;
  padding: 140px 0;
  background: var(--glass);
  border-top: 1px solid var(--glass-border);
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
  color: var(--white);
}
.cta-section p {
  font-size: 1.2rem;
  color: var(--white-70);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; color: var(--white); }
.contact-info p { color: var(--white-70); line-height: 1.7; margin-bottom: 32px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: var(--glass-hover);
  border-color: var(--white-20);
  transform: translateX(4px);
}

.contact-method-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(79, 195, 247, 0.1);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-method-icon.whatsapp { background: rgba(37, 211, 102, 0.1); color: #25d366; }

.contact-method-text .method-label { font-size: 0.8rem; color: var(--white-50); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.contact-method-text .method-value { font-size: 1rem; font-weight: 600; color: var(--white-90); margin-top: 2px; }

.contact-form {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 48px;
}

.contact-form h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 32px; color: var(--white); }

.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--white-70); margin-bottom: 8px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--white-30, rgba(255,255,255,0.3)); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue-400); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--blue-900); color: var(--white); }

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 20px; color: var(--white); line-height: 1.2; }
.about-content p { color: var(--white-70); line-height: 1.8; margin-bottom: 20px; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-box {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
}

.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--blue-400); letter-spacing: -1px; display: block; }
.stat-label { font-size: 0.875rem; color: var(--white-50); margin-top: 4px; }

.value-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.value-card:hover { border-color: var(--white-20); background: var(--glass-strong); }

.value-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(79, 195, 247, 0.1);
  color: var(--blue-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.value-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.value-card p { font-size: 0.95rem; color: var(--white-70); line-height: 1.6; margin: 0; }

/* --- Footer --- */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 32px;
  background: rgba(5, 13, 26, 0.8);
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--white-50);
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.6;
}

footer h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  color: var(--white-90);
}

footer ul li { margin-bottom: 12px; }
footer ul a { font-size: 0.95rem; color: var(--white-50); transition: color 0.3s ease; }
footer ul a:hover { color: var(--white); }

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.875rem;
  color: var(--white-50);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  width: 60px; height: 60px;
  bottom: 40px; right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 1.8rem;
  box-shadow: 2px 2px 16px rgba(0,0,0,0.4);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  color: #fff;
  transform: scale(1.1);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1100px) {
  .pricing-grid-four {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.popular { transform: scale(1); }
  .pricing-card.popular:hover { transform: translateY(-5px); }
}

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 968px) {
  /* Mobile sidebar nav */
  .nav-links {
    position: fixed;
    top: 0; right: 0; left: auto;
    width: 280px;
    height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 30px rgba(0,0,0,0.5);
    padding: 2rem;
  }

  .nav-links.nav-active { transform: translateX(0); }

  .nav-links a:not(.btn-nav):not(.btn-mobile-only) {
    font-size: 1.1rem;
    text-align: center;
  }

  .nav-actions .btn-nav { display: none; }
  .nav-links .btn-mobile-only { display: block; margin-top: 0.5rem; }
  .hamburger { display: block; }

  .pain-grid { grid-template-columns: 1fr; gap: 40px; }
  .pain-box { max-width: 500px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-brand p { margin: 16px auto 0; }
}

@media (max-width: 768px) {
  :root { --section-py: 80px; }
  .hero { padding-top: 120px; }
  .page-hero { padding: 120px 24px 60px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; }
  .pricing-card { padding: 36px 24px; }
  .contact-form { padding: 32px 24px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 24px; right: 24px; font-size: 1.5rem; }
  .cta-section { padding: 80px 0; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .pricing-grid-four { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
}
