/* ========================================
   COMMON STYLES — PixelSpot Website
   ======================================== */

/* ── Skip-to-content link (accessibility) ── */
.skip-to-content {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    background: #0071e3;
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 12px 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.skip-to-content:focus {
    top: 0;
    outline: none;
}

/* ── Respect prefers-reduced-motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ── Improved focus-visible styles ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid #0071e3;
    outline-offset: 2px;
    border-radius: 4px;
}

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

:root {
    /* Colors — Apple-inspired light theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f5f7;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-muted: #737378;
    --accent: #0071e3;
    --accent-light: #2997ff;
    --accent-hover: #0077ED;
    --accent-glow: rgba(0, 113, 227, 0.2);
    --gradient-1: linear-gradient(135deg, #0071e3, #2997ff);
    --gradient-2: linear-gradient(135deg, #0071e3, #2997ff);
    --gradient-text: linear-gradient(90deg, #0071e3, #2997ff, #3b82f6);
    --border: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(0, 113, 227, 0.3);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.08);
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    /* Sizing */
    --max-width: 1280px;
    --nav-height: 44px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul { list-style: none; }

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(0, 113, 227, 0.06);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 113, 227, 0.12);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.08);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
}

.btn-sm:hover {
    background: rgba(59, 130, 246, 0.2);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    height: var(--nav-height);
    transition: all 0.3s ease;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    isolation: isolate;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 32px;
    width: auto;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 0;
    background: transparent;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: transparent;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-1);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 10px;
    transition: all 0.3s;
    box-shadow: 0 2px 12px var(--accent-glow);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 36px;
    height: 36px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 17px;
    height: 1px;
    background: #1d1d1f;
    border-radius: 0.5px;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1),
                background 0.2s ease;
    transform-origin: center;
}

/* 2-bar hamburger → X animation */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    transform: translateY(-4.5px) rotate(-45deg);
}

.nav-toggle.active span {
    background: #1d1d1f !important;
}

/* Body scroll lock when menu open */
body.menu-open {
    overflow: hidden;
}

/* ========================================
   MEGA DROPDOWN — Apple.com style
   ======================================== */

/* Scrim behind mega dropdown */
.nav-mega-scrim {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.25, 1);
}
.nav-mega-scrim.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Each .nav-item wraps a link + its dropdown */
.nav-item {
    position: static;
}

/* The dropdown panel */
.nav-mega-dropdown {
    position: fixed;
    top: 43px;
    left: 0;
    right: 0;
    background: #fbfbfd;
    z-index: 9999;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.42s cubic-bezier(0.4, 0, 0.25, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.25, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    pointer-events: none;
}
.nav-mega-dropdown.open {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
}

/* Inner container — matches Apple max-width */
.nav-mega-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 40px 22px 52px;
    display: flex;
    gap: 60px;
}

/* Each column in the dropdown */
.nav-mega-col {
    min-width: 0;
}
.nav-mega-col-title {
    font-size: 12px;
    font-weight: 400;
    color: #6e6e73;
    margin-bottom: 12px;
    letter-spacing: 0;
}
.nav-mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-mega-col li {
    margin-bottom: 2px;
}
.nav-mega-col a {
    display: inline-block;
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    text-decoration: none;
    line-height: 1.35;
    padding: 2px 0;
    transition: color 0.2s ease;
    font-family: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.nav-mega-col a:hover {
    color: #0071e3;
}

/* Smaller links in secondary columns */
.nav-mega-col--sm a {
    font-size: 12px;
    font-weight: 400;
    color: #1d1d1f;
    line-height: 1.6;
    padding: 1px 0;
}
.nav-mega-col--sm a:hover {
    color: #0071e3;
}

/* Divider line between primary and secondary */
.nav-mega-col--sm {
    padding-left: 40px;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
}

/* 2-column layout for large Explore Store list */
.nav-mega-col--2col ul {
    columns: 2;
    column-gap: 48px;
}
.nav-mega-col--2col li {
    break-inside: avoid;
}

/* When dropdown open, dim the nav links that aren't hovered */
.navbar.mega-open .nav-link {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.navbar.mega-open .nav-link:hover,
.navbar.mega-open .nav-link.mega-active {
    opacity: 1;
}

/* Hide mega dropdowns on mobile — mobile menu handles everything */
@media (max-width: 768px) {
    .nav-mega-dropdown {
        display: none !important;
    }
    .nav-mega-scrim {
        display: none !important;
    }
}

/* ========================================
   MOBILE SUB-MENU — Apple-style slide-in
   ======================================== */
@media (max-width: 768px) {
    /* Chevron arrow on mega links */
    .nav-link[data-mega]::after {
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        border-right: 2px solid #6e6e73;
        border-bottom: 2px solid #6e6e73;
        transform: rotate(-45deg);
        margin-left: 10px;
        vertical-align: middle;
        transition: border-color 0.2s;
    }
    .nav-link[data-mega]:hover::after,
    .nav-link[data-mega].active::after {
        border-color: #1d1d1f;
    }

    /* Sub-menu panel */
    .mobile-submenu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        z-index: 10001;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 56px 48px 48px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
    }
    .mobile-submenu.open {
        transform: translateX(0);
    }

    /* Back button */
    .mobile-sub-back {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 17px;
        font-weight: 400;
        color: #0071e3;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-bottom: 32px;
        font-family: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    }
    .mobile-sub-back::before {
        content: '';
        display: inline-block;
        width: 8px;
        height: 8px;
        border-left: 2px solid #0071e3;
        border-bottom: 2px solid #0071e3;
        transform: rotate(45deg);
    }

    /* Sub-menu links — large, bold, Apple style */
    .mobile-sub-link {
        display: block;
        font-size: 28px;
        font-weight: 600;
        color: #1d1d1f;
        text-decoration: none;
        line-height: 1.15;
        letter-spacing: -0.005em;
        margin-bottom: 16px;
        font-family: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.35s ease, transform 0.35s ease, color 0.2s;
    }
    .mobile-submenu.open .mobile-sub-link {
        opacity: 1;
        transform: translateY(0);
    }
    /* Stagger animation */
    .mobile-submenu.open .mobile-sub-link:nth-child(2)  { transition-delay: 0.04s; }
    .mobile-submenu.open .mobile-sub-link:nth-child(3)  { transition-delay: 0.07s; }
    .mobile-submenu.open .mobile-sub-link:nth-child(4)  { transition-delay: 0.10s; }
    .mobile-submenu.open .mobile-sub-link:nth-child(5)  { transition-delay: 0.13s; }
    .mobile-submenu.open .mobile-sub-link:nth-child(6)  { transition-delay: 0.16s; }
    .mobile-submenu.open .mobile-sub-link:nth-child(7)  { transition-delay: 0.19s; }
    .mobile-submenu.open .mobile-sub-link:nth-child(8)  { transition-delay: 0.22s; }
    .mobile-submenu.open .mobile-sub-link:nth-child(9)  { transition-delay: 0.25s; }
    .mobile-submenu.open .mobile-sub-link:nth-child(10) { transition-delay: 0.28s; }

    /* Section divider + title for "Shop" / "More" sections */
    .mobile-sub-divider {
        width: 100%;
        height: 1px;
        background: rgba(0,0,0,0.08);
        margin: 16px 0 20px;
    }
    .mobile-sub-title {
        font-size: 12px;
        font-weight: 400;
        color: #6e6e73;
        margin-bottom: 14px;
        letter-spacing: 0;
    }
    /* Smaller links in secondary section */
    .mobile-sub-link--sm {
        font-size: 17px;
        font-weight: 400;
        color: #1d1d1f;
        margin-bottom: 10px;
    }

    /* When sub-menu is showing, hide main nav links */
    .nav-links.sub-active {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }
}

/* ========================================
   FOOTER — Apple.com style
   ======================================== */
.footer {
    background: #f5f5f7;
    padding: 0;
    border-top: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.footer .container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

/* ── Disclaimer / footnote area ── */
.footer-disclaimer {
    padding: 17px 0 11px;
    border-bottom: 1px solid #d2d2d7;
}
.footer-disclaimer p {
    font-size: 0.73rem;
    line-height: 1.52;
    color: #6e6e73;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
.footer-disclaimer a {
    color: #424245;
    text-decoration: underline;
}
.footer-disclaimer a:hover {
    color: #0066cc;
}

/* ── Directory grid (link columns) ── */
.footer-directory {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0 20px;
    padding: 20px 0 14px;
    border-bottom: 1px solid #d2d2d7;
}

.footer-col h4 {
    font-size: 0.73rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: #1d1d1f;
    letter-spacing: -0.01em;
}

.footer-col {
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: 0.73rem;
    color: #424245;
    margin-bottom: 5px;
    transition: color 0.2s;
    text-decoration: none;
    letter-spacing: -0.01em;
    line-height: 1.33;
}

.footer-col a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.footer-col a i {
    margin-right: 4px;
    font-size: 0.8em;
    opacity: 0.6;
}

.footer-col + .footer-col-separator {
    margin-top: 18px;
}
.footer-col-separator {
    height: 0;
    margin: 12px 0 4px;
}

/* ── Bottom bar ── */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0;
}

.footer-bottom-bar .footer-cta {
    font-size: 0.73rem;
    color: #6e6e73;
    letter-spacing: -0.01em;
}
.footer-bottom-bar .footer-cta a {
    color: #0066cc;
    text-decoration: none;
}
.footer-bottom-bar .footer-cta a:hover {
    text-decoration: underline;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 0.73rem;
    color: #6e6e73;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.73rem;
    color: #424245;
    text-decoration: none;
    letter-spacing: -0.01em;
    padding: 0 10px;
    border-left: 1px solid #d2d2d7;
    line-height: 1;
    white-space: nowrap;
}

.footer-legal-links a:first-child {
    border-left: none;
    padding-left: 0;
}

.footer-legal-links a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.footer-region {
    font-size: 0.73rem;
    color: #424245;
    text-decoration: none;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.footer-region:hover {
    color: #0066cc;
    text-decoration: underline;
}

/* ── LEGACY: keep old classes working ── */
.footer-grid { display: none; }
.footer-bottom { display: none; }

/* ── Social icons in footer ── */
.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.footer-social a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6e6e73;
    font-size: 0.82rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer-social a:hover {
    color: #1d1d1f;
}

/* ── Dark theme ── */
[data-theme="dark"] .footer { background: #1d1d1f; }
[data-theme="dark"] .footer-disclaimer p { color: #86868b; }
[data-theme="dark"] .footer-disclaimer a { color: #a1a1a6; }
[data-theme="dark"] .footer-disclaimer { border-color: #424245; }
[data-theme="dark"] .footer-directory { border-color: #424245; }
[data-theme="dark"] .footer-col h4 { color: #f5f5f7; }
[data-theme="dark"] .footer-col a { color: #a1a1a6; }
[data-theme="dark"] .footer-col a:hover { color: #2997ff; }
[data-theme="dark"] .footer-copyright { color: #86868b; }
[data-theme="dark"] .footer-legal-links a { color: #a1a1a6; border-color: #424245; }
[data-theme="dark"] .footer-legal-links a:hover { color: #2997ff; }
[data-theme="dark"] .footer-bottom-bar .footer-cta { color: #86868b; }
[data-theme="dark"] .footer-bottom-bar .footer-cta a { color: #2997ff; }
[data-theme="dark"] .footer-region { color: #a1a1a6; }
[data-theme="dark"] .footer-social a { color: #86868b; }
[data-theme="dark"] .footer-social a:hover { color: #f5f5f7; }

/* ── Footer mobile responsive ── */
@media (max-width: 833px) {
    .footer-directory {
        grid-template-columns: 1fr 1fr;
        gap: 0 16px;
        padding: 12px 0 8px;
    }
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .footer-legal-links { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .footer-directory {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .footer-col {
        border-bottom: 1px solid #d2d2d7;
        padding-bottom: 10px;
        margin-bottom: 0;
    }
    [data-theme="dark"] .footer-col { border-color: #424245; }
    .footer-bottom-left { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-legal-links a { padding: 2px 8px 2px 0; border-left: none; }
}

/* ========================================
   HERO — Shared across all pages
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(59, 130, 246, 0.15), transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139, 92, 246, 0.1), transparent 60%),
        radial-gradient(ellipse 40% 30% at 20% 60%, rgba(6, 182, 212, 0.08), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--accent);
    font-size: 1.5rem;
    animation: bounceDown 2s infinite;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.hero-scroll:hover {
    opacity: 1;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(12px); }
    60% { transform: translateX(-50%) translateY(6px); }
}

/* ========================================
   QUOTE FORM
   ======================================== */
.quote-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos-delay="150"] { transition-delay: 0.15s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="450"] { transition-delay: 0.45s; }

/* ========================================
   RESPONSIVE
   ======================================== */
/* ── Apple-style mobile menu scrim ── */
.nav-scrim {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.25, 1);
    -webkit-tap-highlight-color: transparent;
}
.nav-scrim.visible {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 56px 48px 48px;
        gap: 0;
        border: none;
        overflow-y: auto;
        z-index: 10000;
        text-align: left;
        /* Apple-style: clip from top reveals downward */
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    }

    .nav-links.open {
        display: flex;
        clip-path: inset(0 0 0 0);
    }

    .nav-link {
        display: block;
        width: auto;
        padding: 0;
        font-size: 28px;
        font-weight: 600;
        color: #6e6e73;
        border-radius: 0;
        border: none;
        line-height: 1.15;
        letter-spacing: -0.005em;
        margin-bottom: 20px;
        background: transparent;
        text-align: left;
        -webkit-text-size-adjust: 100%;
        font-family: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        /* Stagger fade-in */
        opacity: 0;
        transform: translateY(-12px);
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.25, 1),
                    transform 0.4s cubic-bezier(0.4, 0, 0.25, 1);
    }

    /* Stagger delays for each link */
    .nav-links.open .nav-link:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.06s; }
    .nav-links.open .nav-link:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.10s; }
    .nav-links.open .nav-link:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.14s; }
    .nav-links.open .nav-link:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
    .nav-links.open .nav-link:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.22s; }
    .nav-links.open .nav-link:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
    .nav-links.open .nav-link:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.30s; }
    .nav-links.open .nav-link:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 0.34s; }

    .nav-link:first-child {
        font-weight: 700;
        color: #1d1d1f;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #1d1d1f;
        background: transparent;
    }

    .nav-toggle {
        display: flex;
        z-index: 10002;
        position: relative;
    }

    .nav-cta {
        display: none;
    }

    /* No Get Quote button */
    .nav-links.open::after {
        display: none;
    }

    /* When menu is open, lock scroll */
    body.menu-open {
        overflow: hidden;
    }
    .navbar.menu-is-open .nav-logo {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .navbar.menu-is-open .ps-search-btn {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .navbar.menu-is-open {
        background: #ffffff !important;
        border-bottom-color: transparent !important;
        box-shadow: none !important;
    }

    .section { padding: 60px 0; }
    .section-header { margin-bottom: 36px; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .quote-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-height: 44px;
    }

    .container { padding: 0 16px; }
    
    .hero-buttons { 
        flex-direction: column; 
        gap: 12px;
    }
    .hero-buttons .btn { 
        width: 100%; 
        justify-content: center; 
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-col h4 {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .section { padding: 48px 0; }

    .section-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }

    .form-group input,
    .form-group select {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
}

/* Hide "Home" nav link — logo serves as home, so no need for explicit Home link */
/* Hide "Digital Standee" nav link — Store is the same page */
.nav-links > a.nav-link[href="/"],
.nav-links > a.nav-link[href="/"]:first-child,
.nav-links > a.nav-link[data-mega="mega-standee"] {
    display: none !important;
}