:root {
    --ink: #0b1220;
    --electric: #1d4ed8;
    --electric-2: #2563eb;
    --sky: #dbeafe;
    --paper: #f5f8ff;
    --card: #ffffff;
    --muted: #4b5563;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.16), transparent 34%),
        radial-gradient(circle at 92% 12%, rgba(14, 165, 233, 0.16), transparent 28%),
        var(--paper);
    overflow-x: hidden;
}

.site-page {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.site-page.is-ready {
    opacity: 1;
    transform: translateY(0);
}

.site-page.is-leaving {
    opacity: 0;
    transform: translateY(10px);
}

h1,
h2,
h3,
h4 {
    font-family: "Fraunces", Georgia, serif;
    letter-spacing: -0.02em;
}

.bg-orb {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    filter: blur(46px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.bg-orb-left {
    left: -140px;
    top: 18%;
    background: #93c5fd;
}

.bg-orb-right {
    right: -120px;
    top: 58%;
    background: #60a5fa;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, var(--ink) 0%, var(--electric) 100%);
    box-shadow: 0 10px 28px rgba(11, 18, 32, 0.22);
    backdrop-filter: blur(8px);
}

.navbar {
    padding: 0.95rem 0;
}

.navbar-brand,
.nav-link {
    color: #ffffff;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover,
.nav-link:focus,
.navbar-brand:hover,
.navbar-brand:focus {
    color: #bfdbfe;
}

.nav-link.is-active {
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.85);
}

.brand-logo {
    height: 38px;
    width: auto;
    border-radius: 6px;
    background: #ffffff;
    padding: 3px;
}

.btn-access {
    background: linear-gradient(120deg, #ffffff, #e0edff);
    color: #123077;
    border-radius: 999px;
    padding: 0.5rem 1.05rem;
    font-weight: 700;
    border: 1px solid #ffffff;
}

.btn-access:hover {
    background: #ffffff;
    color: #1e40af;
}

.hero-section {
    padding: 5.2rem 0 3.4rem;
}

.hero-box {
    padding: 2.3rem;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)) border-box,
        linear-gradient(120deg, #0b1220, #1d4ed8 58%, #38bdf8);
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 22px 52px rgba(11, 18, 32, 0.28);
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-size: 0.77rem;
    opacity: 0.84;
    margin-bottom: 0.65rem;
}

.hero-box h1 {
    font-size: clamp(2rem, 3.1vw, 3.4rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.hero-sub {
    max-width: 760px;
    opacity: 0.92;
    font-size: 1.04rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.6rem;
}

.hero-metrics {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.hero-metrics > div {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    padding: 0.8rem;
}

.hero-metrics strong {
    display: block;
    font-size: 0.95rem;
}

.hero-metrics span {
    display: block;
    font-size: 0.81rem;
    opacity: 0.9;
    margin-top: 0.18rem;
}

.btn-primary-hero,
.btn-outline-hero {
    border-radius: 999px;
    padding: 0.7rem 1.3rem;
    text-decoration: none;
    font-weight: 700;
}

.btn-primary-hero {
    background: linear-gradient(120deg, #ffffff, #dbeafe);
    color: #133583;
    border: 1px solid #ffffff;
}

.btn-primary-hero:hover {
    background: #ffffff;
    color: #1e40af;
}

.btn-outline-hero {
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: #ffffff;
}

.btn-outline-hero:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.feature-section,
.content-section {
    padding: 1.9rem 0 4rem;
}

.section-heading {
    margin-bottom: 1rem;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    color: #1d4ed8;
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.section-heading h2 {
    font-size: clamp(1.5rem, 2.2vw, 2.15rem);
}

.feature-card,
.service-card,
.machine-card {
    background: var(--card);
    border: 1px solid #d9e2f1;
    border-radius: 18px;
    padding: 1.35rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
    height: 100%;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-card:hover,
.service-card:hover,
.machine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.13);
}

.feature-card i {
    font-size: 1.45rem;
    color: var(--electric);
}

.service-icon,
.machine-icon {
    font-size: 1.45rem;
    color: var(--electric-2);
}

.feature-card h2,
.service-card h2,
.machine-card h2 {
    font-size: 1.24rem;
    margin-top: 0.7rem;
}

.feature-card p,
.service-card p,
.machine-card p {
    color: var(--muted);
}

.page-hero {
    padding: 3.7rem 0 1.7rem;
}

.page-hero h1 {
    margin-bottom: 0.5rem;
    font-size: clamp(1.9rem, 2.8vw, 3rem);
}

.page-hero p {
    color: var(--muted);
    max-width: 720px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
}

.contact-actions {
    margin-top: 1rem;
}

.process-panel {
    background: linear-gradient(120deg, #ffffff, #eaf2ff);
    border: 1px solid #d6e1f6;
    border-radius: 20px;
    padding: 1.4rem;
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.process-copy p {
    color: var(--muted);
}

.process-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.process-steps li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #ffffff;
    border: 1px solid #d8e3f5;
    border-radius: 12px;
    padding: 0.7rem 0.8rem;
    font-weight: 600;
}

.process-steps span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    color: #ffffff;
    font-size: 0.77rem;
}

.cta-band {
    padding-bottom: 4.2rem;
}

.cta-band-box {
    background: linear-gradient(120deg, #0b1220, #1d4ed8);
    border-radius: 22px;
    padding: 1.45rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: 0 18px 36px rgba(11, 18, 32, 0.24);
}

.cta-band-box h2 {
    font-size: clamp(1.35rem, 2.1vw, 1.8rem);
    margin: 0;
}

.machine-note {
    margin-top: 1.2rem;
    background: #eef4ff;
    border: 1px solid #cfe0ff;
    border-radius: 14px;
    padding: 0.95rem 1rem;
    color: #334155;
}

.site-footer {
    border-top: 1px solid #d6e1f6;
    padding: 2rem 0 1.1rem;
    color: #475569;
    background: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1rem;
}

.footer-brand {
    font-family: "Fraunces", Georgia, serif;
    color: #0f172a;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.footer-copy {
    color: #64748b;
    max-width: 460px;
}

.footer-title {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.73rem;
    font-weight: 800;
    color: #1d4ed8;
    margin-bottom: 0.45rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}

.footer-list a {
    color: #334155;
    text-decoration: none;
}

.footer-list a:hover {
    color: #1d4ed8;
}

.footer-bottom {
    margin-top: 1.3rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 0.85rem;
    font-size: 0.9rem;
    color: #64748b;
}

.reveal-up {
    opacity: 0;
    transform: translateY(14px);
    animation: revealUp 0.7s ease forwards;
}

.is-typing {
    position: relative;
}

.is-typing::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1em;
    background: currentColor;
    margin-left: 4px;
    vertical-align: -0.1em;
    animation: blinkCaret 0.7s steps(1, end) infinite;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blinkCaret {
    50% {
        opacity: 0;
    }
}

@media (max-width: 991px) {
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.38);
    }

    .navbar-toggler-icon {
        filter: invert(1);
    }

    .navbar-collapse {
        background: rgba(15, 23, 42, 0.93);
        border-radius: 12px;
        padding: 0.8rem;
        margin-top: 0.6rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .process-panel {
        grid-template-columns: 1fr;
    }

    .cta-band-box {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (prefers-reduced-motion: reduce) {
    .site-page,
    .site-page.is-ready,
    .site-page.is-leaving {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .is-typing::after {
        animation: none;
    }
}
