:root {
    --bg: #f4f8ff;
    --surface: #ffffff;
    --surface-soft: #f7fbff;
    --text: #0f172a;
    --muted: #4b5563;
    --line: #d8e3f5;
    --brand: #0b63f6;
    --brand-deep: #0b2545;
    --accent: #00a58f;
    --warn: #c68100;
    --success: #0f9f74;
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;
    --shadow: 0 18px 44px rgba(11, 37, 69, 0.12);
    --shadow-soft: 0 10px 24px rgba(10, 26, 47, 0.08);
    --container: 1160px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    line-height: 1.58;
    background:
        radial-gradient(820px 460px at -10% -6%, rgba(124, 176, 255, 0.18), transparent 65%),
        radial-gradient(700px 430px at 110% 0%, rgba(63, 206, 178, 0.16), transparent 62%),
        linear-gradient(180deg, var(--bg) 0%, #ffffff 45%, #f8fbff 100%);
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

main {
    min-height: 70vh;
}

.container {
    width: min(var(--container), calc(100% - 2.2rem));
    margin-inline: auto;
}

.section {
    padding: 82px 0;
}

.section-sm {
    padding: 62px 0;
}

h1,
h2,
h3,
h4 {
    font-family: "Sora", "Manrope", sans-serif;
    letter-spacing: -0.2px;
}

.lead {
    color: var(--muted);
    font-size: clamp(0.98rem, 1.6vw, 1.1rem);
    max-width: 66ch;
}

.bg-orb {
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    filter: blur(55px);
    opacity: 0.28;
    pointer-events: none;
}

.orb-a {
    width: 380px;
    height: 380px;
    right: -130px;
    top: 11%;
    background: #4f89ff;
}

.orb-b {
    width: 440px;
    height: 440px;
    left: -170px;
    bottom: -150px;
    background: #26c5a8;
}

.header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(244, 248, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(216, 227, 244, 0.85);
}

.nav-shell {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    min-width: 220px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font: 800 0.96rem/1 "Sora", sans-serif;
    background: linear-gradient(142deg, var(--brand) 0%, var(--accent) 100%);
    box-shadow: 0 8px 20px rgba(11, 95, 255, 0.28);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    color: var(--text);
    font: 700 1.01rem/1.2 "Sora", sans-serif;
}

.brand-text span {
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.nav-links {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    color: #223148;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transition: width 0.24s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
    width: 100%;
}

.nav-actions {
    margin-left: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.mobile-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #ffffff;
    border-radius: 10px;
    color: #27364a;
    padding: 0.44rem 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

.btn {
    border: 0;
    border-radius: 12px;
    padding: 0.74rem 1.08rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    box-shadow: 0 10px 24px rgba(11, 95, 255, 0.28);
}

.btn-secondary {
    color: #1f2937;
    background: #ffffff;
    border: 1px solid var(--line);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    border: 1px solid #cadeff;
    background: #eaf2ff;
    color: #0d61ca;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    padding: 0.35rem 0.7rem;
}

.hero {
    padding: 90px 0 68px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(1.95rem, 4.6vw, 3.35rem);
    line-height: 1.1;
    margin: 0.95rem 0 0.95rem;
    max-width: 16ch;
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tick-list {
    margin-top: 1.12rem;
    display: grid;
    gap: 0.58rem;
}

.tick-list li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #243347;
    font-size: 0.92rem;
    font-weight: 600;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    margin-top: 0.36rem;
    flex: 0 0 auto;
}

.panel {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 8px);
    box-shadow: var(--shadow);
    padding: 1.25rem;
    overflow: hidden;
    position: relative;
}

.panel::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(11, 95, 255, 0.2), transparent 70%);
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.72rem;
}

.panel-card {
    border: 1px solid #dce8fa;
    border-radius: 12px;
    background: #f8fbff;
    padding: 0.78rem;
}

.panel-card h4 {
    font-size: 0.84rem;
    margin-bottom: 0.3rem;
}

.panel-card p {
    color: var(--muted);
    font-size: 0.8rem;
}

.stat-strip {
    margin-top: 0.75rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.stat {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
    padding: 0.62rem;
}

.stat strong {
    display: block;
    font: 800 1.03rem/1 "Sora", sans-serif;
    color: var(--brand-deep);
}

.stat span {
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 600;
}

.section-head {
    margin-bottom: 1.35rem;
    max-width: 68ch;
}

.section-head h2 {
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    line-height: 1.2;
    margin: 0.6rem 0 0.7rem;
}

.section-head p {
    color: var(--muted);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 1.08rem;
}

.card h3 {
    font-size: 1rem;
    margin-bottom: 0.52rem;
}

.card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.service {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.service:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service h3 {
    font-size: 1rem;
    margin-bottom: 0.45rem;
}

.service p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 0.66rem;
}

.service ul {
    display: grid;
    gap: 0.35rem;
}

.service li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    color: #243347;
    font-size: 0.83rem;
    font-weight: 600;
}

.stack-wrap {
    border: 1px solid #d5e4fb;
    border-radius: calc(var(--radius) + 6px);
    background: linear-gradient(130deg, rgba(11, 95, 255, 0.08) 0%, rgba(0, 165, 143, 0.11) 100%), #ffffff;
    padding: clamp(1.1rem, 2.5vw, 1.6rem);
    box-shadow: 0 14px 34px rgba(11, 37, 69, 0.1);
}

.stack-wrap h2 {
    font-size: clamp(1.25rem, 2.3vw, 1.7rem);
    margin-bottom: 0.55rem;
}

.stack-wrap p {
    color: #41536a;
    max-width: 70ch;
}

.stack-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.stack-chip {
    border: 1px solid #c9daf8;
    background: #ffffff;
    border-radius: 12px;
    text-align: center;
    padding: 0.66rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #25364b;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.timeline-item {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
}

.timeline-index {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font: 800 0.9rem/1 "Sora", sans-serif;
    background: linear-gradient(145deg, var(--brand), var(--accent));
    margin-bottom: 0.62rem;
}

.timeline-item h3 {
    font-size: 0.96rem;
    margin-bottom: 0.44rem;
}

.timeline-item p {
    color: var(--muted);
    font-size: 0.85rem;
}

.portfolio-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.05rem;
    box-shadow: var(--shadow-soft);
}

.portfolio-card h3 {
    font-size: 0.98rem;
    margin-bottom: 0.45rem;
}

.portfolio-card p {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 0.66rem;
}

.portfolio-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.meta-pill {
    border: 1px solid #cae3ff;
    background: #eff6ff;
    color: #24538f;
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
}

.notice {
    border: 1px dashed #c8dafb;
    background: #f4f8ff;
    border-radius: 12px;
    padding: 0.72rem;
    color: #4f5f77;
    font-size: 0.82rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 1rem;
    align-items: start;
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    padding: 1.1rem;
}

.contact-list {
    margin-top: 0.66rem;
    display: grid;
    gap: 0.55rem;
}

.contact-list li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #22354a;
}

form {
    display: grid;
    gap: 0.8rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
}

.field label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #2c3f54;
}

.field input,
.field select,
.field textarea {
    border: 1px solid #cfdcf1;
    border-radius: 10px;
    padding: 0.66rem 0.72rem;
    background: #ffffff;
    font: 600 0.88rem/1.4 "Manrope", sans-serif;
    color: #122033;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid rgba(11, 95, 255, 0.16);
    border-color: #9fc0ff;
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.form-note {
    font-size: 0.78rem;
    color: #5f6f84;
}

.alert {
    display: none;
    border: 1px solid #cae3ff;
    border-radius: 10px;
    background: #edf5ff;
    color: #1f3f63;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.62rem 0.7rem;
}

.alert.show {
    display: block;
}

.cta {
    border: 1px solid #d3e3ff;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(130deg, rgba(11, 95, 255, 0.1) 0%, rgba(0, 165, 143, 0.12) 100%),
        #ffffff;
    box-shadow: var(--shadow);
    padding: clamp(1.2rem, 3vw, 2rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta h2 {
    font-size: clamp(1.35rem, 3vw, 1.95rem);
    margin-bottom: 0.48rem;
}

.cta p {
    color: #42526a;
    max-width: 64ch;
}

.footer {
    margin-top: 64px;
    border-top: 1px solid var(--line);
    background: #f8fbff;
    padding: 24px 0 30px;
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: #4d5f77;
    font-size: 0.84rem;
}

.footer-nav {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.footer-nav a {
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    color: #314760;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show {
    opacity: 1;
    transform: none;
}

@media (max-width: 1060px) {
    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .grid-3,
    .grid-4,
    .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stack-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .nav-links.open {
        display: grid;
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 76px;
        border-radius: 14px;
        border: 1px solid var(--line);
        background: #ffffff;
        padding: 0.95rem;
        box-shadow: var(--shadow);
        gap: 0.7rem;
    }

    .nav-links.open a {
        padding-bottom: 0.3rem;
    }

    .hero {
        padding-top: 72px;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 66px 0;
    }

    .section-sm {
        padding: 52px 0;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .timeline,
    .panel-grid,
    .stat-strip,
    .form-grid,
    .stack-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}
