/*
==========================================================
TRUSTLINE WATER: shared design base
A slice of the Trustline site.css design system (tokens, reset, type,
buttons, navigation, footer) so this site looks and moves like the main one.
==========================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
    /* Brand */
    --primary: #0A4D8C;
    --primary-dark: #073763;
    --primary-light: #2F80ED;
    --secondary: #0E7490;
    --secondary-light: #14B8A6;
    --accent: #F59E0B;
    --accent-dark: #B97A08;
    --success: #22C55E;
    --danger: #DC2626;
    /* Vibrant accent palette — introduced for the Cloud page only.
     Deliberately kept separate from --primary/--secondary/--accent
     so nothing else on the site (nav, dashboard, other pages) shifts
     color when this is added. */
    --violet: #A855F7;
    --violet-dark: #7C3AED;
    --magenta: #D946EF;
    --sunset: #FB923C;
    --grad-vibrant: linear-gradient(120deg,#7C3AED 0%,#D946EF 55%,#FB923C 100%);
    /* Neutrals */
    --dark: #081827;
    --dark-2: #0F172A;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --text: #1E293B;
    --text-light: #4B5876;
    --border: #E2E8F0;
    /* Type */
    --font-body: 'Inter', "Segoe UI", Roboto, Arial, sans-serif;
    --font-mono: 'IBM Plex Mono', "Courier New", monospace;
    /* Shape */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 26px;
    --shadow-sm: 0 8px 24px rgba(15,23,42,.06);
    --shadow: 0 20px 55px rgba(15,23,42,.10);
    --shadow-lg: 0 35px 85px rgba(15,23,42,.18);
    --transition: .32s cubic-bezier(.4,0,.2,1);
    --grad-line: linear-gradient(90deg, var(--primary-light), var(--secondary-light) 55%, var(--accent));
    --grad-hero: linear-gradient(150deg, #071726 0%, #0B3D91 48%, #0F766E 120%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--light);
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: auto;
    padding: 0 32px;
}

.section {
    padding: 120px 0;
    position: relative;
}

:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
* {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}

[data-reveal].in-view {
        opacity: 1;
        transform: translateY(0);
    }

[data-reveal="stagger"] > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

[data-reveal="stagger"].in-view > * {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="stagger"].in-view > *:nth-child(1) {
        transition-delay: .05s;
    }

[data-reveal="stagger"].in-view > *:nth-child(2) {
        transition-delay: .15s;
    }

[data-reveal="stagger"].in-view > *:nth-child(3) {
        transition-delay: .25s;
    }

[data-reveal="stagger"].in-view > *:nth-child(4) {
        transition-delay: .35s;
    }

[data-reveal="stagger"].in-view > *:nth-child(5) {
        transition-delay: .45s;
    }

h1, h2, h3, h4 {
    font-family: var(--font-body);
    color: var(--dark);
    font-weight: 800;
    letter-spacing: -.02em;
}

h1 {
    font-size: 60px;
    line-height: 1.1;
}

h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 18px;
}

h3 {
    font-size: 24px;
    line-height: 1.35;
    margin-bottom: 14px;
    font-weight: 700;
}

p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.9;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
}

.eyebrow::before {
        content: "";
        width: 24px;
        height: 2px;
        background: var(--accent);
        border-radius: 2px;
    }

.section-head {
    max-width: 700px;
    margin-bottom: 64px;
    position: relative;
}

.section-head.center {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

.section-head p {
        font-size: 19px;
        margin-top: 18px;
    }

.section-head h2 span {
        background: linear-gradient(90deg,var(--primary),var(--secondary-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.rule {
    height: 1px;
    background: var(--border);
    width: 100%;
}

.rule.dark {
        background: rgba(255,255,255,.14);
    }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .01em;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    transform: scale(0);
    pointer-events: none;
    animation: btnRipple .6s ease-out forwards;
}

.btn-outline .btn-ripple, .btn-outline-light .btn-ripple {
    background: rgba(255,255,255,.35);
}

@media(prefers-reduced-motion:reduce) {
.btn-ripple {
        display: none;
    }
}

.btn-primary {
    background: linear-gradient(135deg,var(--primary),var(--primary-light));
    color: #fff;
    box-shadow: 0 14px 30px rgba(47,128,237,.28);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
        content: "";
        position: absolute;
        top: 0;
        left: -60%;
        width: 40%;
        height: 100%;
        background: linear-gradient(115deg,transparent,rgba(255,255,255,.35),transparent);
        transform: skewX(-20deg);
        transition: left .55s ease;
    }

.btn-primary:hover::after {
        left: 120%;
    }

.btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 42px rgba(47,128,237,.4);
    }

.btn-primary:disabled {
        opacity: .6;
        cursor: not-allowed;
        transform: none;
    }

.btn-outline-light {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.4);
    color: #fff;
}

.btn-outline-light:hover {
        background: #fff;
        color: var(--dark);
        border-color: #fff;
    }

.btn-accent {
    background: linear-gradient(135deg,var(--accent),var(--accent-dark));
    color: #fff;
    box-shadow: 0 14px 30px rgba(245,158,11,.3);
}

.btn-accent:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 42px rgba(245,158,11,.42);
    }

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(248,250,252,.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
        box-shadow: 0 10px 30px rgba(15,23,42,.08);
        background: rgba(248,250,252,.98);
    }

.nav-container {
    width: 100%;
    height: 88px;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: var(--transition);
}

.navbar.scrolled .nav-container {
    height: 74px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.logo-mark {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
    transition: var(--transition);
}

.navbar.scrolled .logo-mark {
    width: 40px;
    height: 40px;
}

.logo-text h2 {
    font-size: 19px;
    margin: 0;
    color: var(--dark);
    font-weight: 800;
    letter-spacing: -.01em;
}

.logo-text span {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: 38px;
    align-items: center;
}

.nav-links > li {
        display: flex;
        align-items: center;
    }

.nav-links a {
        font-size: 15px;
        font-weight: 600;
        color: var(--text);
        position: relative;
        padding: 6px 0;
        white-space: nowrap;
    }

.nav-links a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 2px;
            background: var(--grad-line);
            transition: .3s;
        }

.nav-links a:hover {
            color: var(--primary);
        }

.nav-links a:hover::after, .nav-links a.active::after {
                width: 100%;
            }

.nav-links a.active {
            color: var(--primary);
        }

.nav-has-dropdown {
    position: relative;
}

.nav-has-dropdown > a {
        display: flex;
        align-items: center;
        gap: 6px;
    }

.nav-dropdown-caret {
    font-size: 10px;
    transition: transform .25s ease;
}

.nav-has-dropdown:hover .nav-dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 320px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 1200;
}

.nav-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    height: 18px;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    border-radius: 2px 0 0 0;
}

.nav-dropdown-heading {
    display: block;
    padding: 8px 14px 6px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    color: var(--text) !important;
    position: relative;
    overflow: hidden;
}

.nav-dropdown-item::after {
        display: none;
    }

.nav-dropdown-item:hover {
        background: var(--light);
    }

.nav-dropdown-item:hover .nav-dropdown-item-icon {
            transform: scale(1.08);
        }

.nav-dropdown-item-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}

.nav-dropdown-item:nth-child(2) .nav-dropdown-item-icon {
    background: linear-gradient(135deg,var(--danger),#EF4444);
}

.nav-dropdown-item:nth-child(3) .nav-dropdown-item-icon {
    background: linear-gradient(135deg,var(--primary),var(--primary-light));
}

.nav-dropdown-item:nth-child(4) .nav-dropdown-item-icon {
    background: linear-gradient(135deg,var(--secondary),var(--secondary-light));
}

.nav-dropdown-item:nth-child(5) .nav-dropdown-item-icon {
    background: linear-gradient(135deg,var(--accent-dark),var(--accent));
}

.nav-dropdown-item:nth-child(6) .nav-dropdown-item-icon {
    background: linear-gradient(135deg,#15803D,var(--success));
}

.nav-dropdown-item-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nav-dropdown-item-label {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--dark);
}

.nav-dropdown-item:hover .nav-dropdown-item-label {
    color: var(--primary);
}

.nav-dropdown-item-sub {
    font-family: var(--font-mono);
    font-size: 10.5px;
    color: var(--text-light);
    letter-spacing: .01em;
    line-height: 1.5;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.nav-actions .btn {
        padding: 13px 24px;
        font-size: 14px;
    }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--dark);
        transition: var(--transition);
    }

.nav-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

.nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

.nav-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

.mobile-menu {
    display: none;
    max-height: 0;
    overflow: hidden;
    background: var(--light);
    border-bottom: 1px solid var(--border);
    transition: max-height .4s ease;
}

.mobile-menu.open {
        max-height: 440px;
    }

.mobile-menu-inner {
    padding: 14px 22px 26px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu a {
    padding: 14px 4px;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
    border-bottom: 1px solid var(--border);
}

.mobile-menu .mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.mobile-menu-group {
    border-bottom: 1px solid var(--border);
}

.mobile-menu-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
    background: none;
    border: none;
    text-align: left;
}

.mobile-menu-group-toggle i {
        font-size: 13px;
        color: var(--text-light);
        transition: transform .25s ease;
    }

.mobile-menu-group-toggle.open i {
        transform: rotate(180deg);
    }

.mobile-menu-submenu {
    display: flex;
    flex-direction: column;
    padding: 0 0 12px 14px;
}

.mobile-menu-submenu a {
        border-bottom: none;
        font-size: 14.5px;
        font-weight: 600;
        color: var(--primary);
        padding: 10px 4px;
    }

@media(max-width:1150px) {
.nav-links {
        gap: 22px;
    }
.nav-links a {
            font-size: 14px;
        }
}

@media(max-width:1000px) {
.nav-links {
        display: none;
    }
.nav-actions .btn-outline {
        display: none;
    }
.nav-toggle {
        display: flex;
    }
.mobile-menu {
        display: block;
    }
.logo-text span {
        display: none;
    }
}

@media(max-width:600px) {
.nav-container {
        padding: 0 20px;
        height: 76px;
    }
}

.section-head-water {
    max-width: 700px;
    margin-bottom: 56px;
    position: relative;
}

.section-head-water.center {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

.section-head-water-line {
    display: inline-block;
    width: 3px;
    height: 16px;
    border-radius: 2px;
    background: var(--grad-line);
    margin-right: 10px;
    vertical-align: middle;
}

.section-head-water .eyebrow {
    display: inline-flex;
}

.section-head-water.center .eyebrow {
    justify-content: center;
}

.section-head-water.center .section-head-water-line {
    display: none;
}

.section-head-water p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
    margin-top: 16px;
}

.section-heading-styled {
    font-size: 32px;
    line-height: 1.32;
    margin: 14px 0 0;
    color: var(--dark);
}

.section-heading-styled span {
        background: linear-gradient(90deg,var(--primary),var(--secondary-light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(10,77,140,.07);
    border: 1px solid rgba(10,77,140,.16);
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.section-head-erp {
    max-width: 680px;
    margin: 0 auto 20px;
    text-align: center;
}

.section-head-erp p {
    margin-top: 16px;
    font-size: 16.5px;
    color: var(--text-light);
    line-height: 1.8;
}

.footer {
    background: linear-gradient(180deg,#0A2547 0%,#071726 100%);
    color: rgba(255,255,255,.68);
    padding: 72px 0 28px;
    border-top: 1px solid rgba(255,255,255,.08);
    position: relative;
    overflow: hidden;
}

.footer::before {
        content: "";
        position: absolute;
        top: -200px;
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        height: 400px;
        border-radius: 50%;
        background: radial-gradient(rgba(47,128,237,.10),transparent 72%);
        pointer-events: none;
    }

.footer .container {
        position: relative;
        z-index: 2;
    }

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr .7fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
}

.footer-brand .logo-text h2 {
    color: #fff;
}

.footer-brand p {
    margin-top: 18px;
    max-width: 340px;
    font-size: 15.5px;
    color: rgba(255,255,255,.6);
}

.footer h4 {
    font-family: var(--font-mono);
    font-size: 12.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    margin-bottom: 22px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-links a {
        font-size: 15px;
        color: rgba(255,255,255,.78);
    }

.footer-links a:hover {
            color: #7DD3FC;
        }

.footer-contact div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    margin-bottom: 14px;
    color: rgba(255,255,255,.78);
}

.footer-contact i {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,.08);
        color: #fff;
    }

.footer-social a:hover {
            background: var(--primary-light);
        }

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg,var(--primary),var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 36px rgba(10,77,140,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: var(--transition);
    z-index: 900;
    font-size: 19px;
}

.back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.back-to-top:hover {
        background: linear-gradient(135deg,var(--secondary),var(--secondary-light));
    }

.mobile-menu {
    display: none;
    max-height: 0;
    overflow: hidden;
}

.mobile-menu.open {
        display: block;
        max-height: 1000px;
    }

@media(max-width:768px) {
.section {
        padding: 76px 0;
    }
h1 {
        font-size: 38px;
    }
h2 {
        font-size: 31px;
    }
p {
        font-size: 16.5px;
    }
.section-head {
        margin-bottom: 42px;
    }
.container {
        padding: 0 22px;
    }
.back-to-top {
        right: 18px;
        bottom: 18px;
        width: 46px;
        height: 46px;
    }
}

.nav-basket {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--light);
    color: var(--primary);
    font-size: 17px;
    transition: var(--transition);
}

.nav-basket:hover {
        background: var(--primary);
        color: #fff;
        transform: translateY(-2px);
    }

.nav-basket-count {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 20px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
        background: var(--primary);
        color: #fff;
    }

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(37,211,102,.35);
    z-index: 999;
    transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float:hover {
        transform: scale(1.08);
        box-shadow: 0 10px 26px rgba(37,211,102,.45);
    }

.whatsapp-float i {
        color: #fff;
    }

@media(max-width:640px) {
.whatsapp-float {
        bottom: 18px;
        right: 18px;
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}

.nav-dropdown-ext {
    margin-left: 6px;
    font-size: 11px;
    opacity: .55;
}

@media (max-width: 1380px) {
.nav-links {
        gap: 26px;
    }
}

@keyframes btnRipple {
    to {
        transform: scale(1);
        opacity: 0;
    }
}
