:root {
    --navy: #0F172A;
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --teal: #14B8A6;
    --light: #F8FAFC;
    --soft-blue: #EFF6FF;
    --border: #E2E8F0;
    --text: #475569;
    --white: #FFFFFF;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.logo strong,
.footer-logo strong {
    display: block;
    font-size: 21px;
    letter-spacing: -0.04em;
}

.logo small,
.footer-logo small {
    display: block;
    margin-top: -5px;
    color: var(--blue);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 700;
    font-size: 14px;
}

.main-nav a {
    color: var(--text);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blue);
}

.nav-button {
    background: var(--blue);
    color: var(--white) !important;
    padding: 11px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--white);
    padding: 9px 13px;
    border-radius: 10px;
    font-weight: 700;
}

.hero {
    padding: 86px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.13), transparent 32%),
        linear-gradient(180deg, #FFFFFF, #F8FAFC);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    color: var(--blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 12px;
    margin-bottom: 14px;
}

.hero h1,
.section-heading h2,
.cta-band h2 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    max-width: 650px;
}

.hero p {
    font-size: 19px;
    color: var(--text);
    max-width: 610px;
    margin: 24px 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 14px 22px;
    font-weight: 800;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover,
.nav-button:hover {
    background: var(--blue-dark);
}

.btn-outline {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--blue);
}

.hero-visual {
    position: relative;
}

.dashboard-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 380px;
}

.dashboard-sidebar {
    background: var(--navy);
    color: var(--white);
    padding: 22px;
}

.dashboard-sidebar span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 99px;
    margin-bottom: 30px;
}

.dashboard-sidebar p {
    color: #CBD5E1;
    margin: 0 0 18px;
    font-size: 14px;
}

.dashboard-sidebar p:first-of-type {
    color: var(--white);
    background: var(--blue);
    padding: 9px 10px;
    border-radius: 8px;
}

.dashboard-main {
    padding: 24px;
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-top small {
    color: var(--teal);
    font-weight: 800;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.stat-grid div {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
}

.stat-grid strong {
    display: block;
    font-size: 28px;
}

.stat-grid span {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.mini-table {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.mini-table p {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    margin: 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
}

.mini-table p:last-child {
    border-bottom: none;
}

.mini-table strong {
    color: var(--navy);
}

.services-strip,
.build-section,
.examples-section {
    padding: 64px 0;
}

.three-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card,
.example-card,
.mock-panel,
.process-grid div {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.icon-box {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--soft-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
}

.service-card h2,
.example-card h3,
.mock-panel h3,
.process-grid h3 {
    margin: 0 0 10px;
    letter-spacing: -0.03em;
}

.service-card p,
.example-card p,
.mock-panel p,
.process-grid p,
.section-heading p {
    color: var(--text);
    margin: 0;
}

.front-back-section,
.process-section {
    padding: 76px 0;
    background: var(--light);
}

.section-heading {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 38px;
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 48px);
}

.section-heading p {
    margin-top: 16px;
    font-size: 18px;
}

.front-back-grid {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    gap: 20px;
    align-items: center;
}

.panel-label {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--blue);
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 14px;
}

.panel-label.teal {
    color: #0F766E;
    background: #CCFBF1;
}

.connector {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 28px;
    font-weight: 900;
    margin: 0 auto;
}

.website-mock {
    margin-top: 18px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
}

.website-mock div {
    height: 110px;
    border-radius: 12px;
    background: linear-gradient(135deg, #DBEAFE, #CCFBF1);
    margin-bottom: 16px;
}

.website-mock h4 {
    margin: 0;
    font-size: 22px;
}

.website-mock button {
    margin-top: 14px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 9px;
    padding: 10px 14px;
    font-weight: 800;
}

.tick-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.tick-list li {
    margin-bottom: 10px;
    color: var(--text);
}

.tick-list li::before {
    content: "✓";
    color: var(--teal);
    font-weight: 900;
    margin-right: 9px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.feature-grid div {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    font-weight: 800;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-grid span {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 18px;
}

.example-image {
    height: 150px;
    border-radius: 16px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
}

.example-image.rescue {
    background: linear-gradient(135deg, #CCFBF1, #F8FAFC);
}

.example-image.stock {
    background: linear-gradient(135deg, #DBEAFE, #F8FAFC);
}

.example-image.cases {
    background: linear-gradient(135deg, #EDE9FE, #F8FAFC);
}

.cta-band {
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: var(--white);
    padding: 54px 0;
}

.cta-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.cta-band h2 {
    font-size: clamp(30px, 4vw, 46px);
}

.cta-band p {
    margin: 12px 0 0;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: 58px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 36px;
}

.site-footer p,
.site-footer a {
    color: #CBD5E1;
}

.site-footer a {
    display: block;
    margin-bottom: 9px;
}

.site-footer h3 {
    margin: 0 0 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 44px;
    padding: 18px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #94A3B8;
    font-size: 14px;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 76px;
        left: 18px;
        right: 18px;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow);
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
    }

    body.nav-open .main-nav {
        display: flex;
    }

    .hero-grid,
    .three-grid,
    .front-back-grid,
    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .connector {
        transform: rotate(90deg);
    }

    .cta-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-card {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        display: none;
    }
}

@media (max-width: 560px) {
    .hero {
        padding: 56px 0;
    }

    .hero h1 {
        font-size: 42px;
    }

    .stat-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

.inner-hero {
    padding: 86px 0;
    background:
        radial-gradient(circle at top left, rgba(20, 184, 166, 0.14), transparent 34%),
        linear-gradient(180deg, #FFFFFF, #F8FAFC);
}

.inner-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
}

.inner-hero h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.inner-hero p {
    color: var(--text);
    font-size: 19px;
    margin: 24px 0 0;
    max-width: 660px;
}

.system-preview-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.system-preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.system-preview-top span {
    background: #CCFBF1;
    color: #0F766E;
    font-weight: 800;
    font-size: 13px;
    padding: 7px 10px;
    border-radius: 999px;
}

.system-preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.system-preview-stats div {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
}

.system-preview-stats strong {
    display: block;
    font-size: 30px;
    line-height: 1;
}

.system-preview-stats span {
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.system-preview-list {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.system-preview-list p {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 15px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
}

.system-preview-list p:last-child {
    border-bottom: none;
}

.system-preview-list strong {
    color: var(--navy);
}

.content-section {
    padding: 76px 0;
}

.alt-bg {
    background: var(--light);
}

.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.info-panel,
.feature-detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.info-panel h3,
.feature-detail-card h3 {
    margin: 0 0 12px;
    font-size: 24px;
    letter-spacing: -0.03em;
}

.info-panel p,
.feature-detail-card p {
    margin: 0;
    color: var(--text);
}

.feature-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 900px) {
    .inner-hero-grid,
    .two-column-grid,
    .feature-detail-grid {
        grid-template-columns: 1fr;
    }

    .inner-hero {
        padding: 60px 0;
    }
}

@media (max-width: 560px) {
    .system-preview-stats {
        grid-template-columns: 1fr;
    }
}

.website-preview-large {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 22px;
}

.browser-dots {
    display: flex;
    gap: 7px;
    margin-bottom: 16px;
}

.browser-dots span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--border);
}

.preview-hero {
    height: 170px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(20, 184, 166, 0.22)),
        linear-gradient(135deg, #DBEAFE, #CCFBF1);
    margin-bottom: 20px;
}

.website-preview-large h3 {
    margin: 0 0 8px;
    font-size: 26px;
    letter-spacing: -0.04em;
}

.website-preview-large p {
    margin: 0;
    color: var(--text);
}

.preview-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.preview-buttons span {
    display: block;
    height: 38px;
    border-radius: 10px;
}

.preview-buttons span:first-child {
    width: 130px;
    background: var(--blue);
}

.preview-buttons span:last-child {
    width: 110px;
    background: var(--white);
    border: 1px solid var(--blue);
}

.portfolio-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.portfolio-mini-grid div {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    font-weight: 800;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    gap: 28px;
}

.portfolio-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.portfolio-screenshot {
    min-height: 360px;
    background-color: var(--soft-blue);
    background-size: cover;
    background-position: top center;
    border-right: 1px solid var(--border);
}

.portfolio-content {
    padding: 34px;
}

.project-tag {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
}

.teal-tag {
    background: #CCFBF1;
    color: #0F766E;
}

.dark-tag {
    background: #E2E8F0;
    color: var(--navy);
}

.portfolio-content h3 {
    margin: 0 0 12px;
    font-size: 30px;
    letter-spacing: -0.04em;
}

.portfolio-content p {
    color: var(--text);
    margin: 0;
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--blue);
    font-weight: 900;
}

@media (max-width: 900px) {
    .portfolio-card {
        grid-template-columns: 1fr;
    }

    .portfolio-screenshot {
        min-height: 260px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 28px;
    align-items: start;
}

.contact-form-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.contact-form-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.contact-form-panel p {
    color: var(--text);
    margin: 0 0 24px;
}

.quote-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-row {
    display: grid;
    gap: 7px;
}

.form-row.full,
.privacy-check,
.quote-form button,
.form-alert {
    grid-column: 1 / -1;
}

.form-row label,
.privacy-check {
    font-weight: 800;
    color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 14px;
    font: inherit;
    color: var(--navy);
    background: var(--white);
}

.form-row textarea {
    resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: 3px solid rgba(37, 99, 235, 0.16);
    border-color: var(--blue);
}

.privacy-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
}

.privacy-check input {
    margin-top: 4px;
}

.honeypot {
    display: none;
}

.form-alert {
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 800;
    margin-bottom: 18px;
}

.form-alert.error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.contact-side-panel {
    display: grid;
    gap: 22px;
}

.contact-side-panel a {
    color: var(--blue);
    font-weight: 800;
}

.thank-you-panel {
    max-width: 760px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 42px;
    box-shadow: var(--shadow);
}

.thank-you-panel h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.05;
    letter-spacing: -0.06em;
}

.thank-you-panel p {
    color: var(--text);
    font-size: 19px;
    margin: 20px 0 0;
}

@media (max-width: 900px) {
    .contact-grid,
    .quote-form {
        grid-template-columns: 1fr;
    }
}

.linked-card {
    display: block;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.linked-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.example-image.real-image {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.example-card .project-tag {
    margin-bottom: 12px;
}

.card-link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--blue);
    font-weight: 900;
}

.center-button-row {
    text-align: center;
    margin-top: 34px;
}

.legal-content {
    max-width: 900px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.legal-content h2 {
    margin: 30px 0 10px;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: var(--text);
}

.legal-content a {
    color: var(--blue);
    font-weight: 800;
}

.privacy-check a {
    color: var(--blue);
    font-weight: 900;
    text-decoration: underline;
}

.logo-image-link {
    display: inline-flex;
    align-items: center;
}

.logo-image-link img {
    display: block;
    height: 64px;
    width: auto;
    max-width: 340px;
}

@media (max-width: 560px) {
    .logo-image-link img {
        height: 46px;
        max-width: 240px;
    }
}

@media (min-width: 901px) {
    .header-inner {
        justify-content: flex-start;
        gap: 55px;
    }

    .main-nav {
        margin-left: 0;
    }
}

.footer-logo-image-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
}

.footer-logo-image-link img {
    display: block;
    height: 58px;
    width: auto;
    max-width: 300px;
}

/* Homepage example projects - force 4 smaller cards */
.three-grid.four-example-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.three-grid.four-example-grid .example-card {
    padding: 24px !important;
    min-width: 0 !important;
}

.three-grid.four-example-grid .example-image {
    height: 135px !important;
    border-radius: 16px !important;
    background-size: cover !important;
    background-position: center !important;
}

.three-grid.four-example-grid .project-tag {
    font-size: 12px !important;
}

.three-grid.four-example-grid h3 {
    font-size: 17px !important;
    line-height: 1.3 !important;
}

.three-grid.four-example-grid p {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.three-grid.four-example-grid .card-link {
    font-size: 14px !important;
}

@media (max-width: 1150px) {
    .three-grid.four-example-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 650px) {
    .three-grid.four-example-grid {
        grid-template-columns: 1fr !important;
    }
}