/* Landing Page Variables */
:root {
    --bg-dark: #000000;
    --bg-card: #0a0a0a;
    --primary: #ffffff;
    --primary-hover: #e5e5e5;
    --text-main: #ffffff;
    --text-muted: #ffffff;
    --border: #27272a;
    --gradient: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

html {
    scroll-behavior: smooth;
    background-color: #000000;
}

/* Scroll Animation Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

body.landing-page {
    background-color: #000000;
    min-height: 100vh;
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Remove dramatic orbs for complete black look */
body.landing-page::before {
    display: none;
}

/* Noise Texture Overlay Removed */
body.landing-page::after {
    display: none;
}

/* Particles restricted to hero section */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Header */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Remove colored gradient line */
.landing-header::before {
    display: none;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}

.landing-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #fff;
}

.btn-landing {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.btn-outline {
    border: 1px solid var(--border);
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.btn-primary-glow {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.btn-primary-glow:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
}

/* Hero Section */
.hero-section {
    padding: 160px 20px 100px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: transparent;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Flowing Border Animation */
@keyframes borderFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.feature-card {
    background: transparent;
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    border: none;
    z-index: 1;
}

/* The Border Pseudo-element */
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    /* Width of the border */
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899, #6366f1);
    background-size: 200% 100%;
    animation: borderFlow 4s linear infinite;

    /* Create the border shape */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;

    pointer-events: none;
}


/* Pricing Toggle - Improved */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 30px;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.toggle-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s;
    cursor: pointer;
}

.toggle-label.active {
    color: #fff;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.badge-save {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: white;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 8px;
    vertical-align: middle;
    box-shadow: 0 2px 10px rgba(236, 72, 153, 0.3);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 36px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1f2937;
    transition: .4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.slider:before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    left: 4px;
    bottom: 3px;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    transition: .4s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

input:checked+.slider {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    border-color: rgba(99, 102, 241, 0.5);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 36px;
}

.slider.round:before {
    border-radius: 50%;
}

.feature-card:hover {
    transform: translateY(-5px);
    /* No border-color change on hover since it's a pseudo, maybe brighten gradient opacity? */
}

/* Hover effect on the border brightness or speed? */
.feature-card:hover::before {
    filter: brightness(1.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    color: #ffffff;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
    animation: fadeInUp 0.8s ease-out, float 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: #ffffff;
    background-clip: text;
    letter-spacing: -3px;
    text-shadow: 0 0 80px rgba(255, 255, 255, 0.3);
}


.hero-subtitle {
    font-size: 20px;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    line-height: 1.7;
}

/* ... existing styles ... */

.section-title p {
    font-size: 18px;
    color: #ffffff;
    max-width: 500px;
    margin: 0 auto;
}

/* ... existing styles ... */

/* Footer styles moved to footer.css */

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.btn-lg {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Primary CTA Button - Glowing */
/* Primary CTA Button - Glowing */
.btn-primary-glow.btn-lg {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    box-shadow:
        0 0 20px rgba(99, 102, 241, 0.4),
        0 0 40px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: none;
}

.btn-primary-glow.btn-lg:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 30px rgba(99, 102, 241, 0.6),
        0 0 60px rgba(139, 92, 246, 0.3),
        0 20px 40px rgba(99, 102, 241, 0.2);
}

/* Force Desktop Layout for Buttons */
@media (min-width: 769px) {
    .hero-actions {
        flex-direction: row !important;
        gap: 20px !important;
    }

    .btn-lg {
        width: auto !important;
        min-width: 160px;
        /* Consistent minimum width */
    }
}

/* Outline Button - Glass */
.btn-outline.btn-lg {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.btn-outline.btn-lg:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.5);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

/* Pricing Section */
.pricing-section {
    padding: 100px 20px;
    background: transparent;
    position: relative;
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.2);
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -1px;
}

.section-title p {
    font-size: 18px;
    color: #ffffff;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: transparent;
    /* Fully transparent as requested */
    backdrop-filter: none;
    border: none;
    /* Handled by pseudo element */
    border-radius: 20px;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

/* Gradient Border for Pricing Cards */
.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #6366f1);
    /* Blue Gradient */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(59, 130, 246, 0.2);
    /* Blue glow */
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.popular {
    background: transparent;
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
}

.plan-price span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
    -webkit-text-fill-color: initial;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    flex: 1;
}

.features-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 15px;
}

.features-list li svg {
    color: var(--primary);
    width: 20px;
    height: 20px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Footer Override */
/* Footer Override handled in footer.css */

/* Footer overrides removed - use footer.css */

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    .hero-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .landing-header {
        padding: 0 20px;
        height: 64px;
    }

    .landing-nav {
        display: none;
    }

    .landing-header {
        justify-content: center;
    }

    .landing-header .landing-brand {
        margin: 0 auto;
    }

    .hero-section {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        padding: 0 20px;
    }

    .btn-lg {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }

    .features-section,
    .pricing-section {
        padding: 60px 20px;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 15px;
        padding: 0 10px;
    }

    .feature-card {
        padding: 24px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .plan-price {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .section-title h2 {
        font-size: 28px;
    }
}