* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #73C8EB;
    --primary-dark: #37B1DA;
    --bg: #08080a;
    --text: #fff;
    --dim: #666;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

/* Background */
.bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: #000;
}

#fireCanvas {
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(8,8,10,0.3) 0%, 
        rgba(8,8,10,0.6) 50%,
        rgba(8,8,10,0.95) 100%
    );
}

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    transition: background 0.3s;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #000;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--dim);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-auth {
    display: flex;
    gap: 10px;
}

.btn-login {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-register {
    padding: 10px 20px;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: #000;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-register:hover {
    background: #fff;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 80px;
    gap: 60px;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(115,200,235,0.1);
    border: 1px solid rgba(115,200,235,0.3);
    border-radius: 50px;
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-size: 90px;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 25px;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.hero p {
    font-size: 18px;
    color: var(--dim);
    margin-bottom: 35px;
    line-height: 1.6;
}

.buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    padding: 16px 40px;
    background: var(--primary);
    border-radius: 50px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(115,200,235,0.3);
}

.btn-secondary {
    padding: 16px 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero circles */
.hero-right {
    position: relative;
    width: 350px;
    height: 350px;
    flex-shrink: 0;
}

.circle {
    position: absolute;
    border: 1px solid rgba(115,200,235,0.25);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

.c1 { width: 150px; height: 150px; }
.c2 { width: 250px; height: 250px; animation-delay: 0.5s; }
.c3 { width: 350px; height: 350px; animation-delay: 1s; }

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.6; }
}

.icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 0 60px rgba(115,200,235,0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
}

/* Features */
.features {
    padding: 100px 80px;
}

.features h2, .pricing h2 {
    font-size: 36px;
    margin-bottom: 50px;
}

.features h2 span, .pricing h2 span {
    color: var(--primary);
    font-size: 14px;
    margin-right: 15px;
}

.feature {
    display: grid;
    grid-template-columns: 50px 150px 1fr 40px;
    align-items: center;
    gap: 30px;
    padding: 25px 15px;
    border-top: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.feature:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.feature:hover {
    background: rgba(115,200,235,0.05);
    padding-left: 25px;
}

.feature:hover .f-name { color: var(--primary); }
.feature:hover .f-arrow { transform: translateX(5px); color: var(--primary); }

.f-num { color: var(--dim); font-size: 14px; }
.f-name { font-size: 20px; font-weight: 600; transition: color 0.3s; }
.f-desc { color: var(--dim); font-size: 14px; }
.f-arrow { color: var(--dim); font-size: 18px; transition: all 0.3s; }

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 80px;
    background: rgba(115,200,235,0.03);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.stat { text-align: center; }

.stat-num {
    display: block;
    font-size: 50px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Pricing */
.pricing {
    padding: 100px 80px;
    text-align: center;
}

.pricing-desc {
    color: var(--dim);
    margin-top: -30px;
    margin-bottom: 50px;
}

.plans {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.plan {
    width: 280px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    transition: all 0.3s;
    position: relative;
}

.plan:hover {
    border-color: rgba(115,200,235,0.3);
    transform: translateY(-5px);
}

.plan.popular {
    border-color: var(--primary);
    background: rgba(115,200,235,0.05);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--primary);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.plan-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
}

.plan-name {
    display: block;
    font-size: 14px;
    color: var(--dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.plan-price {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
}

.plan-period {
    font-size: 13px;
    color: var(--dim);
}

.plan-features {
    list-style: none;
    margin-bottom: 25px;
}

.plan-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--dim);
}

.plan-btn {
    width: 100%;
    padding: 14px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.plan-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

.plan.popular .plan-btn {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

.plan.popular .plan-btn:hover {
    background: #fff;
    border-color: #fff;
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
    color: var(--dim);
}

.footer-logo {
    color: var(--primary);
    font-weight: 700;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 380px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--dim);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text);
}

.modal-content h3 {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form input {
    padding: 14px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.auth-form input::placeholder {
    color: var(--dim);
}

.auth-btn {
    padding: 14px;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: #000;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 5px;
}

.auth-btn:hover {
    background: #fff;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--dim);
}

.auth-switch a {
    color: var(--primary);
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 900px) {
    .nav { padding: 15px 25px; }
    .nav-links { display: none; }
    
    .hero {
        flex-direction: column;
        padding: 120px 25px 60px;
        text-align: center;
    }
    
    .hero h1 { font-size: 50px; }
    
    .hero-right {
        width: 250px;
        height: 250px;
        margin-top: 40px;
    }
    
    .c1 { width: 100px; height: 100px; }
    .c2 { width: 175px; height: 175px; }
    .c3 { width: 250px; height: 250px; }
    
    .icon { width: 70px; height: 70px; font-size: 30px; }
    
    .buttons { justify-content: center; }
    
    .features, .pricing { padding: 60px 25px; }
    
    .feature {
        grid-template-columns: 1fr;
        gap: 5px;
        text-align: left;
    }
    
    .f-num, .f-arrow { display: none; }
    
    .stats {
        flex-direction: column;
        gap: 30px;
        padding: 50px 25px;
    }
    
    .plans { flex-direction: column; align-items: center; }
    
    footer {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        text-align: center;
    }
    
    .modal-content { margin: 20px; }
}
