/* 54smiles — Coming Soon */

:root,
[data-theme="light"] {
  --cyan: #00b4f0;
  --cyan-bright: #33c9ff;
  --cyan-dim: #0090c8;
  --cyan-soft: rgba(0, 180, 240, 0.1);
  --cyan-glow: rgba(0, 180, 240, 0.22);
  --deep: #0a3d62;
  --deep-soft: rgba(10, 61, 98, 0.06);
  --ring-bg: #ffffff;
  --input-bg: #ffffff;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-subtle: #f6fbfe;
  --bg-card: #ffffff;
  --border: rgba(10, 61, 98, 0.1);
  --border-cyan: rgba(0, 180, 240, 0.25);
  --text: #1a2e3b;
  --text-muted: #5a7a8f;
  --text-heading: #0a3d62;
  --grid-line: rgba(0, 180, 240, 0.04);
  --glow-2: rgba(10, 61, 98, 0.06);
  --font: 'Outfit', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --max: 720px;
  --shadow: 0 4px 24px rgba(10, 61, 98, 0.06);
  --shadow-cyan: 0 8px 32px var(--cyan-glow);
}

[data-theme="dark"] {
  --cyan-soft: rgba(0, 180, 240, 0.1);
  --cyan-glow: rgba(0, 180, 240, 0.35);
  --deep-soft: rgba(0, 100, 180, 0.2);
  --ring-bg: rgba(255, 255, 255, 0.04);
  --input-bg: rgba(0, 0, 0, 0.35);
  --bg: #040a10;
  --bg-subtle: rgba(255, 255, 255, 0.04);
  --bg-card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(0, 180, 240, 0.25);
  --text: #e8f4fc;
  --text-muted: #8aa8be;
  --text-heading: #e8f4fc;
  --grid-line: rgba(255, 255, 255, 0.02);
  --glow-2: rgba(0, 100, 180, 0.2);
  --shadow: none;
  --shadow-cyan: 0 4px 24px var(--cyan-glow);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan-dim);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--cyan);
}

[data-theme="dark"] a:hover {
  color: var(--cyan-bright);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Brand logo — transparent PNGs */

.brand-logo {
  width: auto;
  height: auto;
  display: block;
}

.brand-logo--dark {
  display: none;
}

[data-theme="dark"] .brand-logo--light {
  display: none;
}

[data-theme="dark"] .brand-logo--dark {
  display: block;
}

/* Background */

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  transition: background 0.3s;
}

.bg-glow--1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  top: -180px;
  right: -120px;
  animation: float 12s ease-in-out infinite;
}

.bg-glow--2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--glow-2) 0%, transparent 70%);
  bottom: 8%;
  left: -160px;
  animation: float 15s ease-in-out infinite reverse;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 15%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(24px, 16px); }
}

/* Header */

.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.header__logo .brand-logo {
  height: 52px;
  width: auto;
}

.footer__logo {
  height: 44px;
  width: auto;
  margin: 0 auto 0.75rem;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-cyan);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--cyan);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.theme-toggle:hover {
  border-color: var(--cyan);
  background: var(--cyan-soft);
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
}

.theme-toggle__icon--moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  display: block;
}

/* Hero */

.hero {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-dim);
  background: var(--cyan-soft);
  border: 1px solid var(--border-cyan);
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}

.hero__badge-dot {
  width: 9px;
  height: 9px;
  background: var(--cyan);
  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.85); }
}

.hero__title {
  font-size: clamp(2.2rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: var(--text-heading);
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__slogan {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  color: var(--cyan-dim);
  font-style: italic;
  min-height: 1.75rem;
  margin-bottom: 1rem;
  transition: opacity 0.4s ease;
}

.hero__slogan.is-fading {
  opacity: 0;
}

.hero__desc {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
}

.hero__desc strong {
  color: var(--text);
  font-weight: 600;
}

.hero__contact {
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

.hero__contact a {
  font-weight: 500;
  color: var(--cyan-dim);
}

.hero__contact a:hover {
  color: var(--cyan);
}

/* Stats */

.stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 1.75rem;
  max-width: var(--max);
  margin: 0 auto 3rem;
  padding: 1.5rem 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: background 0.3s, border-color 0.3s;
}

.stats__item {
  text-align: center;
  flex: 1 1 120px;
}

.stats__num {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stats__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stats__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* Footer */

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  transition: background 0.3s, border-color 0.3s;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer__links {
  margin-bottom: 1rem;
}

.footer__links a {
  font-weight: 500;
  color: var(--cyan-dim);
}

.footer__legal {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 600px) {
  .stats__divider {
    display: none;
  }

  .header__logo .brand-logo {
    height: 44px;
  }

  .hero {
    padding-top: 2rem;
  }
}
