:root {
    --bg: #070b14;
    --bg-soft: #0c1322;
    --surface: rgba(15, 24, 42, .78);
    --surface-solid: #111a2d;
    --surface-light: #f5f8ff;
    --text: #f8fafc;
    --text-soft: #aab6ca;
    --dark-text: #101828;
    --dark-soft: #526078;
    --primary: #3b82f6;
    --primary-2: #7c5cff;
    --cyan: #34d7ff;
    --line: rgba(255,255,255,.1);
    --line-dark: #e4eaf4;
    --shadow: 0 25px 80px rgba(0,0,0,.35);
    --radius: 22px;
    --header-height: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 9999; padding: 12px 18px; background: white; color: #111; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
    position: fixed; inset: 0 0 auto; z-index: 1000;
    height: var(--header-height);
    background: rgba(7, 11, 20, .76);
    border-bottom: 1px solid rgba(255,255,255,.07);
    backdrop-filter: blur(16px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 152px; max-height: 44px; object-fit: contain; }
.main-nav ul { display: flex; list-style: none; align-items: center; gap: 28px; }
.main-nav a { color: #cbd5e1; font-size: .94rem; font-weight: 600; transition: .25s ease; }
.main-nav a:hover { color: white; }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: white; margin: 5px auto; transition: .25s ease; }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 52px; padding: 0 24px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white !important; font-weight: 800; border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 14px 35px rgba(59,130,246,.25);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 45px rgba(59,130,246,.38); filter: brightness(1.08); }
.btn-small { min-height: 42px; padding: 0 18px; border-radius: 10px; }
.btn-secondary { background: rgba(255,255,255,.055); box-shadow: none; border-color: rgba(255,255,255,.16); }
.btn-secondary:hover { background: rgba(255,255,255,.1); box-shadow: none; }

.hero {
    min-height: 820px; padding: 170px 0 100px; position: relative; overflow: hidden;
    background:
        radial-gradient(circle at 20% 12%, rgba(59,130,246,.22), transparent 29%),
        radial-gradient(circle at 83% 23%, rgba(124,92,255,.2), transparent 30%),
        linear-gradient(180deg, #070b14, #09101d);
}
.hero::after {
    content: ""; position: absolute; inset: auto 0 0; height: 180px;
    background: linear-gradient(transparent, rgba(7,11,20,.85));
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .4; }
.hero-orb-one { width: 430px; height: 430px; top: 100px; left: -250px; background: radial-gradient(circle, rgba(52,215,255,.25), transparent 70%); }
.hero-orb-two { width: 520px; height: 520px; right: -290px; top: 80px; background: radial-gradient(circle, rgba(124,92,255,.26), transparent 70%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.eyebrow { display: inline-block; font-size: .76rem; letter-spacing: .14em; font-weight: 800; color: #79ddff; margin-bottom: 18px; }
.hero h1 { font-size: clamp(3rem, 5.4vw, 5.4rem); line-height: 1.01; letter-spacing: -.055em; max-width: 760px; margin-bottom: 24px; }
.hero h1 span { background: linear-gradient(90deg, #78dcff, #8b80ff 55%, #d275ff); -webkit-background-clip: text; color: transparent; }
.hero-copy > p { max-width: 660px; color: var(--text-soft); font-size: 1.12rem; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { margin-top: 28px; display: flex; gap: 12px 22px; flex-wrap: wrap; color: #bac6d9; font-size: .9rem; }
.hero-points span::before { content: "•"; color: #51d9ff; margin-right: 8px; }

.hero-panel {
    background: linear-gradient(180deg, rgba(20,31,54,.9), rgba(11,18,32,.93));
    border: 1px solid rgba(255,255,255,.11); border-radius: 26px;
    box-shadow: var(--shadow); overflow: hidden; transform: perspective(1000px) rotateY(-3deg);
}
.panel-top { display: flex; align-items: center; gap: 9px; padding: 18px 20px; border-bottom: 1px solid var(--line); color: #d6deec; font-size: .88rem; }
.status-dot { width: 9px; height: 9px; background: #2ce6a6; border-radius: 50%; box-shadow: 0 0 15px #2ce6a6; }
.panel-status { margin-left: auto; color: #6ee7b7; font-size: .77rem; background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.2); padding: 5px 9px; border-radius: 999px; }
.flow { padding: 30px 26px; }
.flow-item { display: flex; align-items: center; gap: 15px; padding: 16px; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 14px; }
.flow-item strong, .flow-item small { display: block; }
.flow-item small { color: #8fa0b9; margin-top: 3px; }
.flow-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(59,130,246,.28), rgba(124,92,255,.28)); color: #91dcff; font-size: .8rem; font-weight: 800; }
.flow-line { display: block; width: 2px; height: 20px; margin: 0 0 0 35px; background: linear-gradient(#3b82f6, #7c5cff); }
.panel-metrics { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.panel-metrics div { padding: 18px 12px; text-align: center; border-right: 1px solid var(--line); }
.panel-metrics div:last-child { border: 0; }
.panel-metrics strong, .panel-metrics span { display: block; }
.panel-metrics strong { font-size: 1.05rem; }
.panel-metrics span { color: #8fa0b9; font-size: .7rem; margin-top: 3px; }

.section { padding: 105px 0; }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 55px; }
.section-heading.align-left { text-align: left; margin: 0; }
.section-heading h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 18px; }
.section-heading p { color: var(--text-soft); font-size: 1.04rem; }

.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card { position: relative; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.035); min-height: 390px; overflow: hidden; }
.service-card.featured { background: linear-gradient(155deg, rgba(59,130,246,.16), rgba(124,92,255,.08)); border-color: rgba(111,164,255,.3); }
.service-number { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; color: #74d8ff; font-size: .8rem; font-weight: 800; margin-bottom: 52px; }
.service-card h3 { font-size: 1.45rem; margin-bottom: 14px; }
.service-card p { color: var(--text-soft); margin-bottom: 24px; }
.service-card ul { list-style: none; }
.service-card li { color: #d6deec; font-size: .92rem; padding: 8px 0; border-top: 1px solid var(--line); }
.service-card li::before { content: "→"; color: #65d6ff; margin-right: 9px; }

.problems-section { background: #f6f8fd; color: var(--dark-text); }
.problems-section .eyebrow { color: #2563eb; }
.problems-section .section-heading p { color: var(--dark-soft); }
.problems-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.problem-list { display: grid; gap: 14px; }
.problem-item { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: white; border: 1px solid var(--line-dark); border-radius: 14px; color: #344054; box-shadow: 0 10px 30px rgba(29,44,74,.04); }
.problem-item span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #e8f2ff; color: #2563eb; font-weight: 900; }

.projects-section { background: #090f1b; }
.projects-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.project-card { background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.project-main { grid-column: 1 / -1; display: grid; grid-template-columns: .82fr 1.18fr; gap: 34px; align-items: center; padding: 34px; background: linear-gradient(140deg, rgba(21,67,148,.22), rgba(75,48,152,.16)); }
.project-image { min-height: 320px; border-radius: 18px; background: radial-gradient(circle at center, rgba(37,99,235,.22), transparent 65%), #080e19; display: grid; place-items: center; overflow: hidden; }
.project-image img { width: 58%; max-height: 250px; object-fit: contain; }
.project-logo { height: 145px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 16px; background: white; overflow: hidden; padding: 18px; }
.project-logo img { max-width: 88%; max-height: 110px; object-fit: contain; }
.project-card h3 { font-size: 1.55rem; margin-bottom: 12px; }
.project-card p { color: var(--text-soft); margin-bottom: 22px; }
.project-label { color: #79ddff; font-size: .75rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 12px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.project-tags span { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.045); padding: 6px 10px; border-radius: 999px; color: #b9c7dc; font-size: .76rem; }
.text-link { color: #75dbff; font-weight: 800; }

.process-section { background: #f6f8fd; color: var(--dark-text); }
.process-section .eyebrow { color: #2563eb; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.process-step { background: white; border: 1px solid var(--line-dark); border-radius: 18px; padding: 25px; }
.process-step > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #eaf2ff; color: #2563eb; font-weight: 900; margin-bottom: 40px; }
.process-step h3 { margin-bottom: 10px; }
.process-step p { color: var(--dark-soft); font-size: .92rem; }

.cta-section { padding: 90px 0; background: #f6f8fd; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 48px; border-radius: 26px; background: linear-gradient(135deg, #0d1d38, #211a49); box-shadow: 0 25px 70px rgba(18,31,58,.22); }
.cta-box h2 { max-width: 700px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 14px; }
.cta-box p { color: #aebbd0; max-width: 650px; }
.cta-box .btn { flex: 0 0 auto; }

.site-footer { padding: 72px 0 24px; background: #060a12; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.25fr; gap: 45px; }
.footer-brand img { width: 165px; max-height: 48px; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { color: #8998b0; max-width: 360px; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-column h4 { margin-bottom: 8px; font-size: .95rem; }
.footer-column a { color: #8d9bb0; font-size: .9rem; }
.footer-column a:hover { color: white; }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); color: #6f7c91; font-size: .84rem; }

.fade-in { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.fade-in.visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
    .hero { min-height: auto; padding-top: 135px; }
    .hero-grid, .problems-grid, .project-main { grid-template-columns: 1fr; }
    .hero-panel { transform: none; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; }
    .service-number { margin-bottom: 30px; }
    .problems-grid { gap: 45px; }
    .process-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 28px, 1120px); }
    .site-header { height: 70px; }
    .logo img { width: 132px; }
    .menu-toggle { display: block; }
    .main-nav { position: fixed; inset: 70px 0 auto; background: rgba(7,11,20,.98); border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: .3s ease; }
    .main-nav.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .main-nav ul { padding: 24px 20px 30px; flex-direction: column; align-items: stretch; gap: 10px; }
    .main-nav a { display: block; padding: 12px; text-align: center; }
    .main-nav .btn { margin-top: 8px; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero { padding: 120px 0 75px; }
    .hero-grid { gap: 45px; }
    .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
    .hero-copy > p { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-points { display: grid; gap: 8px; }
    .panel-metrics { grid-template-columns: 1fr; }
    .panel-metrics div { border-right: 0; border-bottom: 1px solid var(--line); }
    .panel-metrics div:last-child { border-bottom: 0; }

    .section { padding: 78px 0; }
    .section-heading { margin-bottom: 38px; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-main { grid-column: auto; padding: 22px; }
    .project-image { min-height: 230px; }
    .process-grid { grid-template-columns: 1fr; }
    .cta-section { padding: 65px 0; }
    .cta-box { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
    .cta-box .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .project-logo { height: 130px; }
}


/* --- Internal pages --- */
.internal-main {
    padding-top: var(--header-height);
    background:
        radial-gradient(circle at 15% 5%, rgba(59,130,246,.10), transparent 26%),
        linear-gradient(180deg, #080d17, #0a101c);
    min-height: 70vh;
}

.internal-hero {
    padding: 105px 0 52px;
    border-bottom: 1px solid var(--line);
}

.internal-hero .eyebrow {
    margin-bottom: 14px;
}

.internal-hero h1 {
    font-size: clamp(2.55rem, 5vw, 4.6rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    margin-bottom: 18px;
}

.internal-hero p {
    max-width: 720px;
    color: var(--text-soft);
    font-size: 1.06rem;
}

.internal-content {
    padding: 64px 0 105px;
}

.content-shell {
    width: min(820px, 100%);
    margin: 0 auto;
}

.content-card {
    background: rgba(255,255,255,.035);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.content-card h2 {
    font-size: 1.65rem;
    line-height: 1.2;
    margin: 38px 0 14px;
    color: #f8fafc;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h3 {
    margin: 28px 0 12px;
    font-size: 1.15rem;
}

.content-card p,
.content-card li {
    color: #b8c4d6;
}

.content-card p {
    margin-bottom: 18px;
}

.content-card ul,
.content-card ol {
    margin: 12px 0 22px;
    padding-left: 22px;
}

.content-card li {
    margin-bottom: 10px;
}

.content-card strong {
    color: #eef4ff;
}

.content-card a {
    color: #75dbff;
    font-weight: 700;
}

.content-card em {
    color: #90a0b7;
}

.legal-notice {
    padding: 18px 20px;
    margin-bottom: 28px;
    border: 1px solid rgba(117,219,255,.18);
    background: rgba(59,130,246,.08);
    border-radius: 14px;
}

.legal-notice p {
    margin: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 28px;
    align-items: start;
}

.contact-panel,
.contact-form-card {
    background: rgba(255,255,255,.035);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 32px;
}

.contact-panel h2,
.contact-form-card h2 {
    font-size: 1.45rem;
    margin-bottom: 14px;
}

.contact-panel p,
.contact-form-card p {
    color: var(--text-soft);
}

.contact-detail {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.contact-detail span,
.contact-detail a {
    display: block;
}

.contact-detail span {
    color: #7f8da4;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 6px;
}

.contact-detail a {
    color: #75dbff;
    font-weight: 800;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #dbe5f4;
    font-size: .9rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.045);
    color: white;
    border-radius: 12px;
    padding: 14px 15px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #748196;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #5da8ff;
    box-shadow: 0 0 0 4px rgba(59,130,246,.12);
}

.form-submit-wrapper {
    margin-top: 24px;
}

.success-box {
    display: none;
    padding: 26px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid rgba(44,230,166,.22);
    background: rgba(16,185,129,.08);
}

.success-box h3 {
    color: #82f0c6;
    margin-bottom: 8px;
}

.success-box p {
    margin: 0;
    color: #b9d8ce;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
    margin-top: 24px;
}

.value-card {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.025);
}

.value-card strong {
    display: block;
    margin-bottom: 7px;
}

.value-card p {
    margin: 0;
    font-size: .93rem;
}

@media (max-width: 760px) {
    .internal-hero {
        padding: 85px 0 38px;
    }

    .internal-content {
        padding: 42px 0 75px;
    }

    .content-card,
    .contact-panel,
    .contact-form-card {
        padding: 24px 20px;
    }

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