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

:root {
    --bg: #09090b;
    --bg2: #0f0f13;
    --card: #141418;
    --border: #1e1e24;
    --accent: #7c3aed;
    --accent2: #a855f7;
    --accent-glow: rgba(124, 58, 237, 0.15);
    --green: #22c55e;
    --text: #e4e4e7;
    --text-dim: #71717a;
    --text-dark: #3f3f46;
    --radius: 12px;
}

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

/* ── Nav ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; height: 64px; position: relative;
}
.logo { font-weight: 900; font-size: 20px; text-decoration: none; color: var(--text); letter-spacing: -0.5px; }
.logo-accent { color: var(--accent2); }
.nav-center { display: flex; align-items: center; gap: 32px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-center a { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-center a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-right a { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-right a:hover { color: var(--text); }
.nav-link-home { color: var(--text-dim); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-link-home:hover { color: var(--text); }
.nav-btn {
    background: var(--accent) !important; color: white !important;
    padding: 8px 20px; border-radius: 8px; font-weight: 600 !important;
    transition: background 0.2s;
}
.nav-btn:hover { background: var(--accent2) !important; }

.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
    background: transparent; border: 1px solid var(--border); border-radius: 6px;
    color: var(--text-dim); font-size: 12px; font-weight: 600; padding: 4px 8px;
    cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.2s;
}
.lang-btn:hover { border-color: var(--text-dark); color: var(--text); }
.lang-btn.active { background: var(--accent); border-color: var(--accent); color: white; }

/* ── Hero ── */
.hero {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    min-height: 90vh;
    padding: 100px 24px 40px;
}
.hero-glow {
    position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content { position: relative; max-width: 700px; }
.badge {
    display: inline-block;
    padding: 6px 16px; border-radius: 100px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: var(--accent2); font-size: 13px; font-weight: 600;
    margin-bottom: 24px;
}
.hero h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 900; line-height: 1.1; letter-spacing: -2px; margin-bottom: 20px; }
.gradient-text {
    background: linear-gradient(135deg, var(--accent2), #c084fc, #e879f9);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 18px; color: var(--text-dim); max-width: 500px; margin: 0 auto 36px; line-height: 1.7; }

.hero-btns { display: flex; gap: 12px; justify-content: center; margin-bottom: 60px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; border-radius: 10px; font-size: 15px; font-weight: 600;
    text-decoration: none; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text-dim); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--text-dark); }
.btn-full { width: 100%; }

.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 32px;
    padding: 24px 0;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 13px; color: var(--text-dim); font-weight: 500; }
.stat-sep { width: 1px; height: 40px; background: var(--border); }

/* ── Platforms ── */
.platforms {
    padding: 0 24px 20px;
    text-align: center;
    margin-top: -60px;
    position: relative;
    z-index: 2;
}
.platforms-inner {
    max-width: 600px; margin: 0 auto;
    display: flex; align-items: center; justify-content: center; gap: 16px;
    padding: 16px 24px;
    border: 1px solid var(--border); border-radius: 100px;
    background: var(--card);
}
.platform-label { font-size: 13px; color: var(--text-dark); font-weight: 500; }
.platform-tags { display: flex; gap: 8px; }
.platform-tag {
    padding: 6px 16px; border-radius: 100px;
    background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124, 58, 237, 0.25);
    color: var(--accent2); font-size: 13px; font-weight: 600;
}

/* ── Features ── */
.features {
    max-width: 1100px; margin: 0 auto;
    padding: 100px 24px;
}
.section-title {
    font-size: 36px; font-weight: 800; text-align: center;
    margin-bottom: 16px; letter-spacing: -1px;
}
.section-sub { text-align: center; color: var(--text-dim); font-size: 16px; margin-bottom: 48px; }

.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin-top: 48px;
}
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-4px);
}
.feature-icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    font-size: 20px; color: var(--accent2);
    margin: 0 auto 16px auto;
    transition: background 0.3s, border-color 0.3s;
}
.feature-card:hover .feature-icon {
    background: rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.4);
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

.feature-card.card-horizontal {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.feature-card.card-horizontal .feature-icon {
    margin: 0;
    flex-shrink: 0;
}
.feature-card.card-horizontal .card-text { flex: 1; }

/* ── Pricing ── */
.pricing {
    padding: 100px 24px;
    text-align: center;
}
.pricing-card {
    max-width: 400px; margin: 48px auto 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 36px;
    position: relative;
    transition: border-color 0.3s;
}
.pricing-card:hover { border-color: var(--accent); }
.pricing-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: white;
    padding: 4px 20px; border-radius: 100px;
    font-size: 12px; font-weight: 700; letter-spacing: 1px;
}
.pricing-price { margin: 20px 0 28px; }
.price-currency { font-size: 24px; font-weight: 700; color: var(--text-dim); vertical-align: top; line-height: 1.2; }
.price-amount { font-size: 64px; font-weight: 900; letter-spacing: -3px; }
.price-period { font-size: 16px; color: var(--text-dim); font-weight: 500; }

.pricing-features {
    list-style: none; text-align: left;
    margin-bottom: 32px;
}
.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px; color: var(--text-dim);
}
.pricing-features li::before {
    content: '✓'; color: var(--green); font-weight: 700; margin-right: 12px;
}

/* ── FAQ ── */
.faq {
    max-width: 700px; margin: 0 auto;
    padding: 100px 24px;
}
.faq-list { margin-top: 48px; }
.faq-item {
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}
.faq-q {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0;
    font-weight: 600; font-size: 15px;
    transition: color 0.2s;
}
.faq-item:hover .faq-q { color: var(--accent2); }
.faq-arrow { font-size: 20px; color: var(--text-dark); transition: transform 0.3s; }
.faq-item.open .faq-arrow { transform: rotate(45deg); color: var(--accent2); }
.faq-a {
    max-height: 0; overflow: hidden;
    font-size: 14px; color: var(--text-dim); line-height: 1.7;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }

/* ── Footer ── */
.footer {
    border-top: 1px solid var(--border);
    padding: 24px;
}
.footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 13px; color: var(--text-dark); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .nav-center { display: none; }
    .hero-stats { gap: 20px; }
    .stat-num { font-size: 22px; }
}

/* ── Dashboard styles ── */
.dash-container {
    max-width: 500px; margin: 0 auto;
    padding: 120px 24px 60px;
    min-height: 100vh;
}
.dash-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
}
.dash-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 24px; text-align: center; }

.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 6px; }
.form-input {
    width: 100%; padding: 12px 16px;
    background: var(--bg2); border: 1px solid var(--border); border-radius: 8px;
    color: var(--text); font-size: 14px; font-family: 'Inter', sans-serif;
    outline: none; transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--accent); }

.form-btn {
    width: 100%; padding: 14px;
    background: var(--accent); color: white; border: none; border-radius: 10px;
    font-size: 15px; font-weight: 600; font-family: 'Inter', sans-serif;
    cursor: pointer; transition: background 0.2s;
    margin-top: 8px;
}
.form-btn:hover { background: var(--accent2); }

.form-switch {
    text-align: center; margin-top: 20px;
    font-size: 13px; color: var(--text-dim);
}
.form-switch a { color: var(--accent2); text-decoration: none; font-weight: 600; }
.form-switch a:hover { text-decoration: underline; }

.msg { padding: 12px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; display: none; }
.msg-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }
.msg-ok { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }

/* Dashboard panel */
.license-key {
    background: var(--bg2); border: 1px solid var(--border);
    border-radius: 8px; padding: 16px; text-align: center;
    font-family: 'Consolas', monospace; font-size: 18px; font-weight: 700;
    color: var(--accent2); letter-spacing: 2px;
    margin: 16px 0;
    user-select: all;
}
.license-status {
    text-align: center; font-size: 13px; margin-bottom: 20px;
}
.status-active { color: var(--green); }
.status-expired { color: #f87171; }
.status-none { color: var(--text-dim); }

.dash-info {
    display: flex; justify-content: space-between;
    padding: 12px 0; border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.dash-info span:first-child { color: var(--text-dim); }
.dash-info span:last-child { font-weight: 600; }

.btn-logout {
    width: 100%; padding: 12px; margin-top: 20px;
    background: transparent; border: 1px solid var(--border); border-radius: 8px;
    color: var(--text-dim); font-size: 13px; font-weight: 500; font-family: 'Inter', sans-serif;
    cursor: pointer; transition: all 0.2s;
}
.btn-logout:hover { border-color: #f87171; color: #f87171; }

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes glow-pulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scale(1.05); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Hero animations */
.hero-glow { animation: glow-pulse 4s ease-in-out infinite; }
.hero-content .badge { animation: fadeUp 0.8s ease-out both; }
.hero-content h1 { animation: fadeUp 0.8s ease-out 0.15s both; }
.hero-content .hero-sub { animation: fadeUp 0.8s ease-out 0.3s both; }
.hero-content .hero-btns { animation: fadeUp 0.8s ease-out 0.45s both; }
.hero-content .hero-stats { animation: fadeUp 0.8s ease-out 0.6s both; }

/* Gradient text shimmer */
.gradient-text {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Feature cards stagger */
.feature-card {
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(124, 58, 237, 0.1);
}

/* Button glow */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-primary:hover::after { opacity: 1; }

/* Pricing card glow */
.pricing-card {
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.pricing-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 60px rgba(124, 58, 237, 0.15);
    transform: translateY(-4px);
}

/* Nav smooth */
.nav { transition: background 0.3s; }

/* Stat counter pulse */
.stat-num {
    transition: color 0.3s;
}
.stat:hover .stat-num { color: var(--accent2); }

/* FAQ smooth */
.faq-a { transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease; }

/* License key glow */
.license-key {
    transition: box-shadow 0.3s;
}
.license-key:hover {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}
