/* Laptop Repair — Public marketing site */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --pub-bg: #f4f7fb;
    --pub-surface: #ffffff;
    --pub-ink: #0b1220;
    --pub-muted: #5c6b82;
    --pub-border: rgba(15, 23, 42, 0.08);
    --pub-primary: #1d4ed8;
    --pub-primary-dark: #1e3a8a;
    --pub-accent: #0ea5e9;
    --pub-success: #059669;
    --pub-radius: 16px;
    --pub-radius-lg: 24px;
    --pub-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
    --pub-header-h: 76px;
    --pub-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --pub-gradient: linear-gradient(135deg, #0b1220 0%, #1e3a8a 45%, #2563eb 100%);
}

.public-site {
    font-family: var(--pub-font);
    color: var(--pub-ink);
    background: var(--pub-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.public-site a { text-decoration: none; }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: var(--pub-header-h);
    transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--pub-border);
}
.site-header.is-scrolled .site-nav-link { color: var(--pub-ink); }
.site-header.is-scrolled .site-nav-link:hover { color: var(--pub-primary); }
.site-header.is-scrolled .site-brand-sub { color: var(--pub-muted); }

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--pub-header-h);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
}
.site-header.is-scrolled .site-brand { color: var(--pub-ink); }
.site-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--pub-accent), var(--pub-primary));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}
.site-brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.site-brand-text { line-height: 1.15; }
.site-brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.site-brand-sub { font-size: 0.7rem; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.08em; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.site-nav-link {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}
.site-nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.site-header.is-scrolled .site-nav-link:hover { background: rgba(29, 78, 216, 0.08); }
.site-nav-link.is-active {
    background: rgba(255, 255, 255, 0.18);
}
.site-header.is-scrolled .site-nav-link.is-active {
    background: rgba(29, 78, 216, 0.1);
    color: var(--pub-primary);
}

.site-nav-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.5rem; }

.btn-pub {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-pub:active { transform: scale(0.98); }
.btn-pub-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}
.btn-pub-primary:hover { color: #fff; box-shadow: 0 14px 32px rgba(37, 99, 235, 0.45); }
.btn-pub-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.site-header.is-scrolled .btn-pub-ghost {
    background: transparent;
    color: var(--pub-ink);
    border-color: var(--pub-border);
}
.btn-pub-ghost:hover { color: inherit; background: rgba(255, 255, 255, 0.2); }
.site-header.is-scrolled .btn-pub-ghost:hover { background: var(--pub-bg); }

.site-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    padding: 0.25rem;
}

@media (max-width: 991.98px) {
    .site-menu-toggle { display: block; }
    .site-nav-wrap {
        position: fixed;
        inset: var(--pub-header-h) 0 auto 0;
        background: #fff;
        padding: 1rem 1.25rem 1.5rem;
        box-shadow: var(--pub-shadow);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
    }
    .site-nav-wrap.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .site-nav { flex-direction: column; align-items: stretch; }
    .site-nav-link { color: var(--pub-ink); padding: 0.75rem 1rem; }
    .site-nav-actions { flex-direction: column; margin-left: 0; margin-top: 0.5rem; }
    .site-nav-actions .btn-pub { width: 100%; }
    .site-header .site-brand { color: var(--pub-ink); }
    .site-header:not(.is-scrolled) .site-nav-link { color: var(--pub-ink); }
}

/* Main */
.site-main { padding-top: var(--pub-header-h); }

.site-flash {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem 0;
}

/* Hero */
.hero-section {
    position: relative;
    background: var(--pub-gradient);
    color: #fff;
    overflow: hidden;
    padding: 4rem 0 5rem;
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}
.hero-orb-1 { width: 420px; height: 420px; background: #0ea5e9; top: -120px; right: -80px; }
.hero-orb-2 { width: 320px; height: 320px; background: #6366f1; bottom: -100px; left: -60px; }

.hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 991.98px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 1.25rem;
}
.hero-title span {
    background: linear-gradient(90deg, #7dd3fc, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead {
    font-size: 1.125rem;
    opacity: 0.92;
    line-height: 1.65;
    max-width: 32rem;
    margin-bottom: 2rem;
}
@media (max-width: 991.98px) {
    .hero-lead { margin-left: auto; margin-right: auto; }
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 991.98px) {
    .hero-cta { justify-content: center; }
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    opacity: 0.9;
}
.hero-trust-row span { display: flex; align-items: center; gap: 0.35rem; }

.hero-visual {
    position: relative;
    min-height: 320px;
}
.hero-card-stack {
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}
.hero-float-card {
    background: rgba(255, 255, 255, 0.96);
    color: var(--pub-ink);
    border-radius: var(--pub-radius-lg);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--pub-shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.hero-float-card-main { position: relative; z-index: 2; }
.hero-float-card-sub {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    z-index: 3;
    padding: 0.85rem 1.1rem;
    font-size: 0.85rem;
    max-width: 200px;
}
.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #ecfdf5;
    color: var(--pub-success);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}
.hero-repair-id {
    font-family: ui-monospace, monospace;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--pub-primary);
}

/* Stats strip */
.stats-strip {
    max-width: 1200px;
    margin: -2.5rem auto 0;
    padding: 0 1.25rem;
    position: relative;
    z-index: 5;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: var(--pub-surface);
    border-radius: var(--pub-radius-lg);
    padding: 1.5rem 2rem;
    box-shadow: var(--pub-shadow);
    border: 1px solid var(--pub-border);
}
@media (max-width: 767.98px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 1.25rem; }
}
.stat-item { text-align: center; }
.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pub-primary);
    letter-spacing: -0.02em;
}
.stat-label { font-size: 0.8rem; color: var(--pub-muted); font-weight: 600; margin-top: 0.15rem; }

/* Sections */
.pub-section {
    padding: 5rem 0;
}
.pub-section-alt { background: var(--pub-surface); }
.pub-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pub-primary);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}
.section-desc { color: var(--pub-muted); font-size: 1.05rem; line-height: 1.6; }

/* Announcement */
.announce-bar {
    background: linear-gradient(90deg, #eff6ff, #f0f9ff);
    border-bottom: 1px solid var(--pub-border);
    padding: 0.65rem 0;
    font-size: 0.875rem;
    color: var(--pub-primary-dark);
}
.announce-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
}

/* Brands */
.brands-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    align-items: center;
}
.brand-pill {
    font-weight: 700;
    color: var(--pub-muted);
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Service cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.service-tile {
    background: var(--pub-surface);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    padding: 1.5rem;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--pub-shadow);
    border-color: rgba(37, 99, 235, 0.2);
}
.service-tile-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: var(--pub-primary);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.service-tile h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.service-tile p {
    font-size: 0.875rem;
    color: var(--pub-muted);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1rem;
}
.service-tile-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    padding-top: 1rem;
    border-top: 1px solid var(--pub-border);
}
.service-price { color: var(--pub-primary); font-size: 1rem; }

/* Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
@media (max-width: 991.98px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .process-grid { grid-template-columns: 1fr; }
}
.process-step {
    text-align: center;
    padding: 1.5rem 1rem;
}
.process-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--pub-primary);
    color: #fff;
    font-weight: 800;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}
.process-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; color: var(--pub-muted); margin: 0; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 991.98px) {
    .features-grid { grid-template-columns: 1fr; }
}
.feature-box {
    padding: 1.75rem;
    border-radius: var(--pub-radius);
    background: var(--pub-bg);
    border: 1px solid var(--pub-border);
}
.feature-box i {
    font-size: 1.75rem;
    color: var(--pub-primary);
    margin-bottom: 1rem;
    display: block;
}
.feature-box h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-box p { font-size: 0.875rem; color: var(--pub-muted); margin: 0; line-height: 1.6; }

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 991.98px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
    background: var(--pub-surface);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    padding: 1.5rem;
    height: 100%;
}
.testimonial-stars { color: #fbbf24; margin-bottom: 0.75rem; letter-spacing: 0.1em; }
.testimonial-text { font-size: 0.925rem; line-height: 1.65; color: var(--pub-ink); margin-bottom: 1rem; }
.testimonial-author { font-weight: 700; font-size: 0.875rem; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    background: var(--pub-surface);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.15rem 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--pub-ink);
}
.faq-answer {
    padding: 0 1.25rem 1.15rem;
    font-size: 0.9rem;
    color: var(--pub-muted);
    line-height: 1.65;
}

/* CTA band */
.cta-band {
    background: var(--pub-gradient);
    color: #fff;
    border-radius: var(--pub-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    margin: 0 1.25rem;
    max-width: calc(1200px - 2.5rem);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}
.cta-band h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}
.cta-band p { opacity: 0.9; max-width: 520px; margin: 0 auto 1.5rem; }

/* Footer */
.site-footer {
    background: #070d18;
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
}
@media (max-width: 991.98px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.875rem; line-height: 1.65; margin-bottom: 1rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    color: #fff;
    transition: background 0.2s;
}
.footer-social a:hover { background: var(--pub-primary); color: #fff; }
.footer-col h4 {
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
    margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-contact-item {
    display: flex;
    gap: 0.65rem;
    font-size: 0.875rem;
    margin-bottom: 0.65rem;
    align-items: flex-start;
}
.footer-contact-item i { color: var(--pub-accent); margin-top: 0.15rem; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8rem;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }
.footer-bottom a:hover { color: #fff; }

/* Inner pages */
.page-hero {
    background: var(--pub-gradient);
    color: #fff;
    padding: 3rem 0 3.5rem;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}
.page-hero p { opacity: 0.9; max-width: 560px; margin: 0 auto; }

.page-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.25rem 4rem;
}

.auth-page {
    min-height: calc(100vh - var(--pub-header-h));
    display: grid;
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 991.98px) {
    .auth-page { grid-template-columns: 1fr; }
}
.auth-panel-brand {
    background: var(--pub-gradient);
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 991.98px) {
    .auth-panel-brand { padding: 2rem 1.25rem; text-align: center; }
}
.auth-panel-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    background: var(--pub-bg);
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--pub-surface);
    border-radius: var(--pub-radius-lg);
    padding: 2rem;
    box-shadow: var(--pub-shadow);
    border: 1px solid var(--pub-border);
}
.auth-card h2 { font-weight: 800; font-size: 1.5rem; margin-bottom: 0.35rem; letter-spacing: -0.02em; }
.auth-card .text-muted { font-size: 0.9rem; margin-bottom: 1.5rem; }
.form-pub .form-label { font-weight: 600; font-size: 0.85rem; }
.form-pub .form-control {
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    border-color: var(--pub-border);
}
.form-pub .form-control:focus {
    border-color: var(--pub-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.policy-doc {
    background: var(--pub-surface);
    border-radius: var(--pub-radius-lg);
    padding: 2rem 2.5rem;
    border: 1px solid var(--pub-border);
    line-height: 1.75;
    color: var(--pub-muted);
}
.policy-doc h1 { display: none; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 767.98px) {
    .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
    background: var(--pub-surface);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    padding: 1.5rem;
}
.contact-card i { font-size: 1.5rem; color: var(--pub-primary); margin-bottom: 0.75rem; }

.filter-bar {
    background: var(--pub-surface);
    border: 1px solid var(--pub-border);
    border-radius: var(--pub-radius);
    padding: 1rem;
    margin-bottom: 2rem;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
