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

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

:root {
  --bg: #020617;
  --bg-alt: #0f172a;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-from: #06b6d4;
  --accent-to: #10b981;
  --accent-glow: rgba(6, 182, 212, 0.25);
  --accent-glow-strong: rgba(6, 182, 212, 0.4);
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 8px;
  --nav-bg: rgba(2, 6, 23, 0.7);
  --dash-bg: rgba(255, 255, 255, 0.03);
  --input-bg: rgba(255, 255, 255, 0.04);
}

/* === LIGHT MODE === */
[data-theme="light"] {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-card: rgba(0, 0, 0, 0.03);
  --bg-card-hover: rgba(0, 0, 0, 0.06);
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent-glow: rgba(6, 182, 212, 0.15);
  --accent-glow-strong: rgba(6, 182, 212, 0.25);
  --nav-bg: rgba(248, 250, 252, 0.8);
  --dash-bg: rgba(0, 0, 0, 0.02);
  --input-bg: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .hero::before {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .hero::after {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
}

[data-theme="light"] .navbar {
  background: var(--nav-bg);
}

[data-theme="light"] .float-card {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .dashboard-preview {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .dash-stat {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-particle {
  background: rgba(6, 182, 212, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.purple-text {
  background: linear-gradient(135deg, var(--purple), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === ANIMATIONS === */
@keyframes glow-pulse {

  0%,
  100% {
    box-shadow: 0 0 20px var(--accent-glow), 0 0 60px rgba(6, 182, 212, 0.1);
  }

  50% {
    box-shadow: 0 0 35px var(--accent-glow-strong), 0 0 100px rgba(6, 182, 212, 0.2);
  }
}

@keyframes float-1 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-18px) rotate(1deg);
  }

  75% {
    transform: translateY(8px) rotate(-0.5deg);
  }
}

@keyframes float-2 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-12px) rotate(-1.5deg);
  }

  66% {
    transform: translateY(14px) rotate(1deg);
  }
}

@keyframes float-3 {

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

  50% {
    transform: translateY(-20px) scale(1.02);
  }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-left {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-right {
  from {
    opacity: 0;
    transform: translateX(80px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes dot-pulse {

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

  50% {
    opacity: .4;
    transform: scale(.8);
  }
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

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

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(50px) scale(0);
    opacity: 0;
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes count-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-card-enter-1 {
  from {
    opacity: 0;
    transform: translateX(100px) rotate(8deg);
  }

  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes hero-card-enter-2 {
  from {
    opacity: 0;
    transform: translateX(-100px) rotate(-8deg);
  }

  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes hero-card-enter-3 {
  from {
    opacity: 0;
    transform: translateY(80px) scale(0.7);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes revenue-fill {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes notification-pop {
  0% {
    opacity: 0;
    transform: translateX(40px) scale(0.5);
  }

  60% {
    transform: translateX(-5px) scale(1.05);
  }

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 8px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all .3s ease;
}

.navbar.scrolled {
  padding: 8px 0;
}

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

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

.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  transition: color .3s;
}

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

.nav-cta {
  padding: 9px 22px;
  border-radius: var(--radius-xs);
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  color: #fff !important;
  font-weight: 600;
  transition: all .3s;
  box-shadow: 0 0 20px var(--accent-glow);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow-strong);
}

/* Nav toggles */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text);
  border-color: var(--border-hover);
}

.lang-toggle {
  font-size: .75rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Hero particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.15);
  animation: particle-float linear infinite;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: slide-left 1s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: .78rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  animation: slide-up .8s ease .2s both;
}

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

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -.03em;
  text-wrap: balance;
  animation: slide-up .8s ease .3s both;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: slide-up .8s ease .5s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: slide-up .8s ease .7s both;
}

.btn-primary {
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: glow-pulse 3s infinite;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
}

.btn-secondary {
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* === HERO VISUAL — Floating Cards Stack === */
.hero-visual {
  position: relative;
  min-height: 450px;
  animation: slide-right 1s ease;
}

.hero-visual-inner {
  position: relative;
  width: 100%;
  height: 450px;
}

.float-card {
  position: absolute;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  font-size: .85rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: default;
}

.float-card:hover {
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.4);
}

/* Card positions & animations */
.float-card-1 {
  top: 5%;
  right: 0;
  min-width: 240px;
  animation: hero-card-enter-1 .8s ease .6s both, float-1 5s ease-in-out 1.4s infinite;
}

.float-card-2 {
  bottom: 15%;
  left: 0;
  min-width: 220px;
  animation: hero-card-enter-2 .8s ease .9s both, float-2 6s ease-in-out 1.7s infinite;
}

.float-card-3 {
  top: 40%;
  right: -10px;
  min-width: 200px;
  animation: hero-card-enter-3 .8s ease 1.2s both, float-3 7s ease-in-out 2s infinite;
}

.float-card-4 {
  bottom: 0;
  right: 15%;
  min-width: 260px;
  animation: notification-pop .6s ease 2s both, float-2 5.5s ease-in-out 2.6s infinite;
}

.fc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.fc-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.fc-icon.green {
  background: rgba(16, 185, 129, .15);
}

.fc-icon.cyan {
  background: rgba(6, 182, 212, .15);
}

.fc-icon.purple {
  background: rgba(139, 92, 246, .15);
}

.fc-icon.amber {
  background: rgba(245, 158, 11, .15);
}

.fc-label {
  color: var(--text-muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.fc-value {
  font-weight: 800;
  font-size: 1.6rem;
  margin: 2px 0;
}

.fc-value.green {
  color: var(--accent-to);
}

.fc-value.cyan {
  color: var(--accent-from);
}

.fc-value.purple {
  color: var(--purple);
}

.fc-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 600;
  margin-top: 4px;
}

.fc-tag.green {
  background: rgba(16, 185, 129, .12);
  color: var(--accent-to);
}

.fc-tag.cyan {
  background: rgba(6, 182, 212, .12);
  color: var(--accent-from);
}

/* Revenue bar */
.fc-bar-wrap {
  height: 6px;
  background: rgba(255, 255, 255, .08);
  border-radius: 3px;
  margin-top: 8px;
  overflow: hidden;
}

.fc-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
  animation: revenue-fill 2s ease 1.8s both;
}

/* Notification card */
.fc-notification {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fc-notif-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-to);
  animation: dot-pulse 1.5s infinite;
  flex-shrink: 0;
}

.fc-notif-text {
  font-size: .82rem;
  color: var(--text-secondary);
}

.fc-notif-text strong {
  color: var(--text);
}

.fc-notif-amount {
  font-weight: 800;
  color: var(--accent-to);
}

/* Chat typing animation in hero */
.hero-chat-line {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--accent-from);
  animation: typing 3s steps(40) 2.5s both, blink .75s step-end infinite;
  font-size: .8rem;
  color: var(--accent-from);
  margin-top: 10px;
  max-width: 100%;
}

/* === SECTIONS === */
section {
  padding: 100px 0;
  position: relative;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === DASHBOARD === */
.dashboard-section {
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, .04) 0%, transparent 70%);
}

.dashboard-preview {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}

.dash-dots {
  display: flex;
  gap: 7px;
}

.dash-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dash-dots span:nth-child(1) {
  background: #ef4444;
}

.dash-dots span:nth-child(2) {
  background: #f59e0b;
}

.dash-dots span:nth-child(3) {
  background: #22c55e;
}

.dash-title {
  font-weight: 600;
  font-size: .85rem;
  color: var(--text-secondary);
}

.dash-body {
  padding: 24px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.dash-stat {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--dash-bg);
  border: 1px solid var(--border);
}

.dash-stat .label {
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}

.dash-stat .value {
  font-size: 1.6rem;
  font-weight: 800;
}

.dash-stat .change {
  font-size: .72rem;
  margin-top: 4px;
}

.dash-stat .change.up {
  color: var(--accent-to);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
}

.dash-table th {
  text-align: left;
  padding: 10px 14px;
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--border);
}

.dash-table td {
  padding: 12px 14px;
  font-size: .83rem;
  border-bottom: 1px solid rgba(255, 255, 255, .03);
}

.dash-table tr:hover {
  background: rgba(255, 255, 255, .02);
}

[data-theme="light"] .dash-table tr:hover {
  background: rgba(0, 0, 0, .02);
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 600;
}

.status-badge.won {
  background: rgba(16, 185, 129, .15);
  color: var(--accent-to);
}

.status-badge.open {
  background: rgba(6, 182, 212, .15);
  color: var(--accent-from);
}

.status-badge.lost {
  background: rgba(239, 68, 68, .15);
  color: #ef4444;
}

.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .73rem;
  font-weight: 500;
  background: rgba(255, 255, 255, .05);
}

[data-theme="light"] .source-badge {
  background: rgba(0, 0, 0, .05);
}

/* === STEPS === */
.steps-section {
  background: radial-gradient(ellipse at top, rgba(139, 92, 246, .04) 0%, transparent 60%);
}

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

.step-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
  opacity: 0;
  transition: opacity .4s;
}

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

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

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  margin: 0 auto 20px;
}

.step-emoji {
  font-size: 2rem;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

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

.feature-card {
  padding: 30px 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all .4s ease;
}

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

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.feature-icon.cyan {
  background: rgba(6, 182, 212, .12);
}

.feature-icon.green {
  background: rgba(16, 185, 129, .12);
}

.feature-icon.purple {
  background: rgba(139, 92, 246, .12);
}

.feature-icon.amber {
  background: rgba(245, 158, 11, .12);
}

.feature-icon.rose {
  background: rgba(244, 63, 94, .12);
}

.feature-icon.blue {
  background: rgba(59, 130, 246, .12);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: .86rem;
  line-height: 1.6;
}

/* === TESTIMONIALS === */
.testimonials-section {
  background: radial-gradient(ellipse at bottom, rgba(6, 182, 212, .04) 0%, transparent 60%);
}

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

.testimonial-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all .3s;
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #f59e0b;
  margin-bottom: 12px;
  font-size: .85rem;
  letter-spacing: 2px;
}

.testimonial-headline {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.testimonial-text {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  color: #fff;
}

.testimonial-name {
  font-weight: 600;
  font-size: .88rem;
}

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

/* === CTA === */
.cta-section {
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, .06) 0%, transparent 70%);
}

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

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.cta-form {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.cta-form h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-xs);
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  transition: all .3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent-from);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-submit {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-xs);
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: all .3s;
  margin-top: 8px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow-strong);
}

.form-check {
  margin-top: 4px;
}

.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.check-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent-from);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.check-label a {
  color: var(--accent-from);
  text-decoration: underline;
}

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

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: .85rem;
  line-height: 1.7;
  margin-top: 10px;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: .85rem;
  padding: 3px 0;
  transition: color .3s;
}

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

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

/* === LEGAL PAGES === */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page .container {
  max-width: 840px;
}

.legal-page h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-page .legal-date {
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--text);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: .92rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 24px;
}

.legal-page a {
  color: var(--accent-from);
  text-decoration: underline;
}

/* === FAQ SECTION === */
.faq-section {
  padding: 100px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.faq-item[open] {
  border-color: var(--accent-from);
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.1), 0 4px 20px rgba(6, 182, 212, 0.08);
}

[data-theme="light"] .faq-item {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .faq-item[open] {
  box-shadow: 0 0 0 1px rgba(6, 182, 212, 0.15), 0 4px 20px rgba(6, 182, 212, 0.06);
}

/* Remove default marker */
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.3s ease;
  line-height: 1.4;
}

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

.faq-item summary::marker {
  content: '';
}

/* Chevron icon */
.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s, border-color 0.3s;
  /* Plus icon via box-shadows */
  background-image:
    linear-gradient(var(--text-secondary), var(--text-secondary)),
    linear-gradient(var(--text-secondary), var(--text-secondary));
  background-size: 10px 2px, 2px 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  background-color: rgba(6, 182, 212, 0.1);
  border-color: var(--accent-from);
  background-image:
    linear-gradient(var(--accent-from), var(--accent-from)),
    linear-gradient(var(--accent-from), var(--accent-from));
}

.faq-item summary:hover {
  color: var(--accent-from);
}

/* Answer area with smooth transition */
.faq-answer {
  padding: 0 24px 20px;
  animation: faq-reveal 0.35s ease;
}

.faq-answer p {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === COOKIE CONSENT (Modern Card) === */
.consent-card {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 200;
  max-width: 400px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transform: translateY(120%) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
}

[data-theme="light"] .consent-card {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.04) inset;
}

.consent-card.show {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.consent-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}

.consent-card-body {
  margin-bottom: 18px;
}

.consent-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.consent-card-text {
  font-size: .82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.consent-card-text a {
  color: var(--accent-from);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-card-text a:hover {
  color: var(--accent-to);
}

.consent-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.consent-btn-accept {
  width: 100%;
  padding: 12px 20px;
  border-radius: var(--radius-xs);
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.consent-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow-strong);
}

.consent-btn-reject {
  width: 100%;
  padding: 10px 20px;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  font-size: .8rem;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .3s ease;
}

.consent-btn-reject:hover {
  color: var(--text-secondary);
  border-color: var(--border-hover);
  background: var(--bg-card);
}

@media (max-width: 480px) {
  .consent-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

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

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    margin: 0 auto 36px;
  }

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

  .hero-visual {
    display: none;
  }

  .steps-grid,
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

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

  .section-header h2 {
    font-size: 1.9rem;
  }
}

@media(max-width:480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .dash-stats {
    grid-template-columns: 1fr;
  }
}