/* =========================================================
   INTELLIXIO — ENTERPRISE AI DESIGN SYSTEM
========================================================= */

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {

    --primary: #041B33;
    --secondary: #071F3A;

    --accent: #00D1FF;
    --accent2: #2563EB;

    --bg: #020817;
    --bg2: #071120;

    --white: #ffffff;
    --text: #E2E8F0;
    --muted: #94A3B8;

    --border: rgba(255, 255, 255, .08);

    --glass: rgba(255, 255, 255, .04);

    --shadow:
        0 25px 80px rgba(0, 0, 0, .45);

    --transition:
        .35s cubic-bezier(.22, 1, .36, 1);
}

/* =========================================================
   GLOBAL
========================================================= */

body {

    font-family: "Inter", sans-serif;

    background: var(--bg);

    color: var(--white);

    overflow-x: hidden;

    line-height: 1.7;

    position: relative;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {

    width: 92%;
    max-width: 1380px;

    margin: auto;
}

/* =========================================================
   BACKGROUND
========================================================= */

body::before {

    content: "";

    position: fixed;
    inset: 0;

    background:
        radial-gradient(circle at top left,
            rgba(0, 209, 255, .16),
            transparent 25%),

        radial-gradient(circle at bottom right,
            rgba(37, 99, 235, .14),
            transparent 30%);

    z-index: -3;
}

body::after {

    content: "";

    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, .02) 1px,
            transparent 1px),

        linear-gradient(90deg,
            rgba(255, 255, 255, .02) 1px,
            transparent 1px);

    background-size: 70px 70px;

    opacity: .35;

    z-index: -2;
}

/* =========================================================
   PAGE LOADER
========================================================= */

.page-loader {

    position: fixed;
    inset: 0;

    background: #020817;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99999;

    transition: .5s ease;
}

.loader-ring {

    width: 80px;
    height: 80px;

    border-radius: 50%;

    border:
        3px solid rgba(255, 255, 255, .08);

    border-top:
        3px solid var(--accent);

    animation:
        spin 1s linear infinite;
}

@keyframes spin {

    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   NAVBAR
========================================================= */

nav {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 90px;

    z-index: 999;

    background:
        rgba(2, 8, 23, .82);

    backdrop-filter: blur(18px);

    border-bottom:
        1px solid rgba(255, 255, 255, .06);
}

.nav-container {

    width: 92%;
    max-width: 1380px;

    margin: auto;

    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================================================
   LOGO
========================================================= */

.logo-wrapper {

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 90px;
    height: 90px;
}

.logo {

    width: 62px;
    height: 62px;

    object-fit: contain;

    transition: var(--transition);
}

.logo:hover {

    transform: scale(1.05);

    filter:
        drop-shadow(0 0 14px rgba(0, 209, 255, .45));
}

.logo-flash {

    position: absolute;

    bottom: 12px;

    width: 56px;
    height: 2px;

    border-radius: 999px;

    overflow: hidden;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(0, 209, 255, 1),
            transparent);
}

/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {

    display: flex;
    align-items: center;

    gap: 2.2rem;
}

.nav-links a {

    display: flex;
    align-items: center;

    height: 90px;

    color: #CBD5E1;

    font-size: .96rem;
    font-weight: 500;

    position: relative;

    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {

    color: var(--accent);
}

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 24px;

    width: 0%;
    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(90deg,
            var(--accent),
            var(--accent2));

    transition: .3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {

    width: 100%;
}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-toggle {

    display: none;

    font-size: 1.8rem;

    color: var(--white);

    cursor: pointer;
}

.mobile-menu {

    position: fixed;

    top: 90px;
    left: 0;

    width: 100%;

    background:
        rgba(2, 8, 23, .98);

    display: flex;
    flex-direction: column;

    padding: 2rem;

    gap: 1.5rem;

    transform: translateY(-120%);

    opacity: 0;
    visibility: hidden;

    transition: var(--transition);

    z-index: 998;
}

.mobile-menu.active {

    transform: translateY(0);

    opacity: 1;
    visibility: visible;
}

.mobile-menu a {

    color: white;

    font-size: 1rem;

    transition: .3s ease;
}

.mobile-menu a:hover {

    color: var(--accent);
}

/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding-top: 140px;
    padding-bottom: 100px;

    overflow: hidden;
}

.hero::before {

    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(to right,
            rgba(2, 8, 23, .97),
            rgba(2, 8, 23, .88),
            rgba(2, 8, 23, .45)),

        url('../images/banner.png') center center / cover no-repeat;

    z-index: 0;
}

.hero-container {

    position: relative;

    z-index: 2;

    width: 92%;
    max-width: 1380px;

    margin: auto;

    display: grid;

    grid-template-columns:
        1.08fr .92fr;

    align-items: center;

    gap: 4rem;
}

/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {

    position: relative;

    z-index: 3;

    max-width: 760px;
}

.hero-tag {

    display: inline-flex;

    padding: .8rem 1.2rem;

    border-radius: 999px;

    background:
        rgba(0, 209, 255, .08);

    border:
        1px solid rgba(0, 209, 255, .18);

    color: var(--accent);

    font-size: .88rem;

    margin-bottom: 2rem;
}

.hero-title {

    font-size:
        clamp(3rem, 6vw, 5.3rem);

    line-height: 1.02;

    letter-spacing: -2px;

    font-weight: 900;

    margin-bottom: 2rem;
}

.hero-description {

    max-width: 680px;

    font-size: 1.08rem;

    line-height: 1.9;

    color: var(--muted);
}

/* =========================================================
   BUTTONS
========================================================= */

.hero-actions {

    display: flex;
    align-items: center;

    gap: 1rem;

    margin-top: 3rem;
}

.btn,
.btn-secondary {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 1rem 1.8rem;

    border-radius: 16px;

    font-weight: 600;

    transition: var(--transition);
}

.btn {

    background:
        linear-gradient(135deg,
            var(--accent),
            var(--accent2));

    color: white;
}

.btn:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 15px 40px rgba(0, 209, 255, .25);
}

.btn-secondary {

    background:
        rgba(255, 255, 255, .03);

    border:
        1px solid rgba(255, 255, 255, .08);

    color: white;
}

.btn-secondary:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(0, 209, 255, .3);
}

/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 720px;
}

.glass-panel {

    position: absolute;

    width: 560px;
    height: 560px;

    border-radius: 40px;

    background:
        rgba(255, 255, 255, .04);

    border:
        1px solid rgba(255, 255, 255, .08);

    backdrop-filter: blur(24px);
}

.hero-image-wrapper {

    position: relative;

    z-index: 5;

    animation:
        floatImage 6s ease-in-out infinite;
}

.hero-image {

    width: 430px;
    height: 540px;

    object-fit: cover;
    object-position: center top;

    border-radius: 30px;

    border:
        1px solid rgba(255, 255, 255, .08);

    box-shadow:
        0 30px 90px rgba(0, 0, 0, .45);
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-18px);
    }
}

/* =========================================================
   FLOATING CARDS
========================================================= */

.ai-card {

    position: absolute;

    top: 32%;
    left: -85px;

    transform: translateY(-50%);

    width: 280px;

    z-index: 10;

    padding: 1.5rem;

    border-radius: 28px;

    background:
        linear-gradient(135deg,
            rgba(5, 15, 35, .72),
            rgba(15, 25, 45, .52));

    border:
        1px solid rgba(255, 255, 255, .08);

    backdrop-filter: blur(24px);
}

.ai-card h3 {

    font-size: 1.5rem;

    margin-bottom: .8rem;
}

.ai-card p {

    color: #C6D2E1;

    font-size: .95rem;
}

.metric-bar {

    width: 100%;
    height: 10px;

    border-radius: 999px;

    margin-top: 1.5rem;

    background:
        rgba(255, 255, 255, .08);

    overflow: hidden;
}

.metric-fill {

    width: 88%;
    height: 100%;

    border-radius: 999px;

    background:
        linear-gradient(90deg,
            var(--accent),
            var(--accent2));
}

.security-card {

    position: absolute;

    bottom: 60px;
    right: 0;

    display: flex;
    align-items: center;

    gap: 1rem;

    padding: 1rem 1.3rem;

    border-radius: 22px;

    background:
        rgba(255, 255, 255, .05);

    border:
        1px solid rgba(255, 255, 255, .08);

    backdrop-filter: blur(20px);

    z-index: 8;
}

/* =========================================================
   SECTIONS
========================================================= */

.section {

    padding: 120px 0;

    position: relative;
}

.alt {

    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, .01),
            rgba(255, 255, 255, .03));
}

.section-heading {

    margin-bottom: 4rem;
}

.section-heading.center {

    text-align: center;
}

.section-label {

    display: inline-block;

    color: var(--accent);

    font-size: .85rem;
    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 1rem;
}

.section-heading h2 {

    font-size:
        clamp(2.2rem, 5vw, 4rem);

    line-height: 1.1;

    margin-bottom: 1.5rem;
}

.section-subtext {

    color: var(--muted);

    max-width: 760px;

    margin: auto;

    line-height: 1.9;
}

/* =========================================================
   GRID
========================================================= */

.grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: 2rem;
}

.card {

    position: relative;

    padding: 2.5rem;

    border-radius: 32px;

    overflow: hidden;

    min-height: 300px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .06),
            rgba(255, 255, 255, .025));

    border:
        1px solid rgba(255, 255, 255, .08);

    backdrop-filter: blur(18px);

    transition:
        transform .45s ease,
        border-color .45s ease,
        box-shadow .45s ease;

    box-shadow:
        0 12px 40px rgba(0, 0, 0, .28);
}

.card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(90deg,
            var(--accent),
            var(--accent2));
}

.card:hover {

    transform:
        translateY(-12px);

    border-color:
        rgba(0, 209, 255, .25);

    box-shadow:
        0 25px 70px rgba(0, 209, 255, .12);
}

.card-icon {

    width: 78px;
    height: 78px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 24px;

    background:
        linear-gradient(135deg,
            rgba(0, 209, 255, .18),
            rgba(37, 99, 235, .12));

    font-size: 2rem;

    color: var(--accent);

    margin-bottom: 2rem;
}

.card h3 {

    font-size: 1.5rem;

    margin-bottom: 1rem;
}

.card p {

    color: var(--muted);

    line-height: 1.9;
}

/* =========================================================
   INDUSTRIES GRID
========================================================= */

.industries-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(370px, 1fr));

    gap: 2rem;
}

.industry-card {

    position: relative;

    overflow: hidden;

    border-radius: 32px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, .05),
            rgba(255, 255, 255, .02));

    border:
        1px solid rgba(255, 255, 255, .08);

    transition: .45s ease;

    backdrop-filter: blur(20px);
}

.industry-card:hover {

    transform: translateY(-12px);

    border-color:
        rgba(0, 209, 255, .22);

    box-shadow:
        0 25px 60px rgba(0, 209, 255, .08);
}

.industry-image {

    height: 260px;

    overflow: hidden;
}

.industry-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .6s ease;
}

.industry-card:hover .industry-image img {

    transform: scale(1.05);
}

.industry-body {

    padding: 2rem;
}

.industry-mini-tag {

    display: inline-flex;

    padding: .5rem 1rem;

    border-radius: 999px;

    margin-bottom: 1.2rem;

    background:
        rgba(0, 209, 255, .08);

    border:
        1px solid rgba(0, 209, 255, .18);

    color: var(--accent);

    font-size: .82rem;
}

.industry-body h3 {

    font-size: 1.5rem;

    margin-bottom: 1rem;
}

.industry-body p {

    color: var(--muted);

    line-height: 1.9;
}

.industry-features {

    margin-top: 1.5rem;

    display: flex;
    flex-direction: column;

    gap: .9rem;
}

.industry-features div {

    display: flex;
    align-items: center;

    gap: .7rem;

    color: #D6E3F0;
}

.industry-features i {

    color: var(--accent);
}

/* =========================================================
   CTA
========================================================= */

.cta {

    position: relative;

    overflow: hidden;

    padding: 5rem;

    border-radius: 40px;

    text-align: center;

    background:
        linear-gradient(135deg,
            rgba(0, 209, 255, .12),
            rgba(37, 99, 235, .10));

    border:
        1px solid rgba(255, 255, 255, .08);

    backdrop-filter: blur(18px);
}

.cta h2 {

    font-size:
        clamp(2rem, 5vw, 4rem);

    margin-bottom: 1.5rem;
}

.cta p {

    max-width: 760px;

    margin: auto;

    color: var(--muted);

    line-height: 1.9;
}

/* =========================================================
   PREMIUM FOOTER
========================================================= */

footer {

    position: relative;
    overflow: hidden;

    padding: 7rem 0 2rem;

    background:
        radial-gradient(circle at top left,
            rgba(82, 130, 255, 0.12),
            transparent 35%),

        radial-gradient(circle at bottom right,
            rgba(0, 255, 200, 0.08),
            transparent 30%),

        linear-gradient(180deg,
            #071018 0%,
            #05070b 100%);

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

footer::before {

    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at var(--x, 50%) var(--y, 50%),
            rgba(255, 255, 255, 0.05),
            transparent 280px);

    pointer-events: none;
}

.footer-grid {

    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.4fr 1fr 1fr 1fr;

    gap: 4rem;
}

.footer-brand {

    position: relative;
}

.footer-logo {

    width: 170px;

    object-fit: contain;

    margin-bottom: 1.5rem;

    filter:
        drop-shadow(0 0 18px rgba(0, 140, 255, 0.25));

    transition: 0.4s ease;
}

.footer-logo:hover {

    transform: translateY(-4px) scale(1.02);
}

.footer-description {

    color:
        rgba(255, 255, 255, 0.72);

    line-height: 1.9;

    font-size: 0.96rem;

    max-width: 340px;

    margin-bottom: 2rem;
}

.footer-socials {

    display: flex;

    gap: 1rem;
}

.footer-socials a {

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.02));

    border:
        1px solid rgba(255, 255, 255, 0.08);

    color: #fff;

    font-size: 1.15rem;

    transition: .35s ease;
}

.footer-socials a:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(0, 140, 255, 0.4);

    box-shadow:
        0 10px 30px rgba(0, 140, 255, 0.18);
}

.footer-column h4 {

    color: white;

    font-size: 1.05rem;

    margin-bottom: 1.5rem;

    position: relative;
}

.footer-column h4::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -10px;

    width: 42px;
    height: 3px;

    border-radius: 50px;

    background:
        linear-gradient(90deg,
            #00c6ff,
            #0072ff);
}

.footer-column a {

    display: inline-flex;

    margin-bottom: 1rem;

    color:
        rgba(255, 255, 255, 0.72);

    transition: .3s ease;
}

.footer-column a:hover {

    color: white;

    transform:
        translateX(6px);
}

.footer-location {

    display: block;

    margin-top: 1rem;

    color:
        rgba(255, 255, 255, 0.6);

    line-height: 1.8;
}

.footer-bottom {

    margin-top: 5rem;

    padding-top: 2rem;

    border-top:
        1px solid rgba(255, 255, 255, .08);

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 2rem;

    flex-wrap: wrap;
}

.footer-bottom p {

    color:
        rgba(255, 255, 255, 0.58);
}

.footer-bottom-links {

    display: flex;

    gap: 2rem;
}

.footer-bottom-links a {

    color:
        rgba(255, 255, 255, 0.6);

    transition: .3s ease;
}

.footer-bottom-links a:hover {

    color: white;
}

/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(60px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.active {

    opacity: 1;

    transform:
        translateY(0);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1200px) {

    .hero-container {

        grid-template-columns: 1fr;
    }

    .hero-visual {

        margin-top: 5rem;
    }

    .ai-card {

        left: -30px;
    }

    .footer-grid {

        grid-template-columns:
            1fr 1fr;
    }
}

@media(max-width:768px) {

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {

        padding-top: 120px;
    }

    .hero-title {

        font-size:
            clamp(2.6rem, 11vw, 4rem);
    }

    .hero-actions {

        flex-direction: column;

        align-items: stretch;
    }

    .hero-visual {

        flex-direction: column;

        height: auto;

        margin-top: 4rem;
    }

    .glass-panel {

        width: 100%;
        height: 420px;
    }

    .hero-image {

        width: 100%;
        max-width: 340px;

        height: 430px;
    }

    .ai-card {

        position: relative;

        top: auto;
        left: auto;

        transform: none;

        margin-top: 2rem;

        width: 100%;
        max-width: 340px;
    }

    .security-card {

        position: relative;

        margin-top: 1.5rem;
    }

    .grid,
    .industries-grid {

        grid-template-columns: 1fr;
    }

    .footer-grid {

        grid-template-columns: 1fr;
    }

    .footer-bottom {

        flex-direction: column;

        text-align: center;
    }

    .cta {

        padding: 3rem 2rem;
    }
}