/* Landing Page Styles - Glassmorphism & SEO Rich */
:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --l-text: #0f172a;
    --l-text-muted: #475569;
    --l-accent: #2f7df6;
    --l-accent-glow: rgba(47, 125, 246, 0.3);
}

#landing-content {
    width: 100%;
    /* Pull up to overlap/blend with the editor section's bottom spacing */
    margin-top: -80px;
    font-family: var(--sans);
    color: var(--l-text);
    /* Start transparent to let body background show through, then fade to landing colors */
    background: linear-gradient(to bottom, rgba(238, 242, 255, 0) 0%, #eef2ff 40%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
    padding-top: 150px;
    /* Increased padding */
    /* Compensate for negative margin */
    z-index: 0;
    /* Ensure it stays behind editor elements if they overlap */

    /* Ultimate blend: Fade out the top edge completely using a mask */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 200px);
    mask-image: linear-gradient(to bottom, transparent 0%, black 200px);

    /* Ensure we don't block clicks on the editor above */
    pointer-events: none;
}

/* Ambient Background Blobs (Pseudo-elements on container) */
#landing-content::before,
#landing-content::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
}

#landing-content::before {
    background: linear-gradient(135deg, #bfdbfe 0%, #a5f3fc 100%);
    top: -200px;
    left: -200px;
}

#landing-content::after {
    background: linear-gradient(135deg, #e9d5ff 0%, #fbcfe8 100%);
    bottom: 20%;
    right: -200px;
}

.landing-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    /* Above background blobs */
}

/* Hero Section */
.landing-hero {
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--l-text);
    letter-spacing: -1.5px;
    /* Brand Gradient: Angled across the whole text */
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 20px 40px rgba(58, 123, 213, 0.2);
    /* Colored shadow matching gradient */
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.6;
    color: var(--l-text-muted);
    max-width: 760px;
    margin: 0 auto;
    /* Removed card style as requested */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

/* Feature Rows (Deep Dives) */
.landing-section {
    padding: 80px 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    position: relative;
}

.feature-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.feature-icon-small {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 14px;
    color: var(--l-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(47, 125, 246, 0.15);
}

.feature-icon-small svg {
    width: 28px;
    height: 28px;
}

.feature-heading {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--l-text-muted);
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
    color: var(--l-text-muted);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232f7df6'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.feature-list li strong {
    color: var(--l-text);
    font-weight: 700;
}

/* Glass Cards */
.visual-card {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4/3;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    box-shadow:
        0 20px 40px -5px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.visual-card:hover {
    transform: translateY(-10px) rotateY(-2deg);
    box-shadow:
        0 25px 50px -12px rgba(47, 125, 246, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

/* Card Visuals Internal */
.fake-msg {
    width: 300px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 20px 20px 20px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.fake-bubbles .fake-line {
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    margin-bottom: 10px;
    opacity: 0.7;
}

.fake-bubbles .fake-line.w-80 {
    width: 80%;
    background: linear-gradient(90deg, #e2e8f0, #f1f5f9);
}

.fake-bubbles .fake-line.w-60 {
    width: 60%;
    background: linear-gradient(90deg, #e2e8f0, #f1f5f9);
}

.fake-media {
    height: 120px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
}

.fake-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: shine 3s infinite;
}

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

    100% {
        background-position: -200% -200%;
    }
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.cal-item {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cal-item.active {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    border: none;
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.4);
    transform: scale(1.1);
}

.timer-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(#f97316 75%, #fed7aa 0);
    position: relative;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

.timer-circle::before {
    content: '';
    position: absolute;
    inset: 12px;
    background: white;
    border-radius: 50%;
}

.timer-circle svg {
    position: relative;
    width: 48px;
    height: 48px;
    color: #ea580c;
    z-index: 2;
}


/* Monetization Highlight (Dark Glass) */
.monetization-highlight {
    background: #0f172a;
    color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
    margin-top: 60px;
    position: relative;
    overflow: visible;
}

.monetization-highlight::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #0f172a);
    pointer-events: none;
}

.monetization-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-title.white {
    font-size: 42px;
    text-shadow: 0 0 80px rgba(255, 255, 255, 0.2);
}

.monetization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.monetization-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.monetization-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 60%);
    pointer-events: none;
}

.monetization-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.m-icon {
    font-size: 48px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.1));
}

/* FAQ Section (Glass Cards) */
.faq-section {
    background: transparent;
    padding-bottom: 120px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.faq-question {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--l-text);
}

.faq-answer {
    font-size: 16px;
    color: var(--l-text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 40px;
    }

    .feature-row {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 100px;
    }

    .feature-row.reverse {
        flex-direction: column;
    }

    .monetization-grid {
        grid-template-columns: 1fr;
    }
}