* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Typography Scale (MAX 7 SIZES) */
    --font-size-xl: 48px;
    /* Hero Titles */
    --font-size-lg: 42px;
    /* Section Titles */
    --font-size-md: 24px;
    /* Card Titles/Subheads */
    --font-size-l-body: 19px;
    /* Intro/Features */
    --font-size-base: 16px;
    /* Standard Body */
    --font-size-sm: 14px;
    /* Buttons/Meta */
    --font-size-xs: 12px;
    /* Fine Print */

    /* Typefaces */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --font-accent: 'Brush Script MT', cursive;
}

body {
    font-family: var(--font-primary);
    background: #f5f7f9;
    color: #171717;
    line-height: 1.6;
}

/* Header (Thinner Airbnb Style) */
/* Header (Global Default - Fixed White) */
/* No custom overrides here, letting base styles apply or resetting if needed */
/* The base styles from styles.css (which this is a copy of) should be active. 
   If I overwrote them, I must restore them. 
   Checking the file content below, I see I replaced the original header block. 
   I need to put back standard header styling if I deleted it, OR just remove my custom block 
   if the original is still there. 
   Since I did a Replace on the header block, the original is gone. 
   I will restore the standard 'Thinner Airbnb Style' header from styles.css. */

/* Header (Thinner Airbnb Style) */
/* Header (Global Default - Fixed White) - REMOVED to avoid conflict with Transparent Header below */


/* Restoring Missing Styles from styles.css */

.logo {
    height: 32px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Center Links (Buy, Sell, Join) */
.header-center-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    /* Show on mobile */
    gap: 16px;
    /* Smaller gap on mobile */
    font-size: 14px;
}

.header-center-links a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: #171717;
    transition: color 0.2s;
    font-family: var(--font-primary);
}

.header-center-links a:hover {
    color: #3675ff;
}

/* Nav (Right Side) */
nav {
    display: none;
    /* Hide default, show in desktop */
}

.header-btn {
    display: none;
    /* Hide default */
    background: #3675ff !important;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.2s;
}

.header-btn:hover {
    background: #2563eb !important;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #171717;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

/* Mobile Nav (Full Screen Airbnb Style) */
.mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 3000;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(10px);
}

.mobile-nav.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Remove Drawer Pseudo-element if present - explicitly overriding or replacing */
.mobile-nav::before {
    display: none;
    content: none;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f8fafc;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
}

.close-menu-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: auto;
    /* Push to right if logo missing */
}

.close-menu-btn:active {
    background: #e2e8f0;
}

.mobile-menu-content {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Mobile Links - Accordion Style (Airbnb) */
.mobile-nav .dropdown {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav .dropbtn {
    width: 100%;
    justify-content: space-between;
    padding: 24px 24px;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    border: none;
    background: white;
    text-align: left;
    display: flex;
    align-items: center;
}

.mobile-nav .dropbtn svg {
    width: 20px;
    height: 20px;
    stroke: #94a3b8;
    color: #94a3b8;
    /* Fix color inheritance */
    transition: transform 0.3s ease;
    display: block !important;
}

.mobile-nav .dropdown.active .dropbtn svg {
    transform: rotate(180deg);
    stroke: #3675ff;
    color: #3675ff;
}

.mobile-nav .dropdown.active .dropbtn {
    color: #3675ff;
}

.mobile-nav .dropdown-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.8s ease;
    background: #f8fafc;
    width: 100%;
    opacity: 1;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    visibility: visible;
    transform: none;
}

.mobile-nav .dropdown:hover .dropdown-content {
    display: grid;
    /* Ensure hover logic doesn't break click logic on mobile */
}

.mobile-nav .dropdown.active .dropdown-content {
    grid-template-rows: 1fr;
    border-top: 1px solid #f1f5f9;
    display: grid;
}

.mobile-nav .dropdown-inner {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.mobile-nav .dropdown-inner a {
    padding: 16px 24px 16px 32px;
    font-size: 16px;
    color: #475569;
    font-weight: 400;
    text-align: left;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mobile-nav .dropdown-inner a:last-child {
    border-bottom: none;
}

.mobile-nav .dropdown-inner a:active {
    background: #e2e8f0;
    color: #3675ff;
}



/* Desktop Styles */
@media (min-width: 1025px) {
    .header-center-links {
        display: flex;
        gap: 32px;
        /* Larger gap on desktop */
        font-size: 15px;
    }

    nav {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .header-btn {
        display: inline-block;
        /* Show CTA in header */
    }

    /* Dropdowns Styles (Preserved) */
    .dropdown {
        position: relative;
    }

    .dropbtn {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px 12px;
        /* Adjusted for smaller header */
        font-size: 14px;
        font-weight: 500;
        color: #171717;
        /* Darker text */
        display: flex;
        align-items: center;
        gap: 4px;
        font-family: var(--font-primary);
        border-radius: 24px;
        /* Pill shaped hover */
        transition: background 0.2s;
        text-decoration: none;
    }

    .dropbtn:hover {
        background: #f7f7f7;
        /* Subtle gray hover */
    }

    a.dropbtn {
        font-size: 14px;
        font-weight: 500;
        color: #171717;
        text-decoration: none;
    }

    .dropbtn svg {
        width: 14px;
        height: 14px;
        color: #64748b;
        transition: transform 0.2s;
    }

    .dropdown:hover .dropbtn svg {
        transform: rotate(180deg);
    }

    .dropdown-content {
        position: absolute;
        top: 100%;
        right: 0;
        background: #ffffff;
        min-width: 240px;
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        border: 1px solid #f1f5f9;
        margin-top: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.2s ease;
        display: block;
    }

    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-column h4 {
        font-size: 11px;
        text-transform: uppercase;
        color: #94a3b8;
        font-weight: 600;
        margin-bottom: 12px;
        letter-spacing: 0.05em;
    }

    .dropdown-column a {
        display: block;
        text-decoration: none;
        color: #475467;
        font-size: 13px;
        padding: 6px 0;
        transition: color 0.2s;
    }

    .dropdown-column a:hover {
        color: #3675ff;
    }

    /* Wide Dropdowns */
    .dropdown-wide {
        min-width: 600px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .dropdown-3-col {
        min-width: 700px;
        grid-template-columns: repeat(3, 1fr);
    }

    .dropdown-column {
        border: none;
        background: none;
    }
}

/* Header (Transparent to Solid on Scroll) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    width: 100%;
    margin: 0;
    position: fixed;
    top: 0;
    z-index: 20000;
    height: 80px;
    background: transparent;
    box-shadow: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background: #f5f7f9;
    /* Matches global body background or white #ffffff - checking styles.css it was #f5f7f9 or #ffffff depending on section. Let's use #f5f7f9 to match global scroll state found in snippet. */
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    /* "Black line" effect */
}


/* Modern Portal Hero Section (Window Concept) */
/* Modern Portal Hero Section (Window Concept) */
.hero-portal {
    position: relative;
    height: 100vh;
    /* Strict height */
    width: 100%;
    display: flex;
    align-items: flex-end;
    /* Move to bottom */
    justify-content: center;
    background: #f5f7f9;
    padding-top: 80px;
    padding-bottom: 0;
    /* Flush with bottom */
    overflow: hidden;
    /* Prevent scrollbars if content overflows marginally */
}

.portal-frame {
    position: relative;
    width: 90%;
    max-width: 1400px;
    height: 90vh;
    /* Taller as requested */
    border-radius: 50% / 100% 100% 0 0;
    /* Full Arch: Curve starts at bottom corners */
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
    transform: translateY(0);
    opacity: 0;
    /* Unravel Animation */
    animation: windowUnravel 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes windowUnravel {
    from {
        opacity: 0;
        /* Fully clipped from top, revealing from bottom? No, inset top 100% means hidden. reducing top inset reveals from top down.
           To reveal from BOTTOM to TOP, we actually want clip-path moving up?
           Imagine a curtain rising? Or building up from the ground?
           If inset(0 0 100% 0) (bottom 100%) -> inset(0 0 0 0), that reveals from top-down.
           If inset(100% 0 0 0) (top 100%) -> inset(0 0 0 0), that reveals from bottom-up (top edge moves up).
           YES. inset(100%...) means top edge is at bottom of element. inset(0...) means top edge is at top.
           So content appears to grow UPWARDS. */
        clip-path: inset(100% 0 0 0);
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
    }
}

.portal-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.portal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.8s ease-out;
}

.portal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

.portal-content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 20px;
    z-index: 10;
}

.minnesota-tag-glass {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    /* Clear / Glass */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    /* White Text */
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backface-visibility: hidden;
    /* Hardware acceleration */
    transform: translateZ(0);
}

.portal-frame h1 {
    font-size: 80px;
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.highlight-white {
    font-weight: 700;
}

.portal-frame p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.portal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-portal-primary {
    background: #ffffff;
    color: #0f172a;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid #ffffff;
}

.btn-portal-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    background: #f1f5f9;
}

.btn-portal-secondary {
    background: #171717;
    /* Solid Black */
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid #171717;
}

.btn-portal-secondary:hover {
    background: #333333;
    border-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Mobile Portal */
/* Mobile Portal */
@media (max-width: 768px) {
    .portal-frame {
        width: 100% !important;
        /* Maximum width */
        height: 85vh;
        /* Taller on mobile to show image */
        border-radius: 50% / 160px 160px 0 0 !important;
        /* Pronounced rounded top (Arch) */
    }

    .portal-frame h1 {
        font-size: 42px !important;
        /* Larger for mobile impact */
        line-height: 1.1;
        margin-bottom: 16px;
    }

    .portal-frame p {
        font-size: 18px;
        padding: 0 8px;
        /* Reduce padding to give text more width */
        margin-bottom: 32px;
        max-width: 90%;
    }

    .portal-buttons {
        flex-direction: column;
        /* Stacked again */
        gap: 16px;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
        align-items: center;
        /* Center them */
    }

    .btn-portal-primary,
    .btn-portal-secondary {
        width: 100% !important;
        max-width: 320px;
        /* Make buttons fill width but capped */
        text-align: center;
        padding: 16px 24px !important;
        /* Larger touch target */
        font-size: 16px !important;
        /* Readable text */
    }

    .minnesota-tag-glass {
        padding: 4px 14px;
        font-size: 12px;
        margin-bottom: 20px;
    }
}

.btn-hero-primary {
    background: #3675ff;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    display: inline-block;
}

.btn-hero-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-black {
    background: #000000;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    display: inline-block;
}

.btn-black:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
}

.btn-blue {
    background: #3675ff;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    display: inline-block;
}

.btn-blue:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-hero-secondary {
    background: white;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    display: inline-block;
}

.btn-hero-secondary:hover {
    border-color: #0f172a;
    background: #f8fafc;
}

.minnesota-tag,
.pill-tag {
    display: inline-block;
    background: rgba(54, 117, 255, 0.08);
    color: #3675ff;
    padding: 6px 16px;
    border-radius: 1000px;
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: 24px;
    width: fit-content;
}

.hero h1 {
    font-size: var(--font-size-xl);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 70px;
    color: #171717;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    color: #3675ff;
    font-weight: 600;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    aspect-ratio: 16 / 9.5;
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placeholder for hero image */
.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.house-icon {
    width: 200px;
    height: 200px;
    opacity: 0.3;
}

/* Values Section */
.values-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 40fr 45fr;
    grid-template-rows: auto auto;
    /* row 1: content, row 2: button */
    gap: 150px;
    align-items: start;
    column-gap: 150px;
    row-gap: 0px;
    /* reduced row gap since H2 has margin */
}

.values-left {
    padding-top: 0;
    grid-column: 1;
    grid-row: 1;
}



/* Ensure right column spans mostly */
.values-right {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding-top: 20px;
    padding-left: 20px;
    grid-column: 2;
    grid-row: 1 / span 2;
}

.values-left .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    color: #000000;
    font-size: var(--font-size-base);
    font-weight: 400;
    margin-bottom: 20px;
}

.values-left .section-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #3675ff;
    border-radius: 2px;
}

.values-left h2 {
    font-size: var(--font-size-lg);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #091f3e;
}

.learn-more-btn {
    display: inline-block;
    background: #000000;
    color: white;
    padding: 12px 24px;
    border-radius: 1000px;
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
}


.feature-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #3675ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

.feature-content h3 {
    font-size: var(--font-size-md);
    font-weight: 400;
    margin-bottom: 10px;
    color: #000000;
    line-height: 1.3;
}

.feature-content p {
    font-size: var(--font-size-l-body);
    /* Using 19px equivalent */
    line-height: 1.7;
    color: #667085;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 120px 20px 60px;
        /* Increased top padding for better spacing from fixed header on mobile */
    }

    .hero h1 {
        font-size: 36px;
        /* Nicer mobile reading size (was 48px) */
        line-height: 1.05;
        /* Tighter line height */
        letter-spacing: -0.03em;
        margin-bottom: 40px;
        /* Adjust spacing */
    }

    header {
        padding: 16px 20px;
        /* Reduced header padding on mobile */
    }

    /* Smaller hero buttons on mobile */
    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-black {
        padding: 10px 18px;
        font-size: 14px;
    }

    nav {
        position: static;
        transform: none;
    }

    nav a:not(.header-btn) {
        display: none;
    }

    .values-section {
        display: flex;
        flex-direction: column;
        gap: 48px;
        padding: 100px 20px;
        /* Increased from 60px to 100px for better spacing */
    }

    .values-left {
        display: contents;
    }

    .values-left .section-tag {
        order: 1;
    }

    .values-left h2 {
        font-size: 32px;
        /* Nicer mobile heading size */
        margin-bottom: 24px;
        order: 2;
    }

    .values-right {
        order: 3;
        padding: 0;
        gap: 32px;
    }

    .values-left .btn-black {
        order: 4;
        align-self: center;
        width: auto;
        margin-top: 0;
    }

    .features-section {
        padding: 100px 20px;
        /* Mobile spacing increase */
    }

    .home-btn {
        width: 100%;
        text-align: center;
    }
}

/* Mobile Header Resizing */
@media (max-width: 768px) {
    .logo {
        height: 24px;
        /* Smaller logo on mobile to prevent touching edges */
        width: auto;
    }

    header {
        padding: 0 16px !important;
        /* Ensure consistent padding */
        height: 60px;
        /* Slightly shorter header on mobile */
    }

    /* Fix hero spacing on mobile */
    .hero {
        padding-top: 140px !important;
        /* Increased from 100px/120px */
        padding-bottom: 80px;
    }

    .blog-section,
    .about-section,
    .contact-section,
    section {
        padding: 100px 20px;
        /* Global Mobile Spacing Increase */
    }

    .mobile-menu-btn svg {
        width: 24px;
        height: 24px;
    }

    /* ... */
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropbtn {
    font-size: 16px;
    font-weight: 500;
    color: #171717;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.dropbtn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropbtn {
    color: #3675ff;
}

.dropdown:hover .dropbtn svg {
    transform: rotate(180deg);
    stroke: #3675ff;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 8px;
    z-index: 99999;
    border: 1px solid #f1f5f9;
    opacity: 0;
    animation: fadeIn 0.2s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #1e293b;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f8fafc;
    color: #3675ff;
}

/* Wide Dropdown for Resources */
.dropdown-wide {
    min-width: 450px !important;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.dropdown-3-col {
    min-width: 650px !important;
}

.dropdown:hover .dropdown-content.dropdown-wide {
    display: flex;
}

.dropdown-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px 8px;
    background: #fff;
}

.dropdown-column:not(:last-child) {
    border-right: 1px solid #f1f5f9;
    background: #fff;
}

.dropdown-column h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 600;
    padding: 0 16px;
}

.dropdown-column a {
    color: #1e293b;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.dropdown-column a:hover {
    background-color: #f8fafc;
    color: #3675ff;
}

/* Nav (Right Side) */
nav {
    display: none;
    /* Hide default, show in desktop */
}

.header-btn {
    display: none;
    text-decoration: none;
}

/* Desktop Styles */
@media (min-width: 1025px) {
    .header-center-links {
        display: flex;
        gap: 32px;
        /* Larger gap on desktop */
        font-size: 15px;
    }

    nav {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .header-btn {
        display: none;
        /* Hide CTA in header, use dropdowns */
    }

    /* Dropdowns Styles (Preserved) */
    .dropdown {
        position: relative;
    }

    .dropbtn {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px 12px;
        /* Adjusted for smaller header */
        font-size: 14px;
        font-weight: 500;
        color: #171717;
        /* Darker text */
        display: flex;
        align-items: center;
        gap: 4px;
        font-family: var(--font-primary);
        border-radius: 24px;
        /* Pill shaped hover */
        transition: background 0.2s;
        text-decoration: none;
    }

    .dropbtn:hover {
        background: #f7f7f7;
        /* Subtle gray hover */
    }

    a.dropbtn {
        font-size: 14px;
        font-weight: 500;
        color: #171717;
        text-decoration: none;
    }

    .dropbtn svg {
        width: 14px;
        height: 14px;
        color: #64748b;
        transition: transform 0.2s;
    }

    .dropdown:hover .dropbtn svg {
        transform: rotate(180deg);
    }

    .dropdown-content {
        position: absolute;
        top: 100%;
        right: 0;
        background: #ffffff;
        min-width: 240px;
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
        border: 1px solid #f1f5f9;
        margin-top: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.2s ease;
        display: block;
    }

    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-column h4 {
        font-size: 11px;
        text-transform: uppercase;
        color: #94a3b8;
        font-weight: 600;
        margin-bottom: 12px;
        letter-spacing: 0.05em;
    }

    .dropdown-column a {
        display: block;
        text-decoration: none;
        color: #475467;
        font-size: 13px;
        padding: 6px 0;
        transition: color 0.2s;
    }

    .dropdown-column a:hover {
        color: #3675ff;
    }

    /* Wide Dropdowns */
    .dropdown-wide {
        min-width: 600px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .dropdown-3-col {
        min-width: 700px;
        grid-template-columns: repeat(3, 1fr);
    }

    .dropdown-column {
        border: none;
        background: none;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    position: relative;
    padding: 8px;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    stroke: #171717;
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active svg {
    transform: rotate(90deg);
}

.mobile-nav-overlay {
    display: none;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: #ffffff;
    z-index: 3000;
    padding: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(10px);
}

.mobile-nav.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f8fafc;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-logo {
    height: 32px;
    max-height: 32px;
    /* Strict constraint */
    width: auto;
    object-fit: contain;
    display: block;
}

.close-menu-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.close-menu-btn:active {
    background: #e2e8f0;
}

.close-menu-btn svg {
    width: 24px;
    height: 24px;
    stroke: #1e293b;
}

.mobile-menu-content {
    padding: 12px 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav .dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav .dropbtn {
    width: 100%;
    justify-content: space-between;
    padding: 24px 24px;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    border: none;
    background: white;
    text-align: left;
    display: flex;
    align-items: center;
}

.mobile-nav .dropbtn svg {
    width: 20px;
    height: 20px;
    stroke: #94a3b8;
    transition: transform 0.3s ease;
    display: block !important;
}

.mobile-nav .dropdown.active .dropbtn svg {
    transform: rotate(180deg);
    stroke: #3675ff;
}

.mobile-nav .dropdown.active .dropbtn {
    color: #3675ff;
}

.mobile-nav .dropdown-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.8s ease;
    background: #f8fafc;
    width: 100%;
    opacity: 1;
    position: static;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    animation: none;
}

.mobile-nav .dropdown:hover .dropdown-content {
    display: grid;
}

.mobile-nav .dropdown.active .dropdown-content {
    grid-template-rows: 1fr;
    border-top: 1px solid #f1f5f9;
}

.mobile-nav .dropdown-inner {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.mobile-nav .dropdown-inner a {
    padding: 16px 24px 16px 32px;
    font-size: 16px;
    color: #475569;
    font-weight: 400;
    text-align: left;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mobile-nav .dropdown-inner a:last-child {
    border-bottom: none;
}

.mobile-nav .dropdown-inner a:active {
    background: #e2e8f0;
    color: #3675ff;
}

.mobile-cta-container {
    padding: 32px 24px;
    margin-top: 12px;
}

.mobile-nav .header-btn {
    text-align: center;
    width: 100%;
    font-size: 16px;
    padding: 16px 0;
    border-radius: 12px;
    background: #3675ff;
    color: white;
    font-weight: 600;
    display: block;
    margin: 0;
}

nav {
    display: none;
}

.mobile-menu-btn {
    display: block;
}

header .header-btn {
    display: none;
}

.lake-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.lake-tag-pill {
    font-size: 13px;
    font-weight: 500;
    color: #3675ff;
    background: #eff6ff;
    padding: 6px 14px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s;
}

.lake-tag-pill:hover {
    background: #dbeafe;
    transform: translateY(-1px);

    /* Hero Section V2 (Split) - Imported for Sell Page */
    .hero-split-v2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        min-height: 90vh;
        padding: 0 40px;
        max-width: 1400px;
        margin: 0 auto;
        gap: 60px;
        padding-top: 80px;
    }

    .hero-content-left {
        text-align: left;
        padding-right: 20px;
    }

    .hero-content-left h1 {
        font-size: 56px;
        font-weight: 500;
        line-height: 1.1;
        color: #171717;
        letter-spacing: -0.02em;
    }

    .hero-content-left .highlight {
        color: #3675ff;
        font-weight: 600;
    }

    .hero-content-left .hero-buttons {
        justify-content: flex-start;
        margin-top: 32px;
    }

    .hero-image-right {
        position: relative;
        height: 100%;
        border-radius: 32px;
        overflow: hidden;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
        aspect-ratio: 4/3;
    }

    .hero-image-right img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Responsive Split Hero */
    @media (max-width: 900px) {
        .hero-split-v2 {
            grid-template-columns: 1fr;
            padding: 120px 20px 60px;
            min-height: auto;
            text-align: center;
            gap: 40px;
        }

        .hero-content-left {
            text-align: center;
            padding-right: 0;
        }

        .hero-content-left .hero-buttons {
            justify-content: center;
        }

        .hero-content-left h1 {
            font-size: 40px;
        }
    }
}

/* --- Legal & Policy Pages Spacing Fix --- */
.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 40px 80px;
    /* Default Desktop Padding */
}

/* Mobile Overrides for Policy Pages */
@media (max-width: 768px) {
    .policy-content {
        padding: 100px 20px 40px !important;
        /* Drastically reduced mobile padding */
    }

    .policy-content h1 {
        font-size: 32px !important;
        /* Smaller H1 */
        margin-bottom: 16px !important;
    }

    .policy-content p {
        font-size: 16px !important;
    }

    .policy-content section {
        margin-bottom: 32px !important;
        /* Reduced section gaps */
    }
}