:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-alt: #eef3f8;
    --text: #16202a;
    --muted: #5f6b76;
    --primary: #163a5f;
    --primary-strong: #102d49;
    --primary-soft: #dbe8f4;
    --border: #d8e0e8;
    --success-bg: #e9f8ef;
    --success-text: #1f6b3b;
    --error-bg: #fff0f0;
    --error-text: #962d2d;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(245, 247, 251, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(216, 224, 232, 0.7);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    text-decoration: none;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.flash-wrap {
    padding-top: 1rem;
}

.flash-message {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    margin-bottom: 0.75rem;
    border: 1px solid transparent;
    font-weight: 600;
}

.flash-success {
    background: var(--success-bg);
    color: var(--success-text);
    border-color: #bfe3cc;
}

.flash-error {
    background: var(--error-bg);
    color: var(--error-text);
    border-color: #efc3c3;
}

.hero {
    padding: 5rem 0 4rem;
}

.page-hero {
    padding: 4.25rem 0 2rem;
}

.hero-grid,
.two-column-section,
.form-layout {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.hero-grid {
    grid-template-columns: 1.35fr 0.95fr;
}

.two-column-section,
.form-layout {
    grid-template-columns: 1.2fr 0.8fr;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.hero h1,
.page-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.3rem);
    line-height: 1.05;
    margin: 0 0 1rem;
}

.hero h1 {
    max-width: 12ch;
}

.hero-text,
.page-lead,
.section-text {
    color: var(--muted);
    font-size: 1.06rem;
}

.hero-text {
    max-width: 58ch;
    margin-bottom: 1.8rem;
}

.page-lead {
    max-width: 62ch;
    margin: 0;
}

.section-text {
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.9rem 1.3rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-strong);
}

.btn-secondary {
    background: var(--primary-soft);
    color: var(--primary);
}

.hero-card,
.info-card,
.project-card,
.cta-box,
.step,
.stat-card,
.bullet-panel,
.form-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 1rem;
}

.stat-card,
.bullet-panel,
.form-panel {
    padding: 1.5rem;
}

.stat-card h3,
.bullet-panel h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.stat-card ul,
.clean-list {
    margin: 0;
    padding-left: 1.2rem;
}

.stat-card li,
.clean-list li {
    margin-bottom: 0.75rem;
    color: var(--muted);
}

.credibility {
    padding: 1rem 0 0;
}

.credibility .container {
    background: linear-gradient(135deg, #163a5f, #244d78);
    color: #ffffff;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
}

.credibility p {
    margin: 0;
    font-size: 1.02rem;
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: transparent;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-heading h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.card-grid,
.project-grid,
.steps {
    display: grid;
    gap: 1.25rem;
}

.card-grid {
    grid-template-columns: repeat(3, 1fr);
}

.project-grid {
    grid-template-columns: repeat(2, 1fr);
}

.steps {
    grid-template-columns: repeat(3, 1fr);
}

.steps-stack {
    grid-template-columns: repeat(3, 1fr);
}

.info-card,
.project-card,
.step {
    padding: 1.5rem;
}

.info-card h3,
.project-card h3,
.step h3 {
    margin-top: 0;
    margin-bottom: 0.65rem;
}

.info-card p,
.project-card p,
.step p {
    margin: 0;
    color: var(--muted);
}

.step span {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.9rem;
}

.cta-box {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.cta-box h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.cta-box p {
    color: var(--muted);
    max-width: 60ch;
    margin: 0 auto 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: grid;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 700;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    font: inherit;
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid rgba(22, 58, 95, 0.14);
    border-color: var(--primary);
}

.site-footer {
    border-top: 1px solid var(--border);
    background: #eef3f8;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.4rem 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-brand {
    margin: 0 0 0.2rem;
    font-weight: 700;
    color: var(--primary);
}

.footer-muted {
    margin: 0;
}

@media (max-width: 980px) {
    .hero-grid,
    .two-column-section,
    .form-layout,
    .card-grid,
    .project-grid,
    .steps,
    .steps-stack {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: 100%;
    }

    .nav {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }

    .nav-links {
        gap: 0.9rem;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 3.5rem;
    }

    .hero-text,
    .page-lead,
    .section-text {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

.hero-premium {
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
}

.hero-panel {
    display: flex;
    align-items: stretch;
}

.hero-highlight-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.75rem;
    width: 100%;
}

.hero-highlight-card h3 {
    margin-top: 0.25rem;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    color: var(--primary);
}

.hero-highlight-card p {
    color: var(--muted);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.mini-label {
    margin: 0 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--primary);
}

.problem-section .info-card,
.value-card {
    min-height: 220px;
}

.why-datcon-section {
    padding-top: 1rem;
}

.cta-box-strong {
    background: linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
}

/* ===== Premium visual layer ===== */

body {
    background:
        radial-gradient(circle at top left, rgba(219, 232, 244, 0.8), transparent 32%),
        linear-gradient(180deg, #f7f9fc 0%, #f3f6fa 100%);
}

.hero-premium {
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 5rem;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    pointer-events: none;
    opacity: 0.6;
}

.hero-bg-shape-1 {
    width: 420px;
    height: 420px;
    top: -140px;
    right: -100px;
    background: radial-gradient(circle, rgba(22, 58, 95, 0.16) 0%, rgba(22, 58, 95, 0) 70%);
}

.hero-bg-shape-2 {
    width: 340px;
    height: 340px;
    bottom: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(120, 160, 200, 0.16) 0%, rgba(120, 160, 200, 0) 70%);
}

.hero-copy,
.hero-panel {
    position: relative;
    z-index: 2;
}

.hero h1 {
    max-width: 11ch;
    letter-spacing: -1.4px;
    font-weight: 800;
}

.hero-text {
    font-size: 1.08rem;
    max-width: 60ch;
}

.hero-highlight-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(246,250,255,0.98) 100%);
    border: 1px solid rgba(216, 224, 232, 0.9);
    border-radius: 22px;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 1.9rem;
    width: 100%;
}

.hero-highlight-card h3 {
    margin-top: 0.25rem;
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--primary);
}

.hero-highlight-card p {
    color: var(--muted);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(216, 224, 232, 0.95);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.section-divider {
    width: min(92%, 1180px);
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(
        90deg,
        rgba(216, 224, 232, 0) 0%,
        rgba(216, 224, 232, 0.95) 20%,
        rgba(216, 224, 232, 0.95) 80%,
        rgba(216, 224, 232, 0) 100%
    );
}

.section-heading-centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-soft {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(238,243,248,0.55) 100%);
}

.premium-card,
.premium-step,
.premium-panel {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,252,255,0.98) 100%);
    border: 1px solid rgba(216, 224, 232, 0.92);
    box-shadow:
        0 14px 34px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.premium-card:hover,
.premium-step:hover {
    transform: translateY(-3px);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.problem-section .info-card,
.value-card {
    min-height: 220px;
}

.step.premium-step span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 1rem;
}

.why-datcon-section {
    padding-top: 2.5rem;
}

.cta-box-premium {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(22, 58, 95, 0.10), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,249,253,0.98) 100%);
    border: 1px solid rgba(216, 224, 232, 0.95);
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border-radius: 24px;
}

.cta-box-premium h2 {
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}

.site-header {
    background: rgba(247, 249, 252, 0.82);
    border-bottom: 1px solid rgba(216, 224, 232, 0.75);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

.logo {
    font-weight: 800;
    letter-spacing: 0.15px;
}

.nav-links a {
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.info-card h3,
.project-card h3,
.step h3,
.bullet-panel h3,
.hero-highlight-card h3 {
    letter-spacing: -0.2px;
}

@media (max-width: 980px) {
    .hero h1 {
        max-width: 100%;
    }

    .hero-bg-shape-1 {
        width: 260px;
        height: 260px;
        top: -80px;
        right: -60px;
    }

    .hero-bg-shape-2 {
        width: 220px;
        height: 220px;
        bottom: -80px;
        left: -50px;
    }
}

@media (max-width: 640px) {
    .hero-premium {
        padding-top: 4.5rem;
        padding-bottom: 3.5rem;
    }

    .hero-highlight-card {
        padding: 1.4rem;
    }

    .cta-box-premium h2 {
        max-width: 100%;
    }
}

/* ===== Interior page premium styling ===== */

.page-hero-premium {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 3rem;
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    max-width: 14ch;
    letter-spacing: -1.1px;
    font-weight: 800;
}

.page-hero-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    pointer-events: none;
    opacity: 0.55;
}

.page-hero-bg-1 {
    width: 320px;
    height: 320px;
    top: -100px;
    right: -60px;
    background: radial-gradient(circle, rgba(22, 58, 95, 0.12) 0%, rgba(22, 58, 95, 0) 70%);
}

.page-hero-bg-2 {
    width: 240px;
    height: 240px;
    bottom: -80px;
    left: -60px;
    background: radial-gradient(circle, rgba(120, 160, 200, 0.14) 0%, rgba(120, 160, 200, 0) 70%);
}

.form-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.form-intro {
    margin-top: 0;
    margin-bottom: 1.25rem;
    color: var(--muted);
}

@media (max-width: 980px) {
    .page-hero h1 {
        max-width: 100%;
    }

    .page-hero-bg-1 {
        width: 220px;
        height: 220px;
        top: -60px;
        right: -40px;
    }

    .page-hero-bg-2 {
        width: 180px;
        height: 180px;
        bottom: -50px;
        left: -40px;
    }
}

/* Header CTA Button */

.nav-cta {
    margin-left: 0.6rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: var(--primary-strong);
    transform: translateY(-1px);
}