/* ============================================
   Nocturne Studios — Cinematic Theme
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #03030a;
  --bg-surface: #0b0b14;
  --bg-elevated: #10101c;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --accent-warm: #f7a045;
  --text: #e8e6e1;
  --text-muted: #5a5a70;
  --text-dim: #888896;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.hero-glow--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #00d4ff 0%, transparent 70%);
  top: -100px; right: -100px;
  opacity: 0.18;
}
.hero-glow--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #f7a045 0%, transparent 70%);
  bottom: 0; left: 20%;
  opacity: 0.08;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
}

.label-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 140px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.hero-title-line {
  display: block;
}
.hero-title-line--accent {
  color: var(--accent);
  -webkit-text-stroke: 0px;
}

.hero-sub {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 72px;
  max-width: 700px;
}

.hero-divider {
  width: 1px;
  min-height: 80px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  flex-shrink: 0;
  margin-top: 4px;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 300;
}

.hero-meta {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* --- FEATURES --- */
.features {
  padding: 120px 0;
  position: relative;
  background: var(--bg-surface);
}

.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.section-label-line {
  width: 40px;
  height: 1px;
  background: var(--text-muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 72px;
  max-width: 600px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg);
  transition: background 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-surface);
}

.feature-card-inner {
  padding: 48px 40px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 8px;
  margin-bottom: 28px;
}

.feature-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 28px;
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0,212,255,0.15);
}

.features-cta {
  margin-top: 48px;
  text-align: center;
}

.features-cta p {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}

/* --- CLOSING --- */
.closing {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
}

.closing-bg-line {
  position: absolute;
  left: 48px; right: 48px;
  top: 0; bottom: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  pointer-events: none;
  opacity: 0.5;
}

.closing-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 48px;
  position: relative;
}

.closing-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-dim);
  font-weight: 300;
  max-width: 640px;
  margin-bottom: 32px;
  position: relative;
}

.closing-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  position: relative;
}

.closing-brand-mark {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.closing-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* --- FOOTER --- */
.footer {
  padding: 80px 0 48px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 64px;
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col span:not(.footer-col-title) {
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}

.footer-col span:not(.footer-col-title):hover {
  color: var(--text);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero-inner,
  .features-inner,
  .closing-inner,
  .footer-inner {
    padding: 0 24px;
  }

  .hero { padding: 100px 0 80px; }
  .hero-meta { flex-direction: column; gap: 24px; }
  .hero-sub { flex-direction: column; gap: 20px; }
  .hero-divider { display: none; }

  .feature-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 480px) {
  .footer-links { display: none; }
  .hero-title { font-size: 64px; }
  .closing-bg-line { display: none; }
}