/* Landing Page Styles */

:root {
    --primary-color: #f57c00;
    --primary-dark: #e65100;
    --primary-light: #f9a825;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
}

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

html, body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    scroll-behavior: smooth;
}

/* ===========================
   Hero Section — SaaS Cinematic
   =========================== */

.hero {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #120a04;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Content that slides over the fixed hero */
.main-content {
    position: relative;
    z-index: 1;
    margin-top: 100vh;
    background: #1E1E1E;
    box-shadow: 0 -12px 48px rgba(0,0,0,0.45);
}

/* Full-cover background image */
.hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    display: block;
    filter: brightness(1.0) contrast(1.08) saturate(0.9);
    animation: heroBackgroundFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Gradient overlay — radial spotlight on center + warm top fade */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, transparent 35%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

/* Centered hero body */
.hero-body {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 52px 56px 52px;
    max-width: 820px;
    width: fit-content;
    min-height: unset;
    margin-top: auto;
    margin-bottom: auto;
    font-family: 'Poppins', sans-serif;
}

/* Headline */
.hero-headline {
    font-size: clamp(48px, 8.5vw, 98px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -2.5px;
    color: #1a0d03;
    margin-bottom: 24px;
    margin-top: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.55), 0 4px 20px rgba(0,0,0,0.35);
}

.hero-headline .highlight {
    color: #b85b08;
    font-style: italic;
    font-weight: 700;
}

.hero-headline .hl-line1 { color: #3b82f6; }
.hero-headline .hl-line2 { color: #ffffff; }
.hero-headline .hl-line3 { color: #ec7e00; }

/* Stagger entrance animation */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(32px); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* Hero background fade-in */
@keyframes heroBackgroundFadeIn {
    from { opacity: 0.5; }
    to   { opacity: 1; }
}

/* Button pulse glow effect */
@keyframes heroBtnPulseGlow {
    0% { box-shadow: 0 4px 20px rgba(236, 126, 0, 0.45), 0 0 0 0 rgba(236, 126, 0, 0.7); }
    50% { box-shadow: 0 6px 28px rgba(236, 126, 0, 0.60), 0 0 0 8px rgba(236, 126, 0, 0.3); }
    100% { box-shadow: 0 4px 20px rgba(236, 126, 0, 0.45), 0 0 0 0 rgba(236, 126, 0, 0); }
}
.hero-headline span {
    display: inline-block;
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-headline .hl-line1 { animation-delay: 0.15s; }
.hero-headline .hl-line2 { animation-delay: 0.40s; }
.hero-headline .hl-line3 { animation-delay: 0.65s; }

.hero-subtitle {
    opacity: 0;
    animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.90s forwards;
}

/* Parallax tilt on hero image */
.hero-image img {
    transition: transform 0.4s ease-out;
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.75;
    font-weight: 600;
    color: #ffffff;
    max-width: 600px;
    text-shadow:
        0 1px 2px rgba(0,0,0,0.95),
        0 2px 8px rgba(0,0,0,0.85),
        0 4px 20px rgba(0,0,0,0.75),
        0 8px 40px rgba(0,0,0,0.55);
    margin-bottom: 44px;
}

/* CTA button row */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Primary — warm amber fill */
.hero-btn-primary {
    background: linear-gradient(135deg, #b85b08 0%, #d97212 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 22px rgba(184, 91, 8, 0.45);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(184, 91, 8, 0.60);
    background: linear-gradient(135deg, #c96610 0%, #e8820e 100%);
}

/* Secondary — frosted light fill */
.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.55);
    color: #2a1204;
    border: 2px solid rgba(80, 40, 5, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.80);
    border-color: rgba(80, 40, 5, 0.28);
    transform: translateY(-2px);
}

/* Responsive — tablet */
@media (max-width: 1024px) {
    .hero {
        height: 100vh;
    }
    .main-content {
        margin-top: 100vh;
    }
    .hero-body {
        padding: 120px 32px 60px;
    }
}

/* Responsive — mobile */
@media (max-width: 768px) {
    .hero {
        height: 100vh;
    }
    .main-content {
        margin-top: 100vh;
    }
    .hero-body {
        padding: 100px 20px 48px;
    }
    .hero-headline {
        letter-spacing: -1.5px;
    }
    /* Stretch to fill, focus on the city hall area */
    .hero-image img {
        object-fit: cover;
        object-position: 35% 30%;
    }
    /* Remove the heavy white spotlight overlay so the full image is visible */
    .hero-overlay {
        background: linear-gradient(to bottom,
            rgba(0,0,0,0.25) 0%,
            rgba(0,0,0,0.05) 50%,
            rgba(0,0,0,0.40) 100%);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-btn {
        width: 100%;
        justify-content: center;
    }
}


/* ===========================
   Navbar — floating pill
   =========================== */

.hero-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    z-index: 9999;
    width: 100%;
    margin-top: 0;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
    font-family: 'Poppins', sans-serif;
}

.hero-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 8px 8px 16px;
    background: #f8f9fb;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(120, 80, 20, 0.14);
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(80, 40, 5, 0.12);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.hero-nav.scrolled .hero-nav-inner {
    background: #f8f9fb;
    box-shadow: 0 6px 32px rgba(80, 40, 5, 0.18);
}

/* Logo */
.hero-nav-logo {
    flex-shrink: 0;
    max-width: 130px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.hero-nav-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Links */
.hero-nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-nav-links li a {
    display: block;
    padding: 7px 14px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(35, 18, 4, 0.70);
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.hero-nav-links li a:hover {
    background: rgba(80, 40, 5, 0.08);
    color: #1a0d03;
}

/* CTA button */
.hero-nav-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #ec7e00;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 12px rgba(236, 126, 0, 0.40);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.hero-nav-cta:hover {
    background: #d97000;
    box-shadow: 0 4px 20px rgba(236, 126, 0, 0.60);
    transform: translateY(-1px);
}

/* Hamburger button — hidden on desktop */
.hero-nav-hamburger {
    display: none;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: rgba(80, 40, 5, 0.08);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-right: 12px;
}
.hero-nav-hamburger span {
    display: block;
    width: 16px;
    height: 2px;
    background: #1a0d03;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hero-nav-hamburger:hover {
    background: rgba(80, 40, 5, 0.15);
}
/* Animate to X when open */
.hero-nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hero-nav-hamburger.open span:nth-child(2) { opacity: 0; }
.hero-nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero-body CTA — hidden on desktop/tablet, shown on mobile */
.hero-body-cta {
    display: none;
}

/* Responsive — tablet */
@media (max-width: 1024px) {
    .hero-nav-links li a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* Responsive — mobile: show hamburger, hide links + CTA */
@media (max-width: 768px) {
    .hero-nav {
        width: 100%;
        top: 0;
    }
    .hero-nav-inner {
        justify-content: space-between;
        padding: 8px 8px 8px 14px;
    }
    .hero-nav-links {
        display: none;
    }
    .hero-nav-cta {
        display: none;
    }
    .hero-nav-hamburger {
        display: flex;
    }
    .hero-nav-logo {
        max-width: 110px;
    }
    /* Show in-hero CTA on mobile */
    .hero-body-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 24px;
        padding: 12px 28px;
        background: #ec7e00;
        color: #ffffff;
        font-size: 15px;
        font-weight: 600;
        font-family: 'Poppins', sans-serif;
        text-decoration: none;
        border-radius: 999px;
        transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
        animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.1s both, heroBtnPulseGlow 2.5s ease-in-out 1.9s infinite;
    }
    .hero-body-cta:hover {
        background: #d97000;
        transform: translateY(-2px);
        box-shadow: 0 6px 28px rgba(236, 126, 0, 0.60);
    }
}

/* Mobile fullscreen overlay menu */
.mobile-menu-overlay {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0d0d0d;
    padding: 24px 28px 48px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.35s;
}
.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Header row: logo left, X right */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
}
.mobile-menu-logo img {
    width: 120px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

/* X close button */
.mobile-menu-close {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.mobile-menu-close:hover {
    background: rgba(255,255,255,0.15);
}
.mobile-menu-close span {
    display: block;
    position: absolute;
    width: 18px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    top: 50%;
    left: 50%;
}
.mobile-menu-close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}
.mobile-menu-close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Nav links */
.mobile-menu-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-menu-links ul li {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu-overlay.open .mobile-menu-links ul li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.08s; }
.mobile-menu-overlay.open .mobile-menu-links ul li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.14s; }
.mobile-menu-overlay.open .mobile-menu-links ul li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.20s; }
.mobile-menu-overlay.open .mobile-menu-links ul li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
.mobile-menu-overlay.open .mobile-menu-links ul li:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.32s; }
.mobile-menu-overlay.open .mobile-menu-links ul li:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.38s; }
.mobile-menu-overlay.open .mobile-menu-links ul li:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.44s; }
.mobile-menu-overlay.open .mobile-menu-links ul li:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 0.50s; }
.mobile-menu-links ul li a {
    display: block;
    padding: 20px 0;
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: color 0.2s ease;
}
.mobile-menu-links ul li a:hover {
    color: #ec7e00;
}

/* Adjust hero body top padding to account for fixed nav */
.hero-body {
    padding-top: 110px !important;
}

@media (max-width: 1024px) {
    .hero-body {
        padding-top: 100px !important;
        padding-left: 32px !important;
        padding-right: 32px !important;
        max-width: 680px;
    }
}

@media (max-width: 768px) {
    .hero-body {
        padding-top: 80px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100%;
        width: 100%;
    }
    .hero-headline {
        font-size: clamp(36px, 10vw, 56px) !important;
        letter-spacing: -1px;
        margin-top: 20px;
    }
    .hero-subtitle {
        font-size: 14px !important;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* About Section */
.about {
    background-color: #1E1E1E;
    padding: 3rem 1rem;
    position: relative;
    z-index: 10;
}

.about h2 {
    color: #f0f8ff;
    font-size: 44px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about > div > p {
    color: #f0f8ff;
    font-size: 16px;
    line-height: 1.8;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.about h4 {
    color: #f0f8ff;
    font-size: 24px;
    line-height: 1.3;
}

.about-card p {
    color: rgba(240, 248, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-card:hover {
    background: linear-gradient(135deg, rgba(236, 126, 0, 0.15) 0%, rgba(236, 126, 0, 0.05) 100%);
    border-color: #EC7E00;
    box-shadow: 0 8px 24px rgba(236, 126, 0, 0.3);
    transform: translateY(-4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about {
        padding: 2.5rem 1rem;
    }

    .about h2 {
        font-size: 36px;
    }

    .about > div > p {
        font-size: 15px;
    }

    .about h4 {
        font-size: 21px;
    }

    .about-card {
        padding: 1.5rem !important;
    }

    .about-card p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 2rem 0.75rem;
    }

    .about h2 {
        font-size: 28px;
    }

    .about > div > p {
        font-size: 14px;
        max-width: 100%;
        line-height: 1.7;
    }

    .about h4 {
        font-size: 18px;
    }

    .about-card {
        padding: 1.25rem !important;
    }

    .about-card p {
        font-size: 14px;
        line-height: 1.65;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 1.5rem 0.5rem;
    }

    .about h2 {
        font-size: 24px;
    }

    .about > div > p {
        font-size: 13px;
    }

    .about h4 {
        font-size: 16px;
    }

    .about-card {
        padding: 1rem !important;
    }

    .about-card p {
        font-size: 13px;
    }
}

/* About carousel — mobile only */
@media (max-width: 768px) {
    .about-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px !important;
        padding-inline: 6px !important;
        scroll-padding-inline: 6px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .about-track::-webkit-scrollbar {
        display: none;
    }
    .about-track .about-card {
        flex: 0 0 calc(100% - 8px) !important;
        max-width: calc(100% - 8px) !important;
        width: calc(100% - 8px) !important;
        margin: 0 !important;
        scroll-snap-align: center;
        box-sizing: border-box;
    }
    .about-track .about-card:hover {
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
    .about-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 14px;
    }
    .about-dot {
        width: 8px;
        height: 8px;
        border: none;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.35);
        padding: 0;
        cursor: pointer;
        transition: background 0.2s ease, width 0.2s ease;
    }
    .about-dot.is-active {
        width: 24px;
        background: #ec7e00;
    }
}

@media (min-width: 769px) {
    .about-dots {
        display: none;
    }
}

/* User Experience Section */
.user-experience {
    background-color: #f1f1f1;
    position: relative;
    z-index: 10;
    padding: 3rem 1rem;
}

.user-experience h2 {
    color: #1E1E1E;
    font-size: 44px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .user-experience h2 { font-size: 36px; }
    .user-experience > div > p { font-size: 16px; }
}

@media (max-width: 768px) {
    .user-experience h2 { font-size: 28px; }
    .user-experience > div > p { font-size: 15px; }
    .user-experience { padding: 2.5rem 0.5rem; }
    .user-card { padding: 0 !important; }
    .user-card img { width: 100%; height: auto; display: block; border-radius: 12px; }
    .separator-container { padding: 4px 0; }
    .modern-separator { width: 70%; height: 3px; }
}

@media (max-width: 480px) {
    .user-experience h2 { font-size: 22px; }
    .user-experience > div > p { font-size: 14px; }
    .user-experience { padding: 2rem 0; }
    .user-card img { border-radius: 8px; }
}

.user-experience > div > p {
    color: #1E1E1E;
    font-size: 18px;
    line-height: 1.8;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.user-experience h3 {
    color: #f0f8ff;
    font-size: 28px;
    line-height: 1.3;
}

.user-card {
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.user-card ul li {
    color: rgba(240, 248, 255, 0.90);
    font-size: 16px;
    line-height: 1.7;
}

.user-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    transform: translateY(-4px);
}

.owner-card:hover {
    box-shadow: 0 8px 24px rgba(41, 124, 203, 0.6);
}

.contractor-card:hover {
    box-shadow: 0 8px 24px rgba(236, 126, 0, 0.6);
}

.card-icon {
    font-size: 48px;
    text-align: center;
}

.owner-card {
    background: transparent;
}

.contractor-card {
    background: transparent;
}

.separator-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0;
}

.modern-separator {
    width: 80%;
    height: 5px;
    background: #1E1E1E;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(30, 30, 30, 0.5);
    position: relative;
    z-index: 20;
}

.owner-bullet,
.owner-text {
    color: #022644;
}

.owner-bullet {
    margin-right: 12px;
}

.owner-check,
.contractor-check {
    margin-right: 12px;
    font-size: 18px;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.owner-text {
    display: inline-block;
    font-size: 22px;
    max-width: 550px;
}

.contractor-bullet,
.contractor-text {
    color: #ec7e00;
}

.contractor-bullet {
    margin-right: 12px;
}

.owner-check {
    color: #022644;
}

.contractor-check {
    color: #ec7e00;
}


.contractor-text {
    display: inline-block;
    font-size: 22px;
    max-width: 550px;
}

.owner-card ul li {
    position: relative;
    left: 450px;
    top: 100px;
    font-size: 22px;
}

.contractor-card ul li {
    position: relative;
    left: 100px;
    top: 100px;
    font-size: 22px;
}

@media (max-width: 1200px) {
    .owner-card ul li {
        left: 0;
        top: 0;
        font-size: 18px;
    }

    .contractor-card ul li {
        left: 0;
        top: 0;
        font-size: 18px;
    }

    .owner-text,
    .contractor-text {
        font-size: 18px;
        max-width: 100%;
    }

    .user-card {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .owner-card ul li {
        left: 0;
        top: 0;
        font-size: 16px;
    }

    .contractor-card ul li {
        left: 0;
        top: 0;
        font-size: 16px;
    }

    .owner-text,
    .contractor-text {
        font-size: 16px;
        max-width: 100%;
    }

    .owner-check,
    .contractor-check {
        font-size: 16px;
    }

    .user-card {
        min-height: auto;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .owner-card ul li {
        left: 0;
        top: 0;
        font-size: 14px;
    }

    .contractor-card ul li {
        left: 0;
        top: 0;
        font-size: 14px;
    }

    .owner-text,
    .contractor-text {
        font-size: 14px;
        max-width: 100%;
    }

    .owner-check,
    .contractor-check {
        font-size: 14px;
        margin-right: 8px;
    }

    .user-card {
        min-height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* Adjust SVG position - modify these values to move the SVG */
.owner-card {
    /* background-position: left center; */
    /* background-position: right center; */
    /* background-position: center top; */
    /* background-position: center bottom; */
}

.contractor-card {
    /* background-position: left center; */
    /* background-position: right center; */
    /* background-position: center top; */
    /* background-position: center bottom; */
}

/* Features Section */
.features {
    background: #1E1E1E;
    position: relative;
    z-index: 10;
    padding: 3rem 1rem;
    overflow: hidden;
}

.features::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #1E1E1E;
    pointer-events: none;
    z-index: 0;
}

.features > div {
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    min-height: 210px;
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: start;
}

.feature-card:hover,
.feature-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(236, 126, 0, 0.6);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 0;
    color: #ec7e00;
    background: rgba(236, 126, 0, 0.12);
    font-size: 24px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
}

.feature-card h4 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin-bottom: 0;
}

.feature-card p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 10px;
}

.feature-card-list {
    grid-column: 1 / -1;
    list-style: none;
    padding: 0;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.feature-card-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.feature-card-list li i {
    color: #ec7e00;
    font-size: 14px;
    flex-shrink: 0;
}

.feature-card:hover .feature-icon,
.feature-card:focus-within .feature-icon {
    transform: rotate(-6deg) scale(1.05);
    color: #ffffff;
    background: rgba(236, 126, 0, 0.85);
}

/* Features — Tablet */
@media (max-width: 1024px) {
    .features {
        padding: 2.5rem 1rem;
    }
    .features h2 {
        font-size: 34px !important;
    }
    .features > div > p {
        font-size: 16px !important;
        margin-bottom: 2rem !important;
    }
    .feature-card {
        min-height: 0;
        padding: 1.5rem !important;
        grid-template-columns: 44px 1fr;
        column-gap: 12px;
    }
    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
    .feature-card h4 {
        font-size: 17px !important;
    }
    .feature-card p {
        font-size: 14px !important;
    }
}

/* Features — Mobile */
@media (max-width: 768px) {
    .features {
        padding: 2rem 0.75rem;
    }
    .features h2 {
        font-size: 26px !important;
        margin-bottom: 0.75rem !important;
    }
    .features > div > p {
        font-size: 14px !important;
        margin-bottom: 1.5rem !important;
    }
    .feature-card {
        min-height: 0;
        padding: 1.25rem !important;
        border-radius: 12px;
        grid-template-columns: 40px 1fr;
        column-gap: 10px;
    }
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 0;
        border-radius: 10px;
    }
    .feature-card h4 {
        font-size: 15px !important;
        margin-bottom: 6px !important;
    }
    .feature-card p {
        font-size: 13px !important;
        line-height: 1.6;
    }
}

/* Features — Small Mobile */
@media (max-width: 480px) {
    .features {
        padding: 1.75rem 0.5rem;
    }
    .features h2 {
        font-size: 22px !important;
    }
    .features > div > p {
        font-size: 13px !important;
        margin-bottom: 1.25rem !important;
    }
    .feature-card {
        padding: 1rem !important;
        border-radius: 10px;
        grid-template-columns: 36px 1fr;
        column-gap: 8px;
    }
    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin-bottom: 0;
        border-radius: 8px;
    }
    .feature-card h4 {
        font-size: 14px !important;
    }
    .feature-card p {
        font-size: 12px !important;
    }
}

/* Features carousel — mobile only */
@media (max-width: 768px) {
    .features-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        align-items: flex-start;
        gap: 12px !important;
        padding-inline: 6px !important;
        scroll-padding-inline: 6px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .features-track::-webkit-scrollbar {
        display: none;
    }
    /* Wrapper becomes invisible in flex layout — its cards are individual flex items */
    .features-track > div:not(.feature-card) {
        display: contents !important;
    }
    /* All feature-cards (incl. formerly-wrapped) are full-width carousel slides */
    .features-track .feature-card {
        flex: 0 0 calc(100% - 8px) !important;
        max-width: calc(100% - 8px) !important;
        width: calc(100% - 8px) !important;
        scroll-snap-align: center;
        box-sizing: border-box;
    }
    .features-track .feature-card:hover {
        transform: none;
        box-shadow: none;
    }
    .features-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 14px;
    }
    .features-dot {
        width: 8px;
        height: 8px;
        border: none;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.35);
        padding: 0;
        cursor: pointer;
        transition: background 0.2s ease, width 0.2s ease;
    }
    .features-dot.is-active {
        width: 24px;
        background: #ec7e00;
    }
}

@media (min-width: 769px) {
    .features-dots {
        display: none;
    }
}

/* Boosting & Subscription Section */
.plans-showcase {
    background: #f1f1f1;
    position: relative;
    z-index: 10;
    padding: 3rem 1rem;
    color: #000000;
}

.plans-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #f1f1f1;
    pointer-events: none;
    z-index: 0;
}

.plans-showcase > div {
    position: relative;
    z-index: 1;
}

.plan-panel {
    background:#ffffff;
;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease;
    color: #000000;
}

.plan-panel:hover {
    transform: translateY(-6px);
    border-color: rgba(236, 126, 0, 0.55);
}

.boost-panel:hover {
    border-color: #3b82f6;
    background:#ffffff;
;
}

.subscription-panel:hover {
    border-color: rgba(236, 126, 0, 0.6);
    background: #ffffff;
}

.panel-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}

.panel-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    background: rgba(236, 126, 0, 0.75);
}

.panel-icon.boost {
    color: rgba(41, 124, 203, 0.6);
    background: rgba(41, 124, 203, 0.12);
}

.panel-icon.subscription {
    color: rgba(236, 126, 0, 0.6);
    background: rgba(236, 126, 0, 0.12);
}

.panel-card-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.panel-card {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.panel-card:hover {
    transform: translateY(-3px);
    border-color: rgba(236, 126, 0, 0.55);
    background: #ffffff;
}

.panel-card.is-selected {
    border-color: rgba(236, 126, 0, 0.9);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(236, 126, 0, 0.25);
}

.boost-panel .panel-card {
    border-color: rgba(2, 38, 68, 0.35);
    margin-top: 50px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .boost-panel .panel-card {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .boost-panel .panel-card {
        margin-top: 12px;
        margin-bottom: 12px;
    }
}

.boost-panel .panel-card:hover {
    border-color: #3b82f6;
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
    background: #ffffff;
}

.subscription-panel .panel-card {
    border-color: rgba(236, 126, 0, 0.35);
}

.subscription-panel .panel-card:hover {
    border-color: rgba(236, 126, 0, 0.9);
    outline: 2px solid rgba(236, 126, 0, 0.75);
    outline-offset: 2px;
    background: #ffffff;
}

.panel-card.featured {
    border-color: rgba(236, 126, 0, 0.7);
    box-shadow: 0 10px 24px rgba(236, 126, 0, 0.2);
}

.panel-card-emoji {
    font-size: 22px;
}

.panel-card-title {
    font-weight: 600;
    color: #000000;
}

.panel-card-meta {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
}

.panel-card-price {
    font-weight: 600;
    color: #000000;
}

.panel-list {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
    color: rgba(0, 0, 0, 0.85);
}

.panel-list li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.panel-list i {
    color: #ec7e00;
}

.boost-panel .panel-list i {
    color: rgba(2, 38, 68, 0.8);
}

.subscription-panel .panel-list i {
    color: #ec7e00;
}

.panel-cta {
    width: 100%;
    padding: 12px 16px;
    border-radius: 999px;
    border: none;
    background: #ec7e00;
    color: #000000;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.panel-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(236, 126, 0, 0.35);
    background: #f18a13;
}

/* Plans — Tablet */
@media (max-width: 1024px) {
    .plans-showcase {
        padding: 2.5rem 1rem;
    }
    .plans-showcase h2 {
        font-size: 34px !important;
    }
    .plans-showcase > div > p {
        font-size: 16px !important;
        margin-bottom: 2rem !important;
    }
    .plan-panel {
        padding: 1.5rem !important;
    }
    .panel-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
        border-radius: 14px;
    }
    .panel-header h3 {
        font-size: 18px !important;
    }
    .panel-header p {
        font-size: 13px !important;
    }
    .boost-panel .panel-card {
        margin-top: 24px;
        margin-bottom: 24px;
    }
}

/* Plans — Mobile */
@media (max-width: 768px) {
    .plans-showcase {
        padding: 2rem 0.75rem;
    }
    .plans-showcase h2 {
        font-size: 26px !important;
        margin-bottom: 0.75rem !important;
    }
    .plans-showcase > div > p {
        font-size: 14px !important;
        margin-bottom: 1.5rem !important;
    }
    .plan-panel {
        padding: 1.25rem !important;
        border-radius: 14px;
    }
    .panel-header {
        gap: 12px;
        margin-bottom: 14px;
    }
    .panel-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        border-radius: 12px;
        flex-shrink: 0;
    }
    .panel-header h3 {
        font-size: 16px !important;
    }
    .panel-header p {
        font-size: 12px !important;
    }
    .panel-card {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 12px;
    }
    .panel-card-emoji {
        font-size: 18px;
    }
    .panel-card-title {
        font-size: 14px;
    }
    .panel-card-meta {
        font-size: 12px;
    }
    .panel-card-price {
        font-size: 14px;
        white-space: nowrap;
    }
    .panel-list {
        gap: 8px;
        margin-bottom: 16px;
    }
    .panel-list li {
        font-size: 13px;
        gap: 8px;
    }
    .boost-panel .panel-card {
        margin-top: 16px;
        margin-bottom: 16px;
    }
}

/* Plans — Small Mobile */
@media (max-width: 480px) {
    .plans-showcase {
        padding: 1.75rem 0.5rem;
    }
    .plans-showcase h2 {
        font-size: 22px !important;
    }
    .plans-showcase > div > p {
        font-size: 13px !important;
        margin-bottom: 1.25rem !important;
    }
    .plan-panel {
        padding: 1rem !important;
        border-radius: 12px;
    }
    .panel-header {
        gap: 10px;
        margin-bottom: 12px;
    }
    .panel-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 10px;
    }
    .panel-header h3 {
        font-size: 15px !important;
    }
    .panel-header p {
        font-size: 11px !important;
    }
    .panel-card {
        padding: 10px 12px;
        gap: 8px;
        border-radius: 10px;
    }
    .panel-card-emoji {
        font-size: 16px;
    }
    .panel-card-title {
        font-size: 13px;
    }
    .panel-card-meta {
        font-size: 11px;
    }
    .panel-card-price {
        font-size: 13px;
    }
    .panel-list li {
        font-size: 12px;
    }
    .boost-panel .panel-card {
        margin-top: 12px;
        margin-bottom: 12px;
    }
}

/* ── Plans carousel — mobile only ──────────────────────────────── */
@media (max-width: 768px) {
    .plans-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 14px !important;
        padding-inline: 8px !important;
        scroll-padding-inline: 8px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .plans-track::-webkit-scrollbar { display: none; }
    .plans-track > [data-plan-slide] {
        flex: 0 0 calc(100% - 8px) !important;
        max-width: calc(100% - 8px) !important;
        width: calc(100% - 8px) !important;
        scroll-snap-align: center;
        box-sizing: border-box;
        box-shadow: none !important;
    }
    .plans-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 16px;
    }
    .plans-dot {
        width: 8px;
        height: 8px;
        border: none;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.22);
        padding: 0;
        cursor: pointer;
        transition: background 0.2s ease, width 0.2s ease;
    }
    .plans-dot.is-active {
        width: 24px;
        background: #3b82f6;
    }
}
@media (min-width: 769px) {
    .plans-dots { display: none; }
}
/* ──────────────────────────────────────────────────────────────── */

@media (max-width: 1000px) {
    .user-experience {
        padding: 2rem 1rem;
    }
    
    .user-experience h2 {
        font-size: 32px;
    }
    
    .user-experience > div > p {
        font-size: 16px;
        max-width: 100%;
    }
    
    .user-experience h3 {
        font-size: 22px;
    }
    
    .user-card ul li {
        font-size: 15px;
    }

    .owner-card {
        background-size: contain;
        background-position: top center;
        background-attachment: scroll;
    }

    .contractor-card {
        background-size: contain;
        background-position: top center;
        background-attachment: scroll;
    }

    .plans-showcase {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .user-experience {
        padding: 1.5rem 0.5rem;
    }
    
    .user-experience h2 {
        font-size: 28px;
    }
    
    .user-experience > div > p {
        font-size: 15px;
    }
    
    .user-experience h3 {
        font-size: 18px;
    }
    
    .user-card ul li {
        font-size: 14px;
    }
    
    .card-icon {
        font-size: 36px;
    }

    .owner-card,
    .contractor-card {
        background-image: none;
        background-color: rgba(255, 255, 255, 0.05);
    }

    .owner-card {
        border: 1px solid rgba(2, 38, 68, 0.3);
    }

    .contractor-card {
        border: 1px solid rgba(236, 126, 0, 0.3);
    }

    .plans-showcase {
        padding: 1.5rem 0.5rem;
    }
}

/* ── MVP Showcase Image Container ─────────────────────────── */
/* MVP Title Card (inside each MVP section) */
.mvp-title-card {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px 14px 14px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--card-accent, #EC7E00);
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    max-width: 100%;
}

.mvp-title-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mvp-title-card-icon i {
    font-size: 1.5rem;
}

.mvp-title-card-text {
    font-size: clamp(1.1rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

/* MVP section paragraphs — justified on all screen sizes */
.mvp-text-col > p {
    text-align: justify;
}

@media (max-width: 768px) {
    /* Center the title card on mobile */
    .mvp-title-card {
        display: flex;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ── Desktop: compress MVP section spacing ── */
@media (min-width: 1024px) {
    section#mvp.py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Reduce gap between MVP blocks */
    section#mvp .mb-16.lg\:mb-32 {
        margin-bottom: 2.5rem;
    }

    section#mvp .mb-8.lg\:mb-20 {
        margin-bottom: 1.5rem;
    }

    /* Reduce section header bottom margin */
    section#mvp .text-center.mb-10.lg\:mb-20 {
        margin-bottom: 2rem;
    }

    /* Tighten column gap */
    section#mvp .gap-8.lg\:gap-16 {
        column-gap: 2rem;
    }

    /* Smaller image on desktop */
    section#mvp .mvp-img-wrap img {
        max-height: 380px;
    }

    /* Tighten bullet list */
    section#mvp .space-y-4 {
        row-gap: 0.5rem;
    }

    section#mvp .space-y-4 > * + * {
        margin-top: 0.5rem;
    }

    /* Tighten bullet list bottom margin */
    section#mvp .space-y-4.mb-8 {
        margin-bottom: 0;
    }

    /* Smaller paragraph font */
    section#mvp .mvp-text-col > p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

.mvp-img-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.32s ease;
}

.mvp-img-wrap:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18), 0 6px 20px rgba(236, 126, 0, 0.12);
}

.mvp-img-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 1.25rem;
}

@media (max-width: 768px) {
    .mvp-img-wrap {
        border-radius: 0.875rem;
    }

    .mvp-img-wrap img {
        max-height: 340px;
        border-radius: 0.875rem;
    }

    .mvp-img-wrap:hover {
        transform: translateY(-4px) scale(1.01);
    }

    /* MVP section mobile padding */
    section.py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Video Demo Section */
.video-demo {
    background: #1E1E1E;
    position: relative;
    z-index: 10;
    padding: 3rem 1rem;
    font-family: 'Poppins', sans-serif;
}

.video-demo h1,
.video-demo h2,
.video-demo p {
    font-family: 'Poppins', sans-serif;
}

.video-frame {
    width: min(100%, 960px);
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
}

.video-frame iframe,
.video-frame video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

.video-poster-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    line-height: 0;
    cursor: pointer;
}

.video-poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.video-poster-link:hover .video-poster-img {
    filter: brightness(0.75);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 52px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.92;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}

.video-poster-link:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    opacity: 1;
}

.video-play-btn svg {
    width: 100%;
    height: 100%;
}

/* Feature pills below video */
.video-feature-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin-top: 32px;
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    white-space: nowrap;
}
.pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .video-demo {
        padding: 2rem 0.75rem;
    }
    .video-demo .text-left {
        text-align: center !important;
    }
    .video-demo h2 {
        font-size: 22px !important;
    }
    .video-demo .text-left p {
        font-size: 14px !important;
        margin-bottom: 1.5rem !important;
        text-align: center !important;
    }
    .video-demo .grid {
        gap: 2rem !important;
    }
    .video-demo img {
        max-width: 280px !important;
        margin: 0 auto;
        display: block;
    }
    .video-frame {
        border-radius: 12px;
    }
    .pill {
        font-size: 0.78rem;
        padding: 7px 14px;
    }
}

@media (max-width: 480px) {
    .video-demo {
        padding: 1.5rem 0.5rem;
    }
    .video-demo h2 {
        font-size: 20px !important;
    }
    .video-demo .text-left p {
        font-size: 13px !important;
    }
    .video-demo img {
        max-width: 240px !important;
    }
    .video-frame {
        border-radius: 10px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    }
    .video-feature-pills {
        gap: 8px 10px;
        margin-top: 24px;
    }
    .pill {
        font-size: 0.72rem;
        padding: 6px 12px;
    }
}

/* =====================================================
   Manual Spacing Adjustment - Everything You Need
   ===================================================== */
/* Adjust margin-top value to move section up (negative) or down (positive) */
#features-highlight {
    margin-top: -2rem; /* Mobile: Adjust this value (e.g., -1rem, -3rem) */
}

@media (min-width: 768px) {
    #features-highlight {
        margin-top: -55px; /* Desktop: Adjust this value independently */
    }
}

/* =====================================================
   Everything You Need Carousel - Mobile Only
   ===================================================== */
@media (max-width: 768px) {
    #featuresHighlightTrack {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        align-items: stretch;
        gap: 12px !important;
        padding-inline: 6px !important;
        scroll-padding-inline: 6px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    #featuresHighlightTrack::-webkit-scrollbar {
        display: none;
    }
    /* Wrapper div dissolves — its cards become individual flex slides */
    #featuresHighlightTrack > div:not(.feature-card) {
        display: contents !important;
    }
    #featuresHighlightTrack .feature-card {
        flex: 0 0 calc(100% - 8px) !important;
        max-width: calc(100% - 8px) !important;
        width: calc(100% - 8px) !important;
        height: auto;
        margin: 0 !important;
        scroll-snap-align: center;
        box-sizing: border-box;
    }
    #featuresHighlightTrack .feature-card:hover {
        transform: none;
        box-shadow: none;
    }
    .features-highlight-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 16px;
    }
    .features-highlight-dot {
        width: 8px;
        height: 8px;
        border: none;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.35);
        padding: 0;
        cursor: pointer;
        transition: background 0.2s ease, width 0.2s ease;
    }
    .features-highlight-dot.is-active {
        width: 24px;
        background: #ec7e00;
    }
}

@media (min-width: 769px) {
    .features-highlight-dots {
        display: none;
    }
}

/* =====================================================
   Meet Our Team Section
   ===================================================== */
.team-section {
    background: #1E1E1E;
    position: relative;
    z-index: 10;
    padding: 5rem 2rem;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    max-width: 700px;
    aspect-ratio: 1 / 1;
    background-image: url('/img/white-bg_sandbox_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.team-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Section header */
.team-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.team-section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.team-title-accent {
    background: linear-gradient(90deg, #ec7e00, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-section-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Member cards grid */
.members-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.75rem;
}

.members-grid .member-card {
    grid-column: span 2;
}

.members-grid .member-card:nth-child(4) {
    grid-column: 2 / 4;
}

.members-grid .member-card:nth-child(5) {
    grid-column: 4 / 6;
}

.member-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}

.member-photo {
    aspect-ratio: 1 / 1;
    background: var(--grad);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.member-initials {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
    user-select: none;
    z-index: 0;
}

.member-info {
    padding: 1.4rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.member-name {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.2rem;
}

.member-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ec7e00;
    margin-bottom: 0.75rem;
}

.member-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}

.member-footer {
    border-top: 1px solid #f3f4f6;
    padding-top: 0.75rem;
    display: flex;
    justify-content: flex-end;
}

.member-email {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
    overflow: hidden;
    max-width: 100%;
}

.member-email span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-email:hover {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 1024px) {
    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .members-grid .member-card {
        grid-column: span 1;
    }
    .members-grid .member-card:nth-child(4),
    .members-grid .member-card:nth-child(5) {
        grid-column: span 1;
    }
    /* Center lone 5th card on its own row */
    .members-grid .member-card:nth-child(5):last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 0.75rem);
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 3rem 1.25rem;
    }
    .team-header {
        margin-bottom: 2.5rem;
    }
    .team-section-sub {
        font-size: 0.9rem;
    }
    .dept-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .dept-card {
        padding: 1.5rem 1.25rem;
    }
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .members-grid .member-card {
        grid-column: span 1;
    }
    .members-grid .member-card:nth-child(4),
    .members-grid .member-card:nth-child(5) {
        grid-column: span 1;
    }
    .members-grid .member-card:nth-child(5):last-child {
        grid-column: 1 / -1;
        max-width: calc(50% - 0.5rem);
        margin: 0 auto;
        width: 100%;
    }
    .member-name {
        font-size: 0.9rem;
    }
    .member-info {
        padding: 1rem 1.1rem 1.1rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 2.5rem 1rem;
    }
    .team-header {
        margin-bottom: 2rem;
    }
    .members-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .members-grid .member-card,
    .members-grid .member-card:nth-child(4),
    .members-grid .member-card:nth-child(5),
    .members-grid .member-card:nth-child(5):last-child {
        grid-column: 1 / -1;
        max-width: 100%;
        margin: 0;
    }
    .member-photo {
        aspect-ratio: 4 / 3;
    }
    .member-initials {
        font-size: 2rem;
    }
    .member-info {
        padding: 1rem 1rem 1.1rem;
    }
    .member-name {
        font-size: 0.95rem;
    }
    .member-desc {
        font-size: 0.78rem;
    }
}

/* Team carousel — mobile only */
@media (max-width: 768px) {
    .team-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px !important;
        padding-inline: 6px;
        scroll-padding-inline: 6px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .team-track::-webkit-scrollbar {
        display: none;
    }
    .team-track .member-card,
    .team-track .member-card:nth-child(4),
    .team-track .member-card:nth-child(5),
    .team-track .member-card:nth-child(5):last-child {
        flex: 0 0 calc(100% - 8px) !important;
        max-width: calc(100% - 8px) !important;
        width: calc(100% - 8px) !important;
        grid-column: auto !important;
        margin: 0 !important;
        scroll-snap-align: center;
        box-shadow: none !important;
    }
    .team-track .member-card:hover {
        transform: none;
        box-shadow: none !important;
    }
    .team-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 14px;
    }
    .team-dot {
        width: 8px;
        height: 8px;
        border: none;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.35);
        padding: 0;
        cursor: pointer;
        transition: background 0.2s ease, width 0.2s ease;
    }
    .team-dot.is-active {
        width: 24px;
        background: #ec7e00;
    }
}

@media (min-width: 769px) {
    .team-dots {
        display: none;
    }
}

/* Contact Us Section */
.contact-us {
    background: #f8f9fb;
    position: relative;
    z-index: 10;
    padding: 3rem 1rem;
    overflow: hidden;
}

.contact-us::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #f8f9fb;
    pointer-events: none;
    z-index: 0;
}

.contact-us > div {
    position: relative;
    z-index: 1;
}

.contact-logo {
    width: 120px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    margin-top: -30px;
    margin-bottom: -10px;
}

.contact-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(236, 126, 0, 0.5));
}

.contact-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.09);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.contact-card:hover,
.contact-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(236, 126, 0, 0.6);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    background: #ffffff;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.contact-header h4 {
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
    color: #ec7e00;
    background: rgba(236, 126, 0, 0.15);
    font-size: 26px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 12px rgba(236, 126, 0, 0.2);
}

.contact-card:hover .contact-icon,
.contact-card:focus-within .contact-icon {
    transform: rotate(-6deg) scale(1.08);
    color: #ffffff;
    background: rgba(236, 126, 0, 0.9);
    box-shadow: 0 6px 20px rgba(236, 126, 0, 0.4);
}

.contact-card p {
    line-height: 1.6;
    margin: 0;
    padding-left: 66px;
    word-break: break-word;
}

.contact-card-link {
    text-decoration: none;
    cursor: pointer;
    display: block;
}

.contact-card-link:hover {
    text-decoration: none;
}

.contact-card-link:active,
.contact-card-link:visited {
    color: inherit;
}

/* Contact — Tablet */
@media (max-width: 1024px) {
    .contact-us {
        padding: 2.5rem 1rem;
    }
    .contact-us h2 {
        font-size: 34px !important;
    }
    .contact-us > div > p {
        font-size: 16px !important;
        margin-bottom: 2rem !important;
    }
    .contact-logo {
        width: 100px;
    }
    .contact-card {
        min-height: 0;
        padding: 1.25rem !important;
    }
    .contact-icon {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
    .contact-card p {
        padding-left: 60px;
        font-size: 14px;
    }
    .contact-header h4 {
        font-size: 16px !important;
    }
}

/* Contact — Mobile */
@media (max-width: 768px) {
    .contact-us {
        padding: 2rem 0.75rem;
    }
    .contact-us h2 {
        font-size: 26px !important;
        margin-bottom: 0.75rem !important;
    }
    .contact-us > div > p {
        font-size: 14px !important;
        margin-bottom: 1.5rem !important;
    }
    .contact-logo {
        width: 84px;
        margin-top: -10px;
        margin-bottom: 4px;
    }
    .contact-card {
        min-height: 0;
        padding: 1rem !important;
        border-radius: 12px;
    }
    .contact-header {
        gap: 10px;
        margin-bottom: 10px;
    }
    .contact-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
        border-radius: 10px;
    }
    .contact-header h4 {
        font-size: 15px !important;
    }
    .contact-card p {
        padding-left: 52px;
        font-size: 13px;
    }
}

/* Contact — Small Mobile */
@media (max-width: 480px) {
    .contact-us {
        padding: 1.75rem 0.5rem;
    }
    .contact-us h2 {
        font-size: 22px !important;
    }
    .contact-us > div > p {
        font-size: 13px !important;
        margin-bottom: 1.25rem !important;
    }
    .contact-logo {
        width: 72px;
    }
    .contact-card {
        min-height: 0;
        padding: 0.875rem !important;
        border-radius: 10px;
    }
    .contact-header {
        gap: 8px;
        margin-bottom: 8px;
    }
    .contact-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
        border-radius: 8px;
    }
    .contact-header h4 {
        font-size: 14px !important;
    }
    .contact-card p {
        padding-left: 0;
        font-size: 12px;
    }
    .footer-copyright {
        padding: 1.25rem 1rem;
    }
    .footer-copyright p {
        font-size: 12px !important;
    }
}

/* Footer Copyright */
.footer-copyright {
    background: #1E1E1E;
    position: relative;
    z-index: 10;
    padding: 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    margin: 0;
    letter-spacing: 0.3px;
    font-weight: 400;
}

/* ── Scroll Reveal Animations ─────────────────────────────────── */

/* Base hidden state — applied by JS before observer fires */
.scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Slide from left */
.scroll-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Slide from right */
.scroll-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Scale up */
.scroll-fade-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Visible state — toggled by IntersectionObserver */
.scroll-fade.visible,
.scroll-fade-left.visible,
.scroll-fade-right.visible,
.scroll-fade-scale.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays for sibling cards */
.scroll-delay-1 { transition-delay: 0.08s; }
.scroll-delay-2 { transition-delay: 0.16s; }
.scroll-delay-3 { transition-delay: 0.24s; }
.scroll-delay-4 { transition-delay: 0.32s; }
.scroll-delay-5 { transition-delay: 0.40s; }
.scroll-delay-6 { transition-delay: 0.48s; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-fade,
    .scroll-fade-left,
    .scroll-fade-right,
    .scroll-fade-scale {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Disable scroll reveal animations on mobile */
@media (max-width: 768px) {
    .scroll-fade,
    .scroll-fade-left,
    .scroll-fade-right,
    .scroll-fade-scale {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .scroll-delay-1,
    .scroll-delay-2,
    .scroll-delay-3,
    .scroll-delay-4,
    .scroll-delay-5,
    .scroll-delay-6 {
        transition-delay: 0s !important;
    }
}

/* ── Admin Login Modal ──────────────────────────────────────────── */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.40);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admin-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ── Card ── */
.admin-modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 48px 100px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(236, 126, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(32px) scale(0.95);
    transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Poppins', sans-serif;
}

.admin-modal-overlay.is-open .admin-modal-card {
    transform: translateY(0) scale(1);
}

/* Animated orange accent bar at top */
/* Warm radial glow behind logo */
.admin-modal-card::after {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(236, 126, 0, 0.08) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

/* ── Inner body (sits above ::after glow) ── */
.admin-modal-body {
    position: relative;
    z-index: 1;
    padding: 40px 32px 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ── Close button ── */
.admin-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    color: rgba(0, 0, 0, 0.35);
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.admin-modal-close:hover {
    background: rgba(236, 126, 0, 0.12);
    border-color: rgba(236, 126, 0, 0.35);
    color: #ec7e00;
}

/* ── Logo wrap ── */
.admin-modal-logo-wrap {
    position: relative;
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-modal-logo-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #ec7e00 0%,
        #f9a825 25%,
        rgba(236,126,0,0.12) 50%,
        #f9a825 75%,
        #ec7e00 100%
    );
    animation: adminRingSpin 5s linear infinite;
    opacity: 0.75;
}

.admin-modal-logo-ring::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #ffffff;
}

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

.admin-modal-logo {
    position: relative;
    z-index: 1;
    width: 60px;
    height: auto;
    object-fit: contain;
    animation: adminLogoFloat 2.2s ease-in-out infinite;
    filter: drop-shadow(0 4px 14px rgba(236, 126, 0, 0.40));
}

@keyframes adminLogoFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

/* ── Header ── */
.admin-modal-header {
    text-align: center;
    width: 100%;
}

.admin-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1f2937;
    letter-spacing: -0.3px;
}

.admin-modal-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
}

/* ── Divider ── */
.admin-modal-divider {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    flex-shrink: 0;
}

/* ── Alert ── */
.admin-alert {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-sizing: border-box;
    animation: slideDown 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.admin-alert-error {
    background: linear-gradient(135deg, #fef2f2, #fee4e4);
    border: 1px solid #f87171;
    color: #991b1b;
}

.admin-alert-icon {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
    margin-top: 1px;
}

.admin-alert p { margin: 0; font-weight: 500; line-height: 1.5; }

/* ── Form ── */
.admin-modal-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-field-message {
    font-size: 12px;
    color: #b91c1c;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.admin-field-message::before {
    content: '!';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    background: #dc2626;
    color: #fff;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 700;
    flex-shrink: 0;
}

.admin-field {
    position: relative;
    display: flex;
    align-items: center;
}

.admin-field input {
    width: 100%;
    padding: 13px 13px 13px 42px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 14px;
    color: #1f2937;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.admin-field input::placeholder {
    color: #9ca3af;
}

.admin-field input:focus {
    border-color: #f57c00;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.14);
}

.admin-field input.admin-input-error {
    border-color: #f87171;
    background: #fef2f2;
}

.admin-field-icon {
    position: absolute;
    left: 14px;
    height: 16px;
    width: 16px;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    font-size: 15px;
}

.admin-toggle-pw {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    height: 28px;
    width: 28px;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: color 0.2s;
}

.admin-toggle-pw:hover {
    color: #6b7280;
}

/* Hide browser's native password reveal button (Edge/Chrome) */
.admin-modal-form input[type="password"]::-ms-reveal,
.admin-modal-form input[type="password"]::-ms-clear {
    display: none;
}
.admin-modal-form input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none !important;
}

/* ── Submit button — pill, matches nav CTA style ── */
.admin-modal-btn {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(90deg, #f9a825, #ec7e00);
    color: #fff;
    letter-spacing: 0.3px;
    box-shadow: 0 8px 28px rgba(236, 126, 0, 0.38);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Poppins', sans-serif;
    margin-top: 6px;
}

.admin-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(236, 126, 0, 0.52);
}

.admin-modal-btn:active { transform: translateY(0); }

@media (max-width: 480px) {
    .admin-modal-body {
        padding: 30px 20px 26px;
    }
    .admin-modal-title { font-size: 20px; }
    .admin-modal-logo-wrap { width: 74px; height: 74px; }
    .admin-modal-logo { width: 52px; }
}

/* ══════════════════════════════════════════════════════════════════
   Mobile Menu — Download CTA footer
   ══════════════════════════════════════════════════════════════════ */
.mobile-menu-footer {
    margin-top: auto;
    padding-top: 32px;
}

.mobile-download-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: #ec7e00;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(236, 126, 0, 0.50);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    letter-spacing: 0.2px;
}

.mobile-download-cta i {
    font-size: 20px;
}

.mobile-download-cta:hover {
    background: #d97000;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(236, 126, 0, 0.60);
}

/* ══════════════════════════════════════════════════════════════════
   Download App Modal
   ══════════════════════════════════════════════════════════════════ */

/* ── Overlay ── */
.download-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.download-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* ── Card ── */
.download-modal-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 48px 100px rgba(0, 0, 0, 0.50),
        0 0 0 1px rgba(236, 126, 0, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(32px) scale(0.95);
    transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Poppins', sans-serif;
}

.download-modal-overlay.is-open .download-modal-card {
    transform: translateY(0) scale(1);
}

/* Orange top accent stripe */
.download-modal-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, #ec7e00 0%, #f9a825 100%);
}

/* ── Body ── */
.download-modal-body {
    position: relative;
    z-index: 1;
    padding: 32px 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ── Close button ── */
.download-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    color: rgba(0, 0, 0, 0.35);
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.download-modal-close:hover {
    background: rgba(236, 126, 0, 0.12);
    border-color: rgba(236, 126, 0, 0.35);
    color: #ec7e00;
}

/* ── Header ── */
.download-modal-header {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.download-modal-icon-wrap {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, rgba(236, 126, 0, 0.12) 0%, rgba(249, 168, 37, 0.08) 100%);
    border: 1.5px solid rgba(236, 126, 0, 0.25);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(236, 126, 0, 0.15);
}

.download-modal-icon-wrap i {
    font-size: 28px;
    color: #ec7e00;
}

.download-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.3px;
}

.download-modal-subtitle {
    font-size: 13.5px;
    color: #6b7280;
    margin: 0;
    line-height: 1.65;
    max-width: 340px;
}

/* ── Divider ── */
.download-modal-divider {
    width: 100%;
    height: 1px;
    background: #f0f0f0;
    flex-shrink: 0;
}

/* ── Main row (QR + OR + Button) ── */
.download-modal-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

/* QR section */
.download-qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.download-qr-wrap {
    width: 130px;
    height: 130px;
    border-radius: 16px;
    border: 2px dashed rgba(236, 126, 0, 0.40);
    background: linear-gradient(135deg, #fdf8f3 0%, #fef3e2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(236, 126, 0, 0.10);
}

/* If an actual img is placed inside, it fills the wrap */
.download-qr-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Placeholder shown when no real QR img is present */
.download-qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.download-qr-placeholder i {
    font-size: 48px;
    color: rgba(236, 126, 0, 0.55);
    line-height: 1;
}

.download-qr-placeholder span {
    font-size: 10px;
    font-weight: 600;
    color: rgba(236, 126, 0, 0.70);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.download-qr-label {
    font-size: 11.5px;
    font-weight: 500;
    color: #9ca3af;
    margin: 0;
    text-align: center;
}

/* OR divider */
.download-or-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    position: relative;
}

.download-or-divider::before,
.download-or-divider::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: #e5e7eb;
}

.download-or-divider span {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 0;
}

/* Button section */
.download-btn-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.download-android-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ec7e00 0%, #d97000 100%);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(236, 126, 0, 0.40);
    transition: all 0.25s ease;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.download-android-btn i {
    font-size: 20px;
}

.download-android-btn:hover {
    background: linear-gradient(135deg, #d97000 0%, #c46500 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(236, 126, 0, 0.55);
}

.download-android-btn:active {
    transform: translateY(0);
}

.download-btn-hint {
    font-size: 11.5px;
    color: #9ca3af;
    margin: 0;
    text-align: center;
}

/* ── Platform note ── */
.download-platform-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #ec7e00;
    border-radius: 10px;
    box-sizing: border-box;
}

.download-platform-note i {
    font-size: 16px;
    color: #ec7e00;
    margin-top: 1px;
    flex-shrink: 0;
    line-height: 1.4;
}

.download-platform-note p {
    font-size: 12.5px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.download-platform-note strong {
    color: #374151;
    font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 520px) {
    .download-modal-main {
        flex-direction: column;
        gap: 16px;
    }

    .download-or-divider {
        flex-direction: row;
        width: 100%;
    }

    .download-or-divider::before,
    .download-or-divider::after {
        width: 100%;
        height: 1px;
        flex: 1;
    }

    .download-btn-section {
        width: 100%;
    }

    .download-modal-body {
        padding: 28px 20px 24px;
    }

    .download-modal-title {
        font-size: 19px;
    }

    .download-qr-wrap {
        width: 120px;
        height: 120px;
    }
}
/* ─────────────────────────────────────────────────────────────────── */
