/* =========================================
   LANDING PAGE SPECIFIC STYLES
   (Cinematic, Parallax, Glassmorphism)
   ========================================= */

/* Premium Hero */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* 3D Abstract Background */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: -1;
    animation: float 10s infinite ease-in-out;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.4);
    /* Add depth */
}

/* Fallback Animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--primary);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--secondary);
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
}

[data-theme="light"] .hero h1 {
    background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    opacity: 0;
    animation: fadeUp 1s ease-out 0.3s forwards;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s ease-out 0.6s forwards;
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.25rem;
}

/* How It Works (Steps) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.step-card {
    position: relative;
    padding: 2rem;
    border-left: 2px solid var(--border);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 0;
    left: 1rem;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: var(--surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: 0.3s;
}

.pricing-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.1) 0%, transparent 100%);
    transform: scale(1.05);
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 1rem 0;
}

.price span[id*="period"] {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer {
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
}

/* Cursor & Typewriter Override */
.cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: var(--primary);
    font-weight: 100;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero h1 {
    opacity: 1 !important;
    animation: none !important;
}

/* Gradient text for the dynamic part */
#typewriter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Water Ripple Effect */
.ripple {
    position: fixed;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 60%);
    border: 1px solid rgba(6, 182, 212, 0.1);
    pointer-events: none;
    z-index: 9999;
    animation: ripple-anim 1s linear forwards;
}

@keyframes ripple-anim {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}