/* ============================================================
   Worklo Website — Design System
   Deep Navy · Electric Blue · Teal Harmony
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Backgrounds — deep navy family ── */
  --black:    #060A12;
  --dark:     #0A1020;
  --surface:  #0F1829;
  --elevated: #152035;

  /* ── Borders ── */
  --border:        rgba(99, 155, 255, 0.1);
  --border-strong: rgba(99, 155, 255, 0.18);

  /* ── Primary accent — electric blue (matches logo) ── */
  --blue:      #3B82F6;
  --blue-bright:#60A5FA;
  --blue-dim:  rgba(59, 130, 246, 0.12);
  --blue-glow: rgba(59, 130, 246, 0.28);

  /* ── Secondary accent — teal (matches logo gradient tip) ── */
  --teal:      var(--blue);
  --teal-dim:  rgba(59,130,246,0.1);
  --teal-glow: rgba(0, 194, 168, 0.22);

  /* ── Gradient — logo-matched blue→teal ── */
  --grad: linear-gradient(135deg, #3B82F6 0%, #00C2A8 100%);
  --grad-text: linear-gradient(135deg, #60A5FA 0%, #00C2A8 100%);

  /* ── Text ── */
  --text-primary:   #EEF2FF;
  --text-secondary: #7B93BC;
  --text-muted:     #3D5070;

  /* ── Semantic ── */
  --success: #10B981;
  --warning: #F59E0B;
  --error:   #EF4444;
  --info:    #3B82F6;

  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --transition: 0.2s ease;
  --font: 'Raleway', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Loader ── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
}
#loader img {
  height: min(40vw, 500px);
  width: auto;
  animation: loaderPulse 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(59,130,246,0.7)) drop-shadow(0 0 80px rgba(59,130,246,0.3));
}
@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.95); }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--teal-dim); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { color: var(--text-secondary); }

a { color: inherit; text-decoration: none; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 2px 16px var(--blue-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #60A5FA 0%, #00C2A8 100%);
  box-shadow: 0 4px 28px var(--blue-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-bright);
  background: var(--blue-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 20px;
}
.btn-ghost:hover { color: var(--text-primary); }

/* ── Dropdown ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown > a .chevron {
  width: 14px; height: 14px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.nav-dropdown:hover > a .chevron { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  background: rgba(13,17,23,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1), visibility 0.25s;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Arrow pointer */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  background: rgba(13,17,23,0.96);
  border-left: 1px solid rgba(255,255,255,0.1);
  border-top: 1px solid rgba(255,255,255,0.1);
  rotate: 45deg;
}

.dropdown-item {
  padding: 16px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease;
  display: block;
}
.dropdown-item:hover { background: rgba(255,255,255,0.06); }
.dropdown-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}
.dropdown-item p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  /* Fully transparent at top — hero video shows through */
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-backdrop-filter 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.5s ease,
    box-shadow 0.5s ease;
}
/* Subtle light wash on the left to contrast the logo */
nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 220px; height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
/* Frosted glass state after scrolling */
nav.scrolled {
  background: rgba(6, 10, 18, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.14);
  box-shadow:
    0 1px 0 rgba(59, 130, 246, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.5);
}
nav.scrolled::before {
  opacity: 1;
  background: linear-gradient(90deg, rgba(59,130,246,0.06) 0%, transparent 100%);
}

.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-logo img { height: 130px; width: auto; }

/* Make logo vivid and glowing */
.nav-logo img {
  filter: brightness(1.4) drop-shadow(0 0 8px rgba(59,130,246,0.6)) drop-shadow(0 0 20px rgba(59,130,246,0.3));
  transition: filter 0.3s ease, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.nav-logo:hover img {
  filter: brightness(1.7) drop-shadow(0 0 12px rgba(59,130,246,0.9)) drop-shadow(0 0 28px rgba(59,130,246,0.5));
  transform: scale(1.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  position: absolute;
  left: 45%;
  transform: translateX(-50%);
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--blue-bright);
  background: var(--blue-dim);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ── Hero buttons ── */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: var(--grad);
  color: #fff;
  letter-spacing: 0.01em;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), box-shadow 0.25s ease;
  box-shadow: 0 4px 20px var(--blue-glow);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-hero-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.btn-hero-primary:hover {
  background: linear-gradient(135deg, #60A5FA 0%, #00C2A8 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--blue-glow);
}
.btn-hero-primary svg {
  transition: transform 0.2s ease;
}
.btn-hero-primary:hover svg {
  transform: translateX(3px);
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.09);
  color: #ffffff;
  border-color: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* keep old classes working if referenced elsewhere */
.btn-hero-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: #ffffff;
  color: #0a0f1a;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.btn-hero-solid:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,255,255,0.25);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  background: rgba(13,25,45,0.75);
  color: #ffffff;
  border: 2px solid var(--blue);
  transition: all var(--transition);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.btn-hero-outline:hover {
  background: rgba(59,130,246,0.12);
  box-shadow: 0 0 20px rgba(59,130,246,0.3);
  transform: translateY(-2px);
}


/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

/* Hero video background */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(8,11,15,0.15) 0%,
    rgba(8,11,15,0.05) 50%,
    rgba(8,11,15,0.5) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59,130,246,0.08) 0%, transparent 60%);
}

.hero-grid {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--blue-dim);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-bright);
  margin-bottom: 28px;
}
.hero .hero-badge {
  color: #ffffff;
  background: rgba(59,130,246,0.2);
  border-color: rgba(255,255,255,0.25);
}
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 { margin-bottom: 24px; color: #ffffff; }
.hero p { font-size: 1.15rem; max-width: 720px; margin: 0 auto 40px; color: #ffffff; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-item { }
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* ── Section headers ── */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ── Problem/Solution — VS Layout ── */
.vs-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 56px;
  align-items: start;
}

/* Side panels */
.vs-side {
  padding: 48px 40px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.vs-before {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.12);
}
.vs-before::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(239,68,68,0.5), transparent);
}
.vs-after {
  background: rgba(0, 194, 168, 0.04);
  border: 1px solid rgba(59,130,246,0.14);
}
.vs-after::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.6), transparent);
}

/* Label row */
.vs-side-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.vs-label-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.vs-dot-red  { background: #EF4444; box-shadow: 0 0 8px rgba(239,68,68,0.6); }
.vs-dot-teal { background: var(--blue); box-shadow: 0 0 8px rgba(59,130,246,0.6); }
.vs-before .vs-side-label { color: rgba(239,68,68,0.8); }
.vs-after  .vs-side-label { color: rgba(59,130,246,0.9); }

/* List */
.vs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.vs-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.93rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.vs-list li:last-child { border-bottom: none; }
.vs-list li:hover { color: var(--text-primary); }

/* Numbered items (before) */
.vs-num {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(239,68,68,0.4);
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
  min-width: 20px;
}
.vs-list li:hover .vs-num { color: rgba(239,68,68,0.7); }

/* Check icon (after) */
.vs-check {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
}

/* Center VS divider */
.vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  gap: 12px;
  align-self: stretch;
}
.vs-divider-line {
  flex: 1;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08), transparent);
}
.vs-divider-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
}


/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  background: var(--blue-dim);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-bright);
}

.value-card .icon {
  width: 44px; height: 44px;
  background: var(--teal-dim);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--blue);
}

.hosting-card .icon {
  width: 56px; height: 56px;
  background: var(--teal-dim);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
}

.group-icon {
  width: 44px; height: 44px;
  background: var(--teal-dim);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--blue);
}

.priority-card .icon {
  width: 52px; height: 52px;
  background: var(--teal-dim);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--blue);
}

.channel-icon {
  width: 40px; height: 40px;
  background: var(--teal-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.visual-icon {
  position: relative;
  z-index: 1;
  color: var(--blue);
  filter: drop-shadow(0 0 24px var(--blue-glow));
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.feature-card p { font-size: 0.88rem; line-height: 1.65; }

/* ── Comparison table ── */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.comparison-table th {
  background: var(--elevated);
  padding: 16px 24px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.comparison-table th.highlight { color: var(--blue); }
.comparison-table td {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  background: var(--surface);
}
.comparison-table td.highlight {
  color: var(--blue);
  font-weight: 600;
}
.comparison-table tr:hover td { background: var(--elevated); }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 32px; /* enough room for the badge that sticks out above */
  overflow: visible;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.3s ease;
}
.pricing-card.featured {
  padding-top: 52px;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.pricing-card.featured {
  border-color: var(--blue);
  background: linear-gradient(160deg, rgba(59,130,246,0.06) 0%, var(--surface) 60%);
  box-shadow: 0 0 40px rgba(59,130,246,0.1);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}

.pricing-name { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.pricing-price { font-size: 2.8rem; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-desc { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.pricing-features li .check {
  width: 18px; height: 18px;
  background: var(--teal-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 0.65rem;
}

/* ── Testimonials ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.testimonial-quote {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-dim);
  border: 1px solid rgba(59,130,246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
  flex-shrink: 0;
  overflow: hidden;
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-name { font-size: 0.88rem; font-weight: 600; }
.author-role { font-size: 0.78rem; color: var(--text-muted); }

/* ── CTA ── */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(59,130,246,0.08) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin-bottom: 36px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Video section wrapper (body sections) ── */
.video-section-wrap {
  position: relative;
  overflow: hidden;
}
/* Allow pricing badge to overflow the clip boundary */
.video-section-wrap .pricing-grid {
  position: relative;
  z-index: 2;
}
.video-section-wrap section:has(.pricing-grid) {
  overflow: visible;
}
.video-section-wrap .section-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.video-section-wrap .section-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.video-section-wrap .section-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,11,15,0.45);
}
.video-section-wrap > .container,
.video-section-wrap > section > .container,
.video-section-wrap section {
  position: relative;
  z-index: 1;
}

/* ── Footer video ── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.footer-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.footer-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8,11,15,0.45);
}
footer .container {
  position: relative;
  z-index: 1;
}

/* ── Footer (rest) ── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; color: rgba(255,255,255,0.7); }

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social-link {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59,130,246,0.4);
}
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #ffffff; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.75); transition: color var(--transition), padding-left 0.2s ease; }
.footer-col ul li a:hover { color: var(--blue); padding-left: 6px; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--blue); }

/* ── Page hero (inner pages) ── */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(59,130,246,0.1) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ── Tag ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--teal-dim);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
}

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.features-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.08s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.16s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.24s; }
.features-grid .feature-card:nth-child(5) { transition-delay: 0.32s; }
.features-grid .feature-card:nth-child(6) { transition-delay: 0.40s; }

.testimonials-grid .testimonial-card:nth-child(1) { transition-delay: 0s; }
.testimonials-grid .testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .testimonial-card:nth-child(3) { transition-delay: 0.2s; }

/* Glow pulse on teal elements */
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 12px rgba(59,130,246,0.2); }
  50%      { box-shadow: 0 0 28px rgba(59,130,246,0.5); }
}

/* Nav link underline slide */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 1.5px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1);
  border-radius: 2px;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Feature card shimmer on hover */
.feature-card {
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
}

/* Teal glow on primary btn */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }

/* Hero badge float */
.hero-badge {
  animation: badgeFloat 3s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* Section label slide in */
.section-label {
  display: inline-block;
  animation: none;
}

/* Teal line draw on section headers */
.section-header h2 {
  position: relative;
}

/* Smooth card entrance for pricing */
.pricing-card {
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease, border-color 0.3s ease;
}

/* Testimonial card hover lift */
.testimonial-card {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.25);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

/* Comparison table row highlight */
.comparison-table tr {
  transition: background 0.2s ease;
}

/* Footer link hover */
.footer-col ul li a {
  position: relative;
  padding-left: 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-col ul li a:hover {
  padding-left: 6px;
}

/* Page hero text reveal */
.page-hero h1, .page-hero p {
  animation: heroReveal 0.8s cubic-bezier(0.16,1,0.3,1) both;
}
.page-hero p { animation-delay: 0.15s; }
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Loader pulse */
#loader img {
  animation: loaderPulse 1.2s ease-in-out infinite;
}

/* Teal dot in badge */
.hero-badge .dot {
  animation: pulse 2s infinite;
}

/* Mobile menu slide down */
.mobile-menu {
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

/* ── Mobile nav ── */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(8,11,15,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  z-index: 99;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s cubic-bezier(0.16,1,0.3,1), transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .vs-layout { grid-template-columns: 1fr; }
  .vs-divider { flex-direction: row; padding: 20px 0; align-self: auto; }
  .vs-divider-line { flex: 1; width: auto; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent); }
  .vs-side { padding: 32px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 24px; }
  .comparison-table { font-size: 0.82rem; }
  .comparison-table th, .comparison-table td { padding: 12px 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ── Download Section ── */
.hero-version-note {
  margin-top: 18px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  padding-top: 28px; /* room for the badge */
  overflow: visible;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 28px 28px;
  text-align: center;
  position: relative;
  overflow: visible; /* allow badge to poke out above */
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
.download-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.download-card:hover {
  border-color: rgba(59,130,246,0.35);
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.download-card:hover::before { opacity: 1; }

.download-card-featured {
  border-color: var(--blue);
  background: linear-gradient(160deg, rgba(59,130,246,0.07) 0%, var(--surface) 60%);
  box-shadow: 0 0 40px rgba(59,130,246,0.1);
}
.download-card-featured::before { opacity: 1; }

.download-badge-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}

.download-os-icon {
  width: 72px;
  height: 72px;
  background: var(--teal-dim);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--blue);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.download-card:hover .download-os-icon {
  background: rgba(59,130,246,0.18);
  box-shadow: 0 0 20px rgba(59,130,246,0.2);
}

.download-os-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.download-os-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.download-btn {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.9rem;
}

.download-version {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.download-footnote {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.download-footnote strong { color: var(--text-secondary); }
.download-footnote a {
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.download-footnote a:hover { opacity: 0.8; }

/* btn-sm variant */
.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
}

/* Stagger download cards */
.download-grid .download-card:nth-child(1) { transition-delay: 0s; }
.download-grid .download-card:nth-child(2) { transition-delay: 0.08s; }
.download-grid .download-card:nth-child(3) { transition-delay: 0.16s; }

@media (max-width: 768px) {
  .download-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto 32px; }
}

/* ── All Download Dropdown Menus (nav, hero, cta) ── */
.nav-download-wrap {
  position: relative;
  z-index: 9999;
}

.nav-download-btn,
.hero-dl-btn,
.cta-dl-btn {
  cursor: pointer;
  user-select: none;
}
.nav-download-btn .chevron,
.hero-dl-btn .chevron,
.cta-dl-btn .chevron {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.nav-download-menu,
.hero-dl-menu,
.cta-dl-menu {
  display: none;
  position: fixed;
  width: 240px;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  background: rgba(13,17,23,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  z-index: 9999;
}

.nav-download-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.15s ease;
}
.nav-download-item:hover {
  background: rgba(255,255,255,0.07);
}

.nav-dl-icon {
  width: 32px;
  height: 32px;
  background: var(--teal-dim);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}

.nav-dl-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dl-os {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.nav-dl-ext {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ── Hero & CTA wrap ── */
.hero-dl-wrap,
.cta-dl-wrap {
  position: relative;
  display: inline-flex;
}
.hero-dl-btn,
.cta-dl-btn {
  gap: 8px;
}
.hero-dl-btn .chevron,
.cta-dl-btn .chevron {
  width: 14px;
  height: 14px;
}

/* ── Advanced Animations & Effects ── */

/* Scroll progress bar */
body { position: relative; }

/* Cursor glow — only on desktop */
@media (hover: hover) {
  #cursor-glow { display: block; }
}
@media (hover: none) {
  #cursor-glow { display: none !important; }
}

/* Magnetic button — smooth return */
.btn-primary, .btn-hero-solid, .btn-hero-outline {
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), background 0.2s ease, box-shadow 0.2s ease;
}

/* Tilt card base */
.feature-card, .testimonial-card, .pricing-card, .download-card {
  will-change: transform;
  transform-style: preserve-3d;
}

/* Feature card inner glow on hover */
.feature-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(59,130,246,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Shimmer effect on section headers */
.section-header h2 {
  background: linear-gradient(90deg, var(--text-primary) 0%, var(--blue) 50%, var(--text-primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
}
@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Glowing teal border on cards hover */
.feature-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(59,130,246,0.3), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}
.feature-card:hover::after { opacity: 1; }

/* Fade-up with blur */
.fade-up {
  filter: blur(4px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1), filter 0.7s ease;
}
.fade-up.visible {
  filter: blur(0);
}

/* Hero badge pulse ring */
.hero-badge::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 100px;
  border: 1px solid rgba(59,130,246,0.3);
  animation: badgeRing 2.5s ease-out infinite;
}
@keyframes badgeRing {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* Blue glow pulse on primary elements */
.btn-primary:hover,
.download-card-featured {
  animation: blueGlow 2s ease-in-out infinite;
}
@keyframes blueGlow {
  0%,100% { box-shadow: 0 0 20px rgba(59,130,246,0.2); }
  50%      { box-shadow: 0 0 40px rgba(59,130,246,0.45); }
}

/* Floating animation for hero badge */
.hero-badge {
  position: relative;
  animation: badgeFloat 3s ease-in-out infinite;
}

/* Nav logo subtle hover scale — handled above */

/* Comparison table row slide */
.comparison-table tbody tr {
  transition: background 0.2s ease, transform 0.2s ease;
}
.comparison-table tbody tr:hover {
  transform: translateX(4px);
}

/* Footer social link spin on hover */
.footer-social-link:hover svg {
  animation: spinOnce 0.4s ease;
}
@keyframes spinOnce {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Page hero text animation */
.page-hero h1 {
  animation: heroReveal 0.9s cubic-bezier(0.16,1,0.3,1) both;
}
.page-hero p {
  animation: heroReveal 0.9s cubic-bezier(0.16,1,0.3,1) 0.15s both;
}
.page-hero .section-label {
  animation: heroReveal 0.9s cubic-bezier(0.16,1,0.3,1) both;
}

/* Gradient border animation on featured cards */
.download-card-featured {
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Smooth underline on footer links */
.footer-col ul li a::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.footer-col ul li a:hover::after {
  transform: scaleX(1);
}
.footer-col ul li a:hover {
  padding-left: 0;
}
/* Constrain underline to text width */
.footer-col ul li {
  display: inline-flex;
}
.footer-col ul {
  align-items: flex-start;
}

/* We are hiring badge */
.hiring-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--teal-dim);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 999px;
  padding: 2px 7px;
  margin-left: 7px;
  vertical-align: middle;
  animation: hiringPulse 2.5s ease-in-out infinite;
  white-space: nowrap;
}
.hiring-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  animation: hiringDot 2.5s ease-in-out infinite;
}
@keyframes hiringPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(59,130,246,0.25); }
  50%       { box-shadow: 0 0 0 4px rgba(0,194,168,0); }
}
@keyframes hiringDot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL CARD HOVER EFFECTS — Trending / Smart / Fashion
═══════════════════════════════════════════════════════════ */

/* ── Shared base: all cards get position + overflow for effects ── */
.feature-card,
.pricing-card,
.testimonial-card,
.download-card,
.hosting-card,
.perk-card,
.job-card,
.group-card,
.priority-card,
.mini-card,
.faq-item {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

/* ── Shimmer sweep on hover ── */
.feature-card::before,
.testimonial-card::before,
.hosting-card::before,
.perk-card::before,
.job-card::before,
.group-card::before,
.priority-card::before,
.mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 100%
  );
  transform: skewX(-15deg);
  transition: none;
  pointer-events: none;
  z-index: 1;
}
/* Shimmer only plays when .shimmer-play is added by JS on mouseenter */
.feature-card.shimmer-play::before,
.testimonial-card.shimmer-play::before,
.hosting-card.shimmer-play::before,
.perk-card.shimmer-play::before,
.job-card.shimmer-play::before,
.group-card.shimmer-play::before,
.priority-card.shimmer-play::before,
.mini-card.shimmer-play::before {
  left: 130%;
  transition: left 0.6s ease;
}

/* ── Teal glow border on hover ── */
.feature-card:hover,
.hosting-card:hover,
.perk-card:hover,
.group-card:hover,
.priority-card:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.12),
    0 20px 48px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(59,130,246,0.08);
  transform: translateY(-6px) scale(1.015);
}

/* ── Pricing card: lift + featured glow ── */
.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.2),
    0 24px 56px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.3);
}
.pricing-card.featured:hover {
  box-shadow:
    0 0 0 1px rgba(59,130,246,0.5),
    0 28px 64px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(59,130,246,0.2);
}

/* ── Testimonial card ── */
.testimonial-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(59,130,246,0.3);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.3),
    0 0 28px rgba(59,130,246,0.07);
}

/* ── Download card ── */
.download-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(59,130,246,0.35);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(59,130,246,0.1);
}

/* ── Job card: slide-right accent line ── */
.job-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), rgba(0, 194, 168, 0));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 2px 2px 0;
}
.job-card:hover {
  transform: translateX(6px);
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.job-card:hover::after {
  transform: scaleY(1);
}

/* ── Mini card (features page stats) ── */
.mini-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(59,130,246,0.25);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(59,130,246,0.08);
  background: rgba(59,130,246,0.06);
}

/* ── FAQ item: subtle left glow ── */
.faq-item {
  transition: background 0.25s ease, padding-left 0.25s ease;
  border-radius: var(--radius);
  padding-left: 0;
}
.faq-item:hover {
  background: rgba(0, 194, 168, 0.03);
  padding-left: 8px;
}

/* ── Perk card icon pop ── */
.perk-card:hover .perk-icon {
  background: rgba(59,130,246,0.18);
  border-color: rgba(59,130,246,0.4);
  transform: scale(1.12) rotate(-4deg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, border-color 0.3s;
}
.perk-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, border-color 0.3s;
}

/* ── Group card (roadmap): corner accent ── */
.group-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  background: radial-gradient(circle at top right, rgba(59,130,246,0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.group-card:hover::after { opacity: 1; }

/* ── Priority card: bottom glow bar ── */
.priority-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 999px;
}
.priority-card:hover::after { transform: scaleX(1); }

/* ── Hosting card icon spin ── */
.hosting-card:hover .icon svg {
  transform: rotate(8deg) scale(1.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--blue);
}
.hosting-card .icon svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

/* ── Feature card icon glow ── */
.feature-card:hover .feature-icon {
  background: rgba(59,130,246,0.2);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 0 16px rgba(59,130,246,0.2);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

/* Fix: pricing-card badge clipping — override global overflow:hidden */
.pricing-card {
  overflow: visible;
}
/* Re-clip only the shimmer pseudo-element via clip-path instead */
.pricing-card::before {
  clip-path: inset(0 0 0 0 round var(--radius-xl));
}

/* Download card: keep overflow visible for badge */
.download-card {
  overflow: visible;
}
.download-card::before {
  display: none;
}
/* Also ensure the section doesn't clip the grid */
#download .container {
  overflow: visible;
}
