:root {
    --landing-hero-overlay: rgba(10, 10, 12, 0.85);
    --text-balance: balance;
    --hero-bg: radial-gradient(circle at top right, var(--slate-100), var(--slate-50));
    --hero-text: var(--slate-900);
}

.dark-mode {
    --hero-bg: radial-gradient(circle at top right, #0d0d10, #050505);
    --hero-text: white;
}

/* Modern Reset & Utils */
h1,
h2,
h3,
h4,
.lead {
    text-wrap: var(--text-balance);
}

/* Global Button Fix */
.btn {
    text-align: center !important;
    justify-content: center;
}

.section-spacing {
    padding: 3rem 0;
}

@media (min-width: 992px) {
    .section-spacing {
        padding: 6rem 0;
    }
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    min-height: 90vh;
    /* Consistent height */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--hero-bg);
    padding: 3rem 0;
    /* Add padding for mobile content safety */
    transition: background 0.3s ease;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    opacity: 0.4;
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    opacity: 0.3;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 300px;
    height: 300px;
    opacity: 0.2;
    animation-delay: -10s;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.display-hero {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--hero-text);
    margin-bottom: 2rem;
    font-family: var(--term-font);
}

.dark-mode .hero-mockup {
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
}

.hero-mockup {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease-out, background 0.3s ease, box-shadow 0.3s ease;
    background: var(--term-surface);
    border: 1px solid var(--term-border);
    overflow: hidden;
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
}

/* Mockup UI Elements */
.mock-card {
    background: var(--slate-50);
    border-radius: 8px;
    border: 1px solid var(--term-border);
    box-shadow: none;
    overflow: hidden;
    transition: background 0.3s ease;
}

.dark-mode .mock-card {
    background: rgba(255, 255, 255, 0.02);
}

.mock-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid currentColor;
    text-transform: uppercase;
}

.mock-ai-card {
    background: var(--indigo-50);
    border-left: 4px solid var(--term-cyan);
}

.dark-mode .mock-ai-card {
    background: rgba(93, 228, 200, 0.05);
}

/* Mental Load Section */
.mental-load-card {
    background: var(--term-surface);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--term-border);
    height: 100%;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .mental-load-card {
        padding: 3rem;
    }
}

.mental-load-card:hover {
    transform: translateY(-5px);
    border-color: var(--term-cyan);
    box-shadow: 0 10px 30px rgba(93, 228, 200, 0.1);
}


@media (min-width: 768px) {
    .display-hero {
        font-size: 3.5rem;
    }
}

@media (min-width: 992px) {
    .display-hero {
        font-size: 5rem;
    }

    .hero-wrapper {
        min-height: 90vh;
        padding: 0;
    }
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: auto auto;
        gap: 1.5rem;
    }

    .bento-col-3 {
        grid-column: span 3;
    }

    .bento-col-4 {
        grid-column: span 4;
    }

    .bento-col-6 {
        grid-column: span 6;
    }

    .bento-col-8 {
        grid-column: span 8;
    }

    .bento-col-12 {
        grid-column: span 12;
    }

    .bento-row-2 {
        grid-row: span 2;
    }
}

.feature-card {
    background: var(--term-surface);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid var(--term-border);
    box-shadow: none;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .feature-card {
        padding: 2rem;
    }
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--term-cyan);
    box-shadow: 0 10px 30px rgba(93, 228, 200, 0.05);
}

.feature-icon-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.section-icon-circle {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: bold;
}

/* AI Smart Interface */
.ai-smart-interface {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 24px;
    box-shadow: var(--app-shadow-hover);
    overflow: hidden;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.ai-interface-header {
    background: var(--app-surface-hover);
    border-bottom: 1px solid var(--app-border);
    padding: 1rem 1.5rem;
}

.ai-scroll-content {
    position: relative;
}

.ai-list-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--app-border);
    background: var(--app-surface);
    transition: background 0.2s ease;
}

.ai-list-item:hover {
    background: var(--app-surface-hover);
}

.ai-list-item:last-child {
    border-bottom: none;
}

.ai-magic-pill {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    color: var(--indigo-600);
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dark-mode .ai-magic-pill {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    color: var(--indigo-300);
    border-color: rgba(99, 102, 241, 0.3);
}

.ai-suggestion-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--indigo-500);
}

.dark-mode .ai-suggestion-text {
    color: var(--indigo-400);
}

/* Cleaned old styles */
/* Fully cleaned old styles */

.ai-notification-card:nth-child(1) {
    animation-delay: 0s;
}

.ai-notification-card:nth-child(2) {
    animation-delay: 1.5s;
    border-left-color: var(--term-purple);
}

.ai-notification-card:nth-child(3) {
    animation-delay: 3s;
    border-left-color: var(--term-orange);
}

@keyframes slideInStack {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    10% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    80% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    90% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}

/* Pricing */
.pricing-card {
    border: 1px solid var(--term-border) !important;
    border-radius: 16px;
    background: var(--term-surface);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--term-cyan) !important;
}

.pricing-toggle {
    background: rgba(255, 255, 255, 0.02);
    padding: 5px;
    border-radius: 99px;
    display: inline-flex;
    position: relative;
    border: 1px solid var(--term-border);
}

.pricing-toggle button {
    border: none;
    background: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 99px !important;
    color: var(--term-dim) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: var(--term-font);
}

@media (min-width: 576px) {
    .pricing-toggle button {
        padding: 0.75rem 2rem;
    }
}

.pricing-toggle button.active {
    background: var(--term-cyan) !important;
    color: #fff !important;
}

.w-sm-auto {
    width: auto !important;
}

.border-dashed {
    border-style: dashed !important;
    border-width: 2px;
    border-color: rgba(0, 0, 0, 0.1);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Testimonials */
.testimonial-card {
    background: var(--term-surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--term-border);
    height: 100%;
    transition: all 0.3s ease;
}

/* FAQ */
.accordion-button:not(.collapsed) {
    background-color: var(--term-surface) !important;
    color: var(--term-cyan) !important;
    font-weight: bold;
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    filter: invert(72%) sepia(91%) saturate(336%) hue-rotate(113deg) brightness(101%) contrast(94%);
}

.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

.accordion-item {
    background: transparent !important;
    border: 1px solid var(--term-border) !important;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--term-text) !important;
    background: var(--term-surface) !important;
    border: none !important;
    font-family: var(--term-font);
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background: var(--term-bg);
    color: var(--term-dim);
    border-top: 1px solid var(--term-border);
}

.new-badge-container {
    background: var(--slate-200);
    border-radius: 8px;
    font-family: var(--term-font);
    transition: background 0.3s ease;
}

.dark-mode .new-badge-container {
    background: rgba(255, 255, 255, 0.05);
}

.hero-lead {
    max-width: 500px;
    font-size: 1.15rem;
    transition: color 0.3s ease;
    color: var(--slate-700) !important;
}

.dark-mode .hero-lead {
    color: var(--app-text-muted) !important;
}

/* CTA Section Enhancements */
.final-cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 6rem 0;
    color: white !important;
}

.dark-mode .final-cta-section {
    background: linear-gradient(135deg, #3730a3 0%, #5b21b6 100%);
}

.cta-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.4;
}

.cta-blob-1 {
    width: 300px;
    height: 300px;
    background: #22d3ee;
    top: -100px;
    left: -100px;
}

.cta-blob-2 {
    width: 400px;
    height: 400px;
    background: #f472b6;
    bottom: -150px;
    right: -100px;
}

.final-cta-content {
    position: relative;
    z-index: 2;
}

.final-cta-section h2,
.final-cta-section p {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-btn-white {
    background: white;
    color: #4f46e5 !important;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}