:root {
    --bg-dark: #0a0c10;
    --bg-darker: #050608;
    --primary: #00e5ff;
    --primary-glow: rgba(0, 229, 255, 0.4);
    --secondary: #7000ff;
    --accent: #ff007f;
    --text-main: #ffffff;
    --text-muted: #a0a5b5;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

.glow-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, transparent 70%);
    animation-delay: -5s;
}

.glow-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.15) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 5%) scale(1.1); }
}

/* Utility */
.highlight {
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(10, 12, 16, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

/* Buttons */
button, .btn-primary, .btn-secondary {
    cursor: pointer;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 4rem;
    gap: 4rem;
}
/* noUiSlider Overrides for Dark Theme */
.noUi-target { background: rgba(255,255,255,0.1); border: none; box-shadow: none; height: 8px; border-radius: 4px; }
.noUi-connect { background: var(--primary); }
.noUi-handle { border: 2px solid var(--primary); background: #0a0c10; border-radius: 50%; box-shadow: 0 0 10px var(--primary-glow); cursor: pointer; }
.noUi-horizontal .noUi-handle { width: 20px; height: 20px; right: -10px; top: -6px; }
.noUi-handle:before, .noUi-handle:after { display: none; }

.hero-content {
    flex: 1.2;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.main-stat {
    text-align: center;
    padding: 4rem;
    border-radius: 50%;
    width: 350px;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.main-stat h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
}

.main-stat .number {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0.5rem 0;
}

.main-stat .label {
    font-size: 0.9rem;
    color: var(--primary);
}

/* Sections */
section {
    padding: 6rem 5%;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

p.subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

/* Calculator Section */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.input-group label {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--primary);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

select {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 1rem;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

select option {
    background: var(--bg-dark);
    color: white;
}

.calc-info {
    background: rgba(0,0,0,0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--text-muted);
}

.calc-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

.result-box {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s;
}

.result-box:hover {
    transform: translateX(10px);
    background: rgba(255,255,255,0.05);
}

.highlighted-box {
    background: rgba(0, 229, 255, 0.05);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.highlighted-box .result-value {
    font-size: 3rem;
}

.tiny-text {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

/* Tier Grid */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tier-card {
    text-align: center;
    transition: transform 0.3s;
}

.tier-card:hover {
    transform: translateY(-10px);
}

.tier-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tier-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.requirement {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.cap {
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.1rem;
}

.cap strong {
    font-size: 1.5rem;
    color: var(--primary);
}

.tier-card.premium {
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255, 0, 127, 0.05) 100%);
    border-color: rgba(255, 0, 127, 0.3);
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.1);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 5%;
    text-align: center;
    background: rgba(0,0,0,0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-content .disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 900px) {
    .mobile-toggle { display: block; }
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero h1 { font-size: 3rem; }

    .cta-buttons { justify-content: center; }

    .calculator-container { grid-template-columns: 1fr; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 12, 16, 0.95);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-links.active { display: flex; }
}
