:root {
    --bg: #091321;
    --bg-deep: #06101d;
    --surface: #10233a;
    --surface-strong: #163150;
    --surface-soft: rgba(255, 255, 255, 0.06);
    --card: rgba(255, 255, 255, 0.05);
    --card-strong: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.1);
    --text: #edf3ff;
    --muted: #99adcb;
    --primary: #f3a533;
    --primary-strong: #ffbf63;
    --accent: #56cdfa;
    --success: #4cd39c;
    --shadow: 0 26px 70px rgba(2, 10, 24, 0.38);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(86, 205, 250, 0.16), transparent 28%),
        radial-gradient(circle at 88% 8%, rgba(243, 165, 51, 0.18), transparent 20%),
        linear-gradient(180deg, #091321 0%, #0b1727 42%, #08111d 100%);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: "Sora", sans-serif;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.58rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #eef5ff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 0 22px rgba(86, 205, 250, 0.45);
}

.topbar {
    padding: 0.75rem 0;
    background: rgba(3, 10, 20, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.topbar small,
.topbar a {
    color: var(--muted);
    font-size: 0.88rem;
}

.navbar-shell {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(9, 19, 33, 0.78);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(2, 10, 24, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.92);
}

.navbar-brand img {
    height: 44px;
    width: auto;
    max-width: 228px;
    object-fit: contain;
}

.nav-link {
    color: #dae7fb;
    font-weight: 700;
    position: relative;
}

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

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.35rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.hero-page {
    position: relative;
    padding: 4.6rem 0 3.6rem;
    overflow: hidden;
}

.hero-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(118deg, rgba(8, 17, 29, 0.96) 0%, rgba(13, 35, 56, 0.9) 52%, rgba(7, 14, 26, 0.98) 100%),
        linear-gradient(90deg, rgba(86, 205, 250, 0.08), rgba(243, 165, 51, 0.07));
}

.hero-page::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px;
    height: 190px;
    background: linear-gradient(180deg, rgba(9, 19, 33, 0), #091321 75%);
}

.hero-page > .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    max-width: 780px;
    margin: 1.1rem 0 1rem;
    font-size: clamp(2.15rem, 4.2vw, 4.1rem);
    line-height: 1.03;
}

.hero-copy,
.section-copy,
.card-copy,
.footer-copy,
.small-copy {
    color: #d4e1f5;
    line-height: 1.82;
}

.hero-copy {
    max-width: 47rem;
    font-size: 1.06rem;
}

.hero-actions,
.stats-grid,
.feature-grid,
.job-grid,
.logo-grid,
.stack-grid,
.process-grid,
.contact-grid,
.pill-grid,
.inline-list,
.detail-grid,
.story-grid,
.client-segment-grid,
.client-name-grid {
    display: grid;
    gap: 1rem;
}

.hero-actions {
    grid-template-columns: repeat(2, max-content);
    margin-top: 2rem;
}

.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.95rem 1.4rem;
    border: 0;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.btn-brand-primary {
    color: #07111d;
    background: linear-gradient(135deg, var(--primary-strong), var(--primary));
    box-shadow: 0 16px 40px rgba(243, 165, 51, 0.3);
}

.btn-brand-dark {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.glass-card,
.metric-card,
.feature-card,
.job-card,
.contact-card,
.logo-card,
.cta-shell,
.stack-box,
.process-step,
.detail-card,
.story-card,
.client-name-card,
.client-segment-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.glass-card,
.cta-shell {
    border-radius: 28px;
}

.section-block {
    padding: 5rem 0;
    position: relative;
}

.section-heading {
    max-width: 48rem;
    margin-bottom: 2.4rem;
}

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

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

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

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

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

.process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

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

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

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

.metric-card,
.feature-card,
.job-card,
.contact-card,
.detail-card,
.story-card {
    height: 100%;
    padding: 1.55rem;
    border-radius: 24px;
}

.metric-icon,
.feature-icon,
.contact-card i,
.process-step i,
.detail-card i,
.client-segment-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 18px;
    color: #07101d;
    background: linear-gradient(135deg, #ffd081, var(--primary));
    box-shadow: 0 10px 24px rgba(243, 165, 51, 0.26);
}

.metric-card h3 {
    margin: 1rem 0 0.35rem;
    font-size: 2rem;
}

.metric-card p,
.feature-card p,
.job-card p,
.contact-card p,
.detail-card p,
.story-card p,
.client-segment-card p {
    color: var(--muted);
    margin-bottom: 0;
    line-height: 1.75;
}

.feature-card,
.job-card,
.logo-card,
.client-name-card,
.client-segment-card,
.process-step {
    transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover,
.job-card:hover,
.logo-card:hover,
.client-name-card:hover,
.client-segment-card:hover,
.process-step:hover {
    transform: translateY(-4px);
}

.feature-card:hover,
.job-card:hover,
.process-step:hover,
.client-segment-card:hover {
    border-color: rgba(86, 205, 250, 0.32);
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    box-shadow: 0 22px 46px rgba(86, 205, 250, 0.16);
}

.feature-card:hover h4,
.job-card:hover h4,
.client-segment-card:hover h4 {
    color: #16253a;
}

.feature-card:hover p,
.job-card:hover p,
.client-segment-card:hover p,
.process-step:hover p {
    color: #536782;
}

.feature-card:hover .tag,
.job-card:hover .tag,
.stack-box:hover .pill {
    background: rgba(22, 37, 58, 0.08);
    color: #1f7fb3;
    border: 1px solid rgba(86, 205, 250, 0.25);
}

.feature-card h4,
.job-card h4,
.contact-card h4,
.detail-card h4,
.story-card h4 {
    margin: 1rem 0 0.75rem;
    font-size: 1.14rem;
}

.tag,
.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(86, 205, 250, 0.12);
    color: #a9e6ff;
    border: 1px solid transparent;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.pill-grid,
.inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.split-card {
    padding: 2rem;
}

.bullet-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 1rem;
    padding: 0;
    margin: 1.45rem 0 0;
    list-style: none;
}

.bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: #e5eefc;
}

.bullet-list li i {
    color: var(--accent);
    margin-top: 0.1rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-height: 150px;
    padding: 1.35rem;
    border-radius: 18px;
}

.process-step h5 {
    margin: 0 0 0.55rem;
    font-size: 1.02rem;
}

.process-step p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.process-step i {
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 14px;
}

.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 138px;
    padding: 1rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(221, 228, 239, 0.92);
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.18);
}

.logo-card img {
    max-height: 96px;
    max-width: 160px;
    width: 100%;
    object-fit: contain;
}

.client-trust-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
    gap: 1.4rem;
    align-items: stretch;
    padding: 2rem;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(86, 205, 250, 0.12), rgba(243, 165, 51, 0.12)),
        rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.client-metric-grid {
    display: grid;
    gap: 1rem;
}

.client-metric {
    padding: 1.2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.client-metric strong {
    display: block;
    color: #fff;
    font-family: "Sora", sans-serif;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.45rem;
}

.client-metric span {
    color: var(--muted);
    line-height: 1.6;
}

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

.client-name-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 1rem;
    color: #142033;
    font-family: "Sora", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
    background:
        radial-gradient(circle at top left, rgba(73, 197, 255, 0.08), transparent 42%),
        #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.16);
}

.client-name-card:hover {
    border-color: rgba(73, 197, 255, 0.45);
    box-shadow: 0 20px 42px rgba(73, 197, 255, 0.14);
}

.client-segment-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-segment-card {
    min-height: 210px;
    padding: 1.35rem;
    border-radius: 24px;
}

.client-segment-card h4 {
    margin: 1rem 0 0.65rem;
    font-size: 1.08rem;
}

.stack-box {
    padding: 1.5rem;
    border-radius: 24px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0 1.25rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.detail-card {
    position: relative;
}

.detail-card h4 {
    margin-top: 1.2rem;
}

.story-card {
    padding: 1.8rem;
}

.story-card .eyebrow {
    margin-bottom: 1.15rem;
}

.cta-shell {
    padding: 2rem;
}

.footer-shell {
    padding: 0 0 2.4rem;
}

.footer-shell > div {
    border-radius: 28px;
    padding: 1.6rem 1.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
}

.career-modal .modal-content,
.career-modal-content {
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(243, 165, 51, 0.18), transparent 28%),
        linear-gradient(145deg, #0d1b31, #08111f);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.career-modal .modal-header,
.career-modal .modal-footer {
    border-color: rgba(255, 255, 255, 0.08);
    padding: 1.35rem 1.5rem;
}

.career-modal .modal-body {
    padding: 1.5rem;
}

.career-form .form-label {
    color: #e5eefc;
    font-weight: 800;
}

.career-form .form-control {
    min-height: 48px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
}

.career-form .form-control:focus {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(73, 197, 255, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(73, 197, 255, 0.14);
}

.career-form textarea.form-control {
    min-height: 120px;
}

.career-form .form-control::placeholder,
.form-hint {
    color: var(--muted);
}

.career-form .form-control::file-selector-button {
    height: 48px;
    margin: -0.375rem 0.85rem -0.375rem -0.75rem;
    color: #08111f;
    font-weight: 800;
    background: linear-gradient(135deg, #ffbe5c, var(--primary));
    border: 0;
}

.form-hint {
    margin-top: 0.45rem;
    font-size: 0.9rem;
}

.application-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 1080;
    width: min(560px, calc(100% - 32px));
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 1.15rem;
    color: #dffced;
    background: rgba(67, 217, 140, 0.1);
    border: 1px solid rgba(67, 217, 140, 0.28);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.application-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.application-toast i {
    color: var(--success);
    font-size: 1.35rem;
    margin-top: 0.15rem;
}

.fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.7rem;
    background: linear-gradient(135deg, #2ee77a, #1fb45b);
    box-shadow: 0 18px 30px rgba(31, 180, 91, 0.34);
}

@media (max-width: 1199.98px) {
    .stats-grid,
    .detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid,
    .job-grid,
    .stack-grid,
    .client-segment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .client-name-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .hero-page {
        padding-top: 4rem;
    }

    .hero-actions,
    .contact-grid,
    .bullet-list,
    .story-grid,
    .client-trust-shell {
        grid-template-columns: 1fr;
    }

    .navbar-collapse {
        margin-top: 0.85rem;
        padding: 1rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 15px;
    }

    .topbar .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.35rem !important;
    }

    .topbar .container > .d-flex > .d-flex:last-child {
        display: none !important;
    }

    .navbar {
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }

    .navbar-brand {
        padding: 0.32rem 0.5rem;
        border-radius: 14px;
    }

    .navbar-brand img {
        height: 35px;
        max-width: 182px;
        object-fit: contain;
    }

    .navbar-toggler {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.06);
    }

    .hero-page {
        padding: 3.2rem 0 2.8rem;
    }

    .hero-title {
        font-size: clamp(2rem, 11vw, 3rem);
        line-height: 1.05;
    }

    .hero-copy,
    .section-copy,
    .feature-card p,
    .job-card p,
    .contact-card p,
    .detail-card p,
    .story-card p {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .btn-brand {
        width: 100%;
    }

    .stats-grid,
    .feature-grid,
    .job-grid,
    .logo-grid,
    .stack-grid,
    .process-grid,
    .detail-grid,
    .client-segment-grid,
    .client-name-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-block {
        padding: 3.4rem 0;
    }

    .split-card,
    .cta-shell,
    .story-card {
        padding: 1.45rem;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        right: 14px;
        bottom: 14px;
        font-size: 1.45rem;
    }
}
