:root {
    --bg: #07131f;
    --bg-deep: #04101a;
    --panel: rgba(8, 23, 37, 0.84);
    --ink: #f6f2eb;
    --muted: #aebed0;
    --muted-strong: #d3dfeb;
    --line: rgba(164, 219, 255, 0.16);
    --cyan: #82dcff;
    --gold: #ffc980;
    --gold-soft: #ffd9ab;
    --success: #78e6b7;
    --shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(72, 199, 255, 0.16), transparent 26%),
        radial-gradient(circle at 88% 10%, rgba(255, 201, 128, 0.12), transparent 24%),
        linear-gradient(180deg, #05101a 0%, #081622 45%, #06111a 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.page-shell { overflow: clip; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(4, 14, 23, 0.72);
    border-bottom: 1px solid rgba(164, 219, 255, 0.08);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.brand-mark { color: var(--ink); }
.brand-dot { color: var(--cyan); }

.nav-links,
.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    flex-wrap: wrap;
}

.nav-link.is-active {
    color: var(--ink);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
    color: #031019;
    background: linear-gradient(135deg, var(--gold-soft), var(--cyan));
    box-shadow: 0 18px 34px rgba(72, 199, 255, 0.22);
}

.button-secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.button-ghost {
    color: var(--ink);
    background: transparent;
    border: 1px solid rgba(164, 219, 255, 0.2);
}

.hero {
    position: relative;
    padding: 72px 0 54px;
}

.page-intro {
    padding: 54px 0 0;
}

.page-intro-panel {
    padding: 38px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(130, 220, 255, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(13, 29, 46, 0.92), rgba(7, 19, 31, 0.82));
    box-shadow: var(--shadow);
}

.page-intro-panel h1 {
    margin: 18px 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 34px;
    align-items: stretch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(130, 220, 255, 0.18);
    background: rgba(130, 220, 255, 0.08);
    color: var(--cyan);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
}

.hero-copy,
.hero-visual,
.service-card,
.result-card,
.industry-card,
.process-step,
.contact-panel,
.contact-form,
.trust-strip,
.proof-card,
.problem-card,
.tipsavvy-proof {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(13, 29, 46, 0.92), rgba(7, 19, 31, 0.8));
    box-shadow: var(--shadow);
}

.hero-copy,
.contact-panel,
.contact-form,
.problem-card,
.tipsavvy-proof {
    padding: 34px;
    border-radius: var(--radius-xl);
}

.hero-copy h1,
.section-heading h2,
.contact-heading h2,
.problem-copy h2,
.tipsavvy-copy h2,
.proof-headline {
    margin: 18px 0;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.05em;
    line-height: 0.97;
}

.hero-copy h1 { font-size: clamp(3rem, 7vw, 5.6rem); max-width: 11ch; }
.section-heading h2,
.problem-copy h2,
.tipsavvy-copy h2,
.contact-heading h2 { font-size: clamp(2.3rem, 4vw, 4.2rem); }

.lead {
    font-size: 1.22rem;
    color: var(--muted-strong);
}

.lede-note,
.section-copy,
.problem-copy p,
.tipsavvy-copy p,
.contact-heading p,
.footer-copy,
.service-card p,
.result-card p,
.industry-card p,
.process-step p,
.proof-card p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-metrics,
.services-grid,
.results-grid,
.industries-grid,
.process-grid,
.proof-grid {
    display: grid;
    gap: 22px;
}

.section-actions {
    margin-top: 28px;
}

.hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.metric-tile,
.result-stats div,
.proof-stack div,
.problem-list li {
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-tile strong,
.result-stats strong,
.mini-metric strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1.4rem;
    color: var(--gold-soft);
}

.metric-tile span,
.result-stats span,
.mini-metric span {
    color: var(--muted);
    font-size: 0.95rem;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 100%;
}

.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 9, 15, 0.06), rgba(2, 9, 15, 0.72)),
        linear-gradient(115deg, rgba(72, 199, 255, 0.18), transparent 42%);
}

.dashboard-card,
.floating-proof {
    position: absolute;
    z-index: 2;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.dashboard-card {
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 18px;
    background: rgba(5, 18, 28, 0.78);
}

.floating-proof {
    top: 26px;
    right: 22px;
    padding: 14px 16px;
    background: rgba(255, 201, 128, 0.16);
}

.floating-proof strong { font-size: 1.6rem; }

.dashboard-header,
.dashboard-row,
.trust-strip,
.footer-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.dashboard-header { margin-bottom: 16px; }

.dash-title {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.dash-period {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(130, 220, 255, 0.08);
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 800;
}

.dashboard-chart {
    height: 120px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='160' viewBox='0 0 600 160'%3E%3Cpath d='M20 118 C100 120 110 74 173 82 C220 88 255 131 312 102 C362 76 413 24 470 42 C519 58 536 89 582 28' fill='none' stroke='%2382dcff' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M20 132 C107 135 145 109 211 112 C286 116 327 151 402 113 C459 84 518 86 582 56' fill='none' stroke='%23ffc980' stroke-width='4' stroke-linecap='round' opacity='0.9'/%3E%3C/svg%3E") center/cover no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-row { margin-top: 14px; }

.mini-metric {
    flex: 1;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.trust-strip {
    margin-top: 24px;
    padding: 22px 28px;
    border-radius: 22px;
    flex-wrap: wrap;
}

.trust-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.trust-item span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 92px 0; }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.proof-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.proof-card,
.service-card,
.result-card,
.industry-card,
.process-step {
    padding: 28px;
    border-radius: var(--radius-lg);
}

.proof-card strong { display: block; margin-bottom: 10px; font-size: 1.05rem; }

.problem-layout,
.tipsavvy-layout,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
    gap: 28px;
    align-items: stretch;
}

.problem-list,
.service-points,
.contact-list,
.proof-stack,
.result-stats {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 12px;
}

.problem-punch {
    margin-top: 24px;
    color: var(--gold-soft);
    font-size: 1.1rem;
    font-weight: 800;
}

.services-grid,
.results-grid,
.industries-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.service-number,
.result-sector,
.industry-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(130, 220, 255, 0.08);
    border: 1px solid rgba(130, 220, 255, 0.14);
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-card h3,
.result-card h3,
.process-step h3,
.industry-card h3 {
    margin: 18px 0 12px;
    font-size: 1.5rem;
}

.service-points li,
.contact-list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
}

.service-points li::before,
.contact-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--cyan));
}

.step-index {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold-soft), var(--cyan));
    color: #06111a;
    font-weight: 900;
}

.proof-headline { font-size: clamp(2rem, 3vw, 3rem); }

.field {
    display: grid;
    gap: 8px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field span { color: var(--muted-strong); font-weight: 700; }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(130, 220, 255, 0.42);
    box-shadow: 0 0 0 3px rgba(130, 220, 255, 0.1);
}

.field textarea { min-height: 150px; resize: vertical; }
.contact-form form { display: grid; gap: 16px; }

.flash {
    padding: 16px 18px;
    border-radius: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.flash-success {
    color: #d8fff0;
    background: rgba(120, 230, 183, 0.12);
    border: 1px solid rgba(120, 230, 183, 0.22);
}

.flash-error {
    color: #ffe5dc;
    background: rgba(255, 128, 99, 0.12);
    border: 1px solid rgba(255, 128, 99, 0.22);
}

.site-footer {
    padding: 34px 0 46px;
    border-top: 1px solid rgba(164, 219, 255, 0.08);
    background: rgba(0, 0, 0, 0.16);
}

.admin-login-panel {
    max-width: 560px;
}

.admin-login-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.admin-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(13, 29, 46, 0.92), rgba(7, 19, 31, 0.82));
    box-shadow: var(--shadow);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    table-layout: fixed;
}

.admin-table th,
.admin-table td {
    padding: 18px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table th {
    color: var(--muted-strong);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-table td {
    color: var(--muted);
    word-break: break-word;
    overflow-wrap: anywhere;
}

.admin-table-detail td {
    background: rgba(255, 255, 255, 0.02);
    color: var(--muted-strong);
}

.admin-col-date {
    width: 16%;
    white-space: nowrap;
}

.admin-col-lead {
    width: 20%;
}

.admin-col-company {
    width: 20%;
}

.admin-col-revenue {
    width: 14%;
}

.admin-col-source {
    width: 18%;
}

.admin-col-status {
    width: 12%;
}

.table-muted {
    color: var(--muted);
    font-size: 0.9rem;
}

.status-pill {
    display: inline-flex;
    margin: 0 8px 8px 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(130, 220, 255, 0.08);
    border: 1px solid rgba(130, 220, 255, 0.12);
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 1120px) {
    .hero-grid,
    .problem-layout,
    .tipsavvy-layout,
    .contact-layout,
    .services-grid,
    .results-grid,
    .industries-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .nav-bar {
        flex-wrap: wrap;
        min-height: auto;
        padding: 18px 0;
    }

    .nav-links {
        order: 3;
        width: 100%;
        gap: 14px 18px;
    }

    .hero-grid,
    .problem-layout,
    .tipsavvy-layout,
    .contact-layout,
    .services-grid,
    .results-grid,
    .industries-grid,
    .process-grid,
    .proof-grid,
    .form-row,
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .contact-panel,
    .contact-form,
    .problem-card,
    .tipsavvy-proof,
    .proof-card,
    .service-card,
    .result-card,
    .industry-card,
    .process-step {
        padding: 24px;
    }

    .hero { padding-top: 38px; }
    .hero-visual { min-height: 540px; }

    .dashboard-card {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .dashboard-header,
    .dashboard-row,
    .trust-strip,
    .footer-layout {
        display: grid;
        justify-content: stretch;
    }
}
