/* ========================================
   GENLIX CRM — Website Styles
   Minimal, professional, playful
   Easily editable: change CSS variables below
   ======================================== */

/* ---- CSS Custom Properties (Edit these to change the theme) ---- */
:root {
  /* Brand Colors 
  --brand-indigo: #6366f1;
  --brand-purple: #8b5cf6;
  --brand-green: #10b981;
  --brand-orange: #f59e0b;
  --brand-blue: #3b82f6;
  --brand-red: #ef4444;
*/

  /* Brand Colors */
  --brand-indigo: #ef4444;
   --brand-purple: #860a0a;
  --brand-green: #10b981;
  --brand-orange: #f59e0b;
  --brand-blue: #3b82f6;
  --brand-red: #6366f1;


  /* Gradient */
  --gradient-brand: linear-gradient(135deg, var(--brand-indigo), var(--brand-purple));
  --gradient-brand-h: linear-gradient(135deg, var(--brand-purple), var(--brand-indigo));

  /* Typography */
  --font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.25);
  --shadow-glow-lg: 0 0 80px rgba(99, 102, 241, 0.2), 0 0 160px rgba(139, 92, 246, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1rem, 4vw, 2rem);
  --nav-height: 68px;
}

/* ---- DARK THEME (default) ---- */
[data-theme="dark"] {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --bg-nav: rgba(10, 10, 15, 0.85);
  --bg-glass: rgba(22, 22, 31, 0.8);
  --bg-pill: rgba(99, 102, 241, 0.1);
  --bg-pill-hover: rgba(99, 102, 241, 0.2);
  --bg-float: rgba(22, 22, 31, 0.95);

  --text-primary: #f4f4f8;
  --text-secondary: #a1a1b5;
  --text-muted: #6b6b80;
  --text-accent: var(--brand-indigo);

  --border-color: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(99, 102, 241, 0.3);

  --screenshot-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
  --card-border: 1px solid rgba(255,255,255,0.06);

  --orb-color-1: rgba(99, 102, 241, 0.15);
  --orb-color-2: rgba(139, 92, 246, 0.12);
  --orb-color-3: rgba(16, 185, 129, 0.08);

  --browser-chrome-bg: #1e1e2a;
  --browser-bar-bg: #252532;
}

/* ---- LIGHT THEME ---- */
[data-theme="light"] {
  --bg-primary: #fafafa;
  --bg-secondary: #f0f0f5;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f8fc;
  --bg-nav: rgba(250, 250, 250, 0.92);
  --bg-glass: rgba(255, 255, 255, 0.9);
  --bg-pill: rgba(99, 102, 241, 0.08);
  --bg-pill-hover: rgba(99, 102, 241, 0.15);
  --bg-float: rgba(255, 255, 255, 0.98);

  --text-primary: #0f0f18;
  --text-secondary: #4a4a60;
  --text-muted: #8080a0;
  --text-accent: var(--brand-indigo);

  --border-color: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(99, 102, 241, 0.3);

  --screenshot-shadow: 0 32px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.06);
  --card-border: 1px solid rgba(0,0,0,0.08);

  --orb-color-1: rgba(99, 102, 241, 0.1);
  --orb-color-2: rgba(139, 92, 246, 0.08);
  --orb-color-3: rgba(16, 185, 129, 0.06);

  --browser-chrome-bg: #e8e8f0;
  --browser-bar-bg: #f0f0f8;
}

/* ========================================
   BASE RESET & TYPOGRAPHY
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}
html { overflow-x: hidden; }

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Global heading scale (desktop + mobile) */
h1 { font-size: clamp(2rem, 3.1vw, 2.9rem) !important; }
h2 { font-size: clamp(1.65rem, 2.5vw, 2.35rem) !important; }
h3 { font-size: clamp(1.4rem, 2vw, 1.95rem) !important; }
h4 { font-size: clamp(1.2rem, 1.5vw, 1.6rem) !important; }
h5 { font-size: clamp(1.05rem, 1.2vw, 1.35rem) !important; }
h6 { font-size: clamp(.95rem, 1vw, 1.15rem) !important; }

@media (max-width: 768px) {
  h1 { font-size: 1.85rem !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.28rem !important; }
  h4 { font-size: 1.12rem !important; }
  h5 { font-size: 1rem !important; }
  h6 { font-size: .92rem !important; }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.btn-ghost:hover {
  background: var(--bg-pill);
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-xl {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

/* ========================================
   SECTION LAYOUT
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--bg-pill);
  color: var(--brand-indigo);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid var(--border-accent);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
 min-height: 50px;
  max-height: 60px;
  height: 100%;
  width: auto;
  max-width: none;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--brand-indigo);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-pill);
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown .dropdown-menu li {
  list-style: none;
}
.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  border-radius: 0;
}
.nav-dropdown .dropdown-menu a:hover {
  background: var(--bg-secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Theme Toggle Button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-pill);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  color: var(--brand-indigo);
  border-color: var(--border-accent);
  background: var(--bg-pill-hover);
  transform: rotate(15deg) scale(1.05);
}

.theme-icon {
  position: absolute;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark mode: show sun (to switch to light) */
[data-theme="dark"] .sun-icon { opacity: 1; transform: scale(1) rotate(0deg); }
[data-theme="dark"] .moon-icon { opacity: 0; transform: scale(0.5) rotate(90deg); }

/* Light mode: show moon (to switch to dark) */
[data-theme="light"] .sun-icon { opacity: 0; transform: scale(0.5) rotate(-90deg); }
[data-theme="light"] .moon-icon { opacity: 1; transform: scale(1) rotate(0deg); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-pill);
  border: 1px solid var(--border-color);
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 6rem;
  overflow: hidden;
  text-align: center;
}

/* Background effects */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: var(--orb-color-1);
  animation: orb-float 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  top: -100px; right: -50px;
  background: var(--orb-color-2);
  animation: orb-float 6s ease-in-out infinite reverse;
}
.orb-3 {
  width: 300px; height: 300px;
  bottom: 100px; left: 50%;
  background: var(--orb-color-3);
  animation: orb-float 10s ease-in-out infinite;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bg-pill);
  border: 1px solid var(--border-accent);
  color: var(--brand-indigo);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: pulse-border 3s ease infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
  50% { box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15); }
}

.hero-headline {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 3rem;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-xl);
  padding: 16px 32px;
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--brand-indigo);
  line-height: 1;
}

.stat-plus {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-indigo);
  vertical-align: super;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* Hero Screenshot */
.hero-screenshot-wrap {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
  padding: 0 var(--container-pad);
  z-index: 2;
}

.browser-chrome {
  background: var(--browser-chrome-bg);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
}

.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.browser-bar {
  flex: 1;
  background: var(--browser-bar-bg);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  font-family: monospace;
}

.screenshot-img-wrap {
  position: relative;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
  box-shadow: var(--screenshot-shadow);
}

.hero-screenshot {
  width: 100%;
  display: block;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.screenshot-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

/* Floating cards */
.float-card {
  position: absolute;
  background: var(--bg-float);
  border: var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-width: 200px;
  z-index: 10;
}

.float-card-1 { top: 60px; left: -60px; }
.float-card-2 { bottom: 100px; right: -40px; }
.float-card-3 { top: 180px; right: -60px; }

.float-card-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-pill);
  color: var(--brand-indigo);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.float-card-icon.green { background: rgba(16,185,129,0.1); color: var(--brand-green); }
.float-card-icon.purple { background: rgba(139,92,246,0.1); color: var(--brand-purple); }

.float-card-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}
.float-card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes float-1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(0) rotate(1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}
@keyframes float-3 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.float-anim-1 { animation: float-1 5s ease-in-out infinite; }
.float-anim-2 { animation: float-2 6s ease-in-out infinite; animation-delay: 1s; }
.float-anim-3 { animation: float-3 7s ease-in-out infinite; animation-delay: 2s; }

/* Scroll hint */
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  animation: fade-in 1s ease 2s both;
}

.scroll-indicator {
  width: 26px;
  height: 40px;
  border: 2px solid var(--border-color);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--brand-indigo);
  border-radius: 2px;
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ========================================
   TRUST / LOGOS SECTION
   ======================================== */
.trust-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.trust-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem 4rem;
}

.trust-logo {
  transition: opacity var(--transition-normal);
  color: var(--text-muted);
}
.trust-logo:hover { opacity: 0.7; }

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
  padding: 7rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-pill);
  color: var(--brand-indigo);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-normal);
}

.feature-icon.purple { background: rgba(139,92,246,0.1); color: var(--brand-purple); }
.feature-icon.green { background: rgba(16,185,129,0.1); color: var(--brand-green); }
.feature-icon.orange { background: rgba(245,158,11,0.1); color: var(--brand-orange); }
.feature-icon.blue { background: rgba(59,130,246,0.1); color: var(--brand-blue); }

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   MODULES SECTION
   ======================================== */
.modules-section {
  padding: 7rem 0;
  background: var(--bg-secondary);
}

.modules-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.module-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
  cursor: default;
}

.module-pill:hover {
  background: var(--bg-pill-hover);
  color: var(--text-primary);
  border-color: var(--border-accent);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-sm);
}

.module-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.module-dot.indigo { background: var(--brand-indigo); }
.module-dot.purple { background: var(--brand-purple); }
.module-dot.green { background: var(--brand-green); }
.module-dot.orange { background: var(--brand-orange); }
.module-dot.blue { background: var(--brand-blue); }

/* ========================================
   SCREENSHOT SHOWCASE
   ======================================== */
.screenshots-section {
  padding: 7rem 0;
  overflow: hidden;
}

.showcase-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.showcase-tab {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bg-card);
  border: var(--card-border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.showcase-tab:hover {
  color: var(--text-primary);
  background: var(--bg-pill);
  border-color: var(--border-accent);
}

.showcase-tab.active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.showcase-display {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.showcase-browser {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--screenshot-shadow);
  flex: 1;
}

.showcase-screens {
  position: relative;
  background: var(--bg-secondary);
  min-height: 400px;
}

.showcase-screen {
  display: none;
  animation: fade-in 0.4s ease;
}

.showcase-screen.active { display: block; }

.showcase-screen img {
  width: 100%;
  display: block;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Showcase info panel */
.showcase-info {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  padding: 1.5rem;
}

.showcase-desc {
  display: none;
  animation: slide-in 0.35s ease;
}
.showcase-desc.active { display: block; }

@keyframes slide-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.showcase-desc h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.showcase-desc p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.showcase-list li::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.hiw-section {
  padding: 7rem 0;
  background: var(--bg-secondary);
}

.hiw-timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.hiw-timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-indigo), var(--brand-purple), transparent);
  opacity: 0.3;
}

.hiw-step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.hiw-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-indigo);
  background: var(--bg-pill);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  min-width: 56px;
  text-align: center;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  margin-top: 8px;
}

.hiw-content {
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  flex: 1;
  transition: all var(--transition-normal);
}

.hiw-content:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-accent);
}

.hiw-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-pill);
  color: var(--brand-indigo);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.hiw-icon.purple { background: rgba(139,92,246,0.1); color: var(--brand-purple); }
.hiw-icon.green { background: rgba(16,185,129,0.1); color: var(--brand-green); }
.hiw-icon.orange { background: rgba(245,158,11,0.1); color: var(--brand-orange); }

.hiw-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.hiw-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   BENEFITS SECTION
   ======================================== */
.benefits-section {
  padding: 7rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-accent);
}

.benefit-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.benefit-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
  padding: 7rem 0;
  background: var(--bg-secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
}

.testi-stars {
  display: flex;
  gap: 3px;
  color: var(--brand-orange);
  margin-bottom: 1.25rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testi-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-orb-1 {
  width: 500px; height: 500px;
  top: -100px; left: -100px;
  background: var(--orb-color-1);
  animation: orb-float 8s ease-in-out infinite;
}
.cta-orb-2 {
  width: 400px; height: 400px;
  bottom: -100px; right: -50px;
  background: var(--orb-color-2);
  animation: orb-float 6s ease-in-out infinite reverse;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-badge {
  display: inline-block;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  animation: bounce-in 0.6s ease;
}

.cta-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-actions {
  margin-bottom: 2rem;
}

.cta-features {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-pill {
  padding: 6px 14px;
  background: var(--bg-pill);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0 2rem;
}

.footer-shell {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: calc(var(--radius-xl) + 4px);
  background:
    radial-gradient(circle at top right, rgba(239, 68, 68, 0.12), transparent 28%),
    linear-gradient(180deg, var(--bg-card), var(--bg-card-hover));
  border: var(--card-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.footer-spotlight {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand {
  position: relative;
  max-width: 520px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo img {
  min-height: 50px;
  max-height: 60px;
  height: 100%;
  width: auto;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 44ch;
}

.footer-status {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.footer-chip,
.footer-meta-chip {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-pill);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition-normal);
}

a.footer-meta-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background: var(--bg-pill-hover);
}

.footer-cta-panel {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.12), rgba(134, 10, 10, 0.05));
  border: 1px solid var(--border-accent);
}

.footer-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--brand-indigo);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-cta-panel p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-links h4,
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links ul,
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-col a:hover {
  color: var(--brand-indigo);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: grid;
  gap: 0.25rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.footer-bottom p,
.footer-legal p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}
.btn-ghost:hover {
  background: var(--bg-pill);
  color: var(--text-primary);
  border-color: var(--border-accent);
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.4);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal-up,
.reveal-fade,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up { transform: translateY(40px); }
.reveal-fade { transform: translateY(0); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.96); }

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Delay classes (applied in JS) */
.delay-0 { transition-delay: 0ms; }
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }

/* Card grid delays */
.feature-card[data-delay="0"],
.module-pill[data-delay="0"],
.testimonial-card[data-delay="0"],
.benefit-card[data-delay="0"],
.hiw-step[data-delay="0"] { transition-delay: 0ms; }

.feature-card[data-delay="1"],
.module-pill[data-delay="1"],
.testimonial-card[data-delay="1"],
.benefit-card[data-delay="1"],
.hiw-step[data-delay="1"] { transition-delay: 100ms; }

.feature-card[data-delay="2"],
.module-pill[data-delay="2"],
.testimonial-card[data-delay="2"],
.benefit-card[data-delay="2"],
.hiw-step[data-delay="2"] { transition-delay: 200ms; }

.module-pill[data-delay="3"] { transition-delay: 300ms; }
.module-pill[data-delay="4"] { transition-delay: 400ms; }
.module-pill[data-delay="5"] { transition-delay: 500ms; }
.module-pill[data-delay="6"] { transition-delay: 600ms; }
.module-pill[data-delay="7"] { transition-delay: 700ms; }
.hiw-step[data-delay="3"] { transition-delay: 300ms; }

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */
@media (max-width: 1024px) {
  .showcase-display {
    grid-template-columns: 1fr;
  }

  .showcase-info {
    position: static;
    padding: 0;
  }

  .float-card-1,
  .float-card-3 {
    display: none;
  }

  .float-card-2 {
    right: -10px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  /* Nav */
  .nav-links {
    display: flex;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem var(--container-pad) 2rem;
    border-bottom: 1px solid var(--border-color);
    gap: 4px;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .hamburger { display: flex; }
  .nav-cta { display: none; }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-height) + 3rem);
    padding-bottom: 4rem;
  }

  .hero-stats {
    padding: 12px 16px;
  }

  .stat-item { padding: 0 12px; }

  .float-card-1,
  .float-card-2,
  .float-card-3 { display: none; }

  /* Sections */
  .features-section,
  .modules-section,
  .screenshots-section,
  .hiw-section,
  .benefits-section,
  .testimonials-section,
  .cta-section {
    padding: 5rem 0;
  }

  /* HIW */
  .hiw-timeline::before { display: none; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-spotlight {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    justify-content: center;
  }

  .showcase-tabs {
    gap: 6px;
  }

  .showcase-tab {
    font-size: 0.78rem;
    padding: 7px 14px;
  }

  /* Back to top */
  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .stat-divider { display: none; }

  .stat-item { padding: 0 16px; }

  .cta-features {
    gap: 8px;
  }

  .cta-pill {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
}

/* ========================================
   ANIMATIONS (Extra)
   ======================================== */
@keyframes bounce-in {
  from { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.15); }
  to { transform: scale(1); opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   NAV CTA visible on mobile via hamburger
   ======================================== */
.nav-links-cta {
  display: none;
}
@media (max-width: 768px) {
  .nav-links-cta {
    display: block;
    margin-top: 12px;
  }
  .nav-links-cta .btn {
    width: 100%;
    justify-content: center;
  }
}
