/* RankYourPlugin - HTML/CSS/JS version */
/* Theme: Blue #3B82F6 → Purple #6366F1 → Green #10B981 */
:root {
  --background: 210 20% 98%;
  --foreground: 222 47% 11%;
  --card: 0 0% 100%;
  --card-foreground: 222 47% 11%;
  --primary: 217 91% 60%;
  --primary-foreground: 0 0% 100%;
  --secondary: 210 40% 96%;
  --secondary-foreground: 222 47% 11%;
  --muted: 210 40% 96%;
  --muted-foreground: 215 16% 47%;
  --accent: 160 84% 39%;
  --accent-foreground: 0 0% 100%;
  --border: 214 32% 91%;
  --ring: 217 91% 60%;
  --radius: 0.625rem;
  --hero-gradient: linear-gradient(135deg, #3B82F6 0%, #6366F1 50%, #10B981 100%);
}

* {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
}

/* Container – responsive, mobile-first */
.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 479px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: inherit;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring));
}

.btn-sm { height: 2.25rem; padding: 0 0.75rem; }
.btn-lg { height: 2.75rem; padding: 0 2rem; font-size: 1rem; }

.btn-hero {
  background: var(--hero-gradient);
  color: #fff;
  box-shadow: 0 10px 24px -3px rgba(59, 130, 246, 0.35);
  font-weight: 600;
  padding: 10px;
}
.btn-hero:hover {
  box-shadow: 0 14px 28px -3px rgba(59, 130, 246, 0.4);
  filter: brightness(1.05);
}

.btn-hero-outline {
  padding: 10px;
  border: 2px solid #3B82F6;
  color: #3B82F6;
  background: transparent;
  font-weight: 600;
}
.btn-hero-outline:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.btn-accent {
  background: #10B981;
  color: #fff;
  box-shadow: 0 10px 24px -3px rgba(16, 185, 129, 0.35);
  font-weight: 600;
}
.btn-accent:hover {
  background: #0d9668;
  box-shadow: 0 14px 28px -3px rgba(16, 185, 129, 0.4);
}

.w-full { width: 100%; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid hsl(var(--border));
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  text-decoration: none;
}

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

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.nav-desktop a:hover { color: hsl(var(--foreground)); }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: hsl(var(--foreground));
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-menu { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem;
  padding-bottom: 1rem;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  animation: fadeIn 0.3s ease-out;
}

.nav-mobile.is-open { display: flex; }

.nav-mobile a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
}

.nav-mobile a:hover { color: hsl(var(--foreground)); }
.nav-mobile .btn { margin-top: 0.5rem; }
a.btn.btn-hero.btn-sm {
  color: #fff;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hero */
.hero {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 3.5rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 9rem;
    padding-bottom: 7rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.05), hsl(var(--background)), hsl(var(--accent) / 0.05));
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.05);
  filter: blur(80px);
  z-index: -1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: hsl(var(--accent) / 0.05);
  filter: blur(80px);
  z-index: -1;
}

/* Parallax floating icons */
.parallax-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.parallax-icon {
  position: absolute;
  width: 28px;
  height: 28px;
  opacity: 0.14;
  color: hsl(var(--primary));
  animation-duration: 14s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.parallax-icon.float-1 { animation-name: floatDrift1; animation-duration: 4s; animation-delay: 0s; }
.parallax-icon.float-2 { animation-name: floatDrift2; animation-duration: 5s; animation-delay: -0.5s; }
.parallax-icon.float-3 { animation-name: floatDrift3; animation-duration: 3.5s; animation-delay: -1s; }
.parallax-icon.float-4 { animation-name: floatDrift4; animation-duration: 4.5s; animation-delay: -0.3s; }
.parallax-icon.float-5 { animation-name: floatDrift5; animation-duration: 4.2s; animation-delay: -0.8s; }
.parallax-icon.float-6 { animation-name: floatDrift6; animation-duration: 5.5s; animation-delay: -1.2s; }

@keyframes floatDrift1 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(10px, -12px, 0); }
  50% { transform: translate3d(-8px, 8px, 0); }
  75% { transform: translate3d(12px, 10px, 0); }
}
@keyframes floatDrift2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(-12px, 10px, 0); }
  66% { transform: translate3d(10px, -10px, 0); }
}
@keyframes floatDrift3 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-10px, -12px, 0); }
}
@keyframes floatDrift4 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(10px, 10px, 0); }
  50% { transform: translate3d(-12px, -8px, 0); }
  75% { transform: translate3d(-6px, 12px, 0); }
}
@keyframes floatDrift5 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(12px, -10px, 0); }
}
@keyframes floatDrift6 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(-10px, -12px, 0); }
  66% { transform: translate3d(12px, 8px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .parallax-icon { animation: none; }
}

.parallax-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 767px) {
  .parallax-icon {
    width: 22px;
    height: 22px;
    opacity: 0.1;
  }
}

.hero-content {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: hsl(var(--foreground));
}

@media (max-width: 479px) {
  .hero-content h1 {
    font-size: 1.875rem;
  }
}

@media (min-width: 640px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 3.75rem;
  }
}

/* Hero CTA buttons – responsive on small screens */
@media (max-width: 380px) {
  .hero-cta-btns {
    gap: 0.5rem;
  }
  .hero-cta-btn {
    min-width: 9rem !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-size: 0.8125rem !important;
  }
}

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

.hero-sub {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto 2rem;
}

@media (min-width: 640px) { .hero-sub { font-size: 1.25rem; } }

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-cta { flex-direction: row; }
}

.hero-image {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-image-wrap {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 25px 50px -12px hsl(var(--primary) / 0.1);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.animate-fade-up {
  animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-up.delay-2 { animation-delay: 0.2s; }

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

/* Social Proof */
.social-proof {
  padding: 2rem 0;
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.5);
}

@media (min-width: 640px) {
  .social-proof {
    padding: 3rem 0;
  }
}

@media (min-width: 768px) {
  .social-proof {
    padding: 3.5rem 0;
  }
}

.social-label {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 2rem;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 480px) {
  .audience-list {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .audience-list {
    gap: 3.5rem;
  }
}

.audience-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}

.audience-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Section common – responsive */
.section {
  padding: 3rem 0;
}

@media (min-width: 640px) {
  .section {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 7rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .section-header {
    margin-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-header {
    margin-bottom: 3.5rem;
  }
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .section-header h2 {
    font-size: 2.25rem;
    margin: 0 0 1rem;
  }
}

.section-header p {
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
  margin: 0 auto;
  font-size: 0.9375rem;
}

@media (min-width: 640px) {
  .section-header p {
    font-size: 1rem;
  }
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.step-num {
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  font-size: 2.75rem;
  font-weight: 700;
  color: hsl(var(--primary) / 0.2);
  font-family: 'Space Grotesk', sans-serif;
  user-select: none;
}

@media (min-width: 640px) {
  .step-num { left: auto; right: 0; top: -0.75rem; }
}

@media (min-width: 1024px) {
  .step-num { right: -0.5rem; }
}

.step-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: background 0.2s, color 0.2s;
}

.step-card:hover .step-icon {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.step-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0 0 0.5rem;
}

.step-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* Features */
.features {
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--secondary) / 0.3));
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

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

.feature-card {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}

@media (min-width: 640px) {
  .feature-card {
    padding: 1.5rem;
  }
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px hsl(var(--primary) / 0.05);
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.2s, color 0.2s;
}

.feature-card:hover .feature-icon {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0 0 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin: 0;
}

/* Platforms */
.platforms-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 640px) {
  .platforms-row {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .platforms-row {
    flex-direction: row;
  }
}

.platform-card {
  flex: 1;
  min-width: 0;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}

@media (min-width: 640px) {
  .platform-card {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .platform-card {
    padding: 2rem;
  }
}

.platform-card:hover {
  box-shadow: 0 10px 15px -3px hsl(var(--primary) / 0.05);
}

.platform-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0 0 1.5rem;
}

.platform-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.platform-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

.check-icon {
  color: hsl(var(--accent));
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Pricing */
.pricing {
  background: linear-gradient(to bottom, hsl(var(--secondary) / 0.3), hsl(var(--background)));
}

.pricing-sub { margin-bottom: 1.5rem !important; }

.platform-toggle {
  display: inline-flex;
  border-radius: 0.5rem;
  background: hsl(var(--secondary));
  padding: 0.25rem;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.toggle-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.toggle-btn:hover { color: hsl(var(--foreground)); }

.toggle-btn.active {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.billing-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
}

.billing-label.active { color: hsl(var(--foreground)); }

.billing-label .save {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--accent));
  font-style: normal;
  margin-left: 0.25rem;
}

.billing-switch {
  position: relative;
  width: 3rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: hsl(var(--border));
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.billing-switch[aria-pressed="true"] {
  background: hsl(var(--accent));
}

.billing-knob {
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

.billing-switch[aria-pressed="true"] .billing-knob {
  transform: translateX(1.5rem);
}

.pricing-grid {
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.pricing-cards.hidden { display: none; }

@media (min-width: 640px) {
  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .pricing-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan-card {
  position: relative;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

@media (min-width: 640px) {
  .plan-card {
    padding: 1.5rem;
  }
}

.plan-card.popular {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.06), rgba(16, 185, 129, 0.06));
  box-shadow: 0 10px 24px -3px rgba(59, 130, 246, 0.12);
}

.popular-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #3B82F6, #10B981);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.plan-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0 0 0.25rem;
}

.plan-price {
  margin-bottom: 0.25rem;
}

.plan-price .price-amount {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.plan-price .price-period {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.plan-save {
  font-size: 0.75rem;
  color: hsl(var(--accent));
  font-weight: 600;
  margin: 0 0 1rem;
}

.plan-save[hidden] { display: none !important; }
.plan-free .plan-save { display: none !important; }

.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex: 1;
}

.plan-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.why-item {
  display: flex;
  gap: 1rem;
}

.why-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0 0 0.25rem;
}

.why-item p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin: 0;
}

/* Testimonials */
.testimonials {
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--secondary) / 0.3));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .testimonials-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.testimonial-card {
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 1.25rem;
  min-width: 0;
}

@media (min-width: 640px) {
  .testimonial-card {
    padding: 1.5rem;
  }
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 2rem;
  }
}

.stars {
  color: hsl(var(--accent));
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: hsl(var(--foreground));
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.testimonial-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0 0 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* FAQ – modern accordion with smooth open/close */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  width: 100%;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  margin-bottom: 0.5rem;
  padding: 0 0.875rem;
  transition: background-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
  .faq-item {
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    padding: 0 1.25rem;
  }
}

.faq-item.is-open {
  background: #eff6ff;
  border-color: transparent;
  box-shadow: 0 1px 3px 0 rgba(59, 130, 246, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.875rem 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1e293b;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
  .faq-trigger {
    gap: 0.75rem;
    padding: 1rem 0;
    font-size: 1rem;
  }
}

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

.faq-item.is-open .faq-trigger {
  color: #1e40af;
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  color: #64748b;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: #1e40af;
}

/* Smooth height animation via CSS grid */
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-content {
  grid-template-rows: 1fr;
}

.faq-content-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-content p,
.faq-content ul {
  padding: 0 0 1rem;
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.faq-item.is-open .faq-content p,
.faq-item.is-open .faq-content ul {
  color: #334155;
}

.faq-content ul {
  padding-left: 1.25rem;
  margin-top: 0.25rem;
}

.faq-content li {
  margin-bottom: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-trigger,
  .faq-chevron,
  .faq-content {
    transition: none;
  }
}

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.1), hsl(var(--background)), hsl(var(--accent) / 0.1));
  z-index: -1;
}

.final-cta .container { position: relative;     text-align: center;}

.final-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

@media (min-width: 640px) {
  .final-cta h2 {
    font-size: 2.25rem;
    margin: 0 0 1rem;
  }
}

.final-cta p {
  color: hsl(var(--muted-foreground));
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.final-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .final-cta-btns { flex-direction: row; }
}

/* Footer */
.footer {
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  padding: 2rem 0;
}

@media (min-width: 640px) {
  .footer {
    padding: 2.5rem 0;
  }
}

@media (min-width: 768px) {
  .footer {
    padding: 3rem 0;
  }
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin: 0 0 0.75rem;
}

.footer h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: 0 0 0.75rem;
}

.footer p, .footer ul {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin: 0;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer li { margin-bottom: 0.5rem; }

.footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover { color: hsl(var(--foreground)); }

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
