:root {
    --bg: #0b1a2b;
    --bg-2: #0a1524;
    --nav: #13263c;
    --card: #ffffff;
    --muted: #6b7280;
    --text: #0b1220;
    --white: #ffffff;
    --accent: #0aa6d7;
    --accent-2: #2cc3ef;
    --shadow: 0 18px 50px rgba(15, 23, 42, .12);
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, .08);
    --ring: 0 0 0 3px rgba(10, 166, 215, .20);
    --radius: 16px;
    --radius-lg: 24px;
    --container: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: #f6f7f9;
}

/* progress */
.progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    z-index: 9999;
}

/* container */
.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

/* navbar */
.nav-wrap {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(19, 38, 60, .88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.brand-mark {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #fff;
    opacity: .95;
}

.brand-mark svg {
    width: 28px;
    height: 28px;
}

.brand-text {
    letter-spacing: .2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-link {
    color: rgba(255, 255, 255, .82);
    text-decoration: none;
    font-size: 14px;
    position: relative;
    padding: 6px 2px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width .25s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    border-radius: 999px;
    transition: transform .25s ease, opacity .25s ease;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn:active {
    transform: translateY(0px) scale(.99);
}

.btn-sm {
    padding: 10px 14px;
    border-radius: 10px;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(180deg, var(--accent), #058bb6);
    color: #fff;
    box-shadow: 0 12px 28px rgba(10, 166, 215, .25);
}

.btn-primary:hover {
    box-shadow: 0 14px 35px rgba(10, 166, 215, .32);
}

.btn-primary:focus {
    outline: none;
    box-shadow: var(--ring), 0 14px 35px rgba(10, 166, 215, .30);
}

.btn-ghost {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .22);
}

.btn-light {
    background: #fff;
    border-color: #e5e7eb;
    color: #0b1220;
    box-shadow: var(--shadow-soft);
}

.btn-light:hover {
    box-shadow: var(--shadow);
}

.arrow {
    font-size: 18px;
}

/* Hero */
.hero {
    position: relative;
    background: radial-gradient(1200px 600px at 20% 10%, rgba(44, 195, 239, .18), transparent 55%),
        radial-gradient(900px 500px at 90% 40%, rgba(10, 166, 215, .12), transparent 55%),
        linear-gradient(180deg, #061326, #081a2f 70%, #071628);
    color: #fff;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .65;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 40px;
    padding: 72px 0 64px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    width: fit-content;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(10, 166, 215, .18);
}

.h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(44px, 4.3vw, 72px);
    line-height: 1.05;
    letter-spacing: .2px;
    margin: 18px 0 14px;
}

.lead {
    color: rgba(255, 255, 255, .78);
    max-width: 560px;
    line-height: 1.7;
    margin: 0 0 22px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.badge {
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    min-width: 140px;
}

.badge-title {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, .70);
}

.badge-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-top: 4px;
}

/* Hero right card */
.hero-card {
    display: flex;
    justify-content: flex-end;
}

.glass-card {
    width: min(420px, 100%);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
    padding: 18px;
    backdrop-filter: blur(14px);
}

.glass-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.glass-title {
    font-weight: 800;
}

.glass-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, .74);
    margin-top: 2px;
}

.chip {
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(10, 166, 215, .20);
    border: 1px solid rgba(10, 166, 215, .35);
    color: rgba(255, 255, 255, .92);
}

.kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0 14px;
}

.kpi {
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .10);
    padding: 12px;
}

.kpi-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .68);
}

.kpi-value {
    font-size: 20px;
    font-weight: 800;
    margin-top: 4px;
}

.kpi-mini {
    margin-top: 6px;
    font-size: 12px;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .05);
}

.kpi-mini.up {
    color: #bdf5ff;
    border-color: rgba(10, 166, 215, .35);
}

.kpi-mini.down {
    color: #ffd1d1;
    border-color: rgba(255, 120, 120, .35);
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 92px;
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
    overflow: hidden;
}

.mini-chart span {
    width: 10%;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(44, 195, 239, .95), rgba(10, 166, 215, .35));
    transform-origin: bottom;
    animation: barPop .9s ease forwards;
    opacity: .9;
}

@keyframes barPop {
    from {
        transform: scaleY(.35);
        filter: blur(.2px);
    }

    to {
        transform: scaleY(1);
    }
}

.glass-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 13px;
}

.link {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.hero-fade {
    height: 60px;
    background: linear-gradient(180deg, transparent, #f6f7f9);
}

/* Sections */
.section {
    padding: 74px 0;
}

.section-alt {
    background: #ffffff;
}

.section-head {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 34px;
}

.h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 2.8vw, 46px);
    margin: 0 0 10px;
    color: #0b1220;
}

.h3 {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    margin: 0 0 10px;
}

.sub {
    color: var(--muted);
    line-height: 1.75;
    margin: 0 auto;
    max-width: 760px;
}

/* Cards Grid */
.grid {
    display: grid;
    gap: 18px;
}

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

.card {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 22px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(10, 166, 215, .25);
}

.card h3 {
    font-size: 18px;
    margin: 10px 0 8px;
}

.card p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(10, 166, 215, .10);
    border: 1px solid rgba(10, 166, 215, .18);
    display: grid;
    place-items: center;
    font-size: 20px;
}

/* Case studies */
.section-alt .h2 {
    color: #0b1220;
}

.section-alt .sub {
    color: #556070;
}

.case-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.case {
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid #e9eef5;
    padding: 22px;
    box-shadow: var(--shadow-soft);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.case:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(10, 166, 215, .25);
}

.case-top {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(10, 166, 215, .12);
    border: 1px solid rgba(10, 166, 215, .20);
    color: #046e8f;
}

.tag.soft {
    background: rgba(17, 24, 39, .06);
    border-color: rgba(17, 24, 39, .10);
    color: #334155;
}

.case h3 {
    margin: 0 0 8px;
}

.case p {
    margin: 0 0 14px;
    color: var(--muted);
    line-height: 1.7;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.case-metrics .big {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #0b1220;
}

.case-metrics .small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.section-alt .link {
    color: #0b1220;
}

.section-alt .link:hover {
    text-decoration: underline;
}

.work-steps {
    margin-top: 30px;
    background: linear-gradient(180deg, rgba(10, 166, 215, .08), rgba(10, 166, 215, .04));
    border: 1px solid rgba(10, 166, 215, .18);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 10px;
}

.step {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
    display: flex;
    gap: 12px;
}

.step-no {
    font-weight: 900;
    color: rgba(10, 166, 215, .95);
    font-size: 18px;
    line-height: 1;
}

.step-title {
    font-weight: 800;
    margin-bottom: 4px;
}

.step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

/* Academy */
.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 14px;
    color: var(--muted);
    font-size: 13px;
}

.pill-sm {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(10, 166, 215, .20);
    background: rgba(10, 166, 215, .08);
    color: #046e8f;
    font-weight: 600;
}

.featured {
    border-color: rgba(10, 166, 215, .50);
    box-shadow: 0 18px 50px rgba(10, 166, 215, .14);
    outline: 1px solid rgba(10, 166, 215, .18);
}

.cta-strip {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #061326, #0b1a2b);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
}

.cta-strip .sub {
    color: rgba(255, 255, 255, .78);
    max-width: 620px;
}

/* Slider */
.slider {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 16px;
    transition: transform .5s ease;
}

.t-card {
    min-width: calc(33.333% - 11px);
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 22px;
}

.stars {
    color: #0aa6d7;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.t-card p {
    margin: 0 0 18px;
    color: #334155;
    line-height: 1.8;
}

.t-foot {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.muted {
    color: var(--muted);
}

.slider-controls {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #e9eef5;
    background: #fff;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease;
}

.icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: start;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.checklist li {
    position: relative;
    padding-left: 30px;
    color: #334155;
    line-height: 1.6;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #0b1a2b;
    background: rgba(10, 166, 215, .18);
    border: 1px solid rgba(10, 166, 215, .25);
    font-weight: 900;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.stat-card {
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 22px;
    text-align: center;
}

.stat-value {
    font-family: "Playfair Display", serif;
    font-size: 44px;
    color: #0aa6d7;
    font-weight: 700;
}

.stat-label {
    margin-top: 6px;
    color: var(--muted);
}

/* Contact CTA */
.cta-box {
    border-radius: var(--radius-lg);
    padding: 34px;
    background: radial-gradient(700px 300px at 50% -10%, rgba(44, 195, 239, .18), transparent 60%),
        linear-gradient(180deg, #061326, #0b1a2b);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .25);
}

.cta-box .h2 {
    color: #fff;
    text-align: center;
}

.cta-box .sub {
    color: rgba(255, 255, 255, .78);
    text-align: center;
    margin-bottom: 18px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 16px;
    margin-top: 10px;
}

.form {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

label {
    font-size: 13px;
    color: rgba(255, 255, 255, .78);
}

input,
select,
textarea {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    padding: 12px 12px;
    color: #fff;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    box-shadow: var(--ring);
    border-color: rgba(10, 166, 215, .35);
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, .55);
}

.form-note {
    font-size: 12px;
    margin-top: 10px;
}

.contact-side .contact-card {
    height: 100%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 18px;
}

.contact-item {
    margin: 10px 0;
    color: rgba(255, 255, 255, .84);
}

.divider {
    height: 1px;
    background: rgba(255, 255, 255, .12);
    margin: 14px 0;
}

.mini-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 800;
    color: rgba(255, 255, 255, .92);
}

/* Footer */
.footer {
    background: #071628;
    color: #fff;
    padding: 46px 0 18px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.footer a {
    display: block;
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    margin: 10px 0;
    font-size: 14px;
}

.footer a:hover {
    color: #fff;
}

.footer-title {
    margin: 0 0 10px;
    font-weight: 800;
}

.footer-brand {
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    padding-top: 16px;
    margin-top: 18px;
}

.to-top {
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
}

.to-top:hover {
    text-decoration: underline;
}

/* Floating button */
.float-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(180deg, var(--accent), #058bb6);
    box-shadow: 0 18px 35px rgba(10, 166, 215, .30);
    z-index: 999;
    transition: transform .15s ease;
}

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

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 56px 0 54px;
    }

    .hero-card {
        justify-content: flex-start;
    }

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

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

    .steps {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .t-card {
        min-width: calc(50% - 8px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        right: 16px;
        left: 16px;
        background: rgba(19, 38, 60, .96);
        border: 1px solid rgba(255, 255, 255, .10);
        border-radius: 16px;
        padding: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        padding: 12px 10px;
        border-radius: 12px;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, .06);
    }

    .nav-link::after {
        display: none;
    }

    .cards-3 {
        grid-template-columns: 1fr;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .t-card {
        min-width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}