/* ===== RESET & ROOT ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #1A4FDB;
    --purple: #7B2FE0;
    --orange: #F06A1A;
    --dark: #03050a;
    --dark2: #070912;
    --dark3: #0a0d17;
    --card-bg: rgba(10, 15, 30, 0.35);
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.12);
    --text: #E8EBF5;
    --muted: #8892AA;
    --grad: linear-gradient(135deg, var(--blue), var(--purple));
    --grad2: linear-gradient(135deg, var(--purple), var(--orange));
}

body.light-mode {
    --dark: #F4F7FC;
    --dark2: #FFFFFF;
    --dark3: #FAFCFF;
    --card-bg: rgba(255, 255, 255, 0.65);
    --glass: rgba(0, 0, 0, 0.03);
    --border: rgba(0, 0, 0, 0.08);
    --text: #1a1e29;
    --muted: #5e6880;
}

/* Light Mode Overrides for Glows & Artifacts */
body.light-mode .nav-logo img,
body.light-mode .nav-logo img:hover {
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.1));
}

body.light-mode .chip-dot {
    opacity: 0.6;
}

body.light-mode .dot-green {
    background: #0D8B66;
    box-shadow: none;
}

body.light-mode .dot-orange {
    background: #C44E0E;
    box-shadow: none;
}

body.light-mode .adv-number {
    opacity: 0.04;
    color: #000;
}

body.light-mode .btn-primary {
    box-shadow: 0 4px 15px rgba(123, 47, 224, 0.25);
}

body.light-mode .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(123, 47, 224, 0.35);
}

body.light-mode .stat-num {
    text-shadow: none;
    /* No glowing numbers in light mode */
}

body.light-mode .about-card-main::before,
body.light-mode .about-card-main::after,
body.light-mode .cta-box::before {
    opacity: 0.15;
    /* Tone down the underlying radial gradient blobs */
}

body.light-mode .contact-form {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    color: #1a1e29;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
    color: #8892AA;
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus {
    background: #FFFFFF;
    border-color: rgba(123, 47, 224, 0.5);
    box-shadow: 0 0 0 3px rgba(123, 47, 224, 0.1);
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--dark2);
}

::-webkit-scrollbar-thumb {
    background: var(--purple);
    border-radius: 3px;
}

/* ===== CANVAS BACKGROUND ===== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== NAV ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 6%;
    background: rgba(3, 5, 10, 0.4);
    backdrop-filter: blur(24px) saturate(150%);
    border-bottom: 1px solid var(--border);
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    height: 46px;
    filter: drop-shadow(0 0 12px rgba(123, 47, 224, .5));
    transition: filter .3s;
}

.nav-logo img:hover {
    filter: drop-shadow(0 0 22px rgba(123, 47, 224, .9));
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .02em;
    transition: color .25s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad);
    border-radius: 2px;
    transition: width .3s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.theme-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
}

.theme-btn:hover {
    background: var(--glass);
    transform: scale(1.1);
}

.nav-cta {
    padding: 10px 22px;
    background: var(--grad);
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600 !important;
    font-size: .85rem !important;
    transition: opacity .25s, transform .25s !important;
}

.nav-cta:hover {
    opacity: .85;
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 200;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 6% 80px;
    z-index: 1;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 47, 224, .22) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    pointer-events: none;
    animation: pulse-glow 5s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: translate(-50%, -55%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -55%) scale(1.15);
        opacity: .7;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(123, 47, 224, .15);
    border: 1px solid rgba(123, 47, 224, .35);
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 600;
    color: #B47EF5;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 28px;
    animation: fade-up .8s ease forwards;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: #B47EF5;
    border-radius: 50%;
    animation: blink 1.4s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .2;
    }
}

.hero-logo {
    width: 140px;
    margin: 0 auto 32px;
    display: block;
    filter: drop-shadow(0 0 30px rgba(123, 47, 224, .6));
    animation: float 4s ease-in-out infinite, fade-up .9s ease forwards;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fade-up 1s ease forwards;
}

.hero h1 span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .orange-span {
    background: var(--grad2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto 40px;
    animation: fade-up 1.1s ease forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fade-up 1.2s ease forwards;
}

.btn-primary {
    padding: 14px 34px;
    background: var(--grad);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 4px 30px rgba(123, 47, 224, .4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(123, 47, 224, .6);
}

.btn-outline {
    padding: 14px 34px;
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px) saturate(120%);
    transition: all .35s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    border-color: rgba(123, 47, 224, 0.6);
    background: rgba(123, 47, 224, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(123, 47, 224, 0.2);
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== STATS BAR ===== */
.stats-bar {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0 6%;
    margin-top: -1px;
}

.stat-item {
    flex: 1;
    max-width: 260px;
    padding: 28px 24px;
    text-align: center;
    background: rgba(10, 15, 30, 0.4);
    border: 1px solid var(--border);
    position: relative;
    backdrop-filter: blur(16px);
    transition: all .35s;
}

.stat-item:first-child {
    border-radius: 16px 0 0 16px;
}

.stat-item:last-child {
    border-radius: 0 16px 16px 0;
}

.stat-item:hover {
    background: rgba(123, 47, 224, .12);
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: .82rem;
    color: var(--muted);
    margin-top: 4px;
    font-weight: 500;
}

/* ===== SECTION BASE ===== */
section {
    position: relative;
    z-index: 1;
    padding: 100px 6%;
}

.section-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.tag-blue {
    background: rgba(26, 79, 219, .15);
    color: #6C9FFF;
    border: 1px solid rgba(26, 79, 219, .3);
}

.tag-purple {
    background: rgba(123, 47, 224, .15);
    color: #B47EF5;
    border: 1px solid rgba(123, 47, 224, .3);
}

.tag-orange {
    background: rgba(240, 106, 26, .15);
    color: #F9A060;
    border: 1px solid rgba(240, 106, 26, .3);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 620px;
}

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== DIVIDER LINE ===== */
.divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 0 6%;
    width: calc(100% - 12%);
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 56px;
}

.about-visual {
    position: relative;
}

.about-card-main {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(30px) saturate(150%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.about-card-main::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(123, 47, 224, .3) 0%, transparent 70%);
    border-radius: 50%;
}

.about-card-main::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(26, 79, 219, .2) 0%, transparent 70%);
    border-radius: 50%;
}

.about-icon-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.about-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.ib-blue {
    background: rgba(26, 79, 219, .2);
}

.ib-purple {
    background: rgba(123, 47, 224, .2);
}

.ib-orange {
    background: rgba(240, 106, 26, .2);
}

.about-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-card-text {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.75;
}

.about-floating-chip {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: .8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}

.chip1 {
    bottom: -20px;
    right: -20px;
    animation: float 3.5s ease-in-out infinite .5s;
}

.chip2 {
    top: -16px;
    left: -10px;
    animation: float 3.5s ease-in-out infinite 1s;
}

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-green {
    background: #22D3A0;
    box-shadow: 0 0 8px #22D3A0;
}

.dot-orange {
    background: var(--orange);
    box-shadow: 0 0 8px var(--orange);
}

/* ===== ADVANTAGE ===== */
#advantage {
    background: var(--dark2);
}

.advantage-header {
    max-width: 580px;
    margin-bottom: 56px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.adv-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(120%);
    transition: transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color .3s, box-shadow .3s;
}

.adv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity .3s;
}

.adv-card.blue::before {
    background: linear-gradient(90deg, var(--blue), var(--purple));
}

.adv-card.purple::before {
    background: linear-gradient(90deg, var(--purple), var(--orange));
}

.adv-card.orange::before {
    background: linear-gradient(90deg, var(--orange), var(--blue));
}

.adv-card:hover {
    transform: translateY(-8px);
    border-color: rgba(123, 47, 224, .5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .4), 0 0 20px rgba(123, 47, 224, 0.2);
}

.adv-card:hover::before {
    opacity: 1;
}

.adv-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    opacity: .08;
    line-height: 1;
    margin-bottom: -16px;
}

.adv-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.adv-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.adv-card p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.7;
}

.adv-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: 20px;
}

/* ===== LIFECYCLE ===== */
#lifecycle {
    background: var(--dark3);
}

.lifecycle-header {
    max-width: 600px;
    margin-bottom: 64px;
}

.lifecycle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.life-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    backdrop-filter: blur(24px) saturate(130%);
    transition: transform .4s ease, border-color .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.life-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(123, 47, 224, .07) 0%, transparent 60%);
    pointer-events: none;
}

.life-card:hover {
    transform: translateY(-6px);
    border-color: rgba(123, 47, 224, .5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.03);
}

.life-step-num {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
}

.step-1 {
    background: rgba(26, 79, 219, .2);
    color: #6C9FFF;
    border: 2px solid rgba(26, 79, 219, .4);
}

.step-2 {
    background: rgba(123, 47, 224, .2);
    color: #B47EF5;
    border: 2px solid rgba(123, 47, 224, .4);
}

.step-3 {
    background: rgba(240, 106, 26, .2);
    color: #F9A060;
    border: 2px solid rgba(240, 106, 26, .4);
}

.step-4 {
    background: rgba(34, 211, 160, .2);
    color: #22D3A0;
    border: 2px solid rgba(34, 211, 160, .4);
}

.life-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.life-body p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.7;
}

/* ===== PLATFORMS ===== */
#platforms {
    background: var(--dark2);
}

.platforms-header {
    max-width: 600px;
    margin-bottom: 56px;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.plat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    backdrop-filter: blur(24px) saturate(140%);
    transition: transform .4s cubic-bezier(0.175, 0.885, 0.32, 1.2), border-color .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}

.plat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity .3s;
}

.plat-card.bc-card::before {
    background: linear-gradient(90deg, #1A4FDB, #7B2FE0);
}

.plat-card.sap-card::before {
    background: linear-gradient(90deg, #0070f3, #00a8e8);
}

.plat-card.odoo-card::before {
    background: linear-gradient(90deg, #714B67, #875A7b);
}

.plat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(123, 47, 224, 0.25);
}

.plat-card:hover::before {
    opacity: 1;
}

.plat-card:hover .plat-name {
    border-color: rgba(255, 255, 255, .2);
}

.plat-logo-wrap {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    overflow: hidden;
}

.plat-img {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
    transition: transform .3s ease;
}

.plat-card:hover .plat-img {
    transform: scale(1.1);
}

.bc-logo {
    background: linear-gradient(135deg, rgba(26, 79, 219, .3), rgba(123, 47, 224, .3));
}

.sap-logo {
    background: linear-gradient(135deg, rgba(0, 112, 243, .3), rgba(0, 168, 232, .3));
}

.odoo-logo {
    background: linear-gradient(135deg, rgba(113, 75, 103, .3), rgba(135, 90, 123, .3));
}

.plat-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    display: inline-block;
    padding: 4px 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
    letter-spacing: .05em;
    transition: border-color .3s;
}

.bc-name {
    color: #6C9FFF;
}

.sap-name {
    color: #60C8FF;
}

.odoo-name {
    color: #C89EBD;
}

.plat-desc {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.plat-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--muted);
}

/* ===== CTA ===== */
#cta {
    background: var(--dark);
    text-align: center;
}

.cta-box {
    max-width: 820px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 72px 60px;
    backdrop-filter: blur(40px) saturate(180%);
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease;
}

.cta-box:hover {
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(255, 255, 255, 0.07), 0 0 40px rgba(123, 47, 224, 0.15);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(123, 47, 224, .3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
    pointer-events: none;
}

.cta-box>* {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    text-align: left;
    margin-top: 40px;
    background: rgba(10, 15, 30, 0.25);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(20px) saturate(130%);
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.02);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(123, 47, 224, 0.15);
}

.submit-btn {
    width: 100%;
}

/* ===== BACK TO TOP ===== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--grad);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(123, 47, 224, 0.4);
    pointer-events: none;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#back-to-top:hover {
    box-shadow: 0 8px 30px rgba(123, 47, 224, 0.6);
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
footer {
    position: relative;
    z-index: 1;
    background: var(--dark2);
    border-top: 1px solid var(--border);
    padding: 48px 6% 32px;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 14px;
}

.footer-brand p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s;
}

.footer-col ul li a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    color: var(--muted);
    font-size: .83rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--glass);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: background .25s, border-color .25s;
}

.social-btn:hover {
    background: rgba(123, 47, 224, .2);
    border-color: var(--purple);
}

.linkedin-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99;
    width: auto;
    padding: 0 18px;
    gap: 10px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    height: 45px;
    border-radius: 24px;
    border-color: rgba(10, 102, 194, 0.4);
    background: rgba(10, 102, 194, 0.1);
    backdrop-filter: blur(12px) saturate(140%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all .25s ease;
}

.linkedin-btn svg {
    fill: #0a66c2;
    transition: fill .25s ease;
}

.linkedin-btn:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.3);
}

.linkedin-btn:hover svg {
    fill: #fff;
}

/* ===== INTERSECTION OBSERVER ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .advantage-grid {
        grid-template-columns: 1fr;
    }

    .lifecycle-grid {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        border-radius: 12px !important;
        max-width: 100%;
        width: 100%;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 7, 15, 0.98);
        padding: 100px 30px 40px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .cta-box {
        padding: 48px 28px;
    }

    .footer-top {
        flex-direction: column;
    }
}
/* ═══════════════════════════════════════════════════════════════════════════
   FIXES & ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero badge: short/full variants ──────────────────────────────────────── */
.hero-badge .badge-short {
    display: none;
}

/* ── Contact form: centered submit button ─────────────────────────────────── */
.form-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.contact-form button.btn-primary {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.contact-form button.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 4px 15px rgba(123, 47, 224, 0.2);
}

#form-status {
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    min-height: 1.2em;
}

/* ── Tablet breakpoint (768px) ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    .hero-sub {
        font-size: 1rem;
    }

    .hero {
        padding: 100px 6% 60px;
        min-height: auto;
    }

    .hero-logo {
        width: 110px;
        margin-bottom: 24px;
    }
}

/* ── Small mobile breakpoint (480px) ──────────────────────────────────────── */
@media (max-width: 480px) {
    .hero {
        padding: 90px 5% 40px;
    }

    .hero h1 {
        font-size: 1.85rem;
        line-height: 1.15;
    }

    .hero-sub {
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 32px;
    }

    .hero-logo {
        width: 96px;
        margin-bottom: 20px;
    }

    /* Swap long badge text for short version on tiny screens */
    .hero-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .hero-badge .badge-full {
        display: none;
    }

    .hero-badge .badge-short {
        display: inline;
    }

    .hero-actions {
        gap: 12px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        padding: 12px 24px;
        font-size: 0.92rem;
    }

    /* Section titles tighter on phones */
    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.1rem);
    }

    .section-sub {
        font-size: 0.95rem;
    }

    /* Stats bar — already stacked, but tighten */
    .stats-bar {
        padding: 24px 5%;
        gap: 14px;
    }

    .stat-num {
        font-size: 2.2rem;
    }

    /* Cards: smaller padding on tiny screens */
    .adv-card,
    .life-card,
    .plat-card {
        padding: 24px;
    }

    .cta-box {
        padding: 36px 20px;
    }

    .cta-box h2 {
        font-size: 1.6rem;
    }

    .contact-form {
        padding: 20px;
    }

    /* Floating LinkedIn button: ICON-ONLY on phones so it doesn't cover CTAs */
    .linkedin-btn {
        bottom: 18px;
        left: 18px;
        padding: 0;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        gap: 0;
    }

    .linkedin-btn .linkedin-label {
        display: none;
    }

    /* Back to top: shrink + raise above thumb zone */
    #back-to-top {
        bottom: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    /* Footer spacing */
    footer {
        padding: 36px 6% 24px;
    }
}

/* ── Smaller tweak: hide LinkedIn label on tablets too (cleaner) ──────────── */
@media (max-width: 600px) {
    .linkedin-btn .linkedin-label {
        display: none;
    }

    .linkedin-btn {
        padding: 0;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        gap: 0;
    }
}

/* ── Light mode: floating buttons need stronger contrast ──────────────────── */
body.light-mode .linkedin-btn {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(10, 102, 194, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

body.light-mode .linkedin-btn:hover {
    background: #0a66c2;
    color: #fff;
}

/* ── Respect reduced motion preferences ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-glow,
    .hero-logo,
    .badge-dot {
        animation: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CLIENTS / TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

#clients {
    padding: 100px 6%;
    position: relative;
    z-index: 1;
}

.clients-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
}

.client-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--purple), var(--orange));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-card:hover {
    transform: translateY(-4px);
    border-color: rgba(123, 47, 224, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.client-card:hover::before {
    opacity: 1;
}

body.light-mode .client-card:hover {
    box-shadow: 0 16px 36px rgba(123, 47, 224, 0.12);
}

/* Logo frame — uniform light card so all logos sit visually together */
.client-logo-frame {
    background: #ffffff;
    border-radius: 14px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 18px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.client-logo-frame img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Some logos look better on dark — opt-in modifier */
.client-logo-frame.client-logo-dark {
    background: #0a0a0a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.client-quote {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text);
    font-style: italic;
    font-weight: 400;
    position: relative;
    padding-left: 16px;
    border-left: 3px solid var(--purple);
    margin: 0;
    flex: 1;
}

body.light-mode .client-quote {
    color: var(--text);
    font-weight: 450;
}

.client-meta {
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin-top: auto;
}

.client-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.client-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.client-industry {
    color: var(--muted);
}

.client-divider {
    color: var(--muted);
    opacity: 0.5;
}

.client-platform {
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.client-platform.plat-blue {
    color: #6794ff;
    background: rgba(26, 79, 219, 0.12);
    border: 1px solid rgba(26, 79, 219, 0.3);
}

.client-platform.plat-purple {
    color: #b47ef5;
    background: rgba(123, 47, 224, 0.12);
    border: 1px solid rgba(123, 47, 224, 0.3);
}

.client-platform.plat-orange {
    color: #ff9555;
    background: rgba(240, 106, 26, 0.12);
    border: 1px solid rgba(240, 106, 26, 0.3);
}

body.light-mode .client-platform.plat-blue {
    color: #1A4FDB;
    background: rgba(26, 79, 219, 0.08);
}

body.light-mode .client-platform.plat-purple {
    color: #7B2FE0;
    background: rgba(123, 47, 224, 0.08);
}

body.light-mode .client-platform.plat-orange {
    color: #C44E0E;
    background: rgba(240, 106, 26, 0.08);
}

/* Responsive: stack at the same 900px breakpoint as other grids */
@media (max-width: 900px) {
    .clients-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
    }
}

@media (max-width: 480px) {
    #clients {
        padding: 60px 5%;
    }

    .clients-header {
        margin-bottom: 40px;
    }

    .client-card {
        padding: 24px 22px;
        gap: 18px;
    }

    .client-logo-frame {
        height: 110px;
        padding: 18px 16px;
    }

    .client-quote {
        font-size: 0.95rem;
    }
}
