/* ============================================
   FLUX SAAS — DESIGN SYSTEM
   Palette: Volcanic Glass + Amber
   Fonts: Clash Display + Plus Jakarta Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Clash Display via CDN */
@font-face {
  font-family: 'Clash Display';
  src: url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');
}

/* ── TOKENS ── */
:root {
  --bg-base:       #0A0A0A;
  --bg-surface:    #111111;
  --bg-elevated:   #1A1A1A;
  --bg-card:       #161616;
  --border:        rgba(255,255,255,0.07);
  --border-hover:  rgba(255,107,43,0.4);

  --accent:        #FF6B2B;
  --accent-light:  #FFB088;
  --accent-glow:   rgba(255,107,43,0.25);

  --text-primary:  #F0EDE8;
  --text-secondary:#9A9490;
  --text-muted:    #5A5550;

  --font-display:  'Clash Display', 'Plus Jakarta Sans', sans-serif;
  --font-body:     'Plus Jakarta Sans', sans-serif;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;

  --shadow-card:   0 1px 3px rgba(0,0,0,0.4), 0 8px 32px rgba(0,0,0,0.3);
  --shadow-glow:   0 0 60px rgba(255,107,43,0.15);

  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: #ff7d42;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,107,43,0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--text-primary); background: var(--bg-elevated); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--border-hover);
  color: var(--accent-light);
  background: rgba(255,107,43,0.05);
}

.btn-large { padding: 14px 28px; font-size: 1rem; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: var(--transition);
}
.nav-wrapper.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); background: var(--bg-elevated); }

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a {
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--text-primary); background: var(--bg-elevated); }
.nav-mobile .btn-primary { margin-top: 8px; justify-content: center; }
.nav-mobile.open { display: flex; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

/* Animated orbs */
.hero-orb {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,43,0.18) 0%, rgba(255,107,43,0.05) 50%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,176,136,0.1) 0%, transparent 70%);
  top: auto;
  bottom: -150px;
  left: -150px;
  right: auto;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 30px) scale(0.97); }
}

/* Grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: rgba(255,107,43,0.1);
  border: 1px solid rgba(255,107,43,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.hero-social-proof strong { color: var(--text-primary); }
.avatars {
  display: flex;
}
.avatars img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-base);
  margin-left: -8px;
  object-fit: cover;
}
.avatars img:first-child { margin-left: 0; }

/* Dashboard card */
.hero-dashboard {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  margin: 60px auto 0;
}

.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.dashboard-dots {
  display: flex;
  gap: 6px;
}
.dashboard-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-surface);
}
.dashboard-dots span:nth-child(1) { background: #FF5F57; }
.dashboard-dots span:nth-child(2) { background: #FFBD2E; }
.dashboard-dots span:nth-child(3) { background: #28CA41; }
.dashboard-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.dashboard-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  transition: var(--transition);
}
.flow-node:hover { border-color: var(--border-hover); }

.flow-node--trigger { border-left: 3px solid #7B68EE; }
.flow-node--ai      { border-left: 3px solid var(--accent); }
.flow-node--action  { border-left: 3px solid #28CA41; }
.flow-node--notify  { border-left: 3px solid #FFB088; }

.node-icon { font-size: 1.1rem; }
.node-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.node-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.node-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.node-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  background: rgba(255,107,43,0.15);
  color: var(--accent);
  border-radius: 100px;
  border: 1px solid rgba(255,107,43,0.3);
}

.flow-connector {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}
.flow-line {
  width: 2px;
  height: 16px;
  background: linear-gradient(to bottom, var(--border), rgba(255,107,43,0.3));
  border-radius: 2px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px;
  background: var(--bg-card);
  gap: 3px;
}
.stat-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Logos */
.hero-logos {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 60px;
  width: 100%;
}
.hero-logos p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 20px;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.logo-item {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: -0.02em;
  transition: var(--transition);
  opacity: 0.5;
}
.logo-item:hover { opacity: 1; color: var(--text-secondary); }

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 120px 0;
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255,107,43,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.feature-card:hover::before { opacity: 1; }

.feature-card--large {
  grid-column: span 2;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,107,43,0.1);
  border: 1px solid rgba(255,107,43,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Mini flow visual */
.feature-visual { margin-top: 24px; }
.mini-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.mini-node {
  padding: 6px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.mini-node--ai {
  background: rgba(255,107,43,0.1);
  border-color: rgba(255,107,43,0.3);
  color: var(--accent-light);
}
.mini-arrow {
  color: var(--text-muted);
  font-size: 1rem;
}

/* AI prompt demo */
.ai-prompt-demo { margin-top: 24px; }
.prompt-bubble {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 10px;
}
.prompt-response {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--accent-light);
  font-weight: 600;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 120px 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.testimonials::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 14px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.carousel-btn:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  color: var(--accent-light);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 120px 0;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 56px;
}
.toggle-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.toggle-label.active { color: var(--text-primary); }
.save-badge {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  background: rgba(255,107,43,0.15);
  color: var(--accent-light);
  border-radius: 100px;
  border: 1px solid rgba(255,107,43,0.25);
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}
.toggle-switch.active { background: var(--accent); border-color: var(--accent); }
.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--text-primary);
  border-radius: 50%;
  transition: var(--transition);
}
.toggle-switch.active .toggle-thumb { transform: translateX(22px); }

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.pricing-card--featured {
  background: linear-gradient(160deg, #1A1208 0%, #0F0A05 100%);
  border-color: rgba(255,107,43,0.35);
  box-shadow: 0 0 60px rgba(255,107,43,0.12), var(--shadow-card);
  transform: scale(1.03);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.plan-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  margin-bottom: 20px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 16px;
}
.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 8px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  transition: var(--transition);
}
.price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.plan-features li svg { flex-shrink: 0; }
.feature-disabled { opacity: 0.4; }

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

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  padding: 80px 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(255,107,43,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

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

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 12px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social a:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255,107,43,0.08);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--text-secondary); }

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

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--large {
    grid-column: span 2;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .pricing-card--featured {
    transform: none;
    order: -1;
  }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 16px 20px; }

  .hero { padding: 120px 20px 60px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { justify-content: center; }

  .hero-dashboard { max-width: 100%; }

  .features { padding: 80px 0; }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card--large { grid-column: span 1; }

  .testimonials { padding: 80px 0; }
  .testimonial-card {
    flex: 0 0 calc(100% - 40px);
  }

  .pricing { padding: 80px 0; }

  .logos-row { gap: 24px; }

  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

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

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-headline { font-size: 2.4rem; }
  .hero-social-proof { flex-direction: column; gap: 8px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
}