
/* =========================================================
   ONISTECH INFO SYSTEMS — PREMIUM GLOBAL DESIGN SYSTEM
   Responsive | Glossy | Accessible | Reusable
========================================================= */

:root {
    color-scheme: light;

    --brand-navy: #10245b;
    --brand-navy-dark: #091638;
    --brand-blue: #087fe7;
    --brand-blue-dark: #0664c2;
    --brand-cyan: #22b8f0;
    --brand-orange: #f28c28;
    --brand-green: #82bd35;

    --brand-dark: #202b3c;
    --brand-muted: #66758a;
    --brand-light: #f3f7fd;
    --brand-border: #e3eaf4;
    --brand-white: #ffffff;

    --gradient-brand: linear-gradient(
        115deg,
        #087fe7 0%,
        #22b8f0 48%,
        #f28c28 100%
    );

    --gradient-blue: linear-gradient(
        135deg,
        #10245b 0%,
        #087fe7 65%,
        #22b8f0 100%
    );

    --gradient-glass: linear-gradient(
        145deg,
        rgba(255, 255, 255, .98),
        rgba(239, 247, 255, .88)
    );

    --shadow-soft: 0 8px 28px rgba(16, 36, 91, .07);
    --shadow-card: 0 14px 40px rgba(16, 36, 91, .10);
    --shadow-hover: 0 22px 55px rgba(16, 36, 91, .16);
    --shadow-glossy: 0 12px 30px rgba(8, 127, 231, .22);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-card: 18px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --container-space: 24px;
    --section-space: clamp(55px, 7vw, 95px);

    --transition-fast: .2s ease;
    --transition-normal: .3s ease;
}

/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: clip;
    color: var(--brand-dark);
    background: var(--brand-white);
    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
textarea,
select {
    font-family: "Inter", Arial, sans-serif;
}

img,
picture,
video,
canvas,
svg {
    max-width: 100%;
}

img {
    height: auto;
    vertical-align: middle;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
[type="button"],
[type="submit"] {
    cursor: pointer;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-navy);
}

p:last-child {
    margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--brand-navy);
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: break-word;
}

h1 {
    font-size: clamp(2rem, 4.5vw, 3.75rem);
    letter-spacing: -.045em;
}

h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.7rem);
    letter-spacing: -.035em;
}

h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    letter-spacing: -.02em;
}

::selection {
    color: #fff;
    background: var(--brand-blue);
}

:focus-visible {
    outline: 3px solid var(--brand-cyan);
    outline-offset: 4px;
}

hr {
    border-color: var(--brand-border);
    opacity: 1;
}

/* ACCESSIBILITY */

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 99999;
    padding: 10px 16px;
    color: #fff;
    background: var(--brand-navy);
    border-radius: var(--radius-sm);
    transform: translateY(-150%);
    transition: transform var(--transition-fast);
}

.skip-link:focus {
    color: #fff;
    transform: translateY(0);
}

/* GLOBAL CONTAINER */

.container {
    --bs-gutter-x: 1.5rem;
}

.container,
.container-fluid {
    width: 100%;
}

section {
    position: relative;
}

.section-padding {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

.section-padding-sm {
    padding-top: clamp(35px, 5vw, 60px);
    padding-bottom: clamp(35px, 5vw, 60px);
}

/* SECTION HEADINGS */

.section-kicker,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--brand-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.5;
    text-transform: uppercase;
}

.section-kicker::before,
.section-eyebrow::before {
    width: 24px;
    height: 3px;
    flex: 0 0 24px;
    background: var(--brand-orange);
    border-radius: var(--radius-pill);
    content: "";
}

.section-heading {
    max-width: 850px;
    margin: 0 0 20px;
    color: var(--brand-navy);
    font-size: clamp(29px, 3.5vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.2px;
    text-wrap: balance;
}

.section-description {
    max-width: 720px;
    color: var(--brand-muted);
    font-size: 16px;
    line-height: 1.9;
}

.section-heading-wrap {
    max-width: 780px;
    margin: 0 auto 45px;
    text-align: center;
}

.section-heading-wrap .section-heading {
    margin-right: auto;
    margin-left: auto;
}

.section-heading-wrap .section-description {
    margin-right: auto;
    margin-left: auto;
}

/* BACKGROUNDS */

.bg-soft {
    background: var(--brand-light);
}

.bg-white {
    background-color: var(--brand-white);
}

.bg-brand {
    color: #fff;
    background: var(--gradient-blue);
}

.text-brand {
    color: var(--brand-blue) !important;
}

.text-muted-brand {
    color: var(--brand-muted) !important;
}

.gradient-text {
    color: var(--brand-blue);
    background: var(--gradient-brand);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* PREMIUM BUTTONS */

.btn-brand,
.btn-outline-brand,
.btn-white-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 23px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        background var(--transition-normal),
        border-color var(--transition-normal);
}

.btn-brand {
    overflow: hidden;
    color: #fff;
    background: linear-gradient(
        110deg,
        var(--brand-blue) 0%,
        #0875d9 65%,
        var(--brand-orange) 150%
    );
    border-color: rgba(255, 255, 255, .2);
    box-shadow: 0 8px 22px rgba(8, 127, 231, .22);
}

.btn-brand::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 20%,
        rgba(255, 255, 255, .18) 48%,
        transparent 75%
    );
    content: "";
    transform: translateX(-130%);
    transition: transform .6s ease;
    pointer-events: none;
}

.btn-brand:hover::before {
    transform: translateX(130%);
}

.btn-brand:hover,
.btn-brand:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glossy);
}

.btn-outline-brand {
    color: var(--brand-navy);
    background: #fff;
    border-color: rgba(8, 127, 231, .35);
}

.btn-outline-brand:hover {
    color: #fff;
    background: var(--brand-navy);
    border-color: var(--brand-navy);
    transform: translateY(-2px);
}

.btn-white-brand {
    color: var(--brand-navy);
    background: #fff;
    border-color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .1);
}

.btn-white-brand:hover {
    color: var(--brand-blue);
    background: #f1f8ff;
    transform: translateY(-2px);
}

/* GLOSSY CARDS */

.glass-card {
    background: var(--gradient-glass);
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.brand-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    transition:
        transform var(--transition-normal),
        border-color var(--transition-normal),
        box-shadow var(--transition-normal);
}

.brand-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-brand);
    content: "";
    transition: width var(--transition-normal);
}

.brand-card:hover {
    border-color: rgba(8, 127, 231, .3);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.brand-card:hover::before {
    width: 100%;
}

/* ICON CONTAINERS */

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: var(--brand-blue);
    background: linear-gradient(145deg, #f2f9ff, #e1f1ff);
    border: 1px solid #d9ecff;
    border-radius: 15px;
    font-size: 25px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* FORMS */

.form-control,
.form-select {
    min-height: 48px;
    color: var(--brand-dark);
    background-color: #fff;
    border: 1px solid var(--brand-border);
    border-radius: 9px;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(8, 127, 231, .1);
}

.form-control::placeholder {
    color: #8b98aa;
    opacity: 1;
}

.form-label {
    margin-bottom: 7px;
    color: var(--brand-navy);
    font-size: 13px;
    font-weight: 700;
}

/* BADGES */

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    color: var(--brand-navy);
    background: #edf6ff;
    border: 1px solid #d9ecff;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
}

/* IMAGES */

.image-rounded {
    overflow: hidden;
    border-radius: var(--radius-card);
}

.image-rounded img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-gloss {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
}

.image-gloss::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, .15),
        transparent 35%,
        rgba(8, 127, 231, .12)
    );
    content: "";
    pointer-events: none;
}

/* DIVIDERS */

.brand-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--brand-border),
        transparent
    );
}

/* FLOATING WHATSAPP LINKS */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: #fff;
    background: #20b965;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .2);
    font-size: 28px;
    transition: transform var(--transition-normal);
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.04);
}

/* RESPONSIVE */

@media (min-width: 1400px) {
    .container {
        max-width: 1280px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --section-space: 65px;
    }

    .section-heading-wrap {
        margin-bottom: 35px;
    }

    .brand-card {
        padding: 24px;
    }
}

@media (max-width: 767.98px) {
    :root {
        --section-space: 55px;
        --container-space: 18px;
    }

    body {
        font-size: 14px;
        line-height: 1.75;
    }

    .container {
        --bs-gutter-x: 1.5rem;
    }

    .section-heading {
        font-size: clamp(27px, 7vw, 36px);
        letter-spacing: -.7px;
    }

    .section-description {
        font-size: 14px;
    }

    .section-heading-wrap {
        margin-bottom: 28px;
    }

    .brand-card {
        padding: 22px;
    }

    .btn-brand,
    .btn-outline-brand,
    .btn-white-brand {
        min-height: 46px;
        padding: 12px 18px;
    }

    .whatsapp-float {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

@media (max-width: 420px) {
    :root {
        --section-space: 45px;
    }

    .section-kicker,
    .section-eyebrow {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .brand-card {
        padding: 19px;
        border-radius: 14px;
    }
}

/* ACCESSIBILITY: REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
