/* ──────────────────────────────────────
   PIPTRACE LANDING PAGE — styles.css
   ────────────────────────────────────── */

/* ── Tokens ── */
:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --primary-glow: rgba(16, 185, 129, 0.15);
  --primary-glow-strong: rgba(16, 185, 129, 0.30);
  --bg: #0f1f1a;
  --bg-alt: #132923;
  --bg-card: #1a3530;
  --bg-card-hover: #1f3f38;
  --bg-nav: rgba(15, 31, 26, 0.85);
  --text: #e2e8f0;
  --text-muted: #a3b8b0;
  --text-heading: #f1f5f9;
  --border: rgba(16, 185, 129, 0.18);
  --border-hover: rgba(16, 185, 129, 0.40);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-glow: 0 0 40px rgba(16, 185, 129, 0.12);
  --shadow-glow-strong: 0 0 60px rgba(16, 185, 129, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset ── */
*,
*::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: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

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

/* ── Section common ── */
section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--primary-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
}

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

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 32px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn svg,
.btn i {
  width: 18px;
  height: 18px;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 100px;
  padding-bottom: 0;
  position: relative;
  overflow: visible;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto 64px;
}

.hero-badge {
  margin: 0 auto 24px;
}

.hero-description {
  margin: 0 auto 36px;
}

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

.hero-stats {
  justify-content: center;
  margin-top: 48px;
}

/* Hero Visual Wide */
.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  /* Max content width */
}

/* Override existing container style if needed */
.hero-image-container {
  max-width: 100%;
}

.card-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.card-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-heading);
}

.card-value.positive {
  color: var(--primary);
}

.card-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--primary);
  margin-top: 8px;
  font-weight: 600;
}

.card-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 16px;
  height: 40px;
}

.card-mini-chart .bar {
  flex: 1;
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  opacity: 0.5;
  transition: var(--transition);
}

.card-mini-chart .bar:nth-child(odd) {
  opacity: 0.8;
}

.card-pair-row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.card-pair {
  flex: 1;
  padding: 10px 12px;
  background: rgba(16, 185, 129, 0.06);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.card-pair .pair-name {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-pair .pair-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2px;
}

/* ── Marquee Ticker ── */
.marquee-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.marquee-item .marquee-icon {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.marquee-item strong {
  color: var(--text-heading);
  font-weight: 700;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-glow);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary-glow-strong);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

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

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  background: var(--primary-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  border: 1px solid var(--border);
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Testimonials ── */
.testimonials-section {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

.testimonial-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #fbbf24;
  font-size: 0.9rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #34d399);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  font-size: 0.85rem;
}

.testimonial-author .name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-heading);
}

.testimonial-author .role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Stats ── */
.stats-section {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(16, 185, 129, 0.03) 50%, var(--bg) 100%);
}

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

.stat-item {
  padding: 32px 16px;
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── FAQ ── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  gap: 16px;
  user-select: none;
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  background: var(--primary);
  color: #000;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ── CTA Banner ── */
.cta-banner {
  text-align: center;
  padding: 100px 0;
}

.cta-banner-inner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}

.cta-banner-inner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-banner .section-title {
  max-width: 600px;
  margin: 0 auto 16px;
}

.cta-banner .section-subtitle {
  margin: 0 auto 40px;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Footer ── */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

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

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-socials a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* stagger children */
.reveal-stagger>* {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

/* ── Keyframes ── */
@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

@keyframes float-1 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-8px, -16px);
  }
}

@keyframes float-2 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(12px, -12px);
  }
}

@keyframes float-3 {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-6px, 10px);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes counter-pulse {

  0%,
  100% {
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
  }

  50% {
    text-shadow: 0 0 24px rgba(16, 185, 129, 0.5);
  }
}

/* ── Animated Graphics ── */

/* Floating orbs */
.animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orb-drift 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
  top: -100px;
  right: -100px;
  animation-duration: 14s;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.2), transparent 70%);
  bottom: -50px;
  left: -80px;
  animation-duration: 10s;
  animation-delay: -3s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 70%);
  top: 40%;
  left: 30%;
  animation-duration: 16s;
  animation-delay: -6s;
}

/* Grid pattern overlay */
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 185, 129, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float 8s ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 7s;
}

.particle:nth-child(2) {
  left: 25%;
  top: 60%;
  animation-delay: 1s;
  animation-duration: 9s;
}

.particle:nth-child(3) {
  left: 40%;
  top: 35%;
  animation-delay: 2s;
  animation-duration: 6s;
}

.particle:nth-child(4) {
  left: 55%;
  top: 75%;
  animation-delay: 3s;
  animation-duration: 10s;
}

.particle:nth-child(5) {
  left: 70%;
  top: 15%;
  animation-delay: 0.5s;
  animation-duration: 8s;
}

.particle:nth-child(6) {
  left: 85%;
  top: 50%;
  animation-delay: 4s;
  animation-duration: 7s;
}

.particle:nth-child(7) {
  left: 15%;
  top: 80%;
  animation-delay: 2.5s;
  animation-duration: 11s;
}

.particle:nth-child(8) {
  left: 60%;
  top: 45%;
  animation-delay: 1.5s;
  animation-duration: 9s;
}

.particle:nth-child(9) {
  left: 90%;
  top: 30%;
  animation-delay: 3.5s;
  animation-duration: 6s;
}

.particle:nth-child(10) {
  left: 35%;
  top: 90%;
  animation-delay: 5s;
  animation-duration: 8s;
}

.particle:nth-child(11) {
  left: 50%;
  top: 10%;
  animation-delay: 0.8s;
  animation-duration: 12s;
}

.particle:nth-child(12) {
  left: 75%;
  top: 65%;
  animation-delay: 2.2s;
  animation-duration: 7s;
}

/* Glow line accent */
.glow-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
  animation: glow-sweep 6s ease-in-out infinite;
}

.glow-line-1 {
  width: 300px;
  top: 30%;
  left: -100px;
  transform: rotate(-15deg);
  animation-delay: 0s;
}

.glow-line-2 {
  width: 200px;
  bottom: 20%;
  right: -60px;
  transform: rotate(25deg);
  animation-delay: -3s;
}

/* Section divider glow */
.section-glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.2;
  margin: 0 auto;
  max-width: 800px;
}

@keyframes orb-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -20px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 15px) scale(0.95);
  }

  100% {
    transform: translate(10px, -10px) scale(1.02);
  }
}

@keyframes particle-float {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }

  15% {
    opacity: 0.6;
  }

  50% {
    opacity: 0.8;
    transform: translateY(-40px) scale(1);
  }

  85% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
    transform: translateY(-80px) scale(0.5);
  }
}

@keyframes glow-sweep {

  0%,
  100% {
    opacity: 0.1;
    transform: translateX(-20px) rotate(-15deg);
  }

  50% {
    opacity: 0.35;
    transform: translateX(20px) rotate(-15deg);
  }
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

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

  .hero-description {
    margin: 0 auto 36px;
  }

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

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

  .hero-visual {
    display: none;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-cta .btn-outline {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile nav */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 20px;
    backdrop-filter: blur(20px);
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

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

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

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

  .feature-card {
    padding: 28px;
  }

  .benefit-card {
    padding: 24px;
  }

  .testimonial-card {
    width: 300px;
    padding: 24px;
  }

  .cta-banner-inner {
    padding: 48px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

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

  .hero-title {
    font-size: 1.85rem;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .faq-question {
    padding: 18px 20px;
  }

  .faq-answer-inner {
    padding: 0 20px 20px;
  }
}

/* ── Utilities ── */
.glow-effect {
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.15);
  transition: var(--transition);
}

.glow-effect:hover {
  box-shadow: 0 0 60px rgba(16, 185, 129, 0.3);
}

/* ── New Hero Image ── */
.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow-strong);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: var(--transition);
}

.hero-image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 80px rgba(16, 185, 129, 0.25);
  border-color: var(--primary);
}

.hero-img-main {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

.hero-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 80%, var(--bg) 100%);
  pointer-events: none;
}

/* ── Feature Rows (New Layout) ── */
.features-rows {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
}

.feature-visual {
  flex: 1.2;
  position: relative;
}

.feature-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-row:hover .feature-img {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 60px rgba(16, 185, 129, 0.2);
  border-color: var(--primary-light);
}

.feature-row .feature-icon {
  margin-bottom: 24px;
  font-size: 2rem;
  width: 64px;
  height: 64px;
}

.feature-row h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-heading);
}

.feature-row p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
}

.feature-list li span {
  color: var(--primary);
  font-weight: 800;
}

/* Responsive Features */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .feature-list {
    align-items: center;
  }
}

/* ════════════════════════════════════════
   HERO REDESIGN — Centered + Full Width
   ════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.hero-center-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px 48px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.hero-center-wrapper .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--primary-glow);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, #34d399 60%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Word-by-word animated reveal */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
  margin-right: 0.18em;
  vertical-align: baseline;
}

@keyframes wordReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) skewY(4deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

/* Fade-up for badge, description, actions, stats */
.hero-animate {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-center-wrapper .hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-center-wrapper .hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.btn-hero {
  padding: 16px 40px;
  font-size: 1.05rem;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.35);
}

.btn-hero:hover {
  box-shadow: 0 0 60px rgba(16, 185, 129, 0.55);
  transform: translateY(-3px) scale(1.03);
}

.hero-center-wrapper .hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero-center-wrapper .hero-stat {
  padding: 0 40px;
  text-align: center;
}

.hero-center-wrapper .hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-center-wrapper .hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Wide Breakout Image Frame ── */
.hero-image-breakout {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  padding: 0 32px;
  margin: 0 auto;
}

.hero-image-frame {
  position: relative;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-bottom: none;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.08),
    0 -40px 100px rgba(16, 185, 129, 0.14),
    0 40px 120px rgba(0, 0, 0, 0.5);
  background: #0a0a0a;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.hero-image-frame:hover {
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.22),
    0 -40px 120px rgba(16, 185, 129, 0.25),
    0 40px 140px rgba(0, 0, 0, 0.65);
  transform: translateY(-4px);
}

/* Fake browser topbar */
.hero-img-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.topbar-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}

.topbar-dot.red {
  background: #ff5f57;
}

.topbar-dot.yellow {
  background: #febc2e;
}

.topbar-dot.green {
  background: #28c840;
}

.topbar-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.28);
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

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

.hero-img-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-center-wrapper .hero-stat {
    padding: 0 20px;
  }

  .hero-stat-divider {
    height: 28px;
  }

  .hero-image-breakout {
    padding: 0 12px;
  }

  .hero-img-topbar {
    padding: 10px 14px;
  }

  .topbar-title {
    display: none;
  }
}