:root {
    --dark: #020617;
    --navy: #0f172a;
    --navy-soft: #111827;
    --blue: #2563eb;
    --cyan: #38bdf8;
    --white: #ffffff;
    --soft-white: #f8fafc;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    --border: rgba(148, 163, 184, 0.22);
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
    --radius: 28px;
    --transition: 220ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: var(--soft-white);
    color: #111827;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* NAVBAR */

.navbar {
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 32px));
    height: 72px;
    padding: 0 18px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 999px;
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--navy);
}

.logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    display: grid;
    place-items: center;
    color: var(--white);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.navbar nav a {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    transition: color var(--transition);
}

.navbar nav a:hover {
    color: var(--blue);
}

.nav-button {
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.nav-button:hover {
    transform: translateY(-2px);
    background: #111f3d;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), #1d4ed8);
    color: var(--white);
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 22px 48px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.82);
    color: var(--navy);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.btn-secondary:hover {
    background: var(--white);
    border-color: rgba(37, 99, 235, 0.35);
}

/* HERO */

.hero {
    min-height: 100vh;
    padding: 150px 24px 80px;
    position: relative;
    overflow: hidden;
    background:
            linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.92) 45%, rgba(255,255,255,0.64) 100%),
            url("../images/hires/hero-bg.webp");
    background-size: cover;
    background-position: center;
}

.hero::before {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.16);
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.2px;
    margin-bottom: 26px;
}

.hero h1 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: clamp(44px, 7vw, 78px);
    line-height: 0.98;
    max-width: 980px;
    margin: 0 auto 26px;
    letter-spacing: -3px;
    color: var(--navy);
}

.hero h1 span {
    display: block;
    background: linear-gradient(135deg, var(--blue), #0f172a 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 740px;
    margin: 0 auto 34px;
    color: #475569;
    font-size: 19px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 42px;
}

/* HERO VISUAL */

.hero-visual {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(2, 6, 23, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.2);
    box-shadow: 0 36px 90px rgba(15, 23, 42, 0.24);
}

.visual-top {
    height: 48px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-top span {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: #475569;
}

.visual-top span:nth-child(1) {
    background: #38bdf8;
}

.visual-top span:nth-child(2) {
    background: #60a5fa;
}

.visual-top span:nth-child(3) {
    background: #94a3b8;
}

.visual-content {
    padding: 30px;
}

.visual-label {
    color: var(--cyan);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 18px;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.visual-grid div {
    padding: 20px;
    min-height: 150px;
    border-radius: 22px;
    background:
            linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-grid small {
    display: block;
    color: #93c5fd;
    font-weight: 800;
    margin-bottom: 14px;
}

.visual-grid strong {
    display: block;
    color: var(--white);
    font-size: 16px;
    margin-bottom: 8px;
}

.visual-grid p {
    color: #cbd5e1;
    font-size: 13.5px;
    line-height: 1.5;
}

/* SECTIONS */

.section {
    padding: 110px 24px;
}

.section-header {
    width: min(980px, 100%);
    margin: 0 auto 46px;
    text-align: center;
}

.eyebrow {
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-header h2,
.contact-box h2 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -1.8px;
    color: var(--navy);
}

.section-header p {
    max-width: 720px;
    margin: 18px auto 0;
    color: #64748b;
    font-size: 18px;
}

.section-text {
    width: min(840px, 100%);
    margin: 0 auto;
    text-align: center;
    color: #475569;
    font-size: 19px;
}

/* ABOUT */

.about-section {
    background: var(--white);
}

/* BENTO SOLUTIONS */

.bento-grid {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.solution-card {
    min-height: 350px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid rgba(226, 232, 240, 0.96);
    box-shadow: 0 14px 48px rgba(15, 23, 42, 0.06);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.26);
    box-shadow: var(--shadow);
}

.wide-card {
    grid-column: span 2;
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--blue);
}

.solution-card h3 {
    font-size: 22px;
    line-height: 1.18;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.solution-card p {
    color: #64748b;
    font-size: 15.5px;
}

.card-image {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    object-position: center;
    border-radius: 20px;
    margin-top: 22px;
    display: block;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.55);
}

/* AI CARD - SPECIAL LARGE CARD */

.large-card,
.ai-card {
    grid-row: span 2;
    min-height: 560px;
    padding: 30px;
    background:
            radial-gradient(circle at 20% 15%, rgba(37, 99, 235, 0.32), transparent 34%),
            radial-gradient(circle at 85% 85%, rgba(56, 189, 248, 0.18), transparent 34%),
            linear-gradient(145deg, #020617 0%, #0f172a 55%, #111827 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.ai-card:hover {
    border-color: rgba(56, 189, 248, 0.34);
    box-shadow: 0 30px 80px rgba(2, 6, 23, 0.26);
}

.ai-card .card-icon {
    background: rgba(59, 130, 246, 0.14);
    color: #38bdf8;
    margin-bottom: 24px;
}

.ai-card h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 14px;
}

.ai-card p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.ai-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 24px;
}

.ai-list span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #e5e7eb;
    font-size: 14.5px;
    font-weight: 700;
}

.ai-list span::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 999px;
    background: #38bdf8;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.75);
}

.ai-card .card-image {
    height: auto;
    max-height: 260px;
    margin-top: auto;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.ai-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.ai-meta div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-meta strong {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 4px;
}

.ai-meta small {
    color: #94a3b8;
    font-size: 12.5px;
    font-weight: 700;
}

/* TECHNOLOGY */

.technology-section {
    background:
            radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.12), transparent 30%),
            var(--navy);
}

.technology-section .section-header h2 {
    color: var(--white);
}

.technology-section .section-header p {
    color: var(--gray-light);
}

.feature-row {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-item {
    padding: 30px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-item span {
    color: var(--cyan);
    font-weight: 900;
    font-size: 13px;
}

.feature-item h3 {
    color: var(--white);
    margin: 18px 0 10px;
    font-size: 22px;
}

.feature-item p {
    color: var(--gray-light);
}

/* WHY */

.why-section {
    background: var(--white);
}

.why-grid {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.why-grid div {
    padding: 30px;
    border-radius: var(--radius);
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.why-grid h3 {
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 10px;
}

.why-grid p {
    color: #64748b;
}

/* CONTACT */

.contact-section {
    background:
            linear-gradient(180deg, #f8fafc 0%, #eef6ff 100%);
}

.contact-box {
    width: min(920px, 100%);
    margin: 0 auto;
    padding: 58px;
    border-radius: 36px;
    text-align: center;
    background:
            radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 35%),
            var(--white);
    border: 1px solid rgba(226, 232, 240, 0.96);
    box-shadow: var(--shadow);
}

.contact-box p:not(.eyebrow) {
    max-width: 660px;
    margin: 20px auto 30px;
    color: #64748b;
    font-size: 18px;
}

/* FOOTER */

footer {
    padding: 34px 24px;
    text-align: center;
    color: #64748b;
    background: var(--white);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

/* RESPONSIVE */

@media (max-width: 980px) {
    .navbar nav {
        display: none;
    }

    .hero {
        padding-top: 140px;
    }

    .visual-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .large-card,
    .ai-card,
    .wide-card {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 390px;
    }

    .feature-row,
    .why-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .navbar {
        top: 12px;
        height: 64px;
        width: calc(100% - 24px);
    }

    .logo span:last-child {
        font-size: 14px;
    }

    .nav-button {
        display: none;
    }

    .hero {
        padding: 120px 16px 64px;
        background:
                linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 62%, rgba(255,255,255,0.76) 100%),
                url("../images/hires/hero-bg.webp");
        background-size: cover;
        background-position: center;
    }

    .hero h1 {
        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 16.5px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-visual {
        border-radius: 24px;
    }

    .visual-content {
        padding: 20px;
    }

    .visual-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 78px 16px;
    }

    .section-header {
        margin-bottom: 34px;
    }

    .section-header h2,
    .contact-box h2 {
        letter-spacing: -1.2px;
    }

    .section-text,
    .section-header p {
        font-size: 16.5px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: auto;
        padding: 24px;
    }

    .card-image,
    .ai-card .card-image {
        height: auto;
        max-height: none;
    }

    .ai-meta {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 34px 22px;
        border-radius: 28px;
    }
}
/* AI TEAM SOFTWARE FULL WIDTH CARD */

.team-card {
    grid-column: span 3;
    min-height: 300px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 34px;
    align-items: center;
    background:
            radial-gradient(circle at left top, rgba(37, 99, 235, 0.08), transparent 34%),
            #ffffff;
}

.team-left {
    max-width: 650px;
}

.team-icon {
    margin-bottom: 24px;
}

.team-card h3 {
    font-size: 25px;
    margin-bottom: 14px;
}

.team-card p {
    max-width: 620px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
}

.team-right {
    width: 100%;
}

.team-right img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

@media (max-width: 980px) {
    .team-card {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .team-card {
        grid-column: span 1;
    }
}
