:root {
    --primary: #4338ca;
    --primary-dark: #312e81;
    --primary-light: #6366f1;
    --accent: #ea580c;
    --accent-dark: #c2410c;
    --warn: #f59e0b;
    --danger: #dc2626;
    --bg: #f5f6fd;
    --card: #ffffff;
    --text: #1e1b3a;
    --muted: #64748b;
    --border: #e5e4f5;
    --radius: 14px;
    --gutter: 20px;
    --content-top: 32px;
    --content-bottom: 110px;
    --shadow-sm: 0 2px 8px rgba(30, 27, 75, .07);
    --shadow-md: 0 10px 30px rgba(30, 27, 75, .12);
    --shadow-lg: 0 20px 50px rgba(30, 27, 75, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main { display: block; padding: var(--content-top) var(--gutter) var(--content-bottom); }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-dark); text-decoration: underline; }

/* Icons */
.icon { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex-shrink: 0; }
.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(67, 56, 202, .1);
    color: var(--primary);
    margin-bottom: 16px;
    transition: transform .3s ease;
}
.card:hover .icon-circle { transform: scale(1.12) rotate(-6deg); }
.icon-circle .icon { width: 24px; height: 24px; }
.icon-circle.accent { background: rgba(234, 88, 12, .1); color: var(--accent); }
h3 .icon, .nav-icon-label .icon { margin-right: 8px; color: var(--primary); }
.btn .icon { margin-right: 6px; }
.contact-card, .value-card { text-align: center; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 12px; letter-spacing: -0.01em; }

/* Scroll-reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes popBounce {
    0% { transform: scale(0) rotate(-15deg); opacity: 0; }
    60% { transform: scale(1.25) rotate(8deg); opacity: 1; }
    80% { transform: scale(0.92) rotate(-4deg); }
    100% { transform: scale(1) rotate(0); }
}
@keyframes pulseRingAccent {
    0% { box-shadow: 0 0 0 0 rgba(234, 88, 12, .5); }
    70% { box-shadow: 0 0 0 14px rgba(234, 88, 12, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

/* Thank-you / order confirmation page */
.ty-emoji { display: inline-block; animation: popBounce .7s cubic-bezier(.34,1.56,.64,1) .1s both; }
.ty-note {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: .88rem;
    margin: 18px 0;
}
.ty-note .icon { flex-shrink: 0; width: 18px; height: 18px; }
.ty-cta { animation: pulseRingAccent 2s infinite; }
.ty-countdown { color: var(--muted); }

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
    position: relative;
    flex-wrap: wrap;
    row-gap: 8px;
    padding: 10px 0;
    max-width: 1400px;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 65px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 4px; }
.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    font-weight: 500;
    font-size: .95rem;
    position: relative;
    padding: 8px 10px;
    border-radius: 8px;
    white-space: nowrap;
    transition: color .15s ease, background .15s ease;
}
.main-nav a .icon { color: var(--primary); opacity: .8; width: 16px; height: 16px; }
.main-nav a:hover { color: var(--primary); background: rgba(67, 56, 202, .07); text-decoration: none; }
.main-nav a.active { color: var(--primary); background: rgba(67, 56, 202, .09); }
.main-nav a.btn, .main-nav a.btn:hover { background: var(--primary); }
.main-nav a.btn .icon { color: #fff; opacity: 1; margin-right: 0; }
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid var(--border);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none; border: none; cursor: pointer;
    padding: 0;
    z-index: 210;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px; margin: 0 auto;
    background: var(--text); border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 16, 50, .45);
    z-index: 150;
    opacity: 0;
    transition: opacity .25s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { box-shadow: 0 8px 20px rgba(67,56,202,.38); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { box-shadow: 0 8px 20px rgba(234,88,12,.38); }
.btn-outline { background: transparent; color: var(--primary) !important; border: 2px solid var(--primary); }
.btn-small { padding: 8px 16px; font-size: .9rem; }
.btn-danger { background: var(--danger); }
.btn-block { display: block; width: 100%; text-align: center; }

/* Flash */
.flash { padding: 12px 16px; border-radius: 10px; margin: 16px 0; font-weight: 500; animation: fadeInUp .35s ease; }
.flash-error { background: #fdecea; color: var(--danger); border: 1px solid #f5c6c2; }
.flash-success { background: #e7f7ef; color: var(--accent-dark); border: 1px solid #b7e6cd; }
.flash-info { background: #e8f0fe; color: var(--primary-dark); border: 1px solid #c6dafc; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 55%, var(--accent) 130%);
    background-size: 200% 200%;
    animation: heroGradient 14s ease infinite;
    color: #fff;
    padding: 84px 0 104px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: calc(var(--content-top) * -1) calc(var(--gutter) * -1) 0;
    border-radius: 0 0 24px 24px;
}
@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); max-width: 780px; margin: 0 auto 16px; }
.hero p.lead { font-size: 1.15rem; max-width: 640px; margin: 0 auto 32px; opacity: .95; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-badges { margin-top: 40px; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font-weight: 600; opacity: .95; }

/* Sections */
section { padding: 72px 0; }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-title h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-title p { color: var(--muted); font-size: 1.05rem; }
.section-alt {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 0 calc(var(--gutter) * -1);
}
.section-alt > * { padding-left: var(--gutter); padding-right: var(--gutter); }

/* Grid / cards */
.grid {
    display: grid;
    gap: 24px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px) scale(1.015); }

/* Testimonials */
.stars { display: flex; gap: 3px; margin-bottom: 12px; }
.stars .icon { width: 18px; height: 18px; }
.star-filled { color: var(--warn); fill: var(--warn); }
.star-empty { color: var(--border); }
.testimonial-text { font-size: 1rem; color: var(--text); font-style: italic; min-height: 4.5em; }
.testimonial-author { display: flex; flex-direction: column; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial-author strong { font-size: .95rem; }
.testimonial-author span { color: var(--muted); font-size: .85rem; }
.testimonial-card:hover { border-color: var(--primary-light); }

/* Trust badge */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--accent-dark);
    font-weight: 700;
    font-size: .85rem;
    padding: 8px 18px;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
}
.trust-badge .icon { color: var(--accent); }

/* Animated counters */
.counter { display: inline-block; }

.pkg-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.pkg-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--primary-light); }
.pkg-card.popular { border: 2px solid var(--primary); }
.pkg-badge {
    position: absolute; top: -12px; right: 20px;
    background: var(--warn); color: #402a00; font-weight: 700; font-size: .78rem;
    padding: 5px 12px; border-radius: 999px;
    box-shadow: var(--shadow-sm);
}
.pkg-card h3 { font-size: 1.4rem; }
.pkg-tagline { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.pkg-price { font-size: 2.2rem; font-weight: 800; color: var(--primary-dark); margin: 8px 0; }
.pkg-price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.pkg-savings {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e7f7ef;
    color: var(--accent-dark);
    font-size: .82rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.pkg-savings .icon { width: 13px; height: 13px; }
.pkg-meta { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.pkg-features { list-style: none; padding: 0; margin: 0 0 24px; flex-grow: 1; }
.pkg-features li { padding: 6px 0; padding-left: 26px; position: relative; font-size: .95rem; }
.pkg-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.pkg-testimonial {
    background: var(--bg);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: .85rem;
    position: relative;
    min-height: 112px;
    overflow: hidden;
}
.pkg-testimonial-slide {
    position: absolute;
    inset: 0;
    padding: 14px 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
    pointer-events: none;
}
.pkg-testimonial-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear;
}
.pkg-testimonial .stars, .pkg-testimonial-slide .stars { margin-bottom: 6px; }
.pkg-testimonial .stars .icon, .pkg-testimonial-slide .stars .icon { width: 13px; height: 13px; }
.pkg-testimonial p, .pkg-testimonial-slide p { margin: 0 0 4px; font-style: italic; color: var(--text); }
.pkg-testimonial span, .pkg-testimonial-slide span { color: var(--muted); font-size: .8rem; }

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}
.step { text-align: center; }
.step-icon-wrap {
    position: relative;
    width: 88px; height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
    animation: floatSlow 4s ease-in-out infinite;
}
.step-icon-wrap .icon { width: 38px; height: 38px; color: #fff; }
.step-badge {
    position: absolute;
    top: -6px; right: -6px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 3px solid #fff;
}

/* FAQ accordion */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item:hover { border-color: var(--primary-light); }
.faq-item.is-open { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.02rem;
    font-weight: 700;
    font-family: inherit;
    color: var(--text);
    cursor: pointer;
}
.faq-item.is-open .faq-question { color: var(--primary); }
.faq-question-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(67, 56, 202, .1);
    color: var(--primary);
    transition: transform .25s ease, background .2s ease, color .2s ease;
}
.faq-item.is-open .faq-question-icon { transform: rotate(180deg); background: var(--primary); color: #fff; }
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}
.faq-answer-inner { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 22px 20px; color: var(--muted); line-height: 1.65; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

/* Reviewer CTA banner */
.seller-cta {
    background: linear-gradient(135deg, #201a4d, #2d2470);
    color: #fff;
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}
.seller-cta h2 { font-size: 1.9rem; }
.seller-cta p { color: #cbd5f0; max-width: 600px; margin: 0 auto 28px; font-size: 1.05rem; }

/* Forms */
.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    max-width: 520px;
    margin: 40px auto;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(16px);
    animation: fadeInUp .5s ease forwards;
}
.form-card h1, .form-card h2 { text-align: center; }

/* Auth role/mode tabs */
.auth-role-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.auth-role-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 10px;
    background: var(--bg);
    border: 2px solid var(--border);
    color: var(--muted);
    font-weight: 700;
    font-size: .92rem;
    transition: all .15s ease;
    text-align: center;
}
.auth-role-tab:hover { border-color: var(--primary-light); color: var(--primary); text-decoration: none; }
.auth-role-tab.active { background: rgba(67, 56, 202, .08); border-color: var(--primary); color: var(--primary); }
.auth-role-tab .icon { flex-shrink: 0; }

.auth-mode-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 24px;
}
.auth-mode-tabs a {
    flex: 1;
    text-align: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .88rem;
    color: var(--muted);
}
.auth-mode-tabs a.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); text-decoration: none; }
.auth-mode-tabs a:hover { text-decoration: none; color: var(--primary); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .92rem; }
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(24,87,214,.15);
}
.form-group textarea { resize: vertical; min-height: 90px; }

/* Checkbox / radio labels — inline, aligned, not stretched by the input rule above */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--primary);
}
.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 500 !important;
    cursor: pointer;
}
.form-hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.form-foot { text-align: center; margin-top: 16px; color: var(--muted); }

/* Tables */
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: .93rem; vertical-align: middle; }
.table-wrap th:last-child, .table-wrap td:last-child { text-align: right; }
th { background: #f1f4f9; font-weight: 700; }
tbody tr { transition: background .15s ease; }
tbody tr:hover { background: #f8fafc; }
.table-wrap { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; max-width: 1140px; margin-left: auto; margin-right: auto; }
.table-wrap table { min-width: 560px; }

/* Badges / status pills */
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.pill-pending { background: #fef3e0; color: #9a5b00; }
.pill-assigned, .pill-in_progress { background: #e8f0fe; color: var(--primary-dark); }
.pill-completed { background: #e7f7ef; color: var(--accent-dark); }
.pill-cancelled { background: #fdecea; color: var(--danger); }
.pill-active { background: #e7f7ef; color: var(--accent-dark); }
.pill-suspended { background: #fdecea; color: var(--danger); }
.pill-pending_review { background: #fef0e0; color: #a35b00; }
.pill-pending_payment { background: #fef3e0; color: #9a5b00; }
.pill-paused { background: #e8f0fe; color: var(--primary-dark); }

/* Reviewer proof submission */
.proof-details { display: inline-block; text-align: left; }
.proof-details summary { cursor: pointer; list-style: none; }
.proof-details summary::-webkit-details-marker { display: none; }
.proof-form { margin-top: 10px; min-width: 240px; display: flex; flex-direction: column; gap: 8px; }
.proof-form label { font-size: .8rem; font-weight: 600; color: var(--muted); }
.proof-form textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: .88rem; resize: vertical; }

/* Admin shell — the centered, padded panel wrapping every admin page's content */
.admin-shell, .page-shell {
    max-width: 1140px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.admin-shell > h1:first-child, .page-shell > h1:first-child,
.admin-shell > .dash-header:first-child, .page-shell > .dash-header:first-child { margin-top: 0; }
@media (max-width: 640px) {
    .admin-shell, .page-shell { padding: 20px 16px; border-radius: 10px; }
}

/* Dashboard */
.dash-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin: 0 auto 32px; max-width: 1140px; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 auto 36px; max-width: 1140px; }
.stat-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
    transition: box-shadow .2s ease, transform .2s ease;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.dash-block { margin-bottom: 36px; }
.dash-block:last-child { margin-bottom: 0; }
.dash-block h2 { font-size: 1.25rem; margin-bottom: 16px; }
.stat-card .num { font-size: 2rem; font-weight: 800; color: var(--primary-dark); }
.stat-card .label { color: var(--muted); font-size: .9rem; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

.tabs { display: flex; gap: 8px; margin: 0 auto 24px; max-width: 1140px; flex-wrap: wrap; }
.tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: .9rem; transition: all .15s ease; }
.tabs a .icon { width: 16px; height: 16px; }
.tabs a.active .icon, .tabs a:hover .icon { color: #fff; }
.tabs a.active, .tabs a:hover { background: var(--primary); color: #fff !important; border-color: var(--primary); text-decoration: none; }

/* Footer */
.site-footer { background: #181235; color: #b7c0d6; padding: 56px 0 0; margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-inner h4 { color: #fff; margin-bottom: 12px; }
.footer-inner a { display: flex; align-items: center; gap: 8px; color: #b7c0d6; margin-bottom: 8px; }
.footer-inner a.footer-highlight {
    display: inline-flex;
    color: #fff !important;
    background: var(--accent);
    padding: 2px 5px;
    border-radius: 999px;
    font-weight: 700;
    margin-top: 4px;
}
.footer-inner a.footer-highlight:hover { background: var(--accent-dark); }

.nav-highlight { animation: pulseGlow 2.6s ease-in-out infinite; }
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, .45); }
    50% { box-shadow: 0 0 0 8px rgba(234, 88, 12, 0); }
}
.footer-inner a:hover { color: #fff; }
.footer-inner a .icon { opacity: .8; }
.footer-bottom { border-top: 1px solid #2e2560; padding: 18px 0; text-align: center; font-size: .85rem; }

/* Fixed WhatsApp button */
.whatsapp-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 200;
    animation: pulseRing 2.4s infinite;
    transition: transform .2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 860px) {
    .grid-3, .grid-4, .grid-2, .steps { grid-template-columns: 1fr; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2rem; }
}

@media (max-width: 1100px) {
    .nav-toggle { display: flex; }
    .nav-backdrop.open { display: block; opacity: 1; }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        width: min(300px, 82vw);
        background: #fff;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 4px;
        padding: 112px 16px 24px;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform .3s cubic-bezier(.22,.61,.36,1);
        z-index: 200;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { padding: 14px 16px; border-radius: 10px; }
    .main-nav a.btn { justify-content: center; }
    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        padding-top: 12px;
        margin-top: 8px;
        border-left: none;
        border-top: 1px solid var(--border);
    }
}

@media (max-width: 480px) {
    .stat-cards { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .form-card { padding: 26px 20px; margin: 24px auto; }
    section { padding: 48px 0; }
    .hero { padding: 56px 0 76px; }
    .whatsapp-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}
