:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #a1a1aa;
    --accent-1: #4f46e5;
    --accent-2: #ec4899;
    --accent-3: #8b5cf6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --navbar-bg: rgba(5, 5, 5, 0.5);
    --footer-bg: #0a0a0c;
    --form-bg: rgba(0, 0, 0, 0.4);
    --select-bg: #1e1e24;
    --card-icon-bg: rgba(255,255,255,0.05);
    --item-tag-bg: rgba(20, 20, 25, 0.8);
    --item-tag-border: rgba(255,255,255,0.1);
    --logo-gradient: linear-gradient(to right, #fff, var(--text-muted));
    --page-header-bg: linear-gradient(180deg, rgba(5,5,5,0) 0%, rgba(20,20,30,0.5) 100%);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Blobs */
.blob-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-1), transparent 70%);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-3), transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.1); }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--navbar-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.logo {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: var(--logo-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
a.logo {
    text-decoration: none;
    cursor: pointer;
}

nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

/* Hamburger button (mobile only) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-decoration: none; /* anchor button support */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--accent-1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    color: #fff;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5% 0;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    opacity: 0;
    animation: fadeUp 1s ease 0.2s forwards;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.title span {
    background: linear-gradient(to right, var(--accent-1), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.action-group {
    display: flex;
    gap: 1rem;
}

/* Hero Visual & Phone Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: fadeLeft 1s ease 0.4s forwards;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: linear-gradient(180deg, #1e1e24, #0a0a0c);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 0 0 2px #2a2a30,
        0 20px 50px rgba(0,0,0,0.5),
        -20px -20px 60px rgba(79, 70, 229, 0.15),
        20px 20px 60px rgba(236, 72, 153, 0.15);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--bg-color), #0f0f13);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.camera-hole {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 12px;
    z-index: 10;
}

.screen-content {
    padding: 50px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.time {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, var(--text-color), var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.widget {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    height: 120px;
    backdrop-filter: blur(10px);
}

.widget.small {
    height: 80px;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
        gap: 4rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .subtitle {
        margin: 0 auto 2.5rem;
    }

    .action-group {
        justify-content: center;
    }

    .phone-mockup {
        transform: perspective(1000px) rotateY(0) rotateX(0);
    }

    .phone-mockup:hover {
        transform: translateY(-10px);
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(63, 41, 30, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 1rem 5%;
    }

    nav.open {
        display: flex;
    }

    nav .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .hamburger {
        display: flex;
    }
}

/* General Layout additions */
.section-container {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--glass-border);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header .highlight {
    color: var(--accent-1);
    background: linear-gradient(to right, var(--accent-1), var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

.cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: var(--card-icon-bg);
    border-radius: 16px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Items Tags (Accessories) */
.items-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.item-tag {
    background: var(--item-tag-bg);
    border: 1px solid var(--item-tag-border);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    cursor: default;
    color: var(--text-color);
}

.item-tag:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(139, 92, 246, 0.1));
    border-color: var(--accent-3);
    color: var(--text-color);
    transform: scale(1.02);
}

.center-action {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Nav Link Active State */
.nav-link.active {
    color: var(--text-color);
    border-bottom: 2px solid var(--accent-1);
    padding-bottom: 0.25rem;
}

.nav-link:hover {
    color: var(--text-color);
}

/* Page Header (for subpages) */
.page-header {
    padding: 10rem 5% 4rem;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
    background: var(--page-header-bg);
}

.page-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Form Styles */
.form-container {
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--form-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

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

.form-group input:disabled,
.form-group select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-divider {
    border: 0;
    height: 1px;
    background: var(--glass-border);
    margin: 2rem 0;
}

/* Ensure form date picker icon is visible */
::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.7;
    cursor: pointer;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
}

/* Footer Styles */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-col p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-3);
}

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

.business-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Accessibility: visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--accent-1);
    outline-offset: 3px;
}

/* Respect reduced-motion preferences */
@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;
    }
}


/* --- September 2026 refinements --- */
.logo { transition: filter .25s ease, opacity .25s ease, transform .25s ease; }
a.logo:hover, a.logo:focus-visible {
    filter: drop-shadow(0 0 8px rgba(139,92,246,.55)) drop-shadow(0 0 14px rgba(236,72,153,.25));
    opacity: 1;
}
.footer .logo { display: inline-block; }

.sell-card { position: relative; overflow: hidden; }
.sell-card::after {
    content: "BUY & SELL";
    position: absolute; right: 1rem; top: 1rem;
    font-size: .7rem; letter-spacing: .08em; font-weight: 800;
    color: #c4b5fd; border: 1px solid rgba(139,92,246,.3);
    background: rgba(139,92,246,.08); border-radius: 999px; padding: .3rem .55rem;
}

.store-photo-wrap { margin-top: 3rem; }
.store-photo {
    width: 100%; display: block; border-radius: 22px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 18px 55px rgba(0,0,0,.35);
}
.store-photo-caption { text-align: center; margin-top: 1rem; color: var(--text-muted); }

.success-shell { min-height: calc(100vh - 80px); display:flex; align-items:center; justify-content:center; padding:8rem 5% 5rem; }
.success-card { max-width: 680px; width:100%; text-align:center; padding:3.5rem 2rem; }
.success-check {
    width: 104px; height: 104px; margin:0 auto 1.6rem; border-radius:50%;
    display:grid; place-items:center; font-size:3.4rem; font-weight:900; color:#fff;
    background: radial-gradient(circle at 35% 30%, #55e676, #0fb943 65%, #078d31);
    box-shadow: 0 0 30px rgba(34,197,94,.42), inset 0 1px 8px rgba(255,255,255,.28);
}
.success-logo { width:62px; height:62px; object-fit:contain; border-radius:14px; background:#fff; padding:4px; margin-bottom:1rem; }
.success-card h1 { font-size: clamp(2.2rem, 6vw, 3.3rem); margin-bottom:.7rem; }
.success-card .lead { font-size:1.2rem; color:#fff; margin-bottom:.65rem; }
.success-card .muted { color:var(--text-muted); line-height:1.65; }
.next-steps { text-align:left; margin:2rem auto; max-width:520px; padding:1.4rem 1.5rem; border:1px solid var(--glass-border); border-radius:16px; background:rgba(255,255,255,.025); }
.next-steps h2 { font-size:1.2rem; margin-bottom:.8rem; }
.next-steps ol { padding-left:1.3rem; color:var(--text-muted); line-height:1.8; }
.success-actions { display:flex; gap:.8rem; justify-content:center; flex-wrap:wrap; }

.quote-layout { display:grid; grid-template-columns:minmax(0, 1.6fr) minmax(280px,.8fr); gap:2rem; align-items:start; }
.quote-panel { position:sticky; top:110px; padding:2rem; text-align:center; }
.quote-price { font-size:2.6rem; font-weight:900; margin:.8rem 0; background:linear-gradient(to right,var(--accent-1),var(--accent-2)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.quote-note { color:var(--text-muted); font-size:.92rem; line-height:1.55; }
.inline-checks { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; margin-top:.7rem; }
.check-pill { display:flex; gap:.55rem; align-items:center; padding:.75rem .85rem; border:1px solid var(--glass-border); border-radius:12px; background:rgba(255,255,255,.02); color:var(--text-muted); }
.check-pill input { width:auto; }
.estimate-empty { font-size:1.05rem; color:var(--text-muted); margin:1rem 0; }
.brand-mark-small { width:54px; height:54px; object-fit:contain; border-radius:12px; background:#fff; padding:4px; }

@media (max-width: 850px) {
    .quote-layout { grid-template-columns:1fr; }
    .quote-panel { position:static; }
    .inline-checks { grid-template-columns:1fr; }
}
