/* CloudCasinoOS Landing Page — Dark Command Center Theme */

:root {
  --bg: #060d18;
  --bg-surface: #0b1526;
  --bg-card: #0f1d35;
  --bg-card-hover: #142440;
  --fg: #e2e8f0;
  --fg-muted: #7a8fa8;
  --fg-faint: #3d5570;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --gold: #f0b429;
  --gold-dim: rgba(240, 180, 41, 0.15);
  --red: #ff6b6b;
  --red-dim: rgba(255, 107, 107, 0.15);
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(0, 212, 170, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(6, 13, 24, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 3px;
  box-shadow: 0 0 12px var(--accent);
}

.nav-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 80px 80px;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 170, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 170, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 170, 0.08), transparent 70%);
  top: -100px;
  right: 0;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.06), transparent 70%);
  bottom: 0;
  left: 200px;
}

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

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,212,170,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0,212,170,0); }
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.hero-accent {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 6px 14px;
  border-radius: 20px;
}

/* CONSOLE */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.console {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,212,170,0.08);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.console-title {
  font-family: 'DM Sans', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  margin-left: 8px;
}

.console-body {
  padding: 20px;
  font-family: 'DM Sans', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
}

.console-line {
  color: var(--fg-muted);
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.cs-timestamp { color: var(--fg-faint); min-width: 48px; }
.cs-status-ok { color: var(--accent); font-weight: 600; }
.cs-status-warn { color: var(--gold); font-weight: 600; }
.cs-status-err { color: var(--red); font-weight: 600; }

.console-spacer { height: 12px; }

.cs-prompt {
  color: var(--accent);
  font-weight: 700;
}

.cs-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--accent);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* STATS */
.stats {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 80px;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* FEATURES */
.features {
  padding: 120px 80px;
  max-width: 1300px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}

.features-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.15;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.feature-card-accent {
  border-color: rgba(0, 212, 170, 0.2);
  background: linear-gradient(135deg, var(--bg-card), rgba(0, 212, 170, 0.04));
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* PLATFORM */
.platform {
  padding: 100px 80px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.platform-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.platform-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 20px;
}

.platform-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.platform-facts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
}

.fact-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* DASHBOARD MOCK */
.dashboard-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.mock-header {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mock-row {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.mock-kpi {
  flex: 1;
}

.mock-kpi-val {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.mock-kpi-val.accent { color: var(--accent); }

.mock-kpi-lbl {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  margin-bottom: 20px;
  padding: 0 4px;
}

.mock-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), rgba(0, 212, 170, 0.2));
  border-radius: 4px 4px 0 0;
  min-height: 8px;
}

.mock-alerts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-alert {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
}

.mock-alert.ok {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.mock-alert.warn {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(240, 180, 41, 0.2);
}

/* CLOSING */
.closing {
  padding: 120px 80px;
  position: relative;
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 212, 170, 0.06), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.closing-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 24px;
}

.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 64px;
}

.closing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.closing-stat-val {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}

.closing-stat-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* FOOTER */
.footer {
  padding: 60px 80px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.footer-note {
  font-size: 13px;
  color: var(--fg-faint);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-inner { grid-template-columns: 1fr; gap: 60px; }
}

/* REGISTER */
.register-section {
  padding: 100px 80px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.register-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.register-header {
  padding-top: 8px;
}

.register-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 16px;
}

.register-sub {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.register-form-wrapper {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 0 40px rgba(0, 212, 170, 0.08), 0 20px 60px rgba(0,0,0,0.3);
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row--3 {
  grid-template-columns: 2fr 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-group input,
.form-group select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a8fa8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input::placeholder {
  color: var(--fg-faint);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.register-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 16px 32px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
  margin-top: 4px;
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

.register-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.4);
  background: #00e8bb;
}

.register-cta:active {
  transform: translateY(0);
}

.register-disclaimer {
  font-size: 12px;
  color: var(--fg-faint);
  text-align: center;
  margin-top: 4px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .register-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row--3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    gap: 40px;
    text-align: center;
  }

  .hero-eyebrow { justify-content: center; }
  .hero-sub { max-width: 100%; }
  .hero-pills { justify-content: center; }
  .hero-visual { display: none; }

  .stats { padding: 40px 24px; }
  .stats-inner { flex-direction: column; gap: 24px; }
  .stat-divider { width: 40px; height: 1px; }

  .features { padding: 80px 24px; }
  .features-grid { grid-template-columns: 1fr; }

  .platform { padding: 80px 24px; }

  .closing { padding: 80px 24px; }
  .closing-stats { grid-template-columns: 1fr; gap: 32px; }
  .closing-stat-val { font-size: 40px; }

  .footer { padding: 40px 24px; }

  .nav { padding: 0 24px; }
}