:root {
    --blue: #1261d6;
    --blue-dark: #0b3f91;
    --navy: #071a33;
    --text: #172033;
    --muted: #64748b;
    --light: #f5f8fc;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 16px;
    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--blue);
    color: var(--white);

    font-weight: 800;
    font-size: 14px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text strong {
    font-size: 15px;
    color: var(--navy);
}

.logo-text small {
    margin-top: 3px;

    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.3px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    color: #334155;
    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--blue);
}


/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 0 22px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

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

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
}


/* =========================
   HERO
========================= */

.hero {
    padding: 100px 0 110px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(18, 97, 214, 0.12),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #f8fbff 0%,
            #ffffff 100%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 70px;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 16px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.6px;
}

.hero h1 {
    max-width: 760px;

    color: var(--navy);

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.05;

    letter-spacing: -2.5px;
}

.hero h1 span {
    color: var(--blue);
}

.hero-text {
    max-width: 650px;

    margin-top: 28px;

    color: var(--muted);

    font-size: 18px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 35px;
}


/* =========================
   HERO CARD VISUAL
========================= */

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    width: min(100%, 430px);
    aspect-ratio: 1.6;

    padding: 30px;

    border-radius: 24px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #0b3f91,
            #1261d6 55%,
            #1b82e7
        );

    box-shadow:
        0 35px 70px rgba(15, 59, 120, 0.25);

    transform: rotate(3deg);
}

.card-top,
.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-top {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.card-chip {
    width: 48px;
    height: 36px;

    margin-top: 70px;

    border-radius: 7px;

    background: linear-gradient(
        135deg,
        #d9e2ec,
        #ffffff
    );
}

.card-number {
    margin-top: 25px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
}

.card-bottom {
    margin-top: 24px;

    font-size: 9px;
    letter-spacing: 1px;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 100px 0;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--navy);
    color: white;
}

.section-heading {
    max-width: 760px;

    margin-bottom: 55px;
}

.section-heading h2 {
    color: var(--navy);

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.12;

    letter-spacing: -1.5px;
}

.section-heading p {
    margin-top: 18px;

    color: var(--muted);

    font-size: 17px;
}

.section-heading-dark h2 {
    color: white;
}

.section-heading-dark p {
    color: #b8c5d8;
}


/* =========================
   FEATURE CARDS
========================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.feature-card {
    padding: 30px;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.08);
}

.feature-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 9px;

    background: #eaf2ff;

    color: var(--blue);

    font-size: 12px;
    font-weight: 800;
}

.feature-card h3 {
    margin-bottom: 12px;

    color: var(--navy);

    font-size: 18px;
}

.feature-card p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================
   SOLUTIONS
========================= */

.solution-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.solution-card {
    padding: 35px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: white;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.08);
}

.solution-label {
    color: var(--blue);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.2px;
}

.solution-card h3 {
    margin-top: 15px;

    color: var(--navy);

    font-size: 25px;
}

.solution-card p {
    margin: 15px 0 25px;

    color: var(--muted);

    font-size: 14px;
}

.solution-card a {
    color: var(--blue);

    font-size: 14px;
    font-weight: 700;
}


/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 1px;

    overflow: hidden;

    border: 1px solid #173252;

    border-radius: var(--radius);
}

.service-item {
    padding: 28px;

    background: #0b2342;

    border: 1px solid #173252;
}

.service-item strong {
    display: block;

    color: white;

    font-size: 17px;
}

.service-item span {
    display: block;

    margin-top: 6px;

    color: #a9b8cc;

    font-size: 13px;
}


/* =========================
   DEMO
========================= */

.demo-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}

.demo-card {
    padding: 40px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: white;
}

.demo-number {
    color: var(--blue);

    font-size: 12px;
    font-weight: 800;
}

.demo-card h3 {
    margin-top: 12px;

    color: var(--navy);

    font-size: 30px;
}

.demo-card p {
    max-width: 500px;

    margin: 15px 0 25px;

    color: var(--muted);
}


/* =========================
   ABOUT
========================= */

.about-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 80px;
}

.about-grid h2 {
    color: var(--navy);

    font-size: clamp(30px, 4vw, 44px);

    line-height: 1.15;
}

.about-grid p {
    margin-bottom: 18px;

    color: var(--muted);

    font-size: 16px;
}


/* =========================
   CLIENTS
========================= */

.client-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}

.client-grid div {
    padding: 25px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: 12px;

    color: var(--navy);

    background: white;

    font-weight: 700;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    background: #f8fafc;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 80px;
}

.contact-grid h2 {
    color: var(--navy);

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.1;
}

.contact-grid > div > p {
    max-width: 520px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 17px;
}

.contact-info {
    display: flex;
    flex-direction: column;

    gap: 5px;

    margin-top: 35px;
}

.contact-info strong {
    color: var(--navy);
}

.contact-info span {
    color: var(--muted);

    font-size: 13px;
}


/* =========================
   FORM
========================= */

.contact-form {
    display: flex;
    flex-direction: column;

    gap: 14px;

    padding: 35px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: white;

    box-shadow:
        0 15px 35px rgba(15, 23, 42, 0.05);
}

.form-row {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid var(--border);

    border-radius: 8px;

    outline: none;

    color: var(--text);

    background: white;

    font-family: inherit;

    font-size: 14px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(18, 97, 214, 0.1);
}


/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 65px 0 25px;

    background: #041225;

    color: white;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 45px;
}

.footer-brand {
    font-size: 20px;
    font-weight: 800;
}

.footer-grid p {
    max-width: 320px;

    margin-top: 10px;

    color: #8ea0b7;

    font-size: 13px;
}

.footer-grid h4 {
    margin-bottom: 15px;

    font-size: 13px;

    color: white;
}

.footer-grid a {
    display: block;

    margin-bottom: 9px;

    color: #8ea0b7;

    font-size: 13px;
}

.footer-grid a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 50px;

    padding-top: 20px;

    border-top: 1px solid #17304d;

    color: #71839a;

    font-size: 12px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 15px;
    }

    .header-inner > .btn {
        display: none;
    }

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

    .solution-grid {
        grid-template-columns:
            1fr;
    }

}


@media (max-width: 800px) {

    .header-inner {
        min-height: 70px;
    }

    .main-nav {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

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

        gap: 50px;
    }

    .hero-card {
        transform: none;
    }

    .section {
        padding: 75px 0;
    }

    .feature-grid {
        grid-template-columns:
            1fr;
    }

    .services-grid {
        grid-template-columns:
            1fr;
    }

    .demo-grid {
        grid-template-columns:
            1fr;
    }

    .about-grid {
        grid-template-columns:
            1fr;

        gap: 40px;
    }

    .client-grid {
        grid-template-columns:
            1fr;
    }

    .contact-grid {
        grid-template-columns:
            1fr;

        gap: 45px;
    }

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

}


@media (max-width: 520px) {

    .container {
        width: min(100% - 28px, var(--container));
    }

    .hero h1 {
        font-size: 42px;

        letter-spacing: -1.5px;
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .form-row {
        grid-template-columns:
            1fr;
    }

    .contact-form {
        padding: 22px;
    }

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

}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}


.footer-social a.facebook { color: #1877F2; }
.footer-social a.instagram { color: #E4405F; }
.footer-social a.linkedin { color: #0A66C2; }
.footer-social a.whatsapp { color: #25D366; }


.logo-mark {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}


/* Contact WhatsApp */
.contact-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-whatsapp svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
    flex: 0 0 16px;
    fill: #25D366;
}

.contact-form-message {
    display: none;
    margin-top: 16px;
    padding: 13px 15px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

.contact-form-message.success {
    display: block;
    color: #0f5132;
    background: #e8f5ee;
    border: 1px solid #b7dfc7;
}

.contact-form-message.error {
    display: block;
    color: #842029;
    background: #fcebec;
    border: 1px solid #f1b9bf;
}

