/* ============================================
   Pixodock Marketing — style.css
   Premium dark theme · Obsidian Glass aesthetic
   ============================================ */

:root {
  --bg:        #050508;
  --bg-subtle: #0a0a12;
  --surface:   #0e0e1a;
  --surface-2: #14142a;
  --border:    rgba(99, 102, 241, 0.12);
  --border-2:  rgba(99, 102, 241, 0.25);
  --indigo:    #6366F1;
  --violet:    #A855F7;
  --cyan:      #22D3EE;
  --text:      #e2e4ef;
  --text-dim:  #8b8ea8;
  --text-muted:#5a5d78;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Grain Overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.9rem;
  border-radius: 10px;
  border: none; cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
}
.btn-outline:hover {
  border-color: var(--indigo);
  background: rgba(99, 102, 241, 0.06);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.85rem;
  border: none; border-radius: 8px; cursor: pointer;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--text); }

.btn-sm { padding: 8px 20px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(5, 5, 8, 0.7);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem;
}
.nav-links {
  display: flex; gap: 32px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-mobile-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-mobile-toggle span {
  width: 22px; height: 2px;
  background: var(--text-dim);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 16px 24px 24px;
  background: rgba(5, 5, 8, 0.95);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a {
  display: block; padding: 12px 0;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 500;
  color: var(--text-dim);
}
.mobile-menu-actions {
  display: flex; gap: 12px; margin-top: 12px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--indigo), transparent 70%);
  top: -200px; left: 50%; transform: translateX(-60%);
  animation: float1 12s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--violet), transparent 70%);
  top: -100px; right: -100px;
  animation: float2 15s ease-in-out infinite;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  bottom: 0; left: -100px;
  opacity: 0.15;
  animation: float3 18s ease-in-out infinite;
}

@keyframes float1 { 0%,100%{transform:translateX(-60%) translateY(0)} 50%{transform:translateX(-60%) translateY(30px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-40px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(20px)} }

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 500;
  color: var(--indigo);
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--indigo);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.5)} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 620px; margin: 0 auto 40px;
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.hero-ctas {
  display: flex; gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex; align-items: center;
  justify-content: center; gap: 32px;
  margin-bottom: 64px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  color: #fff;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-sep {
  width: 1px; height: 32px;
  background: var(--border-2);
}

/* ---------- Dashboard Mockup ---------- */
.hero-mockup { position: relative; max-width: 960px; margin: 0 auto; }
.mockup-frame {
  background: #0f1019;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 4px 32px rgba(0,0,0,0.5),
    0 0 80px rgba(99, 102, 241, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.03);
}
.mockup-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: #08080f;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-dots { display: flex; gap: 7px; }
.mockup-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dots span:first-child { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #eab308; }
.mockup-dots span:last-child { background: #22c55e; }
.mockup-url {
  flex: 1; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-family: var(--font-body);
  font-size: 10px;
  color: #5a5d78;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  padding: 4px 12px;
  margin: 0 40px;
}
.mockup-body { display: flex; min-height: 360px; }

/* Sidebar */
.mockup-sidebar {
  width: 150px;
  background: #0d0e1a;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 0;
  display: flex; flex-direction: column;
  flex-shrink: 0;
  overflow-y: auto;
}
.mockup-sidebar-logo {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-sidebar-logo span {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.mockup-sidebar-nav {
  padding: 6px 0;
  display: flex; flex-direction: column; gap: 0;
}
.mockup-sidebar-section {
  font-size: 6.5px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #4a4d68;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 12px 4px;
}
.mockup-sidebar-item {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  cursor: default;
  transition: background 0.2s;
  position: relative;
  border-left: 2px solid transparent;
}
.mockup-sidebar-item svg {
  width: 11px; height: 11px;
  flex-shrink: 0;
  color: #5a5d78;
}
.mockup-sidebar-item span {
  font-size: 8px;
  font-family: var(--font-body);
  color: #7a7d98;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.mockup-sidebar-item.active {
  background: rgba(99, 102, 241, 0.12);
  border-left-color: #6366F1;
}
.mockup-sidebar-item.active svg { color: #818cf8; }
.mockup-sidebar-item.active span {
  color: #c7c9ff;
  font-weight: 600;
}

/* Top bar */
.mockup-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-breadcrumb {
  font-size: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  color: #e2e4ef;
  letter-spacing: 0.02em;
}
.bc-sep { color: #5a5d78; margin: 0 2px; }
.mockup-user {
  display: flex; align-items: center; gap: 5px;
}
.mockup-avatar {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  flex-shrink: 0;
}
.mockup-username {
  font-size: 8px;
  font-family: var(--font-body);
  color: #94a3b8;
  font-weight: 500;
}

/* Main content */
.mockup-main {
  flex: 1; padding: 14px 18px;
  background: #0a0a14;
  overflow: hidden;
}

/* Stat cards */
.mockup-cards { display: flex; gap: 10px; margin-bottom: 16px; }
.mockup-card {
  flex: 1; padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: border-color 0.2s;
}
.mc-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.mc-label {
  font-size: 7px;
  font-family: var(--font-body);
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.mc-icon {
  width: 16px; height: 16px;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.mc-icon svg { width: 10px; height: 10px; }
.mc-icon-indigo { background: rgba(99,102,241,0.15); color: #818cf8; }
.mc-icon-violet { background: rgba(168,85,247,0.15); color: #c084fc; }
.mc-icon-cyan   { background: rgba(34,211,238,0.15); color: #67e8f9; }
.mc-icon-green  { background: rgba(34,197,94,0.15); color: #4ade80; }
.mc-value {
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1;
}
.mc-unit {
  font-size: 8px;
  font-weight: 500;
  color: #94a3b8;
}
.mc-bar {
  height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.06);
}
.mc-bar-fill {
  height: 100%; border-radius: 2px;
  transition: width 1s var(--ease-out);
}
.mc-fill-indigo { background: linear-gradient(90deg, #6366F1, #818cf8); }
.mc-fill-violet { background: linear-gradient(90deg, #A855F7, #c084fc); }
.mc-fill-cyan   { background: linear-gradient(90deg, #22D3EE, #67e8f9); }
.mc-fill-green  { background: linear-gradient(90deg, #22c55e, #4ade80); }

/* Section labels */
.mockup-section-label {
  font-size: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: #e2e4ef;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

/* Server table */
.mockup-table {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
}
.mockup-table-row {
  display: grid;
  grid-template-columns: 2fr 1.8fr 1.2fr 1fr;
  gap: 6px; align-items: center;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 8px;
  font-family: var(--font-body);
  color: #94a3b8;
}
.mockup-table-row:last-child { border-bottom: none; }
.mockup-table-row.header {
  font-size: 7px;
  color: #5a5d78;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-table-row.header div {
  background: none; height: auto;
}
.mockup-table-row:not(.header) div {
  background: none; height: auto;
}
.server-name { color: #e2e4ef; font-weight: 500; }
.status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 3px;
  vertical-align: middle;
}
.status-dot.green { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }

.mockup-glow {
  position: absolute;
  bottom: -50px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 140px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.18), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

/* ---------- Sections Common ---------- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.section-sub {
  max-width: 560px; margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ---------- Features ---------- */
.features {
  padding: 120px 0;
  position: relative;
}
.features::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(99,102,241,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.feature-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.08);
}
.feature-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(168,85,247,0.08));
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--indigo);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---------- Pricing ---------- */
.pricing {
  padding: 120px 0;
  position: relative;
}
.pricing::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(168,85,247,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
  position: relative;
}
.pricing-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
}
.pricing-card.popular {
  border-color: var(--indigo);
  background: linear-gradient(180deg, rgba(99,102,241,0.08) 0%, var(--surface) 50%);
  box-shadow: 0 0 48px rgba(99, 102, 241, 0.12);
  transform: scale(1.03);
}
.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
}
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 24px;
}
.currency {
  font-size: 1.4rem;
  vertical-align: super;
  font-weight: 600;
  color: var(--text-dim);
}
.cents {
  font-size: 1.4rem;
  font-weight: 600;
}
.period {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pricing-specs {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
}
.pricing-specs li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-dim);
}
.pricing-specs li:last-child { border-bottom: none; }
.pricing-specs li strong {
  color: #fff; font-weight: 600;
}

.pricing-footer {
  text-align: center;
  margin-top: 48px;
  padding: 24px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.pricing-footer p {
  font-size: 0.88rem;
  color: var(--text-dim);
}
.pricing-footer strong { color: var(--text); }

/* ---------- How It Works ---------- */
.how-it-works {
  padding: 120px 0;
}
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.step {
  flex: 0 1 280px;
  padding: 36px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.step:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
}
.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.step-content p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.step-connector {
  flex: 0 0 auto;
  opacity: 0.5;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 80px 0 120px;
}
.cta-inner {
  position: relative;
  padding: 80px 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 24px;
  overflow: hidden;
}
.cta-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.1), transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(168,85,247,0.08), transparent 50%);
  pointer-events: none;
}
.cta-inner h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-inner p {
  position: relative;
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.cta-inner .btn-primary { position: relative; }

/* ---------- Footer ---------- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-socials {
  display: flex; gap: 16px;
}
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: color 0.2s, border-color 0.2s;
}
.footer-socials a:hover {
  color: var(--text);
  border-color: var(--border-2);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.popular { transform: scale(1); }
  .pricing-card.popular:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-mobile-toggle { display: flex; }
  .mobile-menu.open { display: flex; }

  .hero { padding: 120px 0 60px; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.1rem; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .steps { flex-direction: column; }
  .step-connector { transform: rotate(90deg); }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  .mockup-sidebar { width: 100px; }
  .mockup-sidebar-logo span { font-size: 8px; }
  .mockup-sidebar-logo svg { width: 12px; height: 12px; }
  .mockup-sidebar-item span { font-size: 7px; }
  .mockup-sidebar-item svg { width: 9px; height: 9px; }
  .mockup-sidebar-section { font-size: 6px; }
  .mockup-cards { flex-wrap: wrap; }
  .mockup-card { flex: 1 1 calc(50% - 5px); min-width: 0; }
  .mockup-body { min-height: 380px; }
  .mockup-main { padding: 10px 12px; }
  .mc-value { font-size: 10px; }
  .mockup-breadcrumb { font-size: 8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn-lg { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-sep { width: 40px; height: 1px; }
  .cta-inner { padding: 48px 20px; }
  .mockup-sidebar { width: 0; display: none; }
  .mockup-body { min-height: 300px; }
  .mockup-main { padding: 10px; }
  .mc-value { font-size: 9px; }
  .mc-label { font-size: 6px; }
  .mc-icon { width: 12px; height: 12px; }
  .mc-icon svg { width: 8px; height: 8px; }
  .mockup-table-row { font-size: 7px; }
}
