/* --- Main Layout --- */
.content-wrapper {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

/* --- Hero Section --- */
.hero-section {
    text-align: center;
    padding: 60px 0;
}

.hero-title {
    color: var(--primary-blue);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* --- Waitlist Form --- */
.waitlist-container {
    background-color: var(--surface-dark);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333;
    max-width: 500px;
    margin: 0 auto;
}

.waitlist-label {
    margin-bottom: 15px;
    font-weight: 600;
}

.waitlist-form {
    display: flex;
    gap: 10px;
}

.waitlist-form input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: var(--bg-deep-black);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
}

.waitlist-form input:focus {
    outline: 2px solid var(--primary-blue);
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 4px 12px var(--primary-blue-glow));
    opacity: 0.95;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid #555;
}

.form-feedback {
    margin-top: 10px;
    font-size: 0.9rem;
}
.form-feedback.success { color: #4CAF50; }
.form-feedback.error { color: #EF5350; }

/* --- Features Section --- */
.features-section {
    margin-top: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--surface-dark);
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid var(--dream-purple);
}

.accent-text {
    color: var(--dream-purple);
    margin-bottom: 10px;
}

/* --- Footer --- */
.main-footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #333;
    margin-top: 40px;
    color: var(--text-muted);
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: underline;
    margin: 0 10px;
}

/* --- Cookie Banner --- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--surface-dark);
    padding: 20px;
    border-top: 2px solid var(--primary-blue);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-banner.is-visible {
    display: flex;
}

.cookie-actions {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-button { display: block; }
    .hero-title { font-size: 2rem; word-break: break-word; }
    .waitlist-form { flex-direction: column; }
    .hero-section { padding: 40px 20px; }
}

/* --- Help / How It Works Page --- */
.help-hero {
    padding: 40px 0 20px 0;
}

.text-center {
    text-align: center;
}

.formula-section {
    max-width: 600px;
    margin: 0 auto;
}

.logic-breakdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.logic-item {
    background: var(--surface-dark);
    padding: 25px;
    border-left: 4px solid var(--primary-blue);
    border-radius: 8px;
}

.item-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

/* Math Operators for Visual Flow */
.math-operator {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.math-operator span {
    background-color: var(--bg-deep-black);
    color: var(--text-muted);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    padding: 5px 15px;
    border: 1px solid #333;
    border-radius: 20px;
}

.math-operator.equals span {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    background-color: rgba(30, 136, 229, 0.1);
}

/* The Final Output Card */
.result-item {
    border-left: none;
    border-top: 4px solid var(--primary-blue);
    background: linear-gradient(180deg, var(--surface-dark) 0%, var(--bg-deep-black) 100%);
    text-align: center;
    padding: 35px 25px;
}

.result-title {
    color: var(--primary-blue);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.faq-cta {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #333;
}

.faq-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* --- Legal & Content Pages --- */
.page-header {
    padding: 40px 0 20px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 40px;
}

.legal-content {
    max-width: 700px;
    margin: 0 auto;
}

.legal-content p {
    margin-bottom: 24px;
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.legal-content h2 {
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-white);
    font-size: 2rem;
}

.legal-content h3 {
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 12px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.1rem;
}

.legal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.content-block {
    background: var(--surface-dark);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.content-block h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.content-block h3 {
    font-size: 1.1rem;
    margin: 15px 0 10px 0;
    color: var(--text-muted);
}

.content-block p {
    margin-bottom: 15px;
}

/* Clear, highly readable lists */
.clean-list {
    list-style: none;
    margin-bottom: 15px;
}

.clean-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
}

.clean-list li::before {
    content: "•";
    color: var(--primary-blue);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -4px;
}

.numbered-list {
    margin-left: 20px;
    margin-bottom: 15px;
}

.numbered-list li {
    margin-bottom: 10px;
    padding-left: 8px;
}

/* Danger Zone styling for Account Deletion */
.danger-zone {
    border-left: 4px solid #CF6679; /* Error Red */
}

.danger-zone h2 {
    color: #CF6679;
}

/* --- Interactive Feature Cards --- */
.interactive-card {
    display: block;
    text-decoration: none;
    color: var(--text-white);
    transition: transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.interactive-card p {
    color: var(--text-muted);
}

.interactive-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--primary-blue);
}

.card-action {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: 'Poppins', sans-serif;
}

/* --- Transaction Visual Demo (SmartClean) --- */
.transaction-demo {
    background-color: var(--bg-deep-black);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.tx-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tx-messy {
    display: inline-block;
    background-color: #2A2A2A;
    color: #CF6679; /* Error Red */
    padding: 10px 15px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.tx-arrow {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin: 15px 0;
}

.tx-clean {
    display: inline-block;
    background-color: rgba(30, 136, 229, 0.1);
    border: 1px solid var(--primary-blue);
    color: var(--text-white);
    padding: 12px 25px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

/* --- Hero Visual Integration (Radial Mask) --- */
.hero-visual-container, .hero-pulse-image {
    display: none;
}

.hero-section {
    position: relative;
    text-align: center;
    padding: 100px 20px; /* Increased padding for visual breathing room */
    
    /* Background Image with a dark overlay for readability */
    background: radial-gradient(circle at 50% -20%, rgba(139, 92, 246, 0.15) 0%, rgba(11, 14, 20, 1) 60%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Ensuring the section stands out from the nav */
    border-bottom: 1px solid var(--surface-dark);
}

/* --- Micro-Animations --- */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.4s ease-in-out;
    border-color: #EF5350 !important;
}

@keyframes float {
    0% { transform: translateY(0px); filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4)); }
    50% { transform: translateY(-12px); filter: drop-shadow(0 20px 32px rgba(37, 99, 235, 0.3)); }
    100% { transform: translateY(0px); filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4)); }
}

.ui-mockup.float {
    animation: float 6s ease-in-out infinite;
}

/* --- Loading Spinner --- */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

  /* --- Bot Protection (Honeypot) --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Promo Banner Styles */
.promo-banner {
    padding: 60px 20px;
    background-color: var(--bg-deep-black);
}

.promo-card {
    background-color: var(--surface-dark);
    border: 2px solid var(--dream-purple);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.promo-badge {
    display: inline-block;
    background-color: var(--dream-purple);
    color: var(--text-white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.promo-code-container {
    background: rgba(30, 136, 229, 0.1);
    border: 1px dashed var(--primary-blue);
    display: inline-block;
    padding: 15px 30px;
    border-radius: 12px;
    margin: 25px 0;
}

.promo-code {
    font-family: 'monospace';
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    letter-spacing: 4px;
}

.promo-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature-tag {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.form-feedback.success { 
    color: #4CAF50;
    line-height: 1.4;
    padding: 15px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 8px;
    margin-top: 20px;
}

   /* Specific status colors for visual clarity */
    :root {
        --status-safe: #4CAF50;
        --status-pacing: #FFC107;
        --status-protected: #F44336;
    }

    .feature-stream {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-top: 40px;
    }

    .feature-module {
        background-color: var(--surface-dark);
        border-radius: 24px;
        padding: 40px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .module-tag {
        color: var(--primary-blue);
        font-size: 0.85rem;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 1.5px;
    }

    .feature-module h2 {
        font-size: 1.85rem;
        color: var(--text-white);
        margin: 0;
    }

    .module-text {
        color: var(--text-muted);
        font-size: 1.15rem;
    }

/* --- Scroll-Driven Animations --- */
@supports (animation-timeline: view()) {
    .feature-module, .content-block, .logic-item {
        animation: fade-in-up linear forwards;
        animation-timeline: view();
        animation-range: entry 5% cover 25%;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}    line-height: 1.7;
        margin: 0;
    }

    .status-tray {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 8px;
    }

    .status-chip {
        padding: 8px 18px;
        border-radius: 50px;
        font-size: 0.9rem;
        font-weight: 600;
        color: #FFFFFF;
    }

    .status-chip.safe { background-color: var(--status-safe); }
    .status-chip.pacing { background-color: var(--status-pacing); color: #000000; }
    .status-chip.protected { background-color: var(--status-protected); }

    .intelligence-list {
        list-style: none;
        padding: 0;
        margin-top: 8px;
    }

    .intelligence-list li {
        padding-left: 28px;
        position: relative;
        margin-bottom: 12px;
        color: var(--text-muted);
        font-size: 1.05rem;
    }

    .intelligence-list li::before {
        content: "→";
        position: absolute;
        left: 0;
        color: var(--primary-blue);
        font-weight: bold;
    }

    .accent-module {
        border: 2px solid var(--dream-purple);
        background: linear-gradient(145deg, var(--surface-dark), rgba(126, 87, 194, 0.05));
    }

    @media (max-width: 600px) {
        .feature-module { padding: 32px 24px; }
        .feature-module h2 { font-size: 1.5rem; }
    }

    /* --- Comparison Section (Us vs Them) --- */
.waitlist-label.text-center {
    color: var(--text-white);
}

.comparison-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.comparison-card {
    padding: 25px;
    border-radius: 12px;
}

.card-them {
    background: var(--bg-deep-black);
    border: 1px solid #333;
}

.card-us {
    background: var(--surface-dark);
    border: 2px solid var(--primary-blue);
    box-shadow: 0 4px 20px rgba(30, 136, 229, 0.15);
}

.comparison-title {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--text-white);
}

.us-title {
    color: #64B5F6; /* Lighter blue for AA contrast on dark backgrounds */
}

.comparison-list {
    list-style: none;
    padding: 0;
    color: var(--text-muted);
}

.list-us {
    color: var(--text-white);
}

.comparison-item {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.comparison-icon {
    position: absolute;
    left: 0;
    color: #CF6679; /* Error Red */
    font-weight: bold;
}

.icon-us {
    color: var(--primary-blue);
}

/* --- Help Hub & FAQ Styles --- */
.guides-section, .faq-section, .support-cta-section {
    margin-bottom: 60px;
}

.section-title {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Guides Grid */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.guide-card {
    background-color: var(--surface-dark);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 30px;
    text-decoration: none;
    color: var(--text-white);
    transition: transform 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.guide-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
}

.guide-card h3 {
    color: var(--text-white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.guide-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Zero-JS FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--surface-dark);
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none; /* Hides default arrow in some browsers */
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Custom Chevron for details/summary */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "▼";
    color: var(--primary-blue);
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--text-muted);
    border-top: 1px solid #333;
    margin-top: 10px;
    padding-top: 20px;
}

.faq-answer ul {
    margin-top: 10px;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* Support CTA Box */
.support-box {
    background: linear-gradient(180deg, var(--surface-dark) 0%, var(--bg-deep-black) 100%);
    border: 1px solid #333;
    border-top: 4px solid var(--dream-purple);
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.support-box h2 {
    margin-bottom: 15px;
}

.support-box p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.beta-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.8;
}

/* --- Premium Aesthetics (Glassmorphism & Gradients) --- */
.glass-panel {
    background: rgba(21, 26, 35, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 16px;
}

.text-gradient {
    background: linear-gradient(135deg, #64B5F6 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- 5 Pillars Section --- */
.pillars-section {
    padding: 80px 20px;
    background: var(--bg-deep-black);
    position: relative;
    overflow: hidden;
}

.pillars-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pillar-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--dream-purple);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
}

.pillar-card.reverse {
    flex-direction: row-reverse;
    border-left: none;
    border-right: 4px solid var(--primary-blue);
}

.pillar-content {
    flex: 1;
}

.pillar-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.pillar-number {
    font-size: 3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #FFFFFF 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Waterfall Demo Animation --- */
.waterfall-demo-section {
    padding: 80px 20px;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.1) 0%, var(--bg-deep-black) 70%);
    text-align: center;
}

.waterfall-container {
    max-width: 400px;
    margin: 40px auto;
    position: relative;
}

.wf-bucket {
    background: var(--surface-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.wf-bucket h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.wf-drop {
    width: 4px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary-blue) 0%, transparent 100%);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0;
}

/* Hardcoded animation delays for the flow effect */
.wf-drop-1 { top: 60px; animation: wf-fall 3s infinite 0s; }
.wf-drop-2 { top: 160px; animation: wf-fall 3s infinite 1s; }
.wf-drop-3 { top: 260px; animation: wf-fall 3s infinite 2s; }

.wf-final-bucket {
    border: 2px solid #4CAF50;
    background: rgba(76, 175, 80, 0.05);
}

@keyframes wf-fall {
    0% { transform: translate(-50%, -20px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translate(-50%, 40px); opacity: 0; }
}

@media (max-width: 768px) {
    .pillar-card, .pillar-card.reverse {
        flex-direction: column;
        text-align: center;
    }
    .pillar-card { border-left: none; border-top: 4px solid var(--dream-purple); }
    .pillar-card.reverse { border-right: none; border-top: 4px solid var(--primary-blue); }
}

/* --- Layout Utility Classes (Extracted from Inline Styles) --- */
.guides-link-all {
    border-top: 1px solid #333;
    margin-top: 5px;
    color: var(--primary-blue);
}

.help-nav-link {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    transition: color 0.2s;
}

.help-nav-link:hover,
.nav-search-btn:hover,
#search-close:hover {
    color: var(--primary-blue) !important;
}

#search-close {
    color: #fff; /* Reset from hover state */
}

.search-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.search-form-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    text-align: center;
}

.search-input-field {
    width: 100%;
    padding: 20px 10px;
    font-size: 2rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--primary-blue);
    color: #fff;
    outline: none;
    text-align: center;
    font-family: inherit;
}

.search-hint-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 20px;
    letter-spacing: 1px;
}

.social-share-container {
    text-align: center;
    margin: 4rem 0 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color, #333);
}

.social-share-heading {
    margin-bottom: 1rem;
}

.btn-facebook {
    background-color: #1877F2;
    border-color: #1877F2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-credits-link {
    color: var(--text-muted);
}

/* --- Home Page & Global Utility Styles (Extracted from Inline Styles) --- */
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}
.hero-content-inner {
    padding-right: 20px;
    text-align: center;
}
.hero-content-inner .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.25rem;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}
@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-content-inner {
        padding-right: 0;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 10px;
    }
}

.home-module-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 18px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 20px;
    font-size: 0.9rem;
}

.mb-25 {
    margin-bottom: 25px;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    padding: 16px 32px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    border-radius: 30px;
}

.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    padding: 16px 32px;
    border-radius: 30px;
}

.hero-visual-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-mockup-img {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
    z-index: 5;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.hero-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    height: 85%;
    background: radial-gradient(circle, rgba(139,92,246,0.3) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    filter: blur(40px);
}

.section-title-lg {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-subtitle-max {
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.wf-bucket-red {
    border-color: #EF5350;
}

.wf-bucket-yellow {
    border-color: #FFC107;
}

.text-lg-green {
    font-size: 1.5rem;
}

.text-muted-white {
    color: #fff;
}

.text-center-mb-60 {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle-max-lg {
    max-width: 700px;
    margin: 0 auto;
}

.pillar-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pillar-icon-blue {
    width: 80px; height: 80px; border-radius: 50%; background: rgba(37, 99, 235, 0.2); display: flex; justify-content: center; align-items: center; border: 2px solid var(--primary-blue);
}

.pillar-icon-purple {
    width: 80px; height: 80px; border-radius: 50%; background: rgba(139, 92, 246, 0.2); display: flex; justify-content: center; align-items: center; border: 2px solid var(--dream-purple);
}

.pillar-icon-green {
    width: 80px; height: 80px; border-radius: 50%; background: rgba(76, 175, 80, 0.2); display: flex; justify-content: center; align-items: center; border: 2px solid #4CAF50;
}

.pillar-icon-yellow {
    width: 80px; height: 80px; border-radius: 50%; background: rgba(255, 193, 7, 0.2); display: flex; justify-content: center; align-items: center; border: 2px solid #FFC107;
}

.pillar-icon-pink {
    width: 80px; height: 80px; border-radius: 50%; background: rgba(233, 30, 99, 0.2); display: flex; justify-content: center; align-items: center; border: 2px solid #E91E63;
}

.pillar-icon-text {
    font-size: 2rem;
}

.mt-4rem {
    margin-top: 4rem;
}

.mb-40 {
    margin-bottom: 40px;
}

.text-center-mb-40 {
    text-align: center;
    margin-bottom: 40px;
}

.guides-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.guide-card-home {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.guide-title-blue {
    font-size: 1.2rem; margin-bottom: 10px; color: var(--primary-blue);
}

.guide-title-purple {
    font-size: 1.2rem; margin-bottom: 10px; color: var(--dream-purple);
}

.guide-title-green {
    font-size: 1.2rem; margin-bottom: 10px; color: #4CAF50;
}

.guide-title-yellow {
    font-size: 1.2rem; margin-bottom: 10px; color: #FFC107;
}

.guide-title-pink {
    font-size: 1.2rem; margin-bottom: 10px; color: #E91E63;
}

.guide-desc {
    font-size: 0.9rem;
}

.mt-40-center {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    padding: 12px 30px;
    border-radius: 30px;
    gap: 8px;
    transition: all 0.2s ease;
}

.ad-container-home {
    min-height: 250px;
    display: flex;
    justify-content: center;
    margin: 40px auto;
}

.seo-section {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

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

.seo-title-blue {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.seo-title-purple {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dream-purple);
}

.mb-15 {
    margin-bottom: 15px;
}

.trust-section-home {
    text-align: center; margin-top: 2rem; padding: 4rem 0; border-top: 1px solid rgba(255,255,255,0.05);
}

.trust-title {
    font-size: 2rem; margin-bottom: 1rem;
}

.trust-desc {
    max-width: 600px; margin: 1rem auto 0 auto; color: var(--text-muted);
}

/* --- Search Results Styles --- */
.search-hero {
    padding: 60px 20px;
}
.search-results-section {
    margin-bottom: 60px;
}
.search-no-results {
    padding: 40px; 
    background: var(--surface-dark); 
    border-radius: 12px; 
    border: 1px solid var(--border-color, #333);
}
.search-no-results p {
    color: var(--text-muted); 
    margin-top: 10px;
}
.search-no-results .btn {
    margin-top: 20px;
}
.search-results-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px;
}
.search-guide-card {
    display: flex; 
    flex-direction: column; 
    text-decoration: none; 
    color: inherit; 
    padding: 25px; 
    border-radius: 12px; 
    transition: transform 0.2s, box-shadow 0.2s;
}
.search-guide-title {
    font-size: 1.4rem; 
    margin-bottom: 15px; 
    color: var(--primary-blue);
}
.search-guide-desc {
    color: var(--text-muted); 
    line-height: 1.5; 
    flex-grow: 1;
}
.search-guide-read {
    display: inline-block; 
    margin-top: 20px; 
    color: var(--text-white); 
    font-weight: bold; 
    font-size: 0.9rem;
}

/* --- Guide Template Styles --- */
.guide-btn-primary {
    display: inline-block; 
    margin: 15px 0; 
    text-decoration: none; 
    color: white;
}
.guide-btn-outline {
    display: inline-block; 
    margin: 15px 0; 
    text-decoration: none;
}