/* ================================================================
   AIVOR — Conversion-Focused SaaS Landing Page
   Design System & Styles
   ================================================================ */

/* --- CSS Variables --- */
:root {
  /* Brand Colors */
  --primary: #147691;
  --primary-dark: #0e5a6f;
  --primary-light: #1ea0c4;
  --primary-subtle: #e8f4f8;
  --secondary: #ed1c24;
  --secondary-hover: #c4151d;
  --secondary-subtle: #fef2f2;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #fafbfc;
  --bg-light: #f4f7f9;
  --bg-section: #f8fafb;
  --text-dark: #1a1a2e;
  --text-body: #3d3d56;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border-color: #e5e7eb;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);

  /* Layout */
  --section-pad: 100px;
  --section-pad-sm: 60px;
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);
  --transition-slow: all 0.6s var(--ease);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* --- Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Nexa', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.75;
}

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

.text-center {
  text-align: center;
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  background: var(--primary-subtle);
  border-radius: 50px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-transform: none;
  letter-spacing: 0.3px;
  font-family: inherit;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 118, 145, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 118, 145, 0.25);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost-white:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-red {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-red:hover {
  background: var(--secondary-hover);
  border-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(237, 28, 36, 0.3);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 0.9rem 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
  border-bottom-color: rgba(0,0,0,0.04);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img,
.logo svg {
  height: 50px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

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

.nav-links a.nav-item {
  font-weight: 500;
  color: var(--text-body);
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
}

.nav-links a.nav-item:hover,
.nav-links a.nav-item.active {
  color: var(--primary);
  background: var(--primary-subtle);
}

.nav-cta {
  margin-left: 0.75rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--primary);
  background: none;
  border: none;
  padding: 0.5rem;
}

/* --- Hero Section --- */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--white) 0%, #e8f4f8 40%, #d4eef5 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(20, 118, 145, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 520px;
}

.hero-text h1 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.hero-text h1 span {
  color: var(--primary);
  position: relative;
}

.hero-text .hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-trust {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust i {
  color: var(--primary);
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  max-width: 640px;
  border-radius: 0;
  box-shadow: none;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

/* Subtle floating card decorations */
.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  z-index: 2;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 15%;
  right: -20px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 20%;
  left: -20px;
  animation-delay: 1.5s;
}

.hero-float-card .card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.card-icon.green {
  background: #ecfdf5;
  color: #059669;
}

.card-icon.blue {
  background: var(--primary-subtle);
  color: var(--primary);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ================================================================
   PROBLEM SECTION
   ================================================================ */
.problems {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

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

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

.problem-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--secondary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: var(--secondary);
}

.problem-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.problem-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ================================================================
   SOLUTION SECTION
   ================================================================ */
.solution {
  background: var(--bg-light);
  padding: var(--section-pad) 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
}

.solution-text .section-label {
  margin-bottom: 1.5rem;
}

.solution-text h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.solution-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.solution-image img {
  border-radius: 0;
  box-shadow: none;
  width: 115%;
  max-width: none;
}

.solution-checks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.solution-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-body);
  font-weight: 500;
}

.solution-check i {
  color: var(--primary);
  font-size: 0.9rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ================================================================
   FEATURES SECTION (Restructured)
   ================================================================ */
.features {
  background: var(--white);
  padding: var(--section-pad) 0;
}

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

.feature-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card .feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

.feature-result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.feature-result i {
  color: var(--secondary);
}

/* ================================================================
   HOW IT WORKS SECTION
   ================================================================ */
.how-it-works {
  background: var(--bg-light);
  padding: var(--section-pad) 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting line behind steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-subtle), var(--primary), var(--primary-subtle));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px rgba(20, 118, 145, 0.3);
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.step-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* ================================================================
   IMPACT SECTION
   ================================================================ */
.impact {
  background: linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.impact .container {
  position: relative;
  z-index: 1;
}

.impact h2 {
  color: var(--white);
  margin-bottom: 3rem;
}

.impact-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 4rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: left;
}

.impact-point {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
}

.impact-point i {
  color: var(--white);
  font-size: 0.85rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.impact-closing {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ================================================================
   POSITIONING SECTION
   ================================================================ */
.positioning {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.positioning-content {
  max-width: 800px;
  margin: 0 auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table thead {
  background: var(--bg-light);
}

.comparison-table th {
  padding: 1.2rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  text-align: left;
  border-bottom: 2px solid var(--border-color);
}

.comparison-table th:last-child {
  color: var(--primary);
}

.comparison-table td {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-body);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 500;
  color: var(--text-muted);
}

.comparison-table td:last-child {
  font-weight: 600;
  color: var(--primary);
}

.comparison-table tbody tr {
  transition: var(--transition);
}

.comparison-table tbody tr:hover {
  background: var(--primary-subtle);
}

/* ================================================================
   SOCIAL PROOF
   ================================================================ */
.social-proof {
  background: var(--bg-light);
  padding: var(--section-pad) 0;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--primary-subtle);
  margin-bottom: 1rem;
  display: block;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-badge i {
  font-size: 1.3rem;
  color: var(--primary);
}

/* ================================================================
   CTA STRIP (Inline CTA between sections)
   ================================================================ */
.cta-strip {
  background: var(--bg-light);
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.cta-strip p {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* ================================================================
   FINAL CTA SECTION
   ================================================================ */
.final-cta {
  background: var(--text-dark);
  color: var(--white);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 118, 145, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.final-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 550px;
  margin: 0 auto 2.5rem;
}

.final-cta .btn-group {
  justify-content: center;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: #0c1f29;
  color: var(--white);
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer .logo {
  color: var(--white);
  font-size: 1.4rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

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

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

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

/* ================================================================
   PRODUCT PAGE
   ================================================================ */
.page-header {
  padding: 10rem 0 4rem;
  background: linear-gradient(165deg, var(--white) 0%, #e8f4f8 100%);
  text-align: center;
}

.page-header h1 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto;
}

.product-showcase {
  padding: 5rem 0;
}

.product-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.product-intro h2 {
  margin-bottom: 1rem;
}

.product-intro p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  grid-template-rows: auto 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  min-height: 450px;
  border: 1px solid var(--border-color);
}

.showcase-nav {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.showcase-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 3px solid transparent;
  border-left: none;
}

.showcase-btn i {
  width: 20px;
  text-align: center;
}

.showcase-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.showcase-btn.active {
  color: var(--primary-dark);
  background: var(--white);
  border-bottom: 3px solid var(--secondary);
  border-left-color: transparent;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.showcase-info {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.showcase-info h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.showcase-info p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.showcase-image {
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.showcase-image img {
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

/* ================================================================
   ANIMATIONS (Scroll-triggered via JS)
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in {
  animation: fadeIn 0.5s var(--ease) forwards;
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.4s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE DESIGN
   ================================================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
  }

  .hero-text .btn-group {
    justify-content: center;
  }

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

  .hero-image {
    display: flex;
    justify-content: center;
  }

  .hero-float-card {
    display: none;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .solution-text {
    text-align: center;
  }

  .solution-text h2 {
    text-align: center;
  }

  .solution-checks {
    align-items: center;
  }

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

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

  .steps-grid::before {
    display: none;
  }

  .impact-points {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin: 0 auto;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .showcase-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 1rem;
    scrollbar-width: none;
  }

  .showcase-nav::-webkit-scrollbar {
    display: none;
  }

  .showcase-btn {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .showcase-btn.active {
    border-left: none;
    border-bottom-color: var(--secondary);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
    gap: 0.5rem;
  }

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

  .nav-links a.nav-item {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .hamburger {
    display: block;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 8rem 0 4rem;
    min-height: auto;
  }

  .problems-grid {
    grid-template-columns: 1fr;
  }

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

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    text-align: center;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .trust-badges {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

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

/* ================================================================
   PRICING PAGE
   ================================================================ */

/* Header extension */
.pricing-header h1 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-header p {
  max-width: 620px;
}

.pricing-trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--secondary-subtle);
  border: 1px solid rgba(237, 28, 36, 0.15);
  border-radius: 100px;
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 500;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237, 28, 36, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(237, 28, 36, 0); }
}

/* Pricing Section */
.pricing-section {
  padding: 5rem 0 4rem;
  background: var(--bg-light);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

/* Pricing Card */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Recommended Card */
.pricing-card.recommended {
  border: 2px solid var(--secondary);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(237, 28, 36, 0.08);
  padding-top: 3.5rem;
  transform: scale(1.04);
  z-index: 2;
}

.pricing-card.recommended:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(237, 28, 36, 0.12);
}

/* Badge */
.pricing-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--white);
  padding: 0.4rem 1.5rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Card Header */
.pricing-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
  background: var(--primary-subtle);
  color: var(--primary);
  transition: var(--transition);
}

.pricing-card:hover .pricing-icon {
  background: var(--primary);
  color: var(--white);
}

.pricing-card.recommended .pricing-icon {
  background: var(--secondary-subtle);
  color: var(--secondary);
}

.pricing-card.recommended:hover .pricing-icon {
  background: var(--secondary);
  color: var(--white);
}

.pricing-card-header h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.pricing-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Price Display */
.pricing-card-price {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  vertical-align: super;
  margin-right: 2px;
}

.price-amount {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1px;
  line-height: 1;
}

.pricing-card.recommended .price-amount {
  color: var(--secondary);
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 4px;
}

/* Savings badge */
.pricing-savings {
  text-align: center;
  margin: -0.5rem 0 1.5rem;
  padding: 0.5rem 1rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 100px;
  color: #16a34a;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-savings i {
  margin-right: 0.4rem;
}

/* Feature List */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.pricing-features li i {
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.pricing-card.recommended .pricing-features li i {
  color: var(--secondary);
}

.pricing-features li.feature-inherited {
  color: var(--primary);
  font-weight: 600;
}

.pricing-card.recommended .pricing-features li.feature-inherited {
  color: var(--secondary);
}

/* CTA Button */
.pricing-cta {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

/* Secondary outline button style */
.btn.btn-secondary-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
}

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

/* ================================================================
   PRICING — WHY / PERKS
   ================================================================ */
.pricing-why {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.pricing-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.pricing-perk {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  transition: var(--transition);
}

.pricing-perk:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-subtle);
}

.perk-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.2rem;
  transition: var(--transition);
}

.pricing-perk:hover .perk-icon {
  background: var(--primary);
  color: var(--white);
}

.pricing-perk h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.pricing-perk p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================================================================
   PRICING — FAQ
   ================================================================ */
.pricing-faq {
  padding: var(--section-pad) 0;
  background: var(--bg-light);
}

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

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  transition: var(--transition);
}

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

.faq-item summary::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  transform: rotate(90deg);
  color: var(--primary);
}

.faq-item[open] summary {
  color: var(--primary);
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   PRICING — RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-card.recommended {
    transform: none;
  }

  .pricing-card.recommended:hover {
    transform: translateY(-6px);
  }

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

@media (max-width: 768px) {
  .pricing-perks-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}
