/* =================================================================
   BASE.CSS — Shared design system for all Webneco pages
   Eliminates ~3000+ lines of duplicated inline CSS
================================================================= */

/* RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

/* DESIGN TOKENS */
:root {
    --bg: #08080d;
    --card: rgba(255, 255, 255, .04);
    --card-h: rgba(255, 255, 255, .07);
    --txt: #f0f0f5;
    --txt2: rgba(255, 255, 255, .55);
    --txt3: rgba(255, 255, 255, .3);
    --ind: #6366f1;
    --acc: #818cf8;
    --grad: linear-gradient(135deg, #818cf8, #6366f1);
    --bdr: rgba(255, 255, 255, .06);
    --bdr2: rgba(255, 255, 255, .12);
    --r: 16px;
    --rl: 24px;
    --pill: 9999px;
    --nh: 64px;
    --mx: clamp(16px, 5vw, 80px);
    --ease: cubic-bezier(.23, 1, .32, 1)
}

/* BASE ELEMENTS */
html {
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--txt);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

ul {
    list-style: none
}

button {
    font: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit
}

/* =================================================================
   ANIMATIONS
================================================================= */
@keyframes fu {
    from {
        opacity: 0;
        transform: translateY(40px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes orbPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: .8
    }

    100% {
        transform: translate(-50%, -50%) scale(1.12);
        opacity: 1
    }
}

/* SCROLL REVEAL */
.rv {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.rv.show,
.rv.vis {
    opacity: 1;
    transform: translateY(0)
}

.d1 {
    transition-delay: .05s
}

.d2 {
    transition-delay: .15s
}

.d3 {
    transition-delay: .25s
}

.d4 {
    transition-delay: .35s
}

.d5 {
    transition-delay: .4s
}

.d6 {
    transition-delay: .45s
}

/* =================================================================
   HERO SECTION
================================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nh) + 60px) var(--mx) 80px;
    position: relative;
    overflow: hidden;
    background: #08080d
}

.hero-orb {
    position: absolute;
    width: 900px;
    height: 900px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, .18) 0%, rgba(59, 130, 246, .08) 40%, transparent 70%);
    z-index: 0;
    animation: orbPulse 8s ease-in-out infinite alternate;
    pointer-events: none
}

.hero-orb::after {
    content: '';
    position: absolute;
    inset: 15%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, .12) 0%, transparent 70%);
    animation: orbPulse 6s ease-in-out infinite alternate-reverse
}

.hero-ring {
    position: absolute;
    width: 650px;
    height: 650px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .04);
    z-index: 0;
    pointer-events: none
}

.hero-ring::before {
    content: '';
    position: absolute;
    inset: -120px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .025)
}

.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .25;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px
}

.hcon {
    position: relative;
    z-index: 2;
    max-width: 820px
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.04em;
    margin-bottom: 24px;
    animation: fu .8s .1s var(--ease) both;
    color: #fff
}

.hero h1 .acc {
    color: #818cf8
}

.hsub {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: rgba(255, 255, 255, .45);
    max-width: 620px;
    margin: 0 auto 44px;
    line-height: 1.75;
    animation: fu .8s .2s var(--ease) both
}

.hsub .acc {
    color: var(--acc)
}

.hact {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fu .8s .3s var(--ease) both
}

/* HERO STATS BAR */
.hero-stats {
    display: flex;
    gap: 1px;
    margin-top: 60px;
    background: rgba(255, 255, 255, .06);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .06);
    animation: fu .8s .5s var(--ease) both;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px)
}

.hero-stat {
    flex: 1;
    padding: 24px 20px;
    text-align: center;
    background: rgba(255, 255, 255, .02)
}

.hero-stat:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, .06)
}

.hero-stat .hs-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.02em
}

.hero-stat .hs-label {
    font-size: .75rem;
    color: rgba(255, 255, 255, .4);
    margin-top: 4px;
    font-weight: 500
}

@media(max-width:768px) {
    .hero-stats {
        flex-direction: column
    }

    .hero-stat:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .06)
    }
}

/* =================================================================
   BUTTONS
================================================================= */
.bp {
    padding: 14px 38px;
    background: #6366f1;
    color: #fff;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 600;
    transition: all .3s var(--ease);
    border: none;
    box-shadow: 0 0 24px rgba(99, 102, 241, .25);
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.bp:hover {
    background: #818cf8;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, .35)
}

.bs {
    padding: 14px 38px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .8);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 500;
    transition: all .3s var(--ease);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.bs:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-color: rgba(255, 255, 255, .2)
}

/* =================================================================
   SECTION LAYOUT
================================================================= */
.sec {
    padding: 120px 0;
    position: relative
}

.con {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--mx)
}

/* Section Labels */
.sl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--pill);
    background: rgba(99, 102, 241, .06);
    border: 1px solid rgba(99, 102, 241, .12);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 20px
}

/* Section Titles */
.st {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 16px;
    color: var(--txt)
}

/* Section Descriptions */
.sd {
    color: var(--txt2);
    font-size: clamp(.95rem, 1.1vw, 1.08rem);
    max-width: 580px;
    line-height: 1.7
}

/* Section Headers */
.sh {
    margin-bottom: 64px
}

.sh-center {
    text-align: center
}

.sh-center .sd {
    margin: 0 auto
}

/* =================================================================
   CARD COMPONENTS
================================================================= */
/* Grid Layouts */
.g3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.g4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

@media(max-width:1024px) {

    .g3,
    .g4 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:600px) {

    .g3,
    .g4 {
        grid-template-columns: 1fr
    }
}

/* Standard Cards */
.cd {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 20px;
    padding: 36px 30px;
    position: relative;
    overflow: hidden;
    transition: all .4s var(--ease)
}

.cd::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: #6366f1;
    border-radius: 0 0 3px 0;
    transition: height .5s var(--ease)
}

.cd:hover {
    border-color: rgba(99, 102, 241, .2);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, .1), 0 0 0 1px rgba(99, 102, 241, .1)
}

.cd:hover::before {
    height: 100%
}

/* Card Icon */
.cdi {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, .1), rgba(139, 92, 246, .06));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform .3s, background .3s
}

.cd:hover .cdi {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(99, 102, 241, .18), rgba(139, 92, 246, .1))
}

.cdi svg {
    width: 24px;
    height: 24px;
    stroke: #6366f1;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.cd h3 {
    font-size: 1.15rem;
    font-weight: 650;
    margin-bottom: 12px;
    letter-spacing: -.01em
}

.cd p {
    color: var(--txt2);
    font-size: .88rem;
    line-height: 1.65
}

.del-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--pill);
    background: rgba(99, 102, 241, .08);
    font-size: .68rem;
    font-weight: 600;
    color: #818cf8;
    margin-top: 14px;
    letter-spacing: .03em
}

/* =================================================================
   PROCESS STEPS
================================================================= */
.ps {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 20px;
    padding: 32px 24px;
    transition: all .4s var(--ease);
    overflow: hidden;
    position: relative
}

.ps:hover {
    border-color: rgba(99, 102, 241, .2);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(99, 102, 241, .1)
}

.pn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(99, 102, 241, .07);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 20px;
    transition: all .4s var(--ease);
    -webkit-text-fill-color: #6366f1
}

.ps:hover .pn {
    background: #6366f1;
    color: #fff;
    -webkit-text-fill-color: #fff
}

.ps h3 {
    font-size: 1.05rem;
    font-weight: 650;
    margin-bottom: 10px;
    letter-spacing: -.01em
}

.ps p {
    color: var(--txt2);
    font-size: .86rem;
    line-height: 1.65
}

/* =================================================================
   CTA BANNER
================================================================= */
.ctb {
    position: relative;
    text-align: center;
    padding: 100px 40px;
    border-radius: 24px;
    background: linear-gradient(160deg, rgba(20, 20, 35, .9), rgba(12, 12, 20, .9));
    border: 1px solid rgba(99, 102, 241, .15);
    overflow: hidden
}

.ctb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #a78bfa, #818cf8)
}

.ctb::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, .08), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none
}

.ctb h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -.03em;
    margin-bottom: 16px;
    position: relative;
    z-index: 1
}

.ctb p {
    color: var(--txt2);
    max-width: 520px;
    margin: 0 auto 36px;
    font-size: 1.02rem;
    line-height: 1.7;
    position: relative;
    z-index: 1
}

.ctb .bp {
    position: relative;
    z-index: 1
}

/* =================================================================
   RESPONSIVE — SHARED
================================================================= */
@media(max-width:768px) {
    .sec {
        padding: 80px 0
    }
}