/* ==========================================================================
   Home Page - Premium Design System
   ========================================================================== */

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #0a0f1e;
    overflow: hidden;
    padding: 7rem 0 5rem;
}

/* Gradient orb background */
.hero__bg { position: absolute; inset: 0; overflow: hidden; }

.hero__gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero__gradient-orb--1 {
    width: 600px; height: 600px;
    top: -20%; left: -10%;
    background: radial-gradient(circle, rgba(99,102,241,0.4), transparent 70%);
}

.hero__gradient-orb--2 {
    width: 500px; height: 500px;
    bottom: -30%; right: -5%;
    background: radial-gradient(circle, rgba(56,189,248,0.25), transparent 70%);
}

.hero__gradient-orb--3 {
    width: 400px; height: 400px;
    top: 40%; left: 30%;
    background: radial-gradient(circle, rgba(139,92,246,0.2), transparent 70%);
}

/* Subtle grid */
.hero__grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

/* Particles canvas removed - SVG has built-in star field */

/* Centered layout */
.hero > .container {
    position: relative;
    z-index: 2;
}

.hero__center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: var(--fw-medium);
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
    margin-bottom: var(--space-xl);
}

.hero__badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 8px rgba(34,197,94,0.6);
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero__title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: var(--fw-extrabold);
    line-height: 1.08;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.04em;
    /* Animated gradient text */
    background: linear-gradient(
        90deg,
        #fff 0%,
        var(--color-accent) 25%,
        #A78BFA 50%,
        var(--color-accent) 75%,
        #fff 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 20s ease-in-out infinite;
}

@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Title is always visible - animation is just an enhancement */

.hero__subtitle {
    font-size: var(--fs-body-lg);
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
}

.hero__btn-primary {
    box-shadow: 0 0 30px rgba(255,255,255,0.12), 0 0 60px rgba(var(--color-accent-rgb), 0.1);
}

/* ========== [REMOVED - old hero product strip, cube, SVG eco CSS] ========== */
/* All old iterations removed for performance. Active CSS: eco-strip v3 below. */
.hero__eco {
    margin-top: var(--space-3xl);
}

.hero__eco-inner {
    position: relative;
    max-width: 720px;
    height: 330px;
    margin: 0 auto;
}

/* Center Hub with ripple pulses */
.hero__eco-hub {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.hero__eco-hub-core {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    box-shadow: 0 0 40px rgba(var(--color-primary-rgb), 0.35), 0 0 80px rgba(var(--color-primary-rgb), 0.15);
}

.hero__eco-hub-logo {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* Ripple pulses emanating from hub */
.hero__eco-ripple {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    border: 1.5px solid rgba(var(--color-primary-rgb), 0.25);
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__eco-ripple--1 {
    width: 200px; height: 200px;
    animation: eco-ripple 4s ease-out infinite;
}

.hero__eco-ripple--2 {
    width: 200px; height: 200px;
    animation: eco-ripple 4s ease-out 1.3s infinite;
}

.hero__eco-ripple--3 {
    width: 200px; height: 200px;
    animation: eco-ripple 4s ease-out 2.6s infinite;
}

@keyframes eco-ripple {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* SVG Beam connections - glowing lines with animated dots */
.hero__eco-beams {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero__eco-beam {
    opacity: 0.7;
}

/* Product Cards - larger with mini previews */
.hero__eco-card {
    position: absolute;
    width: 205px;
    background: var(--theme-bg-card, #fff);
    border: 1px solid var(--theme-border, var(--color-gray-100));
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    color: inherit;
    z-index: 4;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__eco-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-xl), 0 0 25px color-mix(in srgb, var(--ec) 18%, transparent);
    border-color: color-mix(in srgb, var(--ec) 25%, transparent);
    color: inherit;
    animation: none !important;
}

.hero__eco-card-inner {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero__eco-card-logo {
    width: 80px; height: 26px;
}

.hero__eco-card-logo img {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: left;
}

.hero__eco-card-info strong {
    display: block;
    font-size: 0.85rem;
    font-weight: var(--fw-bold);
    color: var(--theme-text-heading, var(--color-navy));
    line-height: 1.2;
}

.hero__eco-card-info span {
    font-size: 0.6rem;
    color: var(--theme-text-muted, var(--color-gray-500));
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Mini live preview inside card */
.hero__eco-card-preview {
    padding-top: 6px;
    border-top: 1px solid var(--theme-border-light, var(--color-gray-100));
}

.eco-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: var(--fw-semibold);
    color: var(--theme-text-muted, var(--color-gray-500));
}

.eco-mini__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Bottom accent bar */
.hero__eco-card-accent {
    height: 3px;
    background: var(--ec);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.hero__eco-card:hover .hero__eco-card-accent {
    transform: scaleX(1);
}

/* Card positions - at 4 corners, aligned with SVG beam endpoints */
.hero__eco-card--1 { top: 0; right: 0; animation: eco-float 5s ease-in-out infinite; }
.hero__eco-card--2 { bottom: 0; right: 0; animation: eco-float 5s ease-in-out 1.2s infinite; }
.hero__eco-card--3 { bottom: 0; left: 0; animation: eco-float 5s ease-in-out 2.4s infinite; }
.hero__eco-card--4 { top: 0; left: 0; animation: eco-float 5s ease-in-out 3.6s infinite; }

@keyframes eco-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Floating metric badges between cards */
.hero__eco-badge {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: var(--theme-bg-card, #fff);
    border: 1px solid var(--theme-border, var(--color-gray-100));
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    font-size: 0.6rem;
    font-weight: var(--fw-bold);
    color: var(--theme-text-heading, var(--color-navy));
    white-space: nowrap;
    animation: eco-float 6s ease-in-out infinite;
}

.hero__eco-badge--1 { top: 42%; right: 22%; animation-delay: 0.5s; }
.hero__eco-badge--2 { bottom: 38%; left: 22%; animation-delay: 2s; }

/* ===== Dark mode eco overrides ===== */
[data-theme="dark"] .hero__eco-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .hero__eco-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
}

[data-theme="dark"] .hero__eco-card-logo img {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

[data-theme="dark"] .hero__eco-card-info strong { color: #fff; }
[data-theme="dark"] .hero__eco-card-info span { color: rgba(255,255,255,0.4); }
[data-theme="dark"] .hero__eco-card-preview { border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .eco-mini { color: rgba(255,255,255,0.5); }

[data-theme="dark"] .hero__eco-badge {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
    color: #fff;
}

/* ========== ECOSYSTEM STRIP (v3) ========== */
.eco-strip {
    position: relative;
    max-width: 1100px;
    margin: var(--space-2xl) auto 0;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
}

.eco-strip__glow {
    position: absolute;
    inset: -60px -40px;
    background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(59,110,255,0.07) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

html:not([data-theme="dark"]) .eco-strip__glow {
    background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(42,86,232,0.05) 0%, transparent 70%);
}

.eco-strip__beams {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 0;
}

/* Center Hub */
.eco-hub {
    position: relative;
    flex-shrink: 0;
    width: 100px; height: 100px;
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
}

.eco-hub__orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(59,110,255,0.25);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}

.eco-hub__orbit--1 {
    width: 138px; height: 138px;
    animation: eco-spin 22s linear infinite;
}

.eco-hub__orbit--1::after {
    content: '';
    position: absolute;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--color-primary);
    top: -4px; left: 50%; transform: translateX(-50%);
    box-shadow: 0 0 10px 3px rgba(59,110,255,0.55);
}

.eco-hub__orbit--2 {
    width: 116px; height: 116px;
    animation: eco-spin 16s linear infinite reverse;
    border-color: rgba(59,110,255,0.12);
}

@keyframes eco-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.eco-hub__ripple {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    border: 1px solid rgba(59,110,255,0.3);
    animation: eco-rip 3.6s ease-out infinite;
    pointer-events: none;
}

.eco-hub__ripple:nth-child(1) { animation-delay: 0s; }
.eco-hub__ripple:nth-child(2) { animation-delay: -1.2s; }
.eco-hub__ripple:nth-child(3) { animation-delay: -2.4s; }

@keyframes eco-rip {
    0% { width: 96px; height: 96px; opacity: 0.55; }
    100% { width: 200px; height: 200px; opacity: 0; }
}

.eco-hub__core {
    position: relative; z-index: 2;
    width: 88px; height: 88px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(59,110,255,0.35);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 0 1px rgba(59,110,255,0.15), 0 0 40px rgba(59,110,255,0.18), 0 0 80px rgba(59,110,255,0.08);
    animation: eco-hub-p 4s ease-in-out infinite;
}

html:not([data-theme="dark"]) .eco-hub__core {
    background: rgba(255,255,255,0.9);
    box-shadow: 0 0 0 1px rgba(42,86,232,0.18), 0 4px 24px rgba(42,86,232,0.14), 0 1px 4px rgba(0,0,0,0.06);
}

@keyframes eco-hub-p {
    0%,100% { box-shadow: 0 0 0 1px rgba(59,110,255,0.15), 0 0 40px rgba(59,110,255,0.18), 0 0 80px rgba(59,110,255,0.08); }
    50% { box-shadow: 0 0 0 1px rgba(59,110,255,0.25), 0 0 50px rgba(59,110,255,0.28), 0 0 100px rgba(59,110,255,0.13); }
}

.eco-hub__kw { font-size: 20px; font-weight: 800; color: var(--theme-text-heading, var(--color-navy)); letter-spacing: -0.02em; -webkit-text-fill-color: var(--theme-text-heading, var(--color-navy)); }
[data-theme="dark"] .eco-hub__kw { color: #f0f4ff; -webkit-text-fill-color: #f0f4ff; }

.eco-hub__label { font-size: 7px; font-weight: 600; color: var(--theme-text-faint, var(--color-gray-400)); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2px; }

/* Product Nodes */
.eco-node {
    position: relative; z-index: 10;
    width: 160px;
    border-radius: 16px;
    background: var(--theme-bg-card, rgba(255,255,255,0.04));
    border: 1px solid var(--theme-border, rgba(255,255,255,0.09));
    padding: 16px 15px 14px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: default;
    transition: transform 0.35s cubic-bezier(0.25,1,0.5,1), box-shadow 0.35s cubic-bezier(0.25,1,0.5,1), border-color 0.25s;
    box-shadow: var(--shadow-lg);
    animation: eco-nf var(--nf-d,5s) ease-in-out infinite;
    animation-delay: var(--nf-del,0s);
    transform-style: preserve-3d;
}

@keyframes eco-nf { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

.eco-node:hover { animation-play-state: paused; }
.eco-node--authyo { --nf-d:5.2s; --nf-del:0s; }
.eco-node--jalpi { --nf-d:4.8s; --nf-del:-1.3s; }
.eco-node--email { --nf-d:5.6s; --nf-del:-2.5s; }
.eco-node--sms { --nf-d:5s; --nf-del:-0.8s; }

.eco-node--authyo:hover { border-color: rgba(43,57,144,0.7); box-shadow: 0 12px 40px rgba(43,57,144,0.3); }
.eco-node--jalpi:hover { border-color: rgba(196,30,42,0.7); box-shadow: 0 12px 40px rgba(196,30,42,0.25); }
.eco-node--email:hover { border-color: rgba(232,103,90,0.7); box-shadow: 0 12px 40px rgba(232,103,90,0.25); }
.eco-node--sms:hover { border-color: rgba(124,58,237,0.7); box-shadow: 0 12px 40px rgba(124,58,237,0.3); }

/* Node header */
.eco-node__head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.eco-node__icon { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }
.eco-node__name { font-size: 12px; font-weight: 700; color: var(--theme-text-heading, var(--color-navy)); }
[data-theme="dark"] .eco-node__name { color: #f0f4ff; }
.eco-node__type { font-size: 9px; font-weight: 500; color: var(--theme-text-faint, var(--color-gray-400)); letter-spacing: 0.04em; margin-top: 1px; text-transform: uppercase; }
.eco-node__dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; flex-shrink: 0; animation: eco-ping 2s ease-out infinite; }
@keyframes eco-ping { 0%{box-shadow:0 0 0 0 rgba(34,197,94,0.5)} 70%{box-shadow:0 0 0 5px rgba(34,197,94,0)} 100%{box-shadow:0 0 0 0 rgba(34,197,94,0)} }
.eco-node__hr { height: 1px; background: var(--theme-border, rgba(255,255,255,0.09)); margin-bottom: 10px; }

/* Authyo OTP */
.eco-otp { display: flex; gap: 4px; }
.eco-otp__cell { flex: 1; height: 26px; border-radius: 6px; background: rgba(255,255,255,0.04); border: 1px solid var(--theme-border, rgba(255,255,255,0.09)); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; font-family: 'Courier New',monospace; color: #1EA34E; animation: eco-otp-f 2.4s step-end infinite; }
html:not([data-theme="dark"]) .eco-otp__cell { background: rgba(0,0,0,0.03); }
.eco-otp__cell:nth-child(1){animation-delay:0s} .eco-otp__cell:nth-child(2){animation-delay:0.4s} .eco-otp__cell:nth-child(3){animation-delay:0.8s} .eco-otp__cell:nth-child(4){animation-delay:1.2s}
@keyframes eco-otp-f { 0%,100%{opacity:1} 50%{opacity:0.2} }
.eco-verified { margin-top: 7px; display: flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 600; color: #1EA34E; padding: 4px 8px; border-radius: 20px; background: rgba(30,163,78,0.12); width: fit-content; }

/* Jalpi Chat */
.eco-chat { display: flex; flex-direction: column; gap: 4px; }
.eco-chat__msg { font-size: 9px; line-height: 1.35; padding: 5px 8px; border-radius: 8px; max-width: 88%; color: var(--theme-text-muted, var(--color-gray-500)); }
.eco-chat__msg--in { background: rgba(196,30,42,0.16); align-self: flex-start; border-bottom-left-radius: 2px; }
.eco-chat__msg--out { background: rgba(255,255,255,0.07); align-self: flex-end; border-bottom-right-radius: 2px; }
html:not([data-theme="dark"]) .eco-chat__msg--out { background: rgba(0,0,0,0.05); }
.eco-chat__typing { display: flex; gap: 3px; padding: 5px 8px; align-self: flex-start; background: rgba(196,30,42,0.1); border-radius: 8px; border-bottom-left-radius: 2px; }
.eco-chat__typing span { width: 4px; height: 4px; border-radius: 50%; background: var(--theme-text-faint, var(--color-gray-400)); animation: eco-bounce 1.2s ease-in-out infinite; }
.eco-chat__typing span:nth-child(2){animation-delay:0.18s} .eco-chat__typing span:nth-child(3){animation-delay:0.36s}
@keyframes eco-bounce { 0%,100%{transform:translateY(0);opacity:0.35} 50%{transform:translateY(-3px);opacity:1} }

/* EmailIdea Stats */
.eco-email-stats { display: flex; flex-direction: column; gap: 6px; }
.eco-bar { display: flex; flex-direction: column; gap: 3px; }
.eco-bar__meta { display: flex; justify-content: space-between; font-size: 9px; color: var(--theme-text-faint, var(--color-gray-400)); }
.eco-bar__meta strong { color: var(--theme-text-muted, var(--color-gray-500)); font-weight: 600; }
.eco-bar__track { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.07); overflow: hidden; }
html:not([data-theme="dark"]) .eco-bar__track { background: rgba(0,0,0,0.07); }
.eco-bar__fill { height: 100%; border-radius: 3px; transform-origin: left; transform: scaleX(0); }
.eco-bar__fill--1 { background: #E8675A; animation: eco-bar-in 1.6s cubic-bezier(0.16,1,0.3,1) 1s forwards; width: 71%; }
.eco-bar__fill--2 { background: #5a8adf; animation: eco-bar-in 1.6s cubic-bezier(0.16,1,0.3,1) 1.2s forwards; width: 42%; }
@keyframes eco-bar-in { to { transform: scaleX(1); } }

/* SMSIdea */
.eco-sms-ui { display: flex; flex-direction: column; gap: 6px; }
.eco-sms__big { font-size: 22px; font-weight: 800; color: var(--theme-text-heading, var(--color-navy)); letter-spacing: -0.03em; font-family: 'Courier New',monospace; line-height: 1; }
[data-theme="dark"] .eco-sms__big { color: #f0f4ff; }
.eco-sms__label { font-size: 9px; color: var(--theme-text-faint, var(--color-gray-400)); margin-top: 1px; }
.eco-sms__pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 20px; background: rgba(124,58,237,0.14); border: 1px solid rgba(124,58,237,0.25); font-size: 9px; font-weight: 600; color: #a78bfa; animation: eco-pill-g 2s ease-in-out infinite; }
@keyframes eco-pill-g { 0%,100%{box-shadow:0 0 0 0 rgba(124,58,237,0)} 50%{box-shadow:0 0 0 4px rgba(124,58,237,0.15)} }
.eco-sms__pill-dot { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; }

/* Responsive */
@media (max-width: 992px) {
    .eco-strip { flex-wrap: wrap; height: auto; gap: var(--space-md); justify-content: center; padding: var(--space-lg) 0; }
    .eco-strip__beams, .eco-strip__glow { display: none; }
    .eco-hub { order: -1; width: 100%; }
    .eco-hub__orbit, .eco-hub__ripple { display: none; }
    .eco-node { width: calc(50% - var(--space-md)); animation: none !important; }
}

@media (max-width: 480px) {
    .eco-node { width: 100%; }
}

/* Old SVG/eco animation CSS removed - using eco-strip v3 */

.hero-ecosystem-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* SVG animation classes */
.he-grid { opacity: 0.07; animation: he-grid-p 8s ease-in-out infinite; }
@keyframes he-grid-p { 0%,100%{opacity:0.05} 50%{opacity:0.12} }

.he-star { animation: he-star-t var(--st-d,3s) ease-in-out infinite; animation-delay: var(--st-delay,0s); }
@keyframes he-star-t { 0%,100%{opacity:var(--st-min,0.1)} 50%{opacity:var(--st-max,0.5)} }

.he-hex { animation: he-hex-f var(--d,12s) ease-in-out infinite; opacity:0; }
@keyframes he-hex-f { 0%{transform:translate(0,0)scale(1);opacity:0} 20%{opacity:0.5} 80%{opacity:0.5} 100%{transform:translate(var(--tx,20px),var(--ty,-30px))scale(0.6);opacity:0} }

.he-beam { stroke-dasharray:8 6; stroke-dashoffset:0; animation: he-beam-f 3s linear infinite; opacity:0.35; }
@keyframes he-beam-f { to{stroke-dashoffset:-56} }

.he-beam-glow { animation: he-bg-p 2.5s ease-in-out infinite; opacity:0.12; }
@keyframes he-bg-p { 0%,100%{opacity:0.08} 50%{opacity:0.22} }

.he-ripple { transform-origin:400px 250px; animation: he-rip var(--rp-d,4s) ease-out infinite; animation-delay:var(--rp-delay,0s); opacity:0; }
@keyframes he-rip { 0%{r:48;opacity:0.5} 100%{r:140;opacity:0} }

.he-hub-glow { transform-origin:400px 250px; animation: he-hb 4s ease-in-out infinite; }
@keyframes he-hb { 0%,100%{opacity:0.18} 50%{opacity:0.38} }

.he-hub-ring { transform-origin:400px 250px; animation: he-hr var(--s,18s) linear infinite; opacity:0.18; }
@keyframes he-hr { to{transform:rotate(360deg)} }

.he-hub-ring-2 { transform-origin:400px 250px; animation: he-hr2 28s linear infinite; opacity:0.1; }
@keyframes he-hr2 { to{transform:rotate(-360deg)} }

.he-hub-core { transform-origin:400px 250px; animation: he-hc 4s ease-in-out infinite; }
@keyframes he-hc { 0%,100%{opacity:1} 50%{opacity:0.85} }

.he-kw { animation: he-kws 6s ease-in-out infinite; }
@keyframes he-kws { 0%,100%{opacity:1} 50%{opacity:0.82} }

.he-node { animation: he-nf 5s ease-in-out infinite; animation-delay: var(--node-delay,0s); }
@keyframes he-nf { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }

.he-node-glow { animation: he-ng 3s ease-in-out infinite; animation-delay: var(--node-delay,0s); }
@keyframes he-ng { 0%,100%{opacity:0.12} 50%{opacity:0.30} }

.he-otp { animation: he-otp-c 2.4s step-end infinite; }
@keyframes he-otp-c { 0%{opacity:1} 40%{opacity:0.2} 80%{opacity:1} }

.he-chat-dot { animation: he-cd 1.8s ease-in-out infinite; }
@keyframes he-cd { 0%,100%{opacity:0.25;transform:scale(1)} 50%{opacity:1;transform:scale(1.3)} }

.he-envelope { animation: he-ef 3.5s ease-in-out infinite; }
@keyframes he-ef { 0%{transform:translate(0,0)rotate(0);opacity:1} 60%{transform:translate(10px,-8px)rotate(-8deg);opacity:0.9} 85%{transform:translate(22px,-2px)rotate(4deg);opacity:0} 86%{transform:translate(0,0)rotate(0);opacity:0} 100%{transform:translate(0,0)rotate(0);opacity:1} }

.he-notif { animation: he-np 2s ease-out infinite; animation-delay: var(--ping-d,0s); }
@keyframes he-np { 0%{r:6;opacity:0.9} 100%{r:18;opacity:0} }

/* Light mode: adapt SVG for light backgrounds */
html:not([data-theme="dark"]) .hero-ecosystem-svg {
    filter: drop-shadow(0 4px 20px rgba(var(--color-navy-rgb), 0.08));
    background: #0a0f1e;
    border-radius: var(--radius-xl);
    padding: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    section.section.section--gradient.cta-section{
        margin: 20px;
    }
    .hero__anim { margin-top: var(--space-lg); }
}

@media (max-width: 480px) {
    .hero__anim { margin-top: var(--space-md); }
}

/* OLD cube/eco CSS below is dead code */
.hero__cube-wrap {
    margin-top: var(--space-3xl);
}

.hero__cube-scene {
    width: 320px;
    height: 300px;
    margin: 0 auto;
    perspective: 1200px;
    perspective-origin: 50% 50%;
}

.hero__cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Each face of the cube */
.hero__cube-face {
    position: absolute;
    width: 320px;
    height: 300px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl);
    text-align: center;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--theme-bg-card, #fff);
    border: 1px solid var(--theme-border, var(--color-gray-100));
    box-shadow: var(--shadow-xl);
    transition: box-shadow 0.3s ease;
}

.hero__cube-face:hover {
    box-shadow: var(--shadow-xl), 0 0 40px color-mix(in srgb, var(--cf-c) 20%, transparent);
    color: inherit;
}

/* Position faces in 3D space */
.hero__cube-face--1 { transform: rotateY(0deg) translateZ(160px); }
.hero__cube-face--2 { transform: rotateY(90deg) translateZ(160px); }
.hero__cube-face--3 { transform: rotateY(180deg) translateZ(160px); }
.hero__cube-face--4 { transform: rotateY(270deg) translateZ(160px); }

/* Face content */
.cube-face__icon {
    width: 64px; height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--cf-c) 8%, transparent);
    color: var(--cf-c);
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
}

.hero__cube-face:hover .cube-face__icon {
    background: var(--cf-c);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px color-mix(in srgb, var(--cf-c) 35%, transparent);
}

.cube-face__logo {
    height: 30px;
    margin-bottom: var(--space-md);
}

.cube-face__logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.cube-face__name {
    font-size: var(--fs-h3);
    color: var(--theme-text-heading, var(--color-navy));
    margin-bottom: 2px;
    -webkit-text-fill-color: var(--theme-text-heading, var(--color-navy));
}

.cube-face__tag {
    font-size: 0.65rem;
    color: var(--cf-c);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-md);
}

.cube-face__desc {
    font-size: var(--fs-small);
    color: var(--theme-text-muted, var(--color-gray-500));
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    max-width: 260px;
}

.cube-face__cta {
    font-size: var(--fs-small);
    font-weight: var(--fw-semibold);
    color: var(--cf-c);
    transition: all 0.3s ease;
}

.hero__cube-face:hover .cube-face__cta {
    letter-spacing: 0.03em;
}

/* Bottom accent */
.cube-face__accent {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cf-c), var(--cf-a));
}

/* Navigation dots */
.hero__cube-nav {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.hero__cube-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--theme-text-faint, var(--color-gray-300));
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero__cube-dot:hover {
    opacity: 0.7;
    transform: scale(1.2);
}

.hero__cube-dot.is-active {
    opacity: 1;
    background: var(--color-primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.4);
}

/* ===== Dark mode cube ===== */
[data-theme="dark"] .hero__cube-face {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

[data-theme="dark"] .hero__cube-face:hover {
    background: rgba(255,255,255,0.06);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px color-mix(in srgb, var(--cf-c) 15%, transparent);
}

[data-theme="dark"] .cube-face__logo img {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

[data-theme="dark"] .cube-face__name {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

[data-theme="dark"] .cube-face__desc {
    color: rgba(255,255,255,0.5);
}

[data-theme="dark"] .hero__cube-dot {
    background: rgba(255,255,255,0.3);
}

[data-theme="dark"] .hero__cube-dot.is-active {
    background: var(--color-primary-light);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero__cube-scene {
        width: 280px;
        height: 280px;
    }

    .hero__cube-face {
        width: 280px;
        height: 280px;
        padding: var(--space-xl);
    }

    .hero__cube-face--1 { transform: rotateY(0deg) translateZ(140px); }
    .hero__cube-face--2 { transform: rotateY(90deg) translateZ(140px); }
    .hero__cube-face--3 { transform: rotateY(180deg) translateZ(140px); }
    .hero__cube-face--4 { transform: rotateY(270deg) translateZ(140px); }

    .cube-face__icon { width: 50px; height: 50px; }
    .cube-face__icon svg { width: 28px; height: 28px; }
    .cube-face__desc { font-size: var(--fs-xs); }
}

@media (max-width: 480px) {
    .hero__cube-scene {
        width: 250px;
        height: 260px;
    }

    .hero__cube-face {
        width: 250px;
        height: 260px;
        padding: var(--space-lg);
    }

    .hero__cube-face--1 { transform: rotateY(0deg) translateZ(125px); }
    .hero__cube-face--2 { transform: rotateY(90deg) translateZ(125px); }
    .hero__cube-face--3 { transform: rotateY(180deg) translateZ(125px); }
    .hero__cube-face--4 { transform: rotateY(270deg) translateZ(125px); }

    .cube-face__logo { height: 22px; }
}

/* OLD eco CSS below is dead code (HTML no longer uses these classes) */
.hero__products {
    margin-top: var(--space-3xl);
}

.hero__products-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    max-width: 920px;
    margin: 0 auto;
}

.hp-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--theme-bg-card, #fff);
    border: 1px solid var(--theme-border, var(--color-gray-100));
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-md);
}

.hp-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl), 0 0 30px color-mix(in srgb, var(--hp-c) 15%, transparent);
    border-color: color-mix(in srgb, var(--hp-c) 25%, transparent);
    color: inherit;
}

.hp-card__top {
    padding: 14px 14px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.hp-card__logo { height: 20px; }
.hp-card__logo img { height: 100%; width: auto; object-fit: contain; }

.hp-card__badge {
    font-size: 0.45rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--hp-c) 8%, transparent);
    color: var(--hp-c);
    white-space: nowrap;
}

.hp-card__mock { padding: 6px 14px 10px; min-height: 85px; display: flex; align-items: center; }

/* OTP Mock */
.hp-mock--otp { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.hp-mock__row { display: flex; gap: 3px; justify-content: center; }
.hp-mock__box {
    width: 30px; height: 36px; border-radius: 5px;
    border: 1.5px solid var(--hp-c);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem; color: var(--hp-c);
    background: color-mix(in srgb, var(--hp-c) 4%, transparent);
    font-family: var(--font-heading);
}
.hp-mock__box--empty { border-style: dashed; border-color: var(--theme-border, var(--color-gray-300)); color: transparent; }
.hp-mock__btn { padding: 4px; border-radius: 5px; text-align: center; color: #fff; font-size: 0.55rem; font-weight: 700; }

/* Chat Mock */
.hp-mock--chat { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.hp-mock__bubble { padding: 4px 7px; border-radius: 7px; font-size: 0.55rem; line-height: 1.3; max-width: 88%; }
.hp-mock__bubble--in { background: var(--theme-bg-alt, var(--color-gray-50)); color: var(--theme-text-heading, var(--color-navy)); border-radius: 2px 7px 7px 7px; align-self: flex-start; }
.hp-mock__bubble--out { color: #fff; border-radius: 7px 2px 7px 7px; align-self: flex-end; }

/* Stats Mock */
.hp-mock--stats { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.hp-mock__stat-row { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; border-bottom: 1px solid var(--theme-border-light, var(--color-gray-100)); }
.hp-mock__stat-row:last-child { border: none; }
.hp-mock__stat-val { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 800; }
.hp-mock__stat-lbl { font-size: 0.5rem; color: var(--theme-text-faint, var(--color-gray-400)); }

/* SMS Mock */
.hp-mock--sms { display: flex; flex-direction: column; gap: 3px; width: 100%; }
.hp-mock__sms-item { padding: 4px 7px; background: var(--theme-bg-alt, var(--color-gray-50)); border-radius: 5px; font-size: 0.5rem; color: var(--theme-text-heading, var(--color-navy)); line-height: 1.3; }
.hp-mock__sms-item strong { font-size: 0.45rem; color: var(--theme-text-faint, var(--color-gray-400)); display: block; margin-bottom: 1px; }

/* Bottom */
.hp-card__bottom {
    padding: 8px 14px;
    border-top: 1px solid var(--theme-border-light, var(--color-gray-100));
    display: flex; align-items: center; justify-content: space-between;
}
.hp-card__bottom strong { font-size: 0.8rem; color: var(--theme-text-heading, var(--color-navy)); }
.hp-card__bottom svg { color: var(--theme-text-faint, var(--color-gray-400)); transition: all 0.3s ease; }
.hp-card:hover .hp-card__bottom svg { color: var(--hp-c); transform: translateX(3px); }

/* Bottom accent glow */
.hp-card__glow { height: 3px; background: linear-gradient(90deg, var(--hp-c), var(--hp-a)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.hp-card:hover .hp-card__glow { transform: scaleX(1); }

/* Dark mode */
[data-theme="dark"] .hp-card { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .hp-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); }
[data-theme="dark"] .hp-card__logo img { filter: brightness(0) invert(1); opacity: 0.85; }
[data-theme="dark"] .hp-card__bottom strong { color: #fff; }
[data-theme="dark"] .hp-card__bottom { border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .hp-mock__box { border-color: rgba(255,255,255,0.15); }
[data-theme="dark"] .hp-mock__box--empty { border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .hp-mock__bubble--in { background: rgba(255,255,255,0.06); color: #fff; }
[data-theme="dark"] .hp-mock__stat-row { border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .hp-mock__sms-item { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.8); }
[data-theme="dark"] .hp-mock__sms-item strong { color: rgba(255,255,255,0.3); }

/* Responsive */
@media (max-width: 992px) {
    .hero__products-strip { grid-template-columns: repeat(2, 1fr); max-width: 500px; }
}
@media (max-width: 480px) {
    .hero__products-strip { grid-template-columns: 1fr; max-width: 260px; }
}

/* ========== HERO STATS BAR ========== */
.hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    padding: var(--space-lg) var(--space-2xl);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero__stat-item {
    text-align: center;
}

.hero__stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: var(--fw-extrabold);
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}

.hero__stat-lbl {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: var(--fw-medium);
}

.hero__stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.08);
}

/* ==========================================================================
   HERO - LIGHT MODE OVERRIDES
   Default hero = dark. Light mode transforms it to a clean, bright design.
   ========================================================================== */

/* Light mode is default (no data-theme or data-theme="light") */
html:not([data-theme="dark"]) .hero {
    background: linear-gradient(160deg, #f0f5ff 0%, #e8f0fe 30%, #f7f9fc 60%, #eef4ff 100%);
}

html:not([data-theme="dark"]) .hero__gradient-orb--1 {
    background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.15), transparent 70%);
    opacity: 0.8;
}

html:not([data-theme="dark"]) .hero__gradient-orb--2 {
    background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.1), transparent 70%);
    opacity: 0.6;
}

html:not([data-theme="dark"]) .hero__gradient-orb--3 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%);
    opacity: 0.5;
}

html:not([data-theme="dark"]) .hero__grid-pattern {
    background-image:
        linear-gradient(rgba(var(--color-navy-rgb), 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--color-navy-rgb), 0.04) 1px, transparent 1px);
}

/* Particles removed - SVG has built-in animation */

/* Text colors */
html:not([data-theme="dark"]) .hero__center {
    color: var(--color-navy);
}

html:not([data-theme="dark"]) .hero__badge {
    background: rgba(var(--color-primary-rgb), 0.08);
    border-color: rgba(var(--color-primary-rgb), 0.15);
    color: var(--color-primary-dark);
}

html:not([data-theme="dark"]) .hero__badge-dot {
    background: #22C55E;
}

html:not([data-theme="dark"]) .hero__title {
    background: linear-gradient(
        90deg,
        var(--color-navy) 0%,
        var(--color-primary) 25%,
        #6366F1 50%,
        var(--color-primary) 75%,
        var(--color-navy) 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-flow 12s ease-in-out infinite;
}

html:not([data-theme="dark"]) .hero__subtitle {
    color: var(--color-gray-500);
}

/* Buttons */
html:not([data-theme="dark"]) .hero__btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.3);
}

html:not([data-theme="dark"]) .hero__btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    box-shadow: 0 6px 30px rgba(var(--color-primary-rgb), 0.4);
}

html:not([data-theme="dark"]) .hero .btn--ghost {
    background: transparent;
    color: var(--color-navy);
    border-color: var(--color-gray-200);
}

html:not([data-theme="dark"]) .hero .btn--ghost:hover {
    background: var(--color-navy);
    color: #fff;
    border-color: var(--color-navy);
}

/* Light mode eco - hub logo shows in original color */
html:not([data-theme="dark"]) .hero__eco-hub-logo {
    filter: brightness(0) invert(1);
}

/* Stats bar */
html:not([data-theme="dark"]) .hero__stats {
    background: #fff;
    border-color: var(--color-gray-200);
    box-shadow: var(--shadow-lg);
}

html:not([data-theme="dark"]) .hero__stat-num {
    color: var(--color-navy);
}

html:not([data-theme="dark"]) .hero__stat-lbl {
    color: var(--color-gray-500);
}

html:not([data-theme="dark"]) .hero__stat-sep {
    background: var(--color-gray-200);
}

/* Wave divider fill */
html:not([data-theme="dark"]) .hero .wave-divider svg path {
    fill: #fff;
}

/* Header on light hero - NOT transparent since bg is light */
html:not([data-theme="dark"]) .site-header--transparent {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

html:not([data-theme="dark"]) .site-header--transparent .site-header__logo-img {
    filter: none;
}

html:not([data-theme="dark"]) .site-header--transparent .site-nav__list > .menu-item > a {
    color: var(--color-navy);
}

html:not([data-theme="dark"]) .site-header--transparent .site-nav__list > .menu-item > a:hover {
    color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.08);
}

html:not([data-theme="dark"]) .site-header--transparent .hamburger__line {
    background: var(--color-navy);
}

html:not([data-theme="dark"]) .site-header--transparent .site-header__cta {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

html:not([data-theme="dark"]) .site-header--transparent .theme-toggle {
    background: rgba(0,0,0,0.05);
    color: var(--color-navy);
}

/* ========== PRODUCT CARDS ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.pcard {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--space-2xl) var(--space-xl);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}

.pcard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -12px rgba(var(--color-navy-rgb), 0.15);
    border-color: transparent;
    color: inherit;
}

.pcard__glow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--pcard-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pcard:hover .pcard__glow { opacity: 1; }

.pcard__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.pcard__icon {
    width: 100px; height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    background: color-mix(in srgb, var(--pcard-color) 6%, transparent);
    transition: all 0.3s ease;
    overflow: hidden;
}

.pcard__logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pcard:hover .pcard__icon {
    transform: scale(1.08);
    background: color-mix(in srgb, var(--pcard-color) 10%, transparent);
}

.pcard__tag {
    font-size: 0.6rem;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pcard-color);
    opacity: 0.7;
}

.pcard__name {
    font-size: var(--fs-h3);
    color: var(--color-navy);
    margin-bottom: 6px;
}

.pcard__desc {
    font-size: var(--fs-small);
    color: var(--color-gray-500);
    line-height: 1.65;
    margin-bottom: var(--space-lg);
    flex: 1;
}

.pcard__features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: var(--space-xl);
}

.pcard__features span {
    font-size: 0.6rem;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: var(--color-gray-50);
    color: var(--color-gray-600);
    font-weight: var(--fw-medium);
    border: 1px solid var(--color-gray-100);
    transition: all 0.2s ease;
}

.pcard:hover .pcard__features span {
    background: color-mix(in srgb, var(--pcard-color) 6%, transparent);
    border-color: color-mix(in srgb, var(--pcard-color) 15%, transparent);
    color: var(--pcard-color);
}

.pcard__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-gray-100);
}

.pcard__stat-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: var(--fw-extrabold);
    color: var(--pcard-color);
    line-height: 1;
}

.pcard__stat-label {
    font-size: 0.55rem;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.pcard__arrow {
    width: 32px; height: 32px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-50);
    color: var(--color-gray-400);
    transition: all 0.3s ease;
}

.pcard:hover .pcard__arrow {
    background: var(--pcard-gradient);
    color: #fff;
    transform: translateX(3px);
}

/* ========== HOW IT WORKS ========== */
.steps {
    display: flex;
    align-items: stretch;
    gap: 0;
    justify-content: center;
}

.step {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 280px;
}

/* Card */
.step__card {
    position: relative;
    flex: 1;
    padding: var(--space-2xl) var(--space-xl);
    background: var(--theme-bg-card, #fff);
    border: 1px solid var(--theme-border, var(--color-gray-100));
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(var(--color-navy-rgb), 0.1), 0 0 0 1px color-mix(in srgb, var(--step-color) 15%, transparent);
    border-color: color-mix(in srgb, var(--step-color) 20%, transparent);
}

/* Watermark number in background */
.step__watermark {
    position: absolute;
    top: -10px; right: -5px;
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 900;
    color: var(--step-color);
    opacity: 0.04;
    line-height: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.step__card:hover .step__watermark {
    opacity: 0.08;
}

/* Icon */
.step__icon {
    width: 52px; height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--step-color) 8%, transparent);
    color: var(--step-color);
    margin: 0 auto var(--space-lg);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.step__card:hover .step__icon {
    background: var(--step-color);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px -4px color-mix(in srgb, var(--step-color) 40%, transparent);
}

/* Badge */
.step__badge {
    display: inline-block;
    padding: 3px 12px;
    font-size: 0.6rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--step-color);
    background: color-mix(in srgb, var(--step-color) 8%, transparent);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

/* Title */
.step__title {
    font-size: var(--fs-body-lg);
    color: var(--theme-text-heading, var(--color-navy));
    margin-bottom: var(--space-sm);
}

/* Description */
.step__desc {
    font-size: var(--fs-small);
    color: var(--theme-text-muted, var(--color-gray-500));
    line-height: 1.65;
    margin: 0;
}

/* Bottom accent line */
.step__accent {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--step-color);
    transform: scaleX(0);
    transition: transform 0.35s ease;
}

.step__card:hover .step__accent {
    transform: scaleX(1);
}

/* Connector arrow between steps */
.step__connector {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    color: var(--theme-text-faint, var(--color-gray-300));
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1200px) {
    .steps {
        flex-wrap: wrap;
        gap: var(--space-lg);
    }

    .step {
        max-width: none;
        flex: 0 0 calc(50% - var(--space-lg));
    }

    .step__connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .step {
        flex: 0 0 100%;
    }
}

/* ========== SERVICES ========== */
.svc-card {
    position: relative;
    padding: var(--space-2xl);
    background: var(--theme-bg-card, #fff);
    border: 1px solid var(--theme-border, var(--color-gray-100));
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

/* Left accent bar (always visible, subtle) */
.svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 4px;
    background: var(--svc-color);
    opacity: 0.2;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px -8px rgba(var(--color-navy-rgb), 0.1), 0 0 0 1px color-mix(in srgb, var(--svc-color) 15%, transparent);
    border-color: color-mix(in srgb, var(--svc-color) 18%, transparent);
}

.svc-card:hover::before {
    opacity: 1;
    width: 5px;
}

/* Icon */
.svc-card__icon {
    width: 50px; height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--svc-color) 8%, transparent);
    color: var(--svc-color);
    margin-bottom: var(--space-lg);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card:hover .svc-card__icon {
    background: var(--svc-color);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 18px -3px color-mix(in srgb, var(--svc-color) 35%, transparent);
}

.svc-card h4 {
    font-size: var(--fs-body-lg);
    margin-bottom: var(--space-sm);
    color: var(--theme-text-heading, var(--color-navy));
    font-weight: var(--fw-bold);
}

.svc-card p {
    font-size: var(--fs-small);
    color: var(--theme-text-muted, var(--color-gray-500));
    line-height: 1.65;
    margin: 0 0 var(--space-lg);
    flex: 1;
}

/* Tag pill */
.svc-card__tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 12px;
    font-size: 0.6rem;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--svc-color);
    background: color-mix(in srgb, var(--svc-color) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--svc-color) 12%, transparent);
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.svc-card:hover .svc-card__tag {
    background: color-mix(in srgb, var(--svc-color) 12%, transparent);
    border-color: color-mix(in srgb, var(--svc-color) 20%, transparent);
}

/* Bottom accent line */
.svc-card__accent {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--svc-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card:hover .svc-card__accent {
    transform: scaleX(1);
}

/* ========== INDUSTRIES ========== */
.industries-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.ind-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    color: var(--color-navy);
    transition: all 0.3s ease;
    cursor: default;
}

.ind-chip svg { color: var(--color-primary); transition: transform 0.3s ease; }

.ind-chip:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -4px rgba(var(--color-primary-rgb),0.35);
}

.ind-chip:hover svg { color: #fff; transform: scale(1.15); }

/* Why light cards moved to components.css for global use */

/* CTA styling moved to base.css for global use */
