/* ═══════════════════════════════════════════════════════════
   POEBuild.app — Coming Soon Landing Page
   Gaming dark theme matching the main application
   ═══════════════════════════════════════════════════════════ */

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

:root {
    --bg-deep: #0a0a14;
    --bg-main: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #22223a;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --accent: #f97316;
    --accent-glow: rgba(249,115,22,0.25);
    --purple: #a855f7;
    --purple-glow: rgba(168,85,247,0.2);
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-main);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ── Canvas Background ── */
#bgCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── Ambient Orbs ── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}
.orb-1 {
    width: 500px; height: 500px;
    background: rgba(249,115,22,0.06);
    top: 10%; left: 15%;
    animation: orbFloat1 20s ease-in-out infinite;
}
.orb-2 {
    width: 400px; height: 400px;
    background: rgba(168,85,247,0.05);
    bottom: 20%; right: 10%;
    animation: orbFloat2 25s ease-in-out infinite;
}
.orb-3 {
    width: 300px; height: 300px;
    background: rgba(59,130,246,0.04);
    top: 60%; left: 50%;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(80px, -60px); }
    66% { transform: translate(-40px, 40px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-70px, 50px); }
    66% { transform: translate(50px, -70px); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(60px, -80px); }
}

/* ── Animations ── */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}
@keyframes scanLine {
    0% { top: -2px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.float-anim { animation: float 6s ease-in-out infinite; }
.float-anim-slow { animation: floatSlow 8s ease-in-out infinite; }

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    background: rgba(15,15,26,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    width: 36px; height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #ea580c);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}
.logo-icon-sm {
    width: 28px; height: 28px;
    border-radius: 8px;
}
.logo-text {
    font-size: 18px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}
.logo-dot { color: var(--accent); }
.nav-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(249,115,22,0.08);
    border: 1px solid rgba(249,115,22,0.15);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulseGlow 2s ease-in-out infinite;
}

/* ── Hero ── */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 60px;
}
.hero-content {
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(249,115,22,0.08);
    border: 1px solid rgba(249,115,22,0.15);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 32px;
}
.status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulseGlow 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    color: white;
    margin-bottom: 24px;
}
.gradient-text {
    background: linear-gradient(135deg, #f97316, #fbbf24, #f59e0b, #f97316);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s ease-in-out infinite;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* ── Countdown ── */
.countdown-section {
    margin-bottom: 48px;
}
.countdown-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-dim);
    font-weight: 600;
    margin-bottom: 16px;
}
.countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    padding: 16px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}
.countdown-value {
    font-family: var(--mono);
    font-size: 32px;
    font-weight: 700;
    color: white;
    line-height: 1;
}
.countdown-unit {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-top: 6px;
    font-weight: 500;
}
.countdown-sep {
    font-family: var(--mono);
    font-size: 28px;
    color: var(--text-dim);
    font-weight: 700;
    animation: pulseGlow 2s ease-in-out infinite;
}

/* ── Notify Form ── */
.notify-section { margin-bottom: 56px; }
.notify-text {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 12px;
}
.notify-form {
    display: flex;
    max-width: 440px;
    margin: 0 auto;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: border-color 0.3s;
}
.notify-form:focus-within {
    border-color: rgba(249,115,22,0.4);
    box-shadow: 0 0 0 3px rgba(249,115,22,0.08);
}
.notify-input {
    flex: 1;
    padding: 14px 18px;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: 14px;
    color: var(--text);
}
.notify-input::placeholder { color: var(--text-dim); }
.notify-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--accent), #ea580c);
    border: none;
    color: white;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.notify-btn:hover {
    background: linear-gradient(135deg, #fb923c, var(--accent));
    box-shadow: 0 4px 24px var(--accent-glow);
}
.notify-btn-icon { transition: transform 0.2s; }
.notify-btn:hover .notify-btn-icon { transform: translateX(3px); }

.notify-success {
    display: none;
    margin-top: 12px;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.2);
    color: #4ade80;
    font-size: 13px;
    font-weight: 500;
}
.notify-success.show { display: block; }

/* ── Score Preview ── */
.preview-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 1px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(249,115,22,0.25), rgba(168,85,247,0.25));
}
.preview-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 19px;
    padding: 28px;
    overflow: hidden;
}
.preview-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.preview-avatar {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(249,115,22,0.15), rgba(168,85,247,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}
.preview-info { text-align: left; flex: 1; }
.preview-name { font-weight: 700; color: white; font-size: 16px; }
.preview-class { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.preview-badge {
    padding: 4px 12px;
    border-radius: 8px;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.2);
    color: #4ade80;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-scores {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.score-item { text-align: center; }
.score-value {
    font-family: var(--mono);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    display: block;
    animation: pulseGlow 3s ease-in-out infinite alternate;
}
.score-bar {
    margin-top: 8px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.04);
    overflow: hidden;
}
.score-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s ease-out;
}
.score-label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-top: 6px;
    font-weight: 500;
}

/* Scan line effect on preview card */
.scan-line {
    position: absolute;
    left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    animation: scanLine 4s linear infinite;
    pointer-events: none;
}

/* ── Features ── */
.features {
    position: relative;
    z-index: 1;
    padding: 100px 24px;
}
.features-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.features-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 48px;
    letter-spacing: -1px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.25s;
}
.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}
.feature-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.feature-name {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}
.feature-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ── Preview Note ── */
.preview-note {
    margin-top: 16px;
    font-size: 11px;
    color: var(--text-dim);
    font-style: italic;
    opacity: 0.7;
}

/* ── Trust / Compliance Section ── */
.trust-section {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    background: linear-gradient(180deg, rgba(15,15,26,0) 0%, rgba(19,19,43,0.4) 50%, rgba(15,15,26,0) 100%);
}
.trust-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.trust-title {
    font-size: 30px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.trust-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
}
.trust-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.trust-icon-green {
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.15);
    color: #4ade80;
}
.trust-icon-blue {
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.15);
    color: #60a5fa;
}
.trust-icon-purple {
    background: rgba(168,85,247,0.08);
    border: 1px solid rgba(168,85,247,0.15);
    color: #c084fc;
}
.trust-name {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}
.trust-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ── Dev Note ── */
.dev-note-section {
    position: relative;
    z-index: 1;
    padding: 0 24px 60px;
}
.dev-note-inner {
    max-width: 780px;
    margin: 0 auto;
}
.dev-note-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    border-radius: 14px;
    background: rgba(59,130,246,0.04);
    border: 1px solid rgba(59,130,246,0.1);
}
.dev-note-icon {
    color: #60a5fa;
    flex-shrink: 0;
    margin-top: 2px;
}
.dev-note-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ── Stats Bar ── */
.stats-bar {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 48px 24px;
}
.stats-inner {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-value {
    display: block;
    font-family: var(--mono);
    font-size: 36px;
    font-weight: 900;
    color: white;
}
.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* ── Footer ── */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 32px 24px;
}
.footer-inner-pro {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-name {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 14px;
}
.footer-byline {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 4px;
}
.footer-byline strong {
    color: var(--text-muted);
    font-weight: 600;
}
.footer-col-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-link {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-link:hover { color: white; }
.footer-link-sep {
    font-size: 12px;
    color: var(--text-dim);
}
.footer-col-right { text-align: right; }
.footer-disclaimer {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero { padding: 80px 16px 40px; }
    .hero-title { letter-spacing: -1px; }
    .hero-desc { font-size: 16px; }

    .preview-scores { grid-template-columns: repeat(5, 1fr); gap: 8px; }
    .score-value { font-size: 20px; }
    .score-label { font-size: 8px; }

    .countdown-block { min-width: 56px; padding: 12px 8px; }
    .countdown-value { font-size: 24px; }

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

    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }

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

    .dev-note-card { flex-direction: column; text-align: center; }
    .dev-note-icon { margin: 0 auto; }

    .footer-inner-pro { grid-template-columns: 1fr; text-align: center; gap: 16px; }
    .footer-col-links { justify-content: center; }
    .footer-col-right { text-align: center; }

    .notify-form { flex-direction: column; border-radius: 14px; }
    .notify-btn { justify-content: center; border-radius: 0 0 13px 13px; }

    .nav-badge { display: none; }
}

@media (max-width: 480px) {
    .preview-wrapper { margin: 0 -8px; }
    .preview-card { padding: 20px 16px; }
    .preview-header { flex-wrap: wrap; }
    .countdown { gap: 4px; }
    .countdown-sep { font-size: 20px; }
}
