/* Cool Or Cruel — Landing Page */
:root {
  --bg: #0a0a12;
  --surface: #12121e;
  --surface-2: #1a1a2a;
  --border: rgba(255,255,255,0.06);
  --text: #e8e8f0;
  --text-muted: #7a7a90;
  --cool: #00e5ff;
  --cruel: #ec3f73;
  --cool-glow: rgba(0,229,255,0.15);
  --cruel-glow: rgba(236,63,115,0.15);
}

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

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

body {
  font-family: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--cool); text-decoration: none; }
a:hover { color: #33ebff; }

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10,10,18,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-logo .cool { color: var(--cool); }
.nav-logo .cruel { color: var(--cruel); }
.nav-logo .or { color: var(--text-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--cool);
  color: #0a0a12;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-download:hover {
  background: #33ebff;
  color: #0a0a12;
  transform: translateY(-1px);
}

.btn-download svg {
  width: 18px;
  height: 18px;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-text h1 .cool { color: var(--cool); }
.hero-text h1 .cruel { color: var(--cruel); }

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 20px 60px rgba(0,229,255,0.1));
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 500px;
  margin: 0 auto;
}

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

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

.feature-card:hover {
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.feature-icon.cool { background: var(--cool-glow); color: var(--cool); }
.feature-icon.cruel { background: var(--cruel-glow); color: var(--cruel); }
.feature-icon.neutral { background: rgba(255,255,255,0.06); color: var(--text-muted); }

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 80px 0 120px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}

.step {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 20px;
  border: 2px solid var(--border);
  color: var(--cool);
}

.step h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto;
}

/* ===== CTA ===== */
.cta {
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, var(--cool-glow), transparent 50%),
              radial-gradient(circle at 70% 50%, var(--cruel-glow), transparent 50%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.0625rem;
  position: relative;
}

.cta-box .btn-download {
  position: relative;
  font-size: 1rem;
  padding: 14px 32px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--text); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .nav-links a:not(.btn-download) { display: none; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 2rem; }
  .cta-box { padding: 40px 24px; }
}

/* Lang switcher */
.lang-switch {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.2s;
}
.lang-switch:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.15);
}
