/* ═══════════════════════════════════════════════════════════════ */
/* APEX & STUDIO — Style System                                    */
/* ═══════════════════════════════════════════════════════════════ */

:root {
  --bg:          #050505;
  --bg-raised:   #0a0a0a;
  --bg-card:     #0d0d0d;
  --bg-hover:    #141414;
  --border:      rgba(255, 255, 255, 0.06);
  --border-hover:rgba(255, 255, 255, 0.12);
  --text:        #f5f5f5;
  --text-muted:  #888;
  --text-dim:    #555;
  --accent:      #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.15);
  --accent-2:    #a78bfa;
  --green:       #10b981;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-sm:   8px;
  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:        'JetBrains Mono', 'Fira Code', monospace;
  --max-w:       1200px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* ── Utilities ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2), #f0abfc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.amp { font-style: italic; opacity: 0.7; }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ── Section Headers ────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius); }
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 0 20px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
  background: #5558e6;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translateY(-1px);
}
.btn-ghost {
  border: 1px solid var(--border-hover);
  color: var(--text-muted);
}
.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--text);
  border-color: rgba(255,255,255,0.2);
}
.btn-full { width: 100%; justify-content: center; }
.btn-arrow { width: 18px; height: 18px; transition: transform var(--transition); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ═══════════════════════════════════════════════════════════════ */
/* NAV                                                             */
/* ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}
.nav-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  font-size: 14px;
  border-radius: 8px;
  box-shadow: 0 0 15px var(--accent-glow);
}
.nav-logo-text { color: var(--text); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.nav-links .nav-cta:hover { background: #5558e6; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
}
.mobile-menu .nav-cta {
  display: inline-block;
  text-align: center;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════ */
/* HERO                                                            */
/* ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(99, 102, 241, 0.08);
  top: -100px;
  left: -200px;
}
.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(167, 139, 250, 0.06);
  bottom: -100px;
  right: -200px;
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, #f0abfc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}
.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-proof-item { text-align: center; }
.hero-proof-value {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.hero-proof-label {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}
.hero-proof-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* Hero code block */
.hero-code {
  position: absolute;
  right: -60px;
  bottom: 120px;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: rotate(3deg);
  opacity: 0.7;
  transition: all var(--transition);
  z-index: 1;
}
.hero-code:hover {
  opacity: 1;
  transform: rotate(0deg) scale(1.02);
}
.hero-code-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca41; }
.hero-code-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
}
.hero-code-body {
  padding: 16px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  overflow-x: auto;
}
.hero-code-body .kw { color: #c084fc; }
.hero-code-body .cls { color: #67e8f9; }
.hero-code-body .fn { color: #fbbf24; }
.hero-code-body .str { color: #34d399; }
.hero-code-body .val { color: #f87171; }

/* ═══════════════════════════════════════════════════════════════ */
/* MARQUEE                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.marquee-section {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.marquee-track { overflow: hidden; }
.marquee-content {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: marquee 30s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.marquee-dot {
  width: 4px;
  height: 4px;
  background: var(--text-dim);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════ */
/* PRODUCTS                                                        */
/* ═══════════════════════════════════════════════════════════════ */
.products { background: var(--bg); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%), rgba(99, 102, 241, 0.04), transparent 40%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover { border-color: var(--border-hover); }
.product-card:hover::before { opacity: 1; }
.product-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 0 32px;
  align-items: start;
}
.product-featured .product-icon-wrap { grid-row: 1 / 4; }
.product-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-dot.live {
  background: var(--green);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}
.product-icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.product-icon {
  font-weight: 800;
  font-size: 18px;
  color: var(--accent);
}
.product-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.product-type {
  font-size: 14px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.product-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.product-tech span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
}
.product-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-stats div {
  font-size: 13px;
  color: var(--text-muted);
}
.product-stats strong {
  color: var(--text);
  font-weight: 700;
}
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}
.product-link:hover { gap: 10px; }
.product-link svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════════════════════ */
/* SERVICES                                                        */
/* ═══════════════════════════════════════════════════════════════ */
.services { background: var(--bg-raised); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}
.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.service-popular {
  border-color: rgba(99, 102, 241, 0.3);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, var(--bg-card) 100%);
}
.service-badge {
  position: absolute;
  top: -1px;
  right: 24px;
  font-size: 11px;
  font-weight: 600;
  color: white;
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 0 0 8px 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.service-number {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}
.service-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-includes {
  list-style: none;
  margin-bottom: 28px;
}
.service-includes li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}
.service-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.service-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.services-note {
  text-align: center;
  margin-top: 48px;
}
.services-note p {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════ */
/* PROCESS                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.process { background: var(--bg); }
.process-timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding-left: 48px;
}
.process-line {
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--border) 80%, transparent);
}
.process-step {
  position: relative;
  padding-bottom: 48px;
}
.process-step:last-child { padding-bottom: 0; }
.process-dot {
  position: absolute;
  left: -48px;
  top: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  z-index: 2;
}
.process-dot span {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.process-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.process-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════ */
/* ABOUT                                                           */
/* ═══════════════════════════════════════════════════════════════ */
.about { background: var(--bg-raised); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}
.about-text .section-tag { margin-bottom: 16px; }
.about-text .section-title { text-align: left; margin-bottom: 24px; }
.about-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}
.about-value {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.about-value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-sm);
}
.about-value strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
.about-value span {
  font-size: 13px;
  color: var(--text-muted);
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}
.about-stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.about-stat-value {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.about-stat-label {
  font-size: 13px;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════════════ */
/* CTA SECTION                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.cta-section { padding: 80px 0; }
.cta-card {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.1), transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  position: relative;
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════ */
/* CONTACT                                                         */
/* ═══════════════════════════════════════════════════════════════ */
.contact { background: var(--bg); padding-bottom: 80px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-tag { margin-bottom: 16px; }
.contact-info .section-title { text-align: left; margin-bottom: 16px; }
.contact-info > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.contact-detail-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
a.contact-detail-value { color: var(--accent); }
a.contact-detail-value:hover { text-decoration: underline; }

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group select { cursor: pointer; appearance: none; }
.form-group select option { background: var(--bg-card); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ═══════════════════════════════════════════════════════════════ */
/* FOOTER                                                          */
/* ═══════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  margin-top: 12px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                      */
/* ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-code { display: none; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-featured { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .hero { padding: 100px 24px 60px; min-height: auto; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-proof { flex-direction: column; gap: 16px; }
  .hero-proof-divider { width: 32px; height: 1px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-featured { grid-column: 1; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .cta-card { padding: 48px 24px; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
  .product-stats { flex-direction: column; gap: 8px; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* FLASH MESSAGES                                                  */
/* ═══════════════════════════════════════════════════════════════ */
.flash-notice, .flash-alert {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  animation: flash-in 0.3s ease;
  max-width: 500px;
}
.flash-notice {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}
.flash-alert {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.flash-notice button, .flash-alert button {
  background: none;
  border: none;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.7;
}
@keyframes flash-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════ */
/* COOKIE CONSENT                                                  */
/* ═══════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
}
.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-inner p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.cookie-inner a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-accept {
  padding: 8px 20px;
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: background var(--transition);
}
.cookie-accept:hover { background: #5558e6; }
.cookie-decline {
  padding: 8px 20px;
  background: transparent;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.cookie-decline:hover { border-color: var(--border-hover); color: var(--text-muted); }
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════ */
/* LEGAL PAGES                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.legal-page h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.legal-page .legal-updated {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}
.legal-page p, .legal-page li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page a { color: var(--accent); }
.legal-page a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════ */
/* ERROR PAGES                                                     */
/* ═══════════════════════════════════════════════════════════════ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.error-code {
  font-size: 8rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.error-page h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.error-page p { font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }

/* ═══════════════════════════════════════════════════════════════ */
/* ADMIN DASHBOARD                                                 */
/* ═══════════════════════════════════════════════════════════════ */
.admin-page {
  min-height: 100vh;
  padding-top: 80px;
}
.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 60px;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.admin-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.admin-period-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
}
.admin-tab {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 6px 14px;
  border-radius: 6px;
  transition: all var(--transition);
}
.admin-tab:hover { color: var(--text-muted); }
.admin-tab.active {
  background: var(--accent);
  color: white;
}

/* Live bar */
.admin-live-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.admin-live-bar strong { color: var(--green); }
.admin-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Metrics grid */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.admin-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.admin-metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.admin-metric-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Charts row */
.admin-charts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

/* Cards */
.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.admin-card-wide { grid-column: span 2; }
.admin-card-full { margin-bottom: 20px; }
.admin-card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Bar chart */
.admin-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 160px;
  padding-top: 8px;
}
.admin-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}
.admin-bar {
  width: 100%;
  max-width: 32px;
  background: linear-gradient(180deg, var(--accent), rgba(99, 102, 241, 0.4));
  border-radius: 4px 4px 0 0;
  min-height: 2px;
  position: relative;
  transition: height 0.3s ease;
}
.admin-bar:hover { opacity: 0.8; }
.admin-bar-tooltip {
  display: none;
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  color: var(--text);
}
.admin-bar:hover .admin-bar-tooltip { display: block; }
.admin-bar-label {
  font-size: 10px;
  color: var(--text-dim);
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40px;
}

/* Lists */
.admin-list { display: flex; flex-direction: column; }
.admin-list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.admin-list-row:last-child { border-bottom: none; }
.admin-list-name {
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 12px;
}
.admin-list-count {
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0;
}
.admin-list-empty {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  padding: 20px;
}

/* Tables */
.admin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table a { color: var(--accent); }
.admin-table code {
  font-size: 11px;
  font-family: var(--mono);
  background: var(--bg-hover);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Event badge */
.admin-event-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .admin-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-charts-row { grid-template-columns: 1fr; }
  .admin-card-wide { grid-column: span 1; }
  .admin-header { flex-direction: column; align-items: flex-start; }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
