/* ============================================
   ROOT COLORS & VARIABLES
   ============================================ */
:root {
    --bg: #060608;
    --bg2: #0c0c10;
    --bg3: #121218;
    --card: #15151c;
    --card-hover: #1a1a24;
    --border: #25252f;
    --border-s: #1c1c26;
    --t1: #f2f1ec;
    --t2: #a5a5b0;
    --t3: #6e6e7a;
    --acc: #4ade80;
    --acc2: #22c55e;
    --acc-g: rgba(74,222,128,0.12);
    --blue: #38bdf8;
    --blue-g: rgba(56,189,248,0.12);
    --purple: #a78bfa;
    --purple-g: rgba(167,139,250,0.12);
    --orange: #fb923c;
    --orange-g: rgba(251,146,60,0.12);
    --rose: #fb7185;
    --rose-g: rgba(251,113,133,0.12);
    --cyan: #22d3ee;
    --cyan-g: rgba(34,211,238,0.12);
}

/* ============================================
   LIGHT THEME
   ============================================ */
body.light {
    --bg: #f6f7fb;
    --bg2: #ffffff;
    --bg3: #eef1f7;
    --card: #ffffff;
    --card-hover: #f8fafc;
    --border: #dbe2ea;
    --border-s: #e7edf3;
    --t1: #0f172a;
    --t2: #475569;
    --t3: #64748b;
    --acc: #16a34a;
    --acc2: #15803d;
    --acc-g: rgba(22,163,74,0.12);
    background: #f6f7fb;
}

body.light nav {
    background: rgba(246,247,251,0.92);
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
    position: fixed;
    top: 88px;
    right: 24px;
    z-index: 999;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    color: var(--t1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    padding: 0;
    font-weight: 500;
}

.theme-toggle:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.theme-toggle .sun {
    display: none;
    animation: sunRotate 0.4s ease-in-out;
}

.theme-toggle .moon {
    display: none;
    animation: moonRotate 0.4s ease-in-out;
}

body.light .theme-toggle .sun {
    display: block;
}

body:not(.light) .theme-toggle .moon {
    display: block;
}

@keyframes sunRotate {
    from { transform: rotate(-45deg); opacity: 0; }
    to { transform: rotate(0deg); opacity: 1; }
}

@keyframes moonRotate {
    from { transform: rotate(45deg); opacity: 0; }
    to { transform: rotate(0deg); opacity: 1; }
}

@media (max-width: 768px) {
    .theme-toggle {
        width: 48px;
        height: 48px;
        right: 16px;
        top: 82px;
    }
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--t1);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-size: 18px;
    overflow-x: hidden;
}

/* ============================================
   GRAIN TEXTURE
   ============================================ */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.018;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   CONTAINER
   ============================================ */
.c {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================
   FLOATING PARTICLES
   ============================================ */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--acc);
    opacity: 0;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(6, 6, 8, 0.88);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-s);
}

nav .c {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--t1);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--acc);
}

.nav-l {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-l a {
    color: var(--t2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.2px;
}

.nav-l a:hover {
    color: var(--t1);
}

.nav-cta {
    background: var(--acc) !important;
    color: var(--bg) !important;
    padding: 10px 24px !important;
    border-radius: 8px;
    font-weight: 700 !important;
    transition: all 0.2s !important;
    letter-spacing: 0 !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px var(--acc-g);
}

/* ============================================
   MOBILE NAV
   ============================================ */
.mob-btn {
    display: none;
    background: none;
    border: none;
    color: var(--t1);
    font-size: 26px;
    cursor: pointer;
    z-index: 120;
    padding: 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .mob-btn {
        display: block;
    }

    .nav-l {
        position: absolute;
        top: 72px;
        left: 20px;
        right: 20px;
        background: rgba(12, 12, 16, 0.96);
        backdrop-filter: blur(24px);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 22px;
        display: none;
        flex-direction: column;
        gap: 18px;
        z-index: 110;
        box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    }

    body.light .nav-l {
        background: rgba(255,255,255,0.96);
    }

    .nav-l.open {
        display: flex;
    }

    .nav-l a {
        font-size: 16px;
    }

    .nav-cta {
        text-align: center;
        justify-content: center;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 180px 0 120px;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: -400px;
    right: -300px;
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, var(--acc-g) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56,189,248,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--acc);
    font-weight: 600;
    margin-bottom: 36px;
    animation: fadeUp 0.6s ease;
    letter-spacing: 0.5px;
}

.badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--acc);
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(50px, 7.5vw, 92px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 30px;
    animation: fadeUp 0.6s ease 0.1s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hl {
    background: linear-gradient(135deg, var(--acc) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-p {
    font-size: 22px;
    color: var(--t2);
    max-width: 660px;
    line-height: 1.8;
    margin-bottom: 48px;
    animation: fadeUp 0.6s ease 0.2s both;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s ease 0.3s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn1 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 34px;
    background: var(--acc);
    color: var(--bg);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.2px;
}

.btn1:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--acc-g);
}

.btn2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 34px;
    background: transparent;
    color: var(--t1);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn2:hover {
    border-color: var(--t3);
    background: var(--card);
}

.btn-cal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 34px;
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    letter-spacing: 0.2px;
    cursor: pointer;
}

.btn-cal:hover {
    background: var(--blue);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--blue-g);
}

.btn-cal svg {
    stroke: currentColor;
}

/* ============================================
   HERO WRAP & LAYOUT
   ============================================ */
.hero-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-right {
    position: relative;
}

/* ============================================
   AUTOMATION UI
   ============================================ */
.automation-ui {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 34px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    min-height: 640px;
    box-shadow:
        0 20px 80px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.automation-ui::before {
    content: '';
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at top right, rgba(74,222,128,0.12), transparent 35%);
    animation: rotateGlow 14s linear infinite;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.live-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: var(--acc);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 34px;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--acc);
    animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    70% {
        transform: scale(1.8);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* ============================================
   FLOW SECTION
   ============================================ */
.flow {
    position: relative;
    z-index: 2;
}

.flow-card {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.flow-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(74, 222, 128, 0.25);
}

.flow-card h4 {
    font-size: 17px;
    margin-bottom: 4px;
}

.flow-card p {
    font-size: 13px;
    color: var(--t3);
}

.flow-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.flow-line {
    height: 48px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(74, 222, 128, 0.4), transparent);
    margin: 0 auto;
    position: relative;
}

.data-dot {
    width: 12px;
    height: 12px;
    background: var(--acc);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    animation: dataFlow 2s linear infinite;
    box-shadow: 0 0 20px var(--acc);
}

@keyframes dataFlow {
    from {
        top: -10px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    to {
        top: 42px;
        opacity: 0;
    }
}

.live-logs {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.log {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--t2);
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 12px;
    animation: logFade 5s infinite;
}

@keyframes logFade {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.log span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.log-green { background: #4ade80; }
.log-blue { background: #38bdf8; }
.log-purple { background: #a78bfa; }
.log-orange { background: #fb923c; }

.float-ai {
    position: absolute;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    backdrop-filter: blur(20px);
    animation: floatAI 5s ease-in-out infinite;
}

.ai1 { top: 90px; right: -20px; }
.ai2 { top: 220px; left: -30px; }
.ai3 { bottom: 130px; right: -10px; }
.ai4 { bottom: 30px; left: -10px; }

@keyframes floatAI {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 980px) {
    .hero-wrap {
        grid-template-columns: 1fr;
    }

    .automation-ui {
        min-height: auto;
        margin-top: 20px;
    }

    .float-ai {
        display: none;
    }
}

/* ============================================
   TRUST BAR
   ============================================ */
.ai-trust {
    padding: 30px 0 10px;
}

.trust-title {
    text-align: center;
    color: var(--acc);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.trust-item {
    padding: 14px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 222, 128, 0.3);
}

/* ============================================
   BEFORE/AFTER SECTION
   ============================================ */
.before-after {
    padding: 70px 0;
}

.ba-grid {
    display: grid;
    grid-template-columns: 1fr 240px 1fr;
    gap: 30px;
    align-items: center;
}

.ba-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 34px;
    backdrop-filter: blur(20px);
}

.ba-card h3 {
    font-size: 36px;
    margin: 20px 0;
}

.ba-card ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
}

.ba-card li {
    color: var(--t2);
    position: relative;
    padding-left: 24px;
}

.ba-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--acc);
}

.ba-label {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.red {
    background: rgba(255, 0, 0, 0.1);
    color: #ff6b6b;
}

.green {
    background: rgba(74, 222, 128, 0.1);
    color: var(--acc);
}

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

.ai-core {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--acc-g), transparent);
    border: 2px solid rgba(74, 222, 128, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    animation: pulseCore 4s infinite;
    box-shadow: 0 0 60px rgba(74, 222, 128, 0.2);
}

@keyframes pulseCore {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* ============================================
   IMPACT SECTION
   ============================================ */
.impact {
    padding: 20px 0 100px;
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.impact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 34px;
    backdrop-filter: blur(20px);
}

.impact-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.impact-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.impact-item span {
    font-size: 30px;
}

.impact-item h4 {
    font-size: 24px;
    margin-bottom: 4px;
}

.impact-item p {
    color: var(--t3);
}

@media (max-width: 980px) {
    .ba-grid {
        grid-template-columns: 1fr;
    }

    .ai-core {
        width: 140px;
        height: 140px;
        font-size: 20px;
    }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    padding: 70px 0;
    border-top: 1px solid var(--border-s);
    border-bottom: 1px solid var(--border-s);
    position: relative;
    z-index: 1;
}

.stats-g {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.st {
    text-align: center;
    padding: 26px 16px;
    position: relative;
}

.st:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 18%;
    height: 64%;
    width: 1px;
    background: var(--border);
}

.st-n {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 600;
    color: var(--t1);
    letter-spacing: -2px;
}

.st-n span {
    color: var(--acc);
}

.st-l {
    font-size: 12px;
    color: var(--t3);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 500;
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.s-lab {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--acc);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 16px;
    font-weight: 600;
}

.s-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.s-desc {
    font-size: 20px;
    color: var(--t2);
    max-width: 660px;
    margin-bottom: 64px;
    line-height: 1.7;
    font-weight: 300;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 130px 0;
    position: relative;
    z-index: 1;
}

.srv-g {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.srv {
    background: var(--card);
    border: 1px solid var(--border-s);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

.srv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--acc), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.srv:hover {
    border-color: var(--border);
    background: var(--card-hover);
    transform: translateY(-4px);
}

.srv:hover::before {
    opacity: 1;
}

.srv-ico {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 26px;
}

.srv-ico.green { background: var(--acc-g); }
.srv-ico.blue { background: var(--blue-g); }
.srv-ico.purple { background: var(--purple-g); }
.srv-ico.orange { background: var(--orange-g); }
.srv-ico.rose { background: var(--rose-g); }
.srv-ico.cyan { background: var(--cyan-g); }

.srv h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.3px;
}

.srv p {
    font-size: 16px;
    color: var(--t2);
    line-height: 1.75;
    font-weight: 300;
}

.srv-features {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.srv-feat {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--t2);
    line-height: 1.5;
    font-weight: 400;
}

.srv-feat::before {
    content: '✓';
    color: var(--acc);
    font-weight: 700;
    font-size: 12px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--acc-g);
    border-radius: 50%;
    margin-top: 1px;
    flex-shrink: 0;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.tag.g {
    background: var(--acc-g);
    color: var(--acc);
    border: 1px solid rgba(74, 222, 128, 0.18);
}

.tag.b {
    background: var(--blue-g);
    color: var(--blue);
    border: 1px solid rgba(56, 189, 248, 0.18);
}

.tag.p {
    background: var(--purple-g);
    color: var(--purple);
    border: 1px solid rgba(167, 139, 250, 0.18);
}

.tag.o {
    background: var(--orange-g);
    color: var(--orange);
    border: 1px solid rgba(251, 146, 60, 0.18);
}

.tag.r {
    background: var(--rose-g);
    color: var(--rose);
    border: 1px solid rgba(251, 113, 133, 0.18);
}

.tag.c {
    background: var(--cyan-g);
    color: var(--cyan);
    border: 1px solid rgba(34, 211, 238, 0.18);
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries {
    padding: 130px 0;
    background: var(--bg2);
    border-top: 1px solid var(--border-s);
    border-bottom: 1px solid var(--border-s);
    position: relative;
    z-index: 1;
}

.ind-g {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ind {
    background: var(--card);
    border: 1px solid var(--border-s);
    border-radius: 14px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.ind:hover {
    border-color: var(--border);
    transform: translateY(-3px);
}

.ind-i {
    font-size: 40px;
    margin-bottom: 14px;
}

.ind-n {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.ind-d {
    font-size: 14px;
    color: var(--t3);
    line-height: 1.6;
    font-weight: 400;
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results {
    padding: 130px 0;
    position: relative;
    z-index: 1;
}

.res-g {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.res {
    background: var(--card);
    border: 1px solid var(--border-s);
    border-radius: 16px;
    padding: 40px;
}

.res-m {
    font-family: 'JetBrains Mono', monospace;
    font-size: 48px;
    font-weight: 600;
    color: var(--acc);
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.res-t {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.res-d {
    font-size: 16px;
    color: var(--t2);
    line-height: 1.75;
    font-weight: 300;
}

/* ============================================
   PLATFORMS SECTION
   ============================================ */
.platforms {
    padding: 130px 0;
    background: var(--bg2);
    border-top: 1px solid var(--border-s);
    border-bottom: 1px solid var(--border-s);
    position: relative;
    z-index: 1;
}

.plat-g {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.plat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--card);
    border: 1px solid var(--border-s);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--t2);
    transition: all 0.2s;
}

.plat:hover {
    border-color: var(--border);
    color: var(--t1);
    transform: translateY(-1px);
}

.plat .pi {
    font-size: 20px;
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust {
    padding: 110px 0;
    position: relative;
    z-index: 1;
}

.trust-g {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.tr {
    padding: 28px;
}

.tr-i {
    font-size: 38px;
    margin-bottom: 18px;
}

.tr-t {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.tr-d {
    font-size: 14px;
    color: var(--t3);
    line-height: 1.7;
    font-weight: 400;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 130px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 500px;
    background: radial-gradient(ellipse, var(--acc-g) 0%, transparent 65%);
    pointer-events: none;
}

.cta h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta p {
    color: var(--t2);
    font-size: 20px;
    margin-bottom: 48px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 300;
}

.cta-sub {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--t3);
    margin-top: 26px;
}

.cta-sub a {
    color: var(--acc);
    text-decoration: none;
    font-weight: 500;
}

.cta-sub a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--border-s);
    position: relative;
    z-index: 1;
}

footer .c {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.f-t {
    font-size: 14px;
    color: var(--t3);
    font-weight: 400;
}

.f-l {
    display: flex;
    gap: 28px;
}

.f-l a {
    color: var(--t3);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.f-l a:hover {
    color: var(--t1);
}

/* ============================================
   ANIMATIONS & FADE IN
   ============================================ */
.fi {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.fi.vis {
    opacity: 1;
    transform: translateY(0);
}

.fi.vis:nth-child(2) { transition-delay: 0.08s; }
.fi.vis:nth-child(3) { transition-delay: 0.16s; }
.fi.vis:nth-child(4) { transition-delay: 0.24s; }
.fi.vis:nth-child(5) { transition-delay: 0.32s; }
.fi.vis:nth-child(6) { transition-delay: 0.4s; }
.fi.vis:nth-child(7) { transition-delay: 0.48s; }
.fi.vis:nth-child(8) { transition-delay: 0.56s; }
.fi.vis:nth-child(9) { transition-delay: 0.64s; }
.fi.vis:nth-child(10) { transition-delay: 0.72s; }
.fi.vis:nth-child(11) { transition-delay: 0.8s; }
.fi.vis:nth-child(12) { transition-delay: 0.88s; }

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 140px 0 160px;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(74,222,128,0.06) 0%, rgba(56,189,248,0.03) 40%, transparent 65%);
    pointer-events: none;
}

.testimonials .s-lab,
.testimonials .s-title {
    text-align: center;
}

.testimonial-track {
    position: relative;
    max-width: 860px;
    margin: 64px auto 0;
}

.testimonial-viewport {
    position: relative;
    min-height: 480px;
}

.testimonial-card {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    z-index: 2;
}

.testimonial-inner {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 32px;
    padding: 56px 60px 52px;
    backdrop-filter: blur(40px);
    overflow: hidden;
    box-shadow: 0 30px 100px -20px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03) inset;
}

body.light .testimonial-inner {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    border-color: var(--border);
    box-shadow: 0 30px 100px -20px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.03) inset;
}

.testimonial-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--acc), var(--blue), var(--purple));
    border-radius: 0 0 2px 2px;
}

.testimonial-inner::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(74,222,128,0.1), transparent 65%);
    pointer-events: none;
}

.t-quote-mark {
    position: absolute;
    top: 24px;
    right: 40px;
    font-family: 'Fraunces', serif;
    font-size: 140px;
    line-height: 1;
    background: linear-gradient(135deg, rgba(74,222,128,0.12), rgba(56,189,248,0.06));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    pointer-events: none;
    user-select: none;
}

.t-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
}

.t-star {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.t-star svg {
    width: 20px;
    height: 20px;
}

.t-text {
    font-size: 22px;
    line-height: 1.85;
    color: var(--t1);
    font-weight: 300;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.2px;
}

.t-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--acc), transparent);
    margin-bottom: 24px;
    border-radius: 2px;
}

.t-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.t-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--acc-g), var(--blue-g));
    border: 1px solid rgba(74,222,128,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--acc);
    flex-shrink: 0;
}

.t-user-info strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: var(--t1);
    margin-bottom: 2px;
}

.t-user-info span {
    font-size: 14px;
    color: var(--t3);
    font-weight: 400;
}

.t-badge {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--acc-g);
    border: 1px solid rgba(74,222,128,0.15);
    font-size: 12px;
    font-weight: 700;
    color: var(--acc);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.t-badge svg {
    width: 14px;
    height: 14px;
    fill: var(--acc);
}

.t-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 48px;
}

.t-nav-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--t1);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    font-weight: 500;
}

.t-nav-btn:hover {
    transform: translateY(-3px);
    border-color: var(--acc);
    background: var(--acc-g);
    color: var(--acc);
    box-shadow: 0 8px 30px rgba(74,222,128,0.15);
}

.t-dots {
    display: flex;
    gap: 10px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.35s ease;
    padding: 0;
}

.t-dot.active {
    background: var(--acc);
    box-shadow: 0 0 14px rgba(74,222,128,0.4);
    transform: scale(1.25);
}

.t-dot:hover:not(.active) {
    background: var(--t3);
}

.t-progress {
    position: absolute;
    bottom: 0;
    left: 60px;
    right: 60px;
    height: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}

body.light .t-progress {
    background: rgba(0,0,0,0.05);
}

.t-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--acc), var(--blue));
    border-radius: 2px;
    width: 0%;
    animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 80px 0 120px;
    }

    .testimonial-viewport {
        min-height: 560px;
    }

    .testimonial-inner {
        padding: 36px 28px 32px;
        border-radius: 24px;
    }

    .testimonial-inner::before {
        left: 28px;
        right: 28px;
    }

    .t-text {
        font-size: 17px;
        line-height: 1.85;
    }

    .t-quote-mark {
        font-size: 80px;
        top: 12px;
        right: 20px;
    }

    .t-user {
        flex-wrap: wrap;
        gap: 12px;
    }

    .t-badge {
        margin-left: 0;
    }

    .t-controls {
        margin-top: 32px;
    }

    .t-nav-btn {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }

    .t-dots {
        gap: 7px;
    }

    .t-dot {
        width: 8px;
        height: 8px;
    }
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100%;
    }

    .c {
        width: 100%;
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        padding-top: 90px !important;
        padding-bottom: 50px !important;
    }

    .hero-wrap {
        grid-template-columns: 1fr !important;
        gap: 34px !important;
    }

    .hero-left, .hero-right {
        width: 100%;
        max-width: 100%;
    }

    .badge {
        width: auto;
        max-width: 100%;
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        font-size: 11px;
        line-height: 1.5;
        padding: 10px 14px;
        margin-bottom: 22px;
    }

    .hero h1 {
        font-size: 34px !important;
        line-height: 1.08 !important;
        letter-spacing: -1.5px !important;
        max-width: 100%;
        margin-bottom: 18px;
    }

    .hero h1 br {
        display: none;
    }

    .hero-p {
        font-size: 15px !important;
        line-height: 1.8 !important;
        margin-top: 18px;
        margin-bottom: 28px;
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        position: relative;
        z-index: 5;
    }

    .btn1, .btn2, .btn-cal {
        width: 100%;
        justify-content: center;
        min-height: 54px;
        font-size: 15px !important;
    }

    .automation-ui {
        width: 100%;
        min-height: auto !important;
        padding: 18px !important;
        border-radius: 20px;
        overflow: hidden;
        margin-top: 10px;
        text-align: center;
    }

    .live-pill {
        justify-content: center;
    }

    .flow-card {
        padding: 14px !important;
        gap: 12px;
        border-radius: 14px;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .flow-card h4 {
        font-size: 14px !important;
    }

    .flow-card p {
        font-size: 11px !important;
    }

    .flow-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .flow-line {
        height: 34px;
    }

    .float-ai {
        display: none !important;
    }

    .live-logs {
        margin-top: 18px;
    }

    .log {
        font-size: 11px;
        padding: 10px 12px;
        justify-content: center;
        text-align: center;
    }

    .stats {
        padding: 50px 0;
    }

    .stats-g {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px;
    }

    .st {
        border: 1px solid var(--border-s);
        border-radius: 12px;
        padding: 20px 10px;
    }

    .st::after {
        display: none !important;
    }

    .st-n {
        font-size: 28px !important;
    }

    .st-l {
        font-size: 10px;
    }

    .trust-row {
        gap: 10px;
    }

    .trust-item {
        width: calc(50% - 5px);
        justify-content: center;
        text-align: center;
        font-size: 12px;
        padding: 12px;
    }

    .before-after {
        padding: 50px 0;
    }

    .ba-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .ba-card {
        padding: 22px;
        text-align: center;
    }

    .ba-card h3 {
        font-size: 26px;
        text-align: center;
    }

    .ba-card ul {
        align-items: center;
    }

    .ba-card li {
        text-align: left;
    }

    .ba-label {
        display: inline-flex;
        margin: 0 auto;
    }

    .ai-core {
        width: 120px;
        height: 120px;
        font-size: 18px;
    }

    .impact-grid {
        grid-template-columns: 1fr !important;
    }

    .impact-card {
        padding: 22px;
        text-align: center;
    }

    .impact-title {
        font-size: 22px;
        text-align: center;
    }

    .impact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .services {
        padding: 70px 0;
    }

    .srv-g {
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    .srv {
        padding: 22px;
        backdrop-filter: blur(12px);
    }

    .ind-g {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px;
    }

    .ind {
        padding: 18px 12px;
    }

    .res-g {
        grid-template-columns: 1fr !important;
    }

    .res {
        border-radius: 14px;
        padding: 24px;
    }

    .plat-g {
        gap: 10px;
    }

    .plat {
        width: calc(50% - 5px);
        justify-content: center;
        text-align: center;
    }

    .trust-g {
        grid-template-columns: 1fr 1fr !important;
    }

    .cta {
        padding: 70px 0;
    }

    .cta h2 {
        font-size: 32px !important;
        line-height: 1.15;
    }

    .cta p {
        font-size: 16px;
    }

    footer .c {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .s-lab, .s-title, .s-desc {
        text-align: center;
    }

    .s-desc {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 380px) {
    .c {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero h1 {
        font-size: 32px !important;
        letter-spacing: -1px !important;
    }

    .hero-p {
        font-size: 15px;
    }

    .s-title {
        font-size: 24px !important;
    }

    .st-n {
        font-size: 28px !important;
    }

    .srv {
        padding: 20px;
    }

    .srv h3 {
        font-size: 18px;
    }

    .srv p {
        font-size: 14px;
    }

    .ind-g {
        grid-template-columns: 1fr !important;
    }

    .trust-g {
        grid-template-columns: 1fr !important;
    }

    .cta h2 {
        font-size: 22px !important;
    }

    .plat {
        width: 100%;
    }
}
