/* =========================================================
   84 HOURS WEBSITE — GLOBAL STYLES
   FINAL: ALL BUTTONS SOLID (NO GRADIENTS ANYWHERE)
   ========================================================= */
/* =========================
   VARIABLES
   ========================= */
:root {
    --brand-cyan: #00AEEF;
    --brand-cyan-dark: #0096cc;
    --brand-orange: #F7931E; /* kept for future accents, not buttons */
    --text-dark: #1A1A1A;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --bg-light: #F9FAFB;
}
/* =========================
   RESET
   ========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.6;
}
h1, h2, h3, h4, p {
    margin: 0;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
/* =========================
   TYPOGRAPHY
   ========================= */
h1, h2, h3, h4 {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}
h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.15;
}
h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
}
p {
    font-size: 16px;
    color: #374151;
}
/* =========================
   BUTTON SYSTEM (SOLID ONLY)
   ========================= */
.btn-primary,
.btn-secondary,
a.btn-primary,
a.btn-secondary,
button.btn-primary,
button.btn-secondary {
    appearance: none;
    background-color: var(--brand-cyan) !important;
    background-image: none !important;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0 !important;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none !important;
    transition: background-color .15s ease,
                box-shadow .15s ease,
                transform .15s ease,
                opacity .15s ease;
}
.btn-primary:hover,
.btn-secondary:hover {
    background-color: var(--brand-cyan-dark) !important;
    box-shadow: 0 10px 24px rgba(0,174,239,.25);
    transform: translateY(-1px);
}
.btn-primary:active,
.btn-secondary:active {
    transform: translateY(0);
    opacity: .98;
}
.btn-primary:visited,
.btn-secondary:visited {
    color: #ffffff !important;
}
.btn-large {
    padding: 16px 34px;
    font-size: 17px;
}
.btn-primary.full {
    width: 100%;
    padding: 14px 18px;
}
/* =========================
   HEADER
   ========================= */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.logo img {
    height: 80px;
}
.main-nav {
    display: flex;
    gap: 28px;
}
.main-nav a {
    font-size: 15px;
    font-weight: 500;
}
.main-nav a:hover {
    color: var(--brand-cyan);
}
/* HEADER CTA FIX */
.header-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.header-cta .btn-primary {
    min-width: 170px;
}
.header-cta .warranty {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
    text-align: center;
    letter-spacing: 0.02em;
    opacity: 0.92;
}
/* =========================
   MOBILE NAV
   ========================= */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: #ffffff;
    border-radius: 12px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: #111827;
    border-radius: 999px;
    margin: 5px auto;
}
.mobile-nav {
    display: none;
    background: #ffffff;
    border-top: 1px solid var(--border);
}
.mobile-nav.open {
    display: block;
}
.mobile-nav a {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(229,231,235,.65);
    font-weight: 600;
}
.mobile-nav a:hover {
    background: rgba(0,174,239,.06);
}
.mobile-warranty {
    margin: 0;
    padding: 12px 20px 18px;
    font-size: 13px;
    color: var(--text-muted);
}
/* =========================
   HERO
   ========================= */
.hero {
    padding: 80px 20px;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero h2 {
    font-size: 20px;
    font-weight: 500;
    margin-top: 16px;
}
.hero-sub {
    margin-top: 16px;
    max-width: 520px;
}
.hero-cta {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-warranty {
    margin-top: 14px;
    font-size: 14px;
    color: var(--text-muted);
}
/* =========================
   TRUST STRIP
   ========================= */
.trust-strip {
    background: var(--bg-light);
    padding: 24px 20px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    text-align: center;
}
/* =========================
   HOW IT WORKS
   ========================= */
.how-it-works {
    padding: 80px 20px;
    text-align: center;
}
.steps {
    max-width: 1000px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
}
/* spacing above CTA button */
.home .section-cta {
    margin-top: 32px;
    text-align: center;
}
/* =========================
   PACKAGES
   ========================= */
.packages-preview {
    background: var(--bg-light);
    padding: 80px 20px;
    text-align: center; /* centers “Choose the Right Package” */
}
.packages-preview h2,
.packages-preview h3,
.packages-preview p {
    text-align: center;
}
.package-grid {
    max-width: 1100px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.package-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
}
.package-card.featured {
    border: 2px solid var(--brand-cyan);
}
.package-price {
    font-size: 28px;
    margin: 16px 0;
}
.package-badge {
    display: inline-block;
    font-size: 12px;
    background: #E0F2FE;
    color: #0369A1;
    padding: 6px 12px;
    border-radius: 999px;
}
/* =========================
   AI EDGE
   ========================= */
.ai-edge {
    padding: 80px 20px;
    text-align: center;
}
.ai-edge p {
    max-width: 820px;
    margin: 14px auto 0;
}
/* =========================
   RECENT BUILDS — HORIZONTAL CAROUSEL (3–4 VISIBLE)
   ========================= */
.gallery-preview {
    padding: 80px 20px;
    text-align: center;
}
.gallery-preview .gallery-sub {
    max-width: 820px;
    margin: 14px auto 0;
}
/* The carousel strip */
.recent-carousel {
    max-width: 1200px;
    margin: 42px auto 0;
    display: flex;
    gap: 16px;
    padding: 6px 6px 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right,
        transparent 0,
        #000 28px,
        #000 calc(100% - 28px),
        transparent 100%);
}
/* scrollbar (optional) */
.recent-carousel::-webkit-scrollbar { height: 10px; }
.recent-carousel::-webkit-scrollbar-thumb {
    background: rgba(17,24,39,.18);
    border-radius: 999px;
}
.recent-carousel::-webkit-scrollbar-track {
    background: rgba(17,24,39,.06);
    border-radius: 999px;
}
/* Card sizing: 4 visible at 1200px container */
.recent-card {
    scroll-snap-align: start;
    flex: 0 0 calc((100% - (16px * 3)) / 4);
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.recent-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0,174,239,.35);
    box-shadow: 0 18px 40px rgba(17,24,39,.10);
}
/* Screenshot area */
.recent-shot {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #f3f4f6;
    overflow: hidden;
}
.recent-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Meta */
.recent-meta {
    padding: 12px 12px 14px;
    text-align: left;
}
.recent-title {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    font-size: 14px;
}
.recent-url {
    margin-top: 3px;
    font-size: 12px;
    color: #6B7280;
}
.recent-cta {
    margin-top: 8px;
    font-weight: 700;
    color: var(--brand-cyan);
    font-size: 13px;
}
/* 3 visible on medium screens */
@media (max-width: 1100px) {
    .recent-card {
        flex-basis: calc((100% - (16px * 2)) / 3);
    }
}
/* 2 visible on small screens (still swipeable) */
@media (max-width: 720px) {
    .recent-card {
        flex-basis: calc((100% - 16px) / 2);
    }
    .recent-carousel {
        mask-image: none;
    }
}
/* 1.2-ish visible on very small (nice swipe cue) */
@media (max-width: 420px) {
    .recent-card {
        flex-basis: 78%;
    }
}
/* =========================
   FINAL CTA
   ========================= */
.final-cta {
    background: var(--brand-cyan);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}
.final-cta p {
    color: rgba(255,255,255,.9);
    margin-top: 12px;
}
.final-warranty {
    font-size: 14px;
    margin-top: 18px;
}
/* FIX: button in final CTA was invisible (same color as bg) */
.final-cta .btn-primary,
.final-cta .btn-secondary,
.final-cta a.btn-primary,
.final-cta a.btn-secondary,
.final-cta button.btn-primary,
.final-cta button.btn-secondary {
    background-color: #ffffff !important;
    background-image: none !important;
    color: var(--brand-cyan) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
    margin-top: 22px;
}
.final-cta .btn-primary:hover,
.final-cta .btn-secondary:hover {
    background-color: rgba(255,255,255,.92) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.16);
    transform: translateY(-1px);
}
.final-cta .btn-primary:active,
.final-cta .btn-secondary:active {
    transform: translateY(0);
    opacity: .98;
}
.final-cta .btn-primary:visited,
.final-cta .btn-secondary:visited {
    color: var(--brand-cyan) !important;
}
/* =========================
   FOOTER — FINAL (2-COL LINKS + DOUBLE LOGO)
   ========================= */
.site-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}
/* Uses your markup selector */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.3fr;
    gap: 40px;
    align-items: start;
}
/* Logo link */
.site-footer .footer-brand-link {
    display: inline-flex;
    align-items: center;
}
/* Double-size footer logo */
.site-footer .footer-logo,
.site-footer .footer-logo-large {
    height: 76px; /* double size */
    width: auto;
    display: block;
}
/* Footer headings */
.site-footer h4 {
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 14px;
    color: var(--text-dark);
}
/* Footer list reset only */
.site-footer ul,
.site-footer li {
    margin: 0;
    padding: 0;
    list-style: none;
}
/* Company links in 2 columns */
.site-footer .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 10px 28px;
}
.site-footer .footer-links a {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
}
.site-footer .footer-links a:hover {
    color: var(--brand-cyan);
}
/* Warranty */
.site-footer .footer-warranty-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    max-width: 420px;
}
.site-footer .footer-mini-links {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
}
.site-footer .footer-mini-links a {
    font-weight: 700;
    color: #374151;
    text-decoration: none;
}
.site-footer .footer-mini-links a:hover {
    color: var(--brand-cyan);
}
.site-footer .footer-sep {
    opacity: .6;
}
/* Bottom — centered */
.site-footer .footer-bottom {
    border-top: 1px solid rgba(229,231,235,.9);
    padding: 20px 16px;
}
.site-footer .footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}
.site-footer .footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}
.site-footer .footer-bottom-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
}
.site-footer .footer-bottom-links a {
    font-weight: 700;
    color: #374151;
    text-decoration: none;
}
.site-footer .footer-bottom-links a:hover {
    color: var(--brand-cyan);
}
/* =========================
   GLOBAL SPACING CONSISTENCY
   ========================= */
section h2 {
    margin-bottom: 14px;
}
/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px) {
    .header-inner {
        min-height: 90px;
    }
    .logo img {
        height: 56px;
    }
    .main-nav {
        display: none;
    }
    .nav-toggle {
        display: inline-block;
    }
    .header-cta {
        display: none;
    }
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .steps,
    .package-grid {
        grid-template-columns: 1fr;
    }
    .trust-inner {
        flex-direction: column;
        align-items: center;
    }
    /* Footer stacks clean on mobile */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        text-align: center;
    }
    .site-footer .footer-brand-link {
        justify-content: center;
    }
    /* Links revert to 1 column on mobile */
    .site-footer .footer-links {
        grid-template-columns: 1fr;
        gap: 10px;
        justify-items: center;
    }
}
