/* ===== CSS VARIABLES ===== */
:root {
    --color-black: #000000;
    --color-dark: #0a0a0a;
    --color-darker: #050505;
    --color-white: #ffffff;
    --color-white-dim: #e0e0e0;
    --color-glow: #ffffff;
    --color-glow-secondary: #cccccc;
    --radiant-glow: rgba(255, 255, 255, 0.6);
    --radiant-glow-strong: rgba(255, 255, 255, 0.9);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== BACKGROUND EFFECTS ===== */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 75% 25%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: twinkle 20s ease-in-out infinite;
}

.radiant-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ===== NAVIGATION ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.2em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-white);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--radiant-glow);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== GLOW TEXT EFFECT ===== */
.glow-text {
    color: var(--color-white);
    text-shadow: 
        0 0 10px var(--radiant-glow),
        0 0 20px var(--radiant-glow),
        0 0 30px var(--radiant-glow),
        0 0 40px var(--radiant-glow-strong);
}

.animated-glow {
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        text-shadow: 
            0 0 10px var(--radiant-glow),
            0 0 20px var(--radiant-glow),
            0 0 30px var(--radiant-glow);
    }
    50% {
        text-shadow: 
            0 0 20px var(--radiant-glow-strong),
            0 0 30px var(--radiant-glow-strong),
            0 0 40px var(--radiant-glow-strong),
            0 0 50px var(--radiant-glow-strong);
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 8rem 2rem 4rem;
}

.hero-content {
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 6rem;
    font-weight: bold;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-white-dim);
    letter-spacing: 0.1em;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--color-white-dim);
}

.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.radiant-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    box-shadow: 
        0 0 50px rgba(255, 255, 255, 0.3),
        0 0 100px rgba(255, 255, 255, 0.2),
        0 0 150px rgba(255, 255, 255, 0.1);
    animation: radiant-pulse 4s ease-in-out infinite;
}

@keyframes radiant-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* ===== BUTTONS ===== */
.cta-button {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.6),
        0 0 60px rgba(255, 255, 255, 0.4);
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    }
}

/* ===== SECTIONS ===== */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 0.15em;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

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

.radiant-icon {
    text-shadow: 
        0 0 10px var(--radiant-glow),
        0 0 20px var(--radiant-glow);
    animation: icon-float 3s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.feature-card p {
    color: var(--color-white-dim);
    line-height: 1.8;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    background: rgba(255, 255, 255, 0.02);
    padding: 6rem 2rem;
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.radiant-number {
    animation: radiant-spin 8s linear infinite;
}

@keyframes radiant-spin {
    0% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 255, 255, 0.6); }
    100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--color-white-dim);
    line-height: 1.8;
}

.step-connector {
    flex: 0 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-white), transparent);
    position: relative;
}

.connector-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--color-white);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    padding: 6rem 2rem;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--color-white-dim);
    margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--color-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--color-white);
}

.footer-section p {
    color: var(--color-white-dim);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--color-white-dim);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-white);
    text-shadow: 0 0 10px var(--radiant-glow);
}

.tagline-small {
    font-style: italic;
    color: var(--color-white-dim);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white-dim);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-connector {
        transform: rotate(90deg);
        flex: 0 0 50px;
    }
    
    .radiant-circle {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}
