/* ============================================
   BlankCast — Official Website
   Dark theme · Accent #00F0FF · BG #0A0A0A
   ============================================ */

:root {
  --bg: #0A0A0A;
  --surface: #1C1C1E;
  --surface-elevated: #2C2C2E;
  --accent: #00F0FF;
  --accent-dim: rgba(0, 240, 255, 0.15);
  --accent-glow: rgba(0, 240, 255, 0.35);
  --text-primary: #FFFFFF;
  --text-secondary: #9E9E9E;
  --text-muted: #6B6B6B;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --max-width: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Malgun Gothic", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

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

/* ─── Container ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.nav-logo svg { width: 28px; height: 28px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); opacity: 1; }

/* Language switcher */
.lang-switch {
  position: relative;
}

.lang-switch button {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: border-color 0.2s, color 0.2s;
}

.lang-switch button:hover { border-color: var(--accent); color: var(--text-primary); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 140px;
  padding: 4px;
  list-style: none;
  display: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.lang-menu.open { display: block; }

.lang-menu a {
  display: block;
  padding: 8px 12px;
  color: var(--text-secondary);
  font-size: 13px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.lang-menu a:hover,
.lang-menu a[aria-current="true"] {
  background: var(--accent-dim);
  color: var(--accent);
  opacity: 1;
}

.lang-menu a[aria-current="true"] { font-weight: 600; }

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.hero-logo {
  width: 88px;
  height: 88px;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 24px var(--accent-glow));
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
}

.hero h1 span { color: var(--accent); }

.hero-tagline {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 40px;
  position: relative;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); opacity: 1; }

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover { background: var(--surface-elevated); transform: translateY(-1px); opacity: 1; }

.hero-visual {
  margin-top: 64px;
  position: relative;
  width: 100%;
  max-width: 900px;
}

.hero-visual img {
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

/* ─── Sections ─── */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--surface);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

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

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ─── Feature grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  list-style: none;
}

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

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

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

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

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Feature showcase (alternating) ─── */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-showcase:last-child { margin-bottom: 0; }

.feature-showcase-text h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-showcase-text p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.feature-showcase-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.feature-showcase-visual .placeholder {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

/* ─── Pricing ─── */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.pricing-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-tagline {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 32px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.pricing-price .currency { font-size: 24px; font-weight: 600; vertical-align: super; }

.pricing-note {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-features li svg { flex-shrink: 0; }

.pricing-btn {
  width: 100%;
  justify-content: center;
}

/* ─── FAQ / Privacy Banner ─── */
.privacy-banner {
  background: linear-gradient(135deg, var(--accent-dim) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-top: 48px;
}

.privacy-banner h4 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.privacy-banner p { color: var(--text-secondary); font-size: 14px; max-width: 480px; margin: 0 auto; }

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.footer-links a { color: var(--text-secondary); font-size: 13px; }
.footer-links a:hover { color: var(--text-primary); opacity: 1; }

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

/* ─── Placeholder visuals ─── */
.mock-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-elevated) 100%);
}

.mock-lyrics-large {
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 8px;
}

.lyrics-accent { color: var(--accent); }

.mock-lyrics-sub {
  font-size: clamp(14px, 2.5vw, 18px);
  color: var(--text-secondary);
  text-align: center;
  opacity: 0.6;
}

.mock-progress {
  width: 80%;
  height: 2px;
  background: var(--surface-elevated);
  border-radius: 1px;
  margin-top: 24px;
  overflow: hidden;
}

.mock-progress-bar {
  width: 45%;
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
}

.mock-casting {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.mock-tv-frame {
  width: 85%;
  aspect-ratio: 16 / 9;
  border: 3px solid var(--surface-elevated);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  box-shadow: 0 0 40px var(--accent-glow);
  padding: 16px;
}

.mock-phone {
  width: 20%;
  aspect-ratio: 9 / 19;
  max-width: 80px;
  border: 3px solid var(--surface-elevated);
  border-radius: 16px;
  margin-left: 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mock-phone::before {
  content: '';
  width: 30%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.mock-bg {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.mock-particles {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.3) 0%, transparent 40%),
              radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.25) 0%, transparent 35%),
              radial-gradient(circle at 50% 80%, rgba(255, 149, 0, 0.2) 0%, transparent 30%);
}

.mock-party {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--bg);
}

.mock-phone-remote {
  width: 30%;
  max-width: 100px;
  aspect-ratio: 9 / 16;
  border: 3px solid var(--surface-elevated);
  border-radius: 20px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
}

.mock-remote-btn {
  width: 60%;
  height: 24px;
  background: var(--surface-elevated);
  border-radius: 6px;
}

.mock-remote-btn.primary { background: var(--accent); }

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

.mock-queue-item {
  width: 120px;
  height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.mock-queue-item.active { border-color: var(--accent); background: var(--accent-dim); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero { padding: 100px 20px 60px; }

  .section { padding: 64px 0; }

  .feature-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features-grid { grid-template-columns: 1fr; }

  .pricing-card { padding: 32px 24px; }

  .hero-buttons { flex-direction: column; align-items: center; }

  .btn { width: 100%; max-width: 280px; justify-content: center; }
}
