:root {
  --bg: #0d0f12;
  --surface: #14171d;
  --surface-hover: #1b1e26;
  --border: #232731;
  --text: #ffffff;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  --primary: #0f62fe;
  --primary-hover: #0353e9;
  --success: #10B981;
  --error: #EF4444;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;
}

body.light-theme {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-hover: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --primary: #0f62fe;
  --primary-hover: #0353e9;
  /* keeping success and error same or slightly adjusted */
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Coolvetica', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-weight: 700;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none; /* Prevent browser from synthesizing bold/italic */
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-lg {
  height: 56px;
  padding: 0 32px;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 98, 254, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-full {
  width: 100%;
}

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

.section {
  padding: 100px 0;
  position: relative;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 8px;
  z-index: 100;
}
.skip-link:focus { top: 0; }

/* ═══ HEADER ═══ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  display: flex;
  align-items: center;
}





.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
  color: #fff;
}
.brand-geo {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
}
.brand-wave {
  font-weight: 500;
  font-size: 24px;
  margin-top: -2px;
}
.brand-mark { color: var(--primary); }

.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav a:hover { color: var(--text); }

.header-cta {
  display: flex;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

@media (max-width: 768px) {

  .mobile-menu-btn { display: flex !important; }
  
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    gap: 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: -1;
  }
  
  .site-header.menu-open .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .site-header.menu-open .mobile-menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .mobile-menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .header-cta .btn-secondary { display: none; }
  

}

@media (min-width: 769px) {
  .mobile-menu-btn { display: none !important; }
}


@media (max-width: 400px) {
  .header-cta .btn-primary {
    padding: 0 12px;
    font-size: 12px;
  }
  .brand-geo, .brand-wave {
    font-size: 20px;
  }
}

/* ═══ HERO ═══ */
.hero-section {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(15, 98, 254, 0.15) 0%, rgba(10,10,10,0) 70%);
  pointer-events: none;
}

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

@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .hero-h1 {
    font-size: 36px;
  }
}

.hero-rotate-wrap {
  display: inline-block;
  position: relative;
  height: 52px;
  min-width: 250px;
  vertical-align: bottom;
  color: #fff;
}
@media (max-width: 768px) {
  .hero-rotate-wrap {
    display: block;
    width: 100%;
    height: 40px;
    min-width: auto;
    margin-top: 8px;
  }
}

.hero-rotate-word {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.ai-word-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 14px;
  flex-shrink: 0;
}

.ai-word-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 768px) {
  .hero-rotate-word {
    width: 100%;
    justify-content: center;
  }
}

.hero-rotate-word.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-rotate-word.out {
  opacity: 0;
  transform: translateY(-20px);
}

.hero-h2 {
  font-size: 20px;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 40px;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 992px) {
  .hero-bullets {
    align-items: center;
  }
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.hero-bullets li > span:last-child {
  flex: 1;
}

.bullet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(36, 161, 72, 0.1);
  color: var(--success);
  border-radius: 50%;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

@media (max-width: 992px) {
  .hero-actions {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

.dashboard-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

@media (max-width: 992px) {
  .dashboard-preview {
    transform: none;
    margin: 0 auto;
    max-width: 600px;
  }
}

@media (max-width: 600px) {
  .hero-visual {
    display: none;
  }
}

.video-preview-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.hero-video {
  width: 100%;
  display: block;
}

@media (max-width: 992px) {
  .video-preview-window {
    transform: none;
    margin: 0 auto;
    max-width: 600px;
  }
}

.dash-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
  margin-right: 6px;
}
.dash-dots span:nth-child(1) { background: #FF5F56; }
.dash-dots span:nth-child(2) { background: #FFBD2E; }
.dash-dots span:nth-child(3) { background: #27C93F; }

.dash-title {
  font-size: 12px;
  color: var(--text-muted);
}

.dash-body {
  padding: 24px;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
@media (max-width: 600px) {
  .dash-metrics {
    grid-template-columns: 1fr;
  }
}

.dash-metric {
  background: rgba(255,255,255,0.03);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
}

.dash-val {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.dash-metric:first-child .dash-val { color: var(--success); }

.dash-lab {
  font-size: 12px;
  color: var(--text-secondary);
}

.dash-chart {
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.dash-chart .bar {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border-radius: 4px 4px 0 0;
  transition: height 1s ease;
}

.dash-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 2px;
}

.dash-labels span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ═══ PROBLEM SECTION REDESIGN ═══ */
.problem-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 992px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.problem-content h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.problem-content .problem-text {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

.pain-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pain-card {
  background: rgba(218, 30, 40, 0.05);
  border: 1px solid rgba(218, 30, 40, 0.15);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  gap: 16px;
  transition: transform 0.2s;
}

.pain-card:hover {
  transform: translateX(10px);
  background: rgba(218, 30, 40, 0.08);
}

.pain-card i, .pain-icon-svg {
  color: var(--error);
  font-size: 20px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pain-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.pain-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.solution-card {
  background: linear-gradient(135deg, rgba(15, 98, 254, 0.2) 0%, rgba(10, 10, 10, 1) 100%);
  border: 1px solid rgba(15, 98, 254, 0.4);
  padding: 48px;
  border-radius: 32px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.solution-card::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(15, 98, 254, 0.3) 0%, transparent 70%);
  filter: blur(40px);
}

.solution-badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.solution-card h3 {
  font-size: 32px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff, #80aeff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.solution-card p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 30px;
}

.solution-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.solution-features li i, .feature-icon-svg {
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.geo-note {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ═══ HORIZONTAL TIMELINE ═══ */
.horizontal-timeline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.ht-line {
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  z-index: 1;
}
.ht-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to right, var(--primary) 0%, transparent 100%);
  z-index: 2;
}
.ht-item {
  flex: 1;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
}
.ht-marker {
  width: 48px;
  height: 48px;
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
  box-shadow: 0 0 0 8px var(--bg);
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
}
.ht-item:nth-child(2) .ht-marker, .ht-item:nth-child(3) .ht-marker {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(15, 98, 254, 0.4), 0 0 0 8px var(--bg);
}
.ht-content {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius-md);
  transition: transform 0.2s, border-color 0.2s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  flex: 1;
}
.ht-content:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 98, 254, 0.5);
}
.ht-content h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.4;
}
.ht-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .horizontal-timeline {
    flex-direction: column;
  }
  .ht-line {
    top: 0; bottom: 0; left: 24px; right: auto; width: 2px; height: auto;
    background: linear-gradient(to bottom, var(--primary) 0%, var(--border) 100%);
  }
  .ht-line::after { display: none; }
  .ht-item {
    flex-direction: row;
    gap: 20px;
    margin-bottom: 20px;
  }
  .ht-marker {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

/* ═══ DASHBOARD MOCKUP ═══ */
.geo-dashboard-mockup {
  margin-top: 80px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  font-family: 'Inter', sans-serif;
}
.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.mockup-header .dash-dots { flex: 1; }
.dash-tabs {
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}
.dash-status {
  flex: 1;
  text-align: right;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.mockup-body {
  display: flex;
  height: 450px;
}
.mockup-sidebar {
  width: 240px;
  border-right: 1px solid var(--border);
  padding: 24px;
  background: transparent;
  overflow-y: auto;
}
.mockup-sidebar.right {
  border-right: none;
  border-left: 1px solid var(--border);
}
.sb-title {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 1px;
  font-weight: 600;
}
.sb-item {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid transparent;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.sb-item:hover {
  background: rgba(255,255,255,0.05);
}
.sb-item.active {
  background: rgba(15, 98, 254, 0.1);
  border-color: rgba(15, 98, 254, 0.3);
  color: #fff;
}
.mockup-canvas {
  flex: 1;
  background: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  padding: 20px;
}
.node-item {
  width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.node-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 8px 24px rgba(15, 98, 254, 0.2);
}
.node-header {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.node-body {
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  padding: 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.node-connector {
  width: 2px;
  height: 48px;
  background: var(--border);
  position: relative;
}
.node-connector::after {
  content: "↓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-muted);
  font-size: 12px;
  background: var(--bg);
  padding: 4px;
}
.log-item {
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.02);
  color: var(--text-secondary);
}
.log-item.success {
  border-left: 3px solid var(--success);
}
.log-item.running {
  border-left: 3px solid var(--primary);
  color: #fff;
}
@media (max-width: 992px) {
  .geo-dashboard-mockup .mockup-sidebar { display: none; }
}

/* ═══ VISIBILITY CHECK ═══ */
.vis-check-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.vis-check-box h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.vis-check-box p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.vis-form {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .vis-form {
    flex-direction: column;
    border-radius: 16px;
    padding: 16px;
  }
  .vis-form .btn { width: 100%; border-radius: 8px;}
  .vis-input {
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    height: 54px;
    margin-bottom: 12px;
    padding: 0 16px;
  }
}

.vis-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  padding: 0 24px;
  font-size: 16px;
  outline: none;
}

.vis-benefits {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 14px;
}
.vis-benefits span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vis-benefits svg { color: var(--success); }

/* ═══ AUDIENCE ═══ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.aud-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aud-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.aud-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aud-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

.aud-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ═══ TESTIMONIALS ═══ */
.testim-slider-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.testim-track-outer {
  overflow: hidden;
  margin: 0 -12px;
  padding: 20px 12px;
}

.testim-track {
  display: flex;
  transition: transform 0.5s ease;
  touch-action: pan-y pinch-zoom;
}

.testim-card {
  flex: 0 0 calc(33.333% - 24px);
  margin: 0 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s;
}

.testim-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

@media (max-width: 992px) {
  .testim-card {
    flex: 0 0 calc(50% - 24px);
  }
}

@media (max-width: 768px) {
  .testim-card {
    flex: 0 0 calc(100% - 24px);
    padding: 24px;
  }
  .testim-slider-wrap { padding: 0; }
  .testim-arrow { display: none; }
}

.testim-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.testim-arrow:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.testim-prev { left: -10px; }
.testim-next { right: -10px; }

.testim-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.testim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: 0.3s;
}

.testim-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

.stars {
  color: #F59E0B;
  font-size: 20px;
  margin-bottom: 24px;
  letter-spacing: 4px;
}

.quote {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  flex: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  flex-shrink: 0;
  background: rgba(15, 98, 254, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.name { font-weight: 600; font-size: 15px; }
.role { font-size: 13px; color: var(--text-secondary); margin-top: 4px;}

.gr-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.gr-header .author { margin-bottom: 0; }
.gr-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.gr-rating .stars { margin-bottom: 0; letter-spacing: 2px; }
.gr-time { font-size: 13px; color: var(--text-muted); }
.gr-icon { width: 24px; height: 24px; min-width: 24px; flex-shrink: 0; }

.metric {
  color: var(--success);
  font-weight: 700;
  font-size: 15px;
}

/* ═══ HOW IT WORKS ═══ */
.lead-text {
  color: var(--text-secondary);
  font-size: 18px;
  margin-top: 16px;
  margin-bottom: 60px;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .steps-row { grid-template-columns: 1fr; }
}

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

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  position: relative;
}

.step-badge {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 28px;
  height: 28px;
  background: var(--primary);
  border: 2px solid var(--bg);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.step-item h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.step-item p {
  color: var(--text-secondary);
  font-size: 15px;
}

.results-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .results-grid { grid-template-columns: 1fr; }
}

.result-item h4 {
  font-size: 16px;
  margin-bottom: 12px;
}
.result-item p {
  font-size: 14px;
  color: var(--text-secondary);
}
.r-icon {
  width: 48px;
  height: 48px;
  background: rgba(15, 98, 254, 0.1);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* ═══ BEFORE/AFTER ═══ */
.ba-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.ba-tab {
  padding: 12px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.ba-tab:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text);
}

.ba-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.ba-mockup {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.ba-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.ba-logo {
  width: 28px;
  height: 28px;
  background: #10A37F;
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-title { font-weight: 600; flex: 1;}
.ba-badge {
  font-size: 12px;
  color: var(--text-muted);
}

.ba-chat-area {
  padding: 40px;
}
@media (max-width: 600px) {
  .ba-chat-area { padding: 20px 16px; }
}
.hidden { display: none; }

.msg {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
}

.user-msg {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  margin-left: 100px;
}
@media (max-width: 600px) { .user-msg { margin-left: 20px; } }

.ai-msg {
  background: transparent;
  color: var(--text);
  margin-right: 40px;
}
@media (max-width: 600px) { .ai-msg { margin-right: 10px; } }

.ba-alert {
  margin-top: 40px;
  padding: 24px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
}
.ba-alert.error {
  background: rgba(218, 30, 40, 0.1);
  border: 1px solid rgba(218, 30, 40, 0.2);
  color: #FF8389;
}
.ba-alert.success {
  background: rgba(36, 161, 72, 0.1);
  border: 1px solid rgba(36, 161, 72, 0.2);
  color: #42BE65;
}
.alert-icon { font-weight: 700; font-size: 20px;}



/* ═══ CASES ═══ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
@media (max-width: 768px) {
  .cases-grid { grid-template-columns: 1fr; }
}

.case-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.case-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.case-logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 60%;
  max-height: 50%;
  z-index: 2;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.case-logo-text {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: center;
  width: 100%;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .case-card:hover .case-logo-overlay {
    transform: translate(-50%, -60%);
  }
}

.case-badge {
  position: absolute;
  top: 20px;
  z-index: 3;
  right: 20px;
  background: var(--success);
  color: #fff;
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
}

.case-content {
  padding: 30px;
}

.case-content h3 { font-size: 22px; margin-bottom: 8px; }
.case-loc { color: var(--primary); font-size: 14px; margin-bottom: 24px; font-weight: 500;}

.case-details p {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.case-details strong { color: var(--text); }

.case-quote {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-style: italic;
  color: var(--text-muted);
  font-size: 15px;
}

/* ═══ AI PILLS ═══ */
.ais-section { padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ai-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.ai-pill {
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.ai-pill:hover {
  background: var(--surface-hover);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}
.pill-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pill-icon svg {
  width: 100%;
  height: 100%;
}

/* ═══ FAQ ═══ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-item summary {
  padding: 24px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--primary); }
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 0 24px 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══ FOOTER ═══ */
.footer { border-top: 1px solid var(--border); padding: 80px 0 40px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-brand p { color: var(--text-secondary); margin-top: 16px; max-width: 300px; }
.f-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; color: #fff;}
.footer-links { display: flex; gap: 80px; }
.footer-links h4 { margin-bottom: 24px; font-size: 16px; }
.footer-links a { display: block; color: var(--text-secondary); margin-bottom: 12px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  color: var(--text-muted);
  font-size: 14px;
}



/* ═══ FLOATING WIDGET ═══ */
.floating-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
}
.widget-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 98, 254, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.widget-btn:hover { transform: scale(1.05); }

.widget-popup {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  transform-origin: bottom right;
  transition: all 0.3s;
}
.widget-popup.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
}
.widget-header {
  background: rgba(255,255,255,0.05);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.widget-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.widget-status { font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 6px;}
.pulse { width: 8px; height: 8px; background: var(--success); border-radius: 50%; display: inline-block;}
.widget-close { background: none; border: none; color: var(--text-secondary); font-size: 24px; cursor: pointer;}
.widget-body { padding: 20px; background: var(--bg); min-height: 150px;}
.w-msg { background: var(--surface); padding: 12px 16px; border-radius: 12px 12px 12px 0; font-size: 14px; border: 1px solid var(--border);}
.widget-footer { padding: 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px;}
.w-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: #fff; padding: 10px; border-radius: 8px; cursor: pointer; font-size: 13px; transition: 0.2s;}
.w-btn:hover { background: rgba(255,255,255,0.1); }

/* ═══ COOKIE BANNER ═══ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 320px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

/* ═══ MODAL OVERLAY ═══ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}
.modal-overlay.hidden { display: none; }
.modal {
  margin: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 650px;
  position: relative;
}
@media (max-width: 480px) {
  .modal { padding: 24px; }
  .modal-overlay { padding: 16px; }
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
}
.modal-header h3 { font-size: 24px; margin-bottom: 8px;}
.modal-header p { color: var(--text-secondary); font-size: 14px; margin-bottom: 30px;}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; margin-bottom: 8px; color: var(--text-secondary);}
.form-group input { width: 100%; height: 48px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: #fff; padding: 0 16px; font-size: 15px;}
.form-group input[type="checkbox"] { width: auto; height: auto; padding: 0; border: none; cursor: pointer; }
.form-group input:focus { outline: none; border-color: var(--primary); }

.radio-btn-group {
  display: flex;
  gap: 8px;
}
.radio-btn {
  flex: 1;
  height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 15px;
}
.radio-btn.active {
  background: rgba(15, 98, 254, 0.1);
  border-color: var(--primary);
  color: #fff;
}

.video-badges {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.mute-badge {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.mute-badge:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
}

.mute-badge.active {
  background: var(--primary);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ═══ PRICING ═══ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.pricing-card {
  background: #111;
  border: 1px solid #222;
  padding: 48px 32px;
  border-radius: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border-color: #0f62fe;
  box-shadow: 0 0 40px rgba(15, 98, 254, 0.1);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f62fe;
  color: #fff;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.p-header h3 {
  font-size: 28px;
  color: #fff;
  margin: 0 0 16px;
}

.price {
  font-size: 40px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}

.price .plan-period {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
}

.p-discount {
  font-size: 14px;
  color: var(--success);
  margin-bottom: 8px;
  font-weight: 500;
}

.p-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
  line-height: 1.4;
}

.p-features {
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 0 40px 0 !important;
  flex-grow: 1;
}

.p-features li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.p-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #27c93f;
  font-weight: 700;
  font-size: 16px;
}

.pricing-card .btn {
  border-radius: 100px;
  padding: 14px 24px;
  font-weight: 600;
}

.pricing-card .btn-secondary {
  background: #222;
  border: 1px solid #333;
  color: #fff;
}

.pricing-card .btn-secondary:hover {
  background: #333;
}

/* Multi-site Box */
.multi-site-box {
  margin-top: 40px;
  border: 1px solid #222;
  border-radius: 24px;
  padding: 40px;
  background: transparent;
}

.ms-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.ms-icon {
  width: 24px;
  height: 24px;
  color: var(--text-secondary);
}

.ms-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.ms-rule {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.ms-discounts {
  list-style: none;
  padding: 0;
  font-size: 16px;
  color: #fff;
}

.ms-discounts li {
  margin-bottom: 8px;
}

.ms-notes {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; gap: 32px; }
  .pricing-card.popular { transform: none; }
  .ms-content { grid-template-columns: 1fr; gap: 24px; text-align: left; }
}

@media (max-width: 600px) {
  .modal-overlay {
    padding: 16px;
    align-items: flex-start;
  }
  .modal {
    padding: 32px 20px 24px;
    margin: auto;
    max-height: none;
  }
  .modal-header h3 {
    font-size: 22px;
  }
  .modal-header p {
    margin-bottom: 20px;
  }
  .form-group {
    margin-bottom: 16px;
    text-align: left;
  }
  .form-group input, .radio-btn {
    height: 44px;
    font-size: 14px;
  }
  .modal-close {
    top: 12px;
    right: 16px;
  }
}



/* ═══ AUTH PAGE ═══ */
.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.auth-wrapper {
  display: flex;
  flex: 1;
  width: 100%;
  padding-top: 72px;
}
.auth-brand-side {
  flex: 1;
  background: var(--surface);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 60px;
  overflow: hidden;
  border-right: 1px solid var(--border);
}
@media (max-width: 992px) {
  .auth-brand-side { display: none; }
}
.auth-brand-content {
  position: relative;
  z-index: 2;
  max-width: 400px;
  margin-top: auto;
  margin-bottom: auto;
}
.auth-hero-title {
  font-size: 42px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text);
}
.auth-hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}
.auth-stats {
  display: flex;
  gap: 40px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-val {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}
.stat-lab {
  font-size: 14px;
  color: var(--text-muted);
}
.auth-decoration {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(15, 98, 254, 0.15) 0%, transparent 70%);
  z-index: 1;
}

.auth-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--bg);
}
@media (max-width: 600px) {
  .auth-form-side {
    padding: 32px 16px;
  }
}
.auth-form-container {
  width: 100%;
  max-width: 400px;
}
.auth-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.auth-tab {
  background: none;
  border: none;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.auth-tab:hover { color: var(--text); }
.auth-tab.active {
  color: var(--primary);
}
.auth-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.auth-form {
  display: none;
  animation: fadeIn 0.3s ease;
}
.auth-form.active {
  display: block;
}
.auth-form h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.auth-desc {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 14px;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.forgot-link {
  font-size: 13px;
  color: var(--primary);
}
.form-group input {
  width: 100%;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.2s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}
.auth-submit {
  margin-top: 8px;
}
.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 14px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}
.auth-divider span {
  padding: 0 16px;
}
.social-btn {
  background: var(--surface);
  border: 1px solid var(--border);
}
.social-btn:hover {
  background: var(--surface-hover);
}
.terms-text {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.terms-text a {
  color: var(--text);
  text-decoration: underline;
}

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

/* ═══ DASHBOARD ═══ */
.dashboard-page {
  background: var(--bg);
  height: 100vh;
  overflow: hidden;
}
.dash-layout {
  display: flex;
  height: 100%;
}
.dash-sidebar {
  width: 260px;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .dash-sidebar { display: none; }
}
.dash-sidebar-header {
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
}
.dash-project-selector {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}
.dash-project-selector:hover {
  background: rgba(255,255,255,0.02);
}
.project-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.project-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), #80aeff);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.project-name {
  font-weight: 500;
  font-size: 14px;
}
.dash-nav {
  padding: 24px 16px;
  flex: 1;
  overflow-y: auto;
}
.nav-group-title {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding: 0 8px;
  font-weight: 600;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  margin-bottom: 4px;
}
.nav-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}
.nav-item.active {
  background: rgba(15, 98, 254, 0.1);
  color: var(--primary);
}
.nav-item svg {
  opacity: 0.7;
}
.nav-item.active svg {
  opacity: 1;
}
.dash-sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
}
.nav-item.logout:hover {
  color: var(--error);
}

.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dash-header-bar {
  height: 72px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: var(--bg);
}
.dash-header-left h2 {
  font-size: 20px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.dash-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.icon-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.icon-btn:hover { color: var(--text); }
.icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--error);
  color: #fff;
  font-size: 10px;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
}
.user-avatar {
  width: 36px;
  height: 36px;
  background: var(--surface-hover);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.dash-content {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.metric-title {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.trend {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.trend.up { color: var(--success); }
.trend.down { color: var(--error); }
.metric-value {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}
.metric-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
@media (max-width: 1024px) {
  .charts-grid { grid-template-columns: 1fr; }
}
.chart-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.chart-header h3 {
  font-size: 16px;
  font-family: 'Inter', sans-serif;
}
.chart-select {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  outline: none;
}
.chart-body {
  height: 250px;
}
.list-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.list-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.positive { background: var(--success); }
.dot.neutral { background: #FFBD2E; }
.dot.negative { background: var(--error); }

.progress-bar-wrap {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 16px;
}
.progress-fill.positive { background: var(--success); }
.progress-fill.neutral { background: #FFBD2E; }
.progress-fill.negative { background: var(--error); }

.table-responsive {
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th, .data-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.data-table th {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.badge-ai {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}
.badge-ai.chatgpt { background: rgba(16, 163, 127, 0.1); color: #10A37F; }
.badge-ai.claude { background: rgba(217, 119, 87, 0.1); color: #d97757; }
.badge-ai.gemini { background: rgba(26, 115, 232, 0.1); color: #1a73e8; }
.badge-ai.perplexity { background: rgba(34, 211, 238, 0.1); color: #22d3ee; }

.pos {
  font-weight: 700;
}
.pos.top1 { color: #FFD700; }
.pos.top3 { color: #C0C0C0; }

/* ═══ MODALS & DASHBOARD HELPERS ═══ */
.dashboard-page .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.dashboard-page .modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.dashboard-page .modal-content.dash-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.modal-overlay.show .dash-modal {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover {
  color: var(--text);
}
.w-100 { width: 100% !important; }
.text-center { text-align: center; }

.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.text-warning { color: var(--warning, #f59e0b); }

/* ═══ DASHBOARD FUNCTIONAL STYLES ═══ */
.dash-view {
  display: none;
  animation: fadeIn 0.3s ease;
}
.dash-view.active {
  display: block;
}

/* Dropdowns */
.dash-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 220px;
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}
.dash-dropdown.right {
  left: auto;
  right: 0;
}
.dash-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-header {
  padding: 8px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
  color: var(--text);
}
.dropdown-item {
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
  color: var(--text-secondary);
  text-decoration: none;
}
.dropdown-item:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}
.dropdown-item.active {
  background: rgba(15,98,254,0.1);
  color: var(--primary);
}
.dropdown-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}
.text-primary { color: var(--primary) !important; }
.text-error { color: var(--error) !important; }
.text-success { color: var(--success) !important; }

.notif-content p { margin-bottom: 4px; font-size: 13px; line-height: 1.4; color: var(--text); }
.notif-content span { font-size: 11px; color: var(--text-muted); }

.dash-input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.dash-input:focus { border-color: var(--primary); }

select.dash-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23718096%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px top 50%;
  background-size: 10px auto;
  padding-right: 32px;
}
select.dash-input option {
  background: var(--surface);
  color: var(--text);
}



/* ═══════════════════════════════════════
   FAQ PAGE STYLES
═══════════════════════════════════════ */

.faq-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.faq-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(15, 98, 254, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.faq-hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.faq-hero p {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
}
@media (max-width: 768px) {
  .faq-hero { padding: 140px 0 60px; }
  .faq-hero h1 { font-size: 36px; }
  .faq-hero p { font-size: 17px; }
}

.faq-tabs-wrap { padding: 0 0 80px; }
@media (max-width: 768px) {
  .faq-tabs-wrap { padding: 32px 0 60px; }
}
.faq-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.faq-tab {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}
.faq-tab:hover { border-color: rgba(255,255,255,0.3); color: var(--text); }
.faq-tab.active { background: var(--primary); color: #fff; }

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

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s;
}
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.03);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.faq-item:hover::before { opacity: 1; }
.faq-item.open { border-color: rgba(15, 98, 254, 0.4); }

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

.faq-question h3 {
  font-size: 17px;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0 !important;
  margin: 0;
  flex: 1;
}
.faq-icon {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: var(--text-muted);
}
.faq-item.open .faq-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}
.faq-answer-inner {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0 28px 0;
  font-size: 0;
  line-height: 0;
  opacity: 0;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  transition: padding 0.35s ease, opacity 0.3s ease, font-size 0.3s ease, line-height 0.3s ease;
}
.faq-item.open .faq-answer-inner {
  padding: 0 28px 16px;
  font-size: 16px;
  line-height: 1.7;
  opacity: 1;
}

.faq-cta-section { padding: 100px 0; text-align: center; }
.faq-cta-box {
  background: linear-gradient(135deg, rgba(15,98,254,0.15) 0%, rgba(10,10,10,0) 100%);
  border: 1px solid rgba(15,98,254,0.25);
  border-radius: 24px;
  padding: 72px 40px;
  max-width: 720px;
  margin: 0 auto;
}
.faq-cta-box h2 { font-size: 56px; margin-bottom: 16px; }
.faq-cta-box p { color: var(--text-secondary); font-size: 18px; margin-bottom: 36px; font-family: 'Inter', sans-serif; }
@media (max-width: 768px) {
  .faq-cta-box { padding: 48px 24px; }
  .faq-cta-box h2 { font-size: 40px; }
}


/* ═══════════════════════════════════════
   PRICING PAGE STYLES
═══════════════════════════════════════ */

.pricing-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(15, 98, 254, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-hero h1 { font-size: 52px; line-height: 1.1; font-weight: 700; margin-bottom: 24px; letter-spacing: -0.02em; }
.pricing-hero p { font-size: 20px; color: var(--text-secondary); max-width: 560px; margin: 0 auto 40px; font-family: 'Inter', sans-serif; }
@media (max-width: 768px) {
  .pricing-hero { padding: 140px 0 60px; }
  .pricing-hero h1 { font-size: 36px; }
  .pricing-hero p { font-size: 17px; }
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
}
.billing-toggle .toggle-label.active { color: var(--text); font-weight: 600; }

.billing-switch { position: relative; width: 44px; height: 24px; cursor: pointer; display: inline-block; }
.billing-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.billing-slider {
  position: absolute;
  inset: 0;
  background: var(--primary);
  border-radius: 100px;
  transition: background 0.3s;
  cursor: pointer;
}
.billing-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
}
.billing-switch input:checked ~ .billing-slider::before { transform: translateX(20px); }

.billing-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-family: 'Inter', sans-serif;
}

.pricing-cards-section { padding: 0 0 80px; }
.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 992px) {
  .pricing-cards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .empty-row { display: none !important; }
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(15, 98, 254, 0.4);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.plan-card.featured {
  border-color: var(--primary);
  background: linear-gradient(145deg, rgba(15,98,254,0.08) 0%, var(--surface) 100%);
  box-shadow: 0 0 0 1px rgba(15,98,254,0.3), 0 20px 60px rgba(15,98,254,0.15);
  transform: translateY(-10px);
}
.plan-card.featured:hover {
  transform: translateY(-16px);
  box-shadow: 0 0 0 1px rgba(15,98,254,0.5), 0 30px 80px rgba(15,98,254,0.25);
}
.plan-featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.plan-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif !important;
  margin-bottom: 24px;
}
.plan-price-wrap { margin-bottom: 8px; }
.plan-price {
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-family: 'Coolvetica', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  letter-spacing: 0.02em;
}
.plan-currency {
  font-size: 32px;
  color: var(--text-secondary);
  vertical-align: top;
  padding-top: 14px;
  display: inline-block;
  font-family: 'Coolvetica', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}
.plan-period { font-size: 16px; color: var(--text-muted); margin-bottom: 6px; font-family: 'Inter', sans-serif; }
.plan-total { font-size: 13px; color: var(--success); margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 600; min-height: 20px; }
.plan-saving { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; font-family: 'Inter', sans-serif; min-height: 20px; }
.plan-divider { height: 1px; background: var(--border); margin-bottom: 28px; }
.plan-desc { font-size: 15px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.6; font-family: 'Inter', sans-serif; }
.plan-cta { width: 100%; margin-bottom: 32px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan-features li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  align-items: flex-start;
  font-family: 'Inter', sans-serif;
}
.plan-features li svg { flex-shrink: 0; color: var(--success); margin-top: 1px; }

.included-section { padding: 80px 0; border-top: 1px solid var(--border); }
.included-section h2 { font-size: 52px; text-align: center; margin-bottom: 16px; }
.included-section .section-sub { text-align: center; color: var(--text-secondary); font-size: 17px; margin-bottom: 56px; font-family: 'Inter', sans-serif; }
.included-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto; }
.included-item { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; transition: border-color 0.2s; }
.included-item:hover { border-color: rgba(15, 98, 254, 0.3); }
.included-icon { width: 40px; height: 40px; background: rgba(15, 98, 254, 0.1); color: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.included-item h4 { font-size: 15px; font-family: 'Inter', sans-serif !important; font-weight: 600; letter-spacing: 0 !important; margin-bottom: 4px; color: var(--text); }
.included-item p { font-size: 13px; color: var(--text-secondary); font-family: 'Inter', sans-serif; line-height: 1.5; }

.pricing-faq-section { padding: 80px 0; border-top: 1px solid var(--border); }
.pricing-faq-section h2 { font-size: 52px; text-align: center; margin-bottom: 48px; }
.pricing-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
@media (max-width: 768px) { .pricing-faq-grid { grid-template-columns: 1fr; } }
.pricing-faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; transition: border-color 0.2s; }
.pricing-faq-item:hover { border-color: rgba(15, 98, 254, 0.3); }
.pricing-faq-item h4 { font-size: 15px; font-family: 'Inter', sans-serif !important; font-weight: 700; letter-spacing: 0 !important; color: var(--text); margin-bottom: 10px; }
.pricing-faq-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; font-family: 'Inter', sans-serif; }

.pricing-enterprise { padding: 80px 0 120px; }
.enterprise-box {
  background: linear-gradient(135deg, rgba(15,98,254,0.15) 0%, rgba(10,10,10,0) 100%);
  border: 1px solid rgba(15,98,254,0.25);
  border-radius: 24px;
  padding: 72px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
@media (max-width: 768px) {
  .enterprise-box { flex-direction: column; text-align: center; padding: 48px 24px; gap: 24px; }
}
.enterprise-content h2 { font-size: 52px; margin-bottom: 12px; }
.enterprise-content p { font-size: 17px; color: var(--text-secondary); max-width: 500px; font-family: 'Inter', sans-serif; }

.page-footer { border-top: 1px solid var(--border); padding: 40px 0; text-align: center; color: var(--text-muted); font-size: 14px; font-family: 'Inter', sans-serif; }
.page-footer a { color: var(--text-secondary); transition: color 0.2s; }
.page-footer a:hover { color: var(--text); }

/* ═══ EXTRA MOBILE POLISH ═══ */
@media (max-width: 480px) {
  .faq-hero h1 { font-size: 42px; }
  .pricing-hero h1 { font-size: 32px; }
  .included-section h2,
  .pricing-faq-section h2,
  .enterprise-content h2 { font-size: 36px; }
  .plan-card.featured { transform: none; }
  .plan-card.featured:hover { transform: translateY(-6px); }
  .plan-price { font-size: 56px; }
  .plan-currency { font-size: 24px; padding-top: 10px; }
  .billing-toggle { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 10px 16px; }
  .billing-badge { margin-top: 4px; }
  .faq-cta-box { padding: 40px 20px; }
  .faq-cta-box h2 { font-size: 36px; }
  .faq-question { padding: 16px 20px; }
  .faq-answer-inner { padding: 0 20px 18px; }
  .plan-card { padding: 32px 24px; }
  .included-grid { grid-template-columns: 1fr; }
}

/* Make mobile nav links larger for better tap targets */
@media (max-width: 768px) {
  .nav a {
    font-size: 18px;
    padding: 8px;
  }
}

/* ═══ CASES STYLES ═══ */
.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 992px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }
}
.case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.case-card-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.case-tag {
  background: rgba(15, 98, 254, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}
.case-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.case-problem {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.6;
}
.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.case-metric-val {
  font-size: 40px;
  font-weight: 700;
  font-family: 'Coolvetica', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.case-metric-lab {
  font-size: 13px;
  color: var(--text-secondary);
}
.case-proof {
  background: var(--bg);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.case-proof img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.case-cta-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary);
}
.case-cta-btn svg {
  transition: transform 0.2s;
}
.case-card:hover .case-cta-btn svg {
  transform: translateX(4px);
}

/* ═══ CASE DETAILS STYLES ═══ */
.case-hero {
  padding: 160px 0 80px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.case-hero h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.case-intro {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.case-block {
  max-width: 800px;
  margin: 0 auto 60px;
}
.case-block h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--primary);
}
.case-block p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}
.case-block ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.case-block li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}
.case-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--success);
  font-weight: bold;
}
.case-table-wrap {
  overflow-x: auto;
  margin: 32px 0;
}
.case-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.case-table th, .case-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 600px) {
  .case-table th, .case-table td {
    padding: 12px 10px;
    font-size: 13px;
    white-space: normal;
  }
}
.case-table th {
  background: rgba(255,255,255,0.05);
  font-weight: 600;
  color: var(--text-secondary);
}
.case-table tr:last-child td {
  border-bottom: none;
}
.case-quote {
  padding: 32px;
  background: rgba(15, 98, 254, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 40px 0;
  font-size: 20px;
  font-style: italic;
  line-height: 1.6;
}
.global-cta {
  background: var(--surface);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.global-cta h2 {
  font-size: 36px;
  margin-bottom: 16px;
}
.global-cta p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.global-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
}
@media (max-width: 600px) {
  .global-cta-btns {
    flex-direction: column;
  }
}


/* ═══ CASES FILTER ═══ */
.cases-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.case-card.hide {
  display: none !important;
}

/* ═══ CASE BANNER ═══ */
.case-hero {
  padding: 120px 0 60px; /* Reduced from 180px so banner isn't too far down */
}
.case-banner {
  background: linear-gradient(135deg, rgba(20,25,35,1) 0%, rgba(15,20,30,1) 50%, rgba(25,30,40,1) 100%);
  background-size: 200% 200%;
  animation: caseBannerGlow 10s ease infinite;
  border-radius: 24px;
  padding: 60px 50px;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.05);
}

@keyframes caseBannerGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.case-banner::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 80% -20%, rgba(15,98,254,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.case-banner .case-tags {
  justify-content: flex-start !important;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.case-banner .case-tag {
  background: rgba(15,98,254,0.1);
  color: var(--primary);
  border: 1px solid rgba(15,98,254,0.2);
}

.case-banner h1 {
  text-align: left;
  font-size: 56px;
  max-width: 800px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.case-banner .case-intro {
  text-align: left;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0;
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .case-banner {
    padding: 40px 20px;
  }
  .case-banner h1 {
    font-size: 36px;
  }
}

/* Tooltip Styles */
:root {
    --tooltip-bg: #1e293b;
    --accent-brand: #3b82f6;
}
.tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
    cursor: help;
}

.tooltip-icon {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.tooltip-container:hover .tooltip-icon {
    color: var(--primary);
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 220px;
    background: var(--tooltip-bg);
    color: #f8fafc;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.4;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
    font-weight: 400;
}

.tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: var(--tooltip-bg) transparent transparent transparent;
}

.tooltip-container:hover .tooltip-text,
.tooltip-container:active .tooltip-text,
.tooltip-container:focus-within .tooltip-text {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.addon-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 6px;
    font-weight: 400;
}
.feature-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.plan-features li strong {
    font-weight: 700;
    margin: 0 4px;
}
.p-features li strong {
    font-weight: 700;
    margin: 0 4px;
}
