/* ===========================
   Loader Screen
   =========================== */
.loader {
    position: fixed;
    inset: 0;
    background: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    overflow: hidden;
    /* Failsafe: hide the loader even if JavaScript never runs (e.g. a blocked
       CDN or a slow mobile connection), so it can never trap the user. */
    animation: loaderFailsafe 0.7s ease 3s forwards;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes loaderFailsafe {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* Aurora background blobs */
.loader-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.loader-glow--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.13) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: lgPulse1 5s ease-in-out infinite;
}

.loader-glow--2 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.14) 0%, transparent 70%);
    top: 22%;
    left: 32%;
    animation: lgPulse2 6.5s ease-in-out infinite 1s;
}

.loader-glow--3 {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    top: 62%;
    left: 62%;
    animation: lgPulse3 4.8s ease-in-out infinite 0.5s;
}

@keyframes lgPulse1 {
    0%, 100% { transform: translate(-50%, -50%) scale(1);     opacity: 0.85; }
    50%       { transform: translate(-50%, -50%) scale(1.35); opacity: 1; }
}
@keyframes lgPulse2 {
    0%, 100% { transform: translate(0, 0) scale(1);           opacity: 0.75; }
    50%       { transform: translate(50px, -35px) scale(1.28); opacity: 1; }
}
@keyframes lgPulse3 {
    0%, 100% { transform: translate(0, 0) scale(1);           opacity: 0.65; }
    50%       { transform: translate(-40px, 28px) scale(1.22); opacity: 0.95; }
}

/* Center mark */
.loader-mark {
    position: relative;
    z-index: 1;
}

.loader-svg {
    width: 160px;
    height: 160px;
    overflow: visible;
}

/* Track (faint background circle) */
.lsvg-track {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1.5;
}

/* Outer ring — draws itself from 12 o'clock */
.lsvg-ring {
    fill: none;
    stroke: url(#lpg);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 339.3;
    stroke-dashoffset: 339.3;
    transform-box: fill-box;
    transform-origin: center;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.55));
    animation: lRingDraw 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Diamond — draws then spins slowly */
.lsvg-diamond {
    fill: rgba(124, 58, 237, 0.07);
    stroke: rgba(124, 58, 237, 0.5);
    stroke-width: 1.5;
    stroke-linejoin: round;
    stroke-dasharray: 215;
    stroke-dashoffset: 215;
    transform-box: fill-box;
    transform-origin: center;
    animation:
        lDiamondDraw 1.6s ease-out 0.25s forwards,
        lDiamondSpin 9s linear 1.85s infinite;
}

/* Center core — pulses */
.lsvg-core {
    fill: url(#lpg);
    transform-box: fill-box;
    transform-origin: center;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.7));
    animation: lCorePulse 2s ease-in-out infinite 0.4s;
}

@keyframes lRingDraw {
    0%   { stroke-dashoffset: 339.3; }
    55%  { stroke-dashoffset: 95; }
    100% { stroke-dashoffset: 0; }
}

@keyframes lDiamondDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes lDiamondSpin {
    to { transform: rotate(360deg); }
}

@keyframes lCorePulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.5); opacity: 0.75; }
}

/* ===========================
   NFC Welcome Overlay — v2
   =========================== */

.nfc-overlay {
    position: fixed;
    inset: 0;
    background: #050508;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nfc-overlay--active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.nfc-overlay--exit {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 1.1s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* Animated aurora background */
.nfc-overlay--active::before {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 60%, rgba(0, 212, 255, 0.55) 0%, transparent 55%),
        radial-gradient(ellipse 70% 60% at 80% 40%, rgba(124, 58, 237, 0.6) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 50% 80%, rgba(236, 72, 153, 0.45) 0%, transparent 50%);
    animation: nfcAurora 6s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

.nfc-overlay--active::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    animation: nfcGridFade 1.5s ease forwards;
}

@keyframes nfcAurora {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(3%, -4%) scale(1.05); }
    66%  { transform: translate(-4%, 3%) scale(0.97); }
    100% { transform: translate(2%, 2%) scale(1.03); }
}

@keyframes nfcGridFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Canvas — screen blend so black = transparent, particles add on top of aurora */
.nfc-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Mobile: disable expensive blend mode, simpler aurora */
@media (max-width: 768px) {
    .nfc-canvas { mix-blend-mode: normal; }
    .nfc-overlay--active::before {
        background:
            radial-gradient(ellipse 100% 70% at 50% 50%, rgba(0,212,255,0.2) 0%, transparent 65%),
            radial-gradient(ellipse 80% 50% at 80% 80%, rgba(124,58,237,0.25) 0%, transparent 60%);
        animation: none;
    }
    .nfc-overlay--active::after { display: none; }
}

/* Flash overlay — JS adds .nfc-flash--go to trigger */
.nfc-flash {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    z-index: 3;
    pointer-events: none;
}

.nfc-flash--go {
    animation: nfcFlash 0.55s ease-out forwards;
}

@keyframes nfcFlash {
    0%   { opacity: 0.55; }
    100% { opacity: 0; }
}

/* Ripple rings */
.nfc-ripple-wrap {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.nfc-ripple-wrap--hide {
    animation: nfcRippleExit 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes nfcRippleExit {
    to { opacity: 0; transform: scale(1.2); }
}

.nfc-ring {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: nfcRippleRing 2.2s cubic-bezier(0.15, 0.7, 0.3, 1) infinite;
}

.nfc-ring--1 {
    width: 72px; height: 72px;
    border: 3px solid #00d4ff;
    box-shadow: 0 0 18px 4px rgba(0,212,255,0.7), inset 0 0 12px rgba(0,212,255,0.3);
    animation-delay: 0s;
}
.nfc-ring--2 {
    width: 120px; height: 120px;
    border: 2.5px solid rgba(0,212,255,0.75);
    box-shadow: 0 0 22px 6px rgba(0,212,255,0.4);
    animation-delay: 0.36s;
}
.nfc-ring--3 {
    width: 172px; height: 172px;
    border: 2px solid rgba(124,58,237,0.65);
    box-shadow: 0 0 20px 4px rgba(124,58,237,0.4);
    animation-delay: 0.72s;
}
.nfc-ring--4 {
    width: 228px; height: 228px;
    border: 1.5px solid rgba(236,72,153,0.4);
    box-shadow: 0 0 16px 4px rgba(236,72,153,0.25);
    animation-delay: 1.08s;
}

@keyframes nfcRippleRing {
    0%   { opacity: 0;    transform: scale(0.35); }
    15%  { opacity: 1; }
    70%  { opacity: 0.4; }
    100% { opacity: 0;    transform: scale(1.1); }
}

/* Chip icon */
.nfc-chip-icon {
    position: relative;
    z-index: 2;
    color: #00d4ff;
    filter: drop-shadow(0 0 20px rgba(0,212,255,0.9)) drop-shadow(0 0 40px rgba(0,212,255,0.5));
    animation: nfcChipPulse 1.6s ease-in-out infinite;
}

@keyframes nfcChipPulse {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(0,212,255,0.7)) drop-shadow(0 0 30px rgba(0,212,255,0.4)); transform: scale(1); }
    50%       { filter: drop-shadow(0 0 30px rgba(0,212,255,1))   drop-shadow(0 0 60px rgba(0,212,255,0.7)); transform: scale(1.08); }
}

/* Content block */
.nfc-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 4;
    padding: 24px;
    text-align: center;
    opacity: 0;
    isolation: isolate;
}

/* Name wrap — GSAP animates individual letters */
.nfc-name-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.02em;
}

/* Individual letter — GSAP sets opacity:0 initially, animates in */
.nfc-letter {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 11vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    color: #fff;
    text-shadow:
        0 0 30px rgba(0, 212, 255, 1),
        0 0 70px rgba(0, 212, 255, 0.6),
        0 0 120px rgba(124, 58, 237, 0.4);
    will-change: transform, opacity;
    transform-origin: center bottom;
}

/* Gradient divider line — GSAP animates width and opacity */
.nfc-divider {
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #00d4ff, #7c3aed, transparent);
    border: none;
    margin: 0;
    opacity: 0;
}

/* Role — GSAP animates from opacity:0/y:20 */
.nfc-role {
    font-family: var(--font-main);
    font-size: clamp(0.75rem, 2.2vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}

/* Message — GSAP animates from opacity:0/y:20 */
.nfc-message {
    font-family: var(--font-main);
    font-size: clamp(1rem, 2.8vw, 1.2rem);
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 440px;
}

.nfc-message--reveal {
    animation: nfcFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nfc-message-highlight {
    color: #00d4ff;
    font-weight: 600;
    text-shadow: 0 0 16px rgba(0,212,255,0.6);
}

/* CTA button */
.nfc-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0,212,255,0.4), 0 0 60px rgba(124,58,237,0.2);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.nfc-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nfc-cta:hover::before { opacity: 1; }

.nfc-cta:hover {
    box-shadow: 0 0 50px rgba(0,212,255,0.6), 0 0 90px rgba(124,58,237,0.35);
    transform: translateY(-3px) scale(1.03);
}

.nfc-cta--reveal {
    animation: nfcCtaIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes nfcCtaIn {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Shared fade-up */
@keyframes nfcFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Skip button */
.nfc-skip {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: rgba(255,255,255,0.35);
    font-family: var(--font-main);
    font-size: 0.78rem;
    padding: 6px 14px;
    cursor: pointer;
    z-index: 4;
    letter-spacing: 0.05em;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    opacity: 0;
    animation: nfcFadeUp 0.5s ease 0.8s forwards;
}

.nfc-skip:hover {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08);
}

/* Mobile */
@media (max-width: 480px) {
    .nfc-ripple-wrap { width: 170px; height: 170px; }
    .nfc-ring--4 { width: 190px; height: 190px; }
    .nfc-content { gap: 18px; padding: 16px; }
    .nfc-cta { width: 100%; justify-content: center; padding: 16px 24px; }
    .nfc-skip { top: 14px; right: 14px; }
}

/* ===========================
   Custom Cursor
   =========================== */
.cursor,
.cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor.hover {
    width: 4px;
    height: 4px;
    background: var(--accent-purple);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 212, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(124, 58, 237, 0.5);
}

@media (max-width: 768px) {

    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* ===========================
   Hero Glitch Effect
   =========================== */
.hero-name.glitch {
    position: relative;
}

.hero-name.glitch::before,
.hero-name.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
}

.hero-name.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-cyan);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.hero-name.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--accent-purple), 2px 2px var(--accent-pink);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
        transform: skew(0.5deg);
    }

    5% {
        clip: rect(70px, 9999px, 71px, 0);
        transform: skew(0.4deg);
    }

    10% {
        clip: rect(29px, 9999px, 24px, 0);
        transform: skew(0.6deg);
    }

    15% {
        clip: rect(69px, 9999px, 64px, 0);
        transform: skew(0.8deg);
    }

    20% {
        clip: rect(14px, 9999px, 95px, 0);
        transform: skew(0.2deg);
    }

    25% {
        clip: rect(18px, 9999px, 52px, 0);
        transform: skew(0.3deg);
    }

    30% {
        clip: rect(77px, 9999px, 35px, 0);
        transform: skew(0.5deg);
    }

    35% {
        clip: rect(1px, 9999px, 97px, 0);
        transform: skew(0.7deg);
    }

    40% {
        clip: rect(23px, 9999px, 67px, 0);
        transform: skew(0.1deg);
    }

    45% {
        clip: rect(58px, 9999px, 42px, 0);
        transform: skew(0.4deg);
    }

    50% {
        clip: rect(86px, 9999px, 23px, 0);
        transform: skew(0.6deg);
    }

    55% {
        clip: rect(45px, 9999px, 88px, 0);
        transform: skew(0.2deg);
    }

    60% {
        clip: rect(32px, 9999px, 15px, 0);
        transform: skew(0.9deg);
    }

    65% {
        clip: rect(91px, 9999px, 73px, 0);
        transform: skew(0.3deg);
    }

    70% {
        clip: rect(6px, 9999px, 49px, 0);
        transform: skew(0.5deg);
    }

    75% {
        clip: rect(82px, 9999px, 31px, 0);
        transform: skew(0.7deg);
    }

    80% {
        clip: rect(17px, 9999px, 86px, 0);
        transform: skew(0.1deg);
    }

    85% {
        clip: rect(53px, 9999px, 27px, 0);
        transform: skew(0.4deg);
    }

    90% {
        clip: rect(71px, 9999px, 59px, 0);
        transform: skew(0.6deg);
    }

    95% {
        clip: rect(38px, 9999px, 92px, 0);
        transform: skew(0.2deg);
    }

    100% {
        clip: rect(64px, 9999px, 12px, 0);
        transform: skew(0.8deg);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
        transform: skew(0.3deg);
    }

    5% {
        clip: rect(12px, 9999px, 48px, 0);
        transform: skew(0.6deg);
    }

    10% {
        clip: rect(83px, 9999px, 21px, 0);
        transform: skew(0.1deg);
    }

    15% {
        clip: rect(37px, 9999px, 79px, 0);
        transform: skew(0.8deg);
    }

    20% {
        clip: rect(92px, 9999px, 56px, 0);
        transform: skew(0.4deg);
    }

    25% {
        clip: rect(28px, 9999px, 34px, 0);
        transform: skew(0.7deg);
    }

    30% {
        clip: rect(54px, 9999px, 89px, 0);
        transform: skew(0.2deg);
    }

    35% {
        clip: rect(9px, 9999px, 67px, 0);
        transform: skew(0.5deg);
    }

    40% {
        clip: rect(76px, 9999px, 43px, 0);
        transform: skew(0.9deg);
    }

    45% {
        clip: rect(21px, 9999px, 95px, 0);
        transform: skew(0.3deg);
    }

    50% {
        clip: rect(61px, 9999px, 17px, 0);
        transform: skew(0.6deg);
    }

    55% {
        clip: rect(4px, 9999px, 72px, 0);
        transform: skew(0.1deg);
    }

    60% {
        clip: rect(89px, 9999px, 38px, 0);
        transform: skew(0.8deg);
    }

    65% {
        clip: rect(33px, 9999px, 84px, 0);
        transform: skew(0.4deg);
    }

    70% {
        clip: rect(97px, 9999px, 26px, 0);
        transform: skew(0.7deg);
    }

    75% {
        clip: rect(15px, 9999px, 61px, 0);
        transform: skew(0.2deg);
    }

    80% {
        clip: rect(72px, 9999px, 47px, 0);
        transform: skew(0.5deg);
    }

    85% {
        clip: rect(41px, 9999px, 93px, 0);
        transform: skew(0.9deg);
    }

    90% {
        clip: rect(8px, 9999px, 55px, 0);
        transform: skew(0.3deg);
    }

    95% {
        clip: rect(68px, 9999px, 13px, 0);
        transform: skew(0.6deg);
    }

    100% {
        clip: rect(25px, 9999px, 78px, 0);
        transform: skew(0.1deg);
    }
}

/* ===========================
   Magnetic Button Effect
   =========================== */
.magnetic {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.magnetic span {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===========================
   Hero Parallax Layer
   =========================== */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    transition: transform 0.1s ease-out;
}

/* ===========================
   Enhanced Particles
   =========================== */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ===========================
   Scroll Progress Bar
   =========================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-main);
    z-index: 10001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* ===========================
   Back to Top Button
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

/* ===========================
   Trust/Guarantees Section
   =========================== */
.trust-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }

    .trust-card {
        padding: 24px;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .trust-icon {
        margin: 0;
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .trust-card h3 {
        margin-bottom: 4px;
        font-size: 1rem;
    }

    .trust-card p {
        font-size: 0.85rem;
    }

    .trust-card-content {
        flex: 1;
    }
}

.trust-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.trust-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.trust-card:hover::before {
    transform: scaleX(1);
}

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

@media (max-width: 480px) {
    .trust-card {
        padding: 24px 20px;
    }

    .trust-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.trust-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.trust-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===========================
   Pricing Table
   =========================== */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

@media (max-width: 991px) {
    .pricing-grid {
        display: flex;
        overflow-x: auto;
        padding: 20px 24px;
        margin-left: -24px;
        margin-right: -24px;
        gap: 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .pricing-card {
        flex: 0 0 300px;
        scroll-snap-align: center;
        transform: none !important;
        /* Disable scale to avoid clipping in scroll */
        margin-bottom: 20px;
    }

    .pricing-card.featured {
        box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    }
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    transition: all var(--transition-smooth);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-cyan);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

.pricing-card.featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: white;
    padding: 6px 20px;
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.pricing-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-8px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.pricing-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-cyan);
    font-weight: 700;
}

/* ===========================
   Email Popup
   =========================== */
.email-popup {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 28px;
    max-width: 360px;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    backdrop-filter: blur(20px);
}

.email-popup.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.email-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    transition: color var(--transition-fast);
}

.email-popup-close:hover {
    color: var(--text-primary);
}

.email-popup h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.email-popup p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.email-popup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.email-popup-form input {
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.email-popup-form input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.email-popup-form button {
    padding: 12px 20px;
}

/* ===========================
   Additional CTAs
   =========================== */
.cta-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-cyan);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.cta-inline:hover {
    gap: 12px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--accent-cyan);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
}

/* ===========================
   Counter Animation Enhancement
   =========================== */
.stat {
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width var(--transition-smooth);
}

.stat:hover::after {
    width: 60%;
}

/* ===========================
   Design System & Variables
   =========================== */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #f0f0f5;
    --text-secondary: #8a8a9a;
    --text-muted: #55556a;
    --accent-cyan: #00d4ff;
    --accent-purple: #7c3aed;
    --accent-pink: #ec4899;
    --gradient-main: linear-gradient(135deg, #00d4ff, #7c3aed);
    --gradient-hover: linear-gradient(135deg, #7c3aed, #ec4899);
    --gradient-bg: linear-gradient(180deg, #0a0a0f 0%, #12121a 50%, #0a0a0f 100%);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 212, 255, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===========================
   Reset & Base
   =========================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
}

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

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

/* ===========================
   Utilities
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===========================
   Navbar
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-bracket {
    color: var(--accent-cyan);
    font-weight: 400;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width var(--transition-smooth);
    border-radius: 1px;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 8px 20px !important;
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast) !important;
}

.nav-cta:hover {
    background: var(--bg-card-hover) !important;
    border-color: var(--accent-cyan) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
    border-radius: 1px;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    margin-left: 16px;
    z-index: 1002;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar.scrolled .lang-dropdown {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}

.lang-dropbtn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 8px 14px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-dropbtn:hover {
    border-color: var(--accent-cyan);
    background: var(--bg-card-hover);
}

.lang-dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    min-width: 140px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-smooth);
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.lang-dropdown.active .lang-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-content button {
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-dropdown-content button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-cyan);
}

.lang-dropdown-content button.active {
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    z-index: 0;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-2%, 2%) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(12px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.hero-greeting {
    display: block;
    font-family: var(--font-main);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.hero-name {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #7c3aed 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shiftGradient 6s ease-in-out infinite;
    margin-bottom: 4px;
}

@keyframes shiftGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.cursor-blink {
    -webkit-text-fill-color: var(--accent-cyan);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.hero-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 24px rgba(0, 212, 255, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        height: 40px;
    }

    50% {
        opacity: 1;
        height: 60px;
    }
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ===========================
   Sectors Section
   =========================== */
.sectors-section {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.sectors-title {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sectors-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.sector-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.6;
    transition: all var(--transition-smooth);
}

.sector-item:hover {
    opacity: 1;
}

.sector-item svg {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.sector-item:hover svg {
    color: var(--accent-cyan);
}

.sector-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .sectors-grid {
        gap: 32px;
    }

    .sector-item svg {
        width: 24px;
        height: 24px;
    }

    .sector-item span {
        font-size: 0.8rem;
    }
}

/* ===========================
   Services
   =========================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 212, 255, 0.05);
}

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

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 255, 0.08);
    color: var(--accent-cyan);
    margin-bottom: 24px;
    transition: all var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: rgba(0, 212, 255, 0.15);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.service-tags span {
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent-purple);
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.service-arrow {
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: all var(--transition-smooth);
}

.service-card:hover .service-arrow {
    color: var(--accent-cyan);
    transform: translate(4px, -4px);
}

/* ===========================
   Portfolio
   =========================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.portfolio-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
    cursor: default;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 212, 255, 0.05);
    border-color: var(--border-glow);
}

.portfolio-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    transition: transform var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.portfolio-card:hover .portfolio-placeholder {
    transform: scale(1.05);
}

/* ===========================
   Portfolio Card Covers
   =========================== */

.card-mock {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 22px;
    background: #0a0a14;
    transition: transform var(--transition-smooth);
}

/* soft single-color glow per project */
.card-mock::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 80%;
    top: -20%;
    right: -14%;
    background: radial-gradient(circle at center, var(--accent, #00d4ff) 0%, transparent 68%);
    opacity: 0.28;
    transition: opacity 0.5s ease, transform 0.6s ease;
    pointer-events: none;
}

.portfolio-card:hover .card-mock::before {
    opacity: 0.45;
    transform: scale(1.2) translate(-6%, 8%);
}

/* fine grid texture */
.card-mock::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.mock-index {
    position: relative;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.4);
}

.mock-index::before {
    content: '/ ';
    color: var(--accent, #00d4ff);
}

.mock-foot {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.mock-name {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.05rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.mock-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.4s ease;
}

.portfolio-card:hover .mock-arrow {
    color: #0a0a14;
    background: var(--accent, #00d4ff);
    border-color: var(--accent, #00d4ff);
    box-shadow: 0 8px 24px -6px var(--accent, #00d4ff);
    transform: rotate(-45deg);
}

.card-mock--shop  { --accent: #ff6b35; }
.card-mock--chat  { --accent: #25d366; }
.card-mock--vip   { --accent: #a855f7; }
.card-mock--pay   { --accent: #38bdf8; }
.card-mock--tour  { --accent: #f5a623; }
.card-mock--trade { --accent: #00e676; }
.card-mock--voice { --accent: #00d4ff; }
.card-mock--dash  { --accent: #818cf8; }


.gym-placeholder {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #e94560 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.gym-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(233, 69, 96, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(15, 52, 96, 0.5) 0%, transparent 50%);
    animation: floatGlow 6s ease-in-out infinite;
}

.time-placeholder {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 25%, #415a77 50%, #778da9 100%);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
}

.time-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(119, 141, 169, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(65, 90, 119, 0.4) 0%, transparent 40%);
    animation: floatGlow 8s ease-in-out infinite reverse;
}

.saas-placeholder {
    background: linear-gradient(135deg, #10002b 0%, #240046 25%, #3c096c 50%, #5a189a 100%);
    background-size: 400% 400%;
    animation: gradientShift 9s ease infinite;
}

.saas-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 0%, rgba(90, 24, 154, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(60, 9, 108, 0.5) 0%, transparent 50%);
    animation: floatGlow 7s ease-in-out infinite;
}

.web-placeholder {
    background: linear-gradient(135deg, #03071e 0%, #370617 25%, #6a040f 50%, #9d0208 100%);
    background-size: 400% 400%;
    animation: gradientShift 11s ease infinite;
}

.web-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 50%, rgba(157, 2, 8, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(106, 4, 15, 0.4) 0%, transparent 50%);
    animation: floatGlow 9s ease-in-out infinite reverse;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes floatGlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-5%, 5%);
    }
}

.web-gradient {
    background: linear-gradient(135deg, #0f172a, #1e40af, #3b82f6);
}

.saas-gradient {
    background: linear-gradient(135deg, #0f172a, #1e3a5f, #0ea5e9);
}

.app1-gradient {
    background: linear-gradient(135deg, #1a0533, #4c1d95, #7c3aed);
}

.app2-gradient {
    background: linear-gradient(135deg, #1a0a2e, #831843, #ec4899);
}

.portfolio-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
}

.portfolio-badge {
    padding: 4px 14px;
    border-radius: var(--radius-xl);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.portfolio-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.portfolio-info p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-tech span {
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 255, 0.06);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

/* ===========================
   About
   =========================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-tag {
    display: block;
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--text-primary);
}

.about-sectors {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.sector-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    transition: all var(--transition-fast);
}

.sector-tag:hover {
    background: rgba(0, 212, 255, 0.15);
    transform: translateY(-2px);
}

/* ===========================
   Testimonials
   =========================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-smooth);
}

.testimonial-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.testimonial-stars {
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===========================
   Process Timeline
   =========================== */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 48px auto 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple));
}

.process-step {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    position: relative;
}

.process-number {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: var(--bg-primary);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-cyan);
    position: relative;
    z-index: 1;
}

.process-content {
    flex: 1;
    padding-top: 8px;
}

.process-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.process-time {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    color: var(--accent-cyan);
}

/* ===========================
   Clients Section
   =========================== */
.clients-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.clients-title {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
}

.clients-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.client-logo {
    padding: 16px 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    opacity: 0.7;
    transition: all var(--transition-smooth);
}

.client-logo:hover {
    opacity: 1;
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.client-logo span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ===========================
   About Skills
   =========================== */
.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 32px;
}

.skill-pill {
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.skill-pill:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
}

.about-visual {
    position: relative;
    height: 420px;
}

.about-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.code-window {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-subtle);
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dot.red {
    background: #ff5f57;
}

.code-dot.yellow {
    background: #ffbd2e;
}

.code-dot.green {
    background: #28c840;
}

.code-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.code-body {
    padding: 20px;
    font-size: 0.85rem;
    line-height: 1.7;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    overflow: hidden;
}

.code-keyword {
    color: #c792ea;
}

.code-var {
    color: #82aaff;
}

.code-prop {
    color: #89ddff;
}

.code-string {
    color: #c3e88d;
}

.code-number {
    color: #f78c6c;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: var(--glass-shadow);
    z-index: 2;
}

.card-emoji {
    font-size: 1.2rem;
}

.card-1 {
    top: 0;
    right: 10px;
    animation: float1 6s ease-in-out infinite;
}

.card-2 {
    top: 60px;
    left: -10px;
    animation: float2 7s ease-in-out infinite;
}

.card-3 {
    top: 120px;
    right: -10px;
    animation: float3 5s ease-in-out infinite;
}

@keyframes float1 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ===========================
   FAQ Section
   =========================== */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--border-glow);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-cyan);
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-smooth), color var(--transition-fast);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.06), transparent 70%);
}

.cta-content {
    text-align: center;
    position: relative;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

/* ===========================
   Footer
   =========================== */
.footer {
    padding: 48px 0 24px;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
}

.footer-brand p {
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ===========================
   WhatsApp Float
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-fast), opacity 0.3s ease, transform 0.3s ease;
    animation: whatsappPulse 3s ease-in-out infinite;
}

/* Hidden while the hero (with its own WhatsApp CTAs) is in view, so the
   fixed floating button never overlaps the hero's audit banner while
   scrolling past it. */
.whatsapp-float.wf-hidden {
    opacity: 0;
    transform: scale(0.6);
    pointer-events: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.08);
    }
}

/* ===========================
   AI Chat Widget (demo)
   =========================== */
.chat-widget-toggle {
    position: fixed;
    bottom: 28px;
    right: 100px;
    width: 60px;
    height: 60px;
    background: var(--gradient-main);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
    z-index: 999;
    transition: all var(--transition-fast), opacity 0.3s ease, transform 0.3s ease;
}

.chat-widget-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.45);
}

.chat-widget-toggle.wf-hidden {
    opacity: 0;
    transform: scale(0.6);
    pointer-events: none;
}

.chat-widget-badge {
    position: absolute;
    top: -6px;
    left: -6px;
    background: var(--accent-pink);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.chat-widget-panel {
    position: fixed;
    bottom: 100px;
    right: 100px;
    width: 360px;
    max-width: calc(100vw - 40px);
    height: 480px;
    max-height: calc(100vh - 140px);
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.chat-widget-panel.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-widget-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: var(--gradient-main);
    flex-shrink: 0;
}

.chat-widget-header-text h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #06060a;
    margin: 0 0 2px;
}

.chat-widget-header-text p {
    font-size: 0.72rem;
    color: rgba(6, 6, 10, 0.75);
    margin: 0;
    line-height: 1.3;
}

.chat-widget-close {
    background: none;
    border: none;
    color: #06060a;
    cursor: pointer;
    opacity: 0.7;
    padding: 2px;
    flex-shrink: 0;
    transition: opacity var(--transition-fast);
}

.chat-widget-close:hover {
    opacity: 1;
}

.chat-widget-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-msg {
    max-width: 85%;
    padding: 9px 13px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    line-height: 1.45;
    word-wrap: break-word;
}

.chat-msg-assistant {
    align-self: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-msg-user {
    align-self: flex-end;
    background: var(--gradient-main);
    color: #06060a;
    font-weight: 500;
    border-bottom-right-radius: 4px;
}

.chat-msg-typing {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    border-bottom-left-radius: 4px;
}

.chat-msg-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: chatTypingDot 1.2s ease-in-out infinite;
}

.chat-msg-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-msg-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes chatTypingDot {

    0%,
    60%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.chat-widget-disclaimer {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    padding: 6px 14px 0;
    flex-shrink: 0;
}

.chat-widget-form {
    display: flex;
    gap: 8px;
    padding: 12px 14px 14px;
    flex-shrink: 0;
}

.chat-widget-input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.85rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.chat-widget-input:focus {
    border-color: var(--accent-cyan);
}

.chat-widget-send {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    background: var(--gradient-main);
    border: none;
    border-radius: var(--radius-md);
    color: #06060a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.chat-widget-send:hover {
    transform: scale(1.06);
}

.chat-widget-send:disabled {
    opacity: 0.5;
    cursor: default;
    transform: none;
}

@media (max-width: 768px) {
    .chat-widget-toggle {
        right: 20px;
        bottom: 96px;
    }

    .chat-widget-panel {
        right: 20px;
        left: 20px;
        width: auto;
        bottom: 96px;
        height: 65vh;
    }
}

/* ===========================
   Animations
   =========================== */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-in:nth-child(1) {
    animation-delay: 0.1s;
}

.animate-in:nth-child(2) {
    animation-delay: 0.2s;
}

.animate-in:nth-child(3) {
    animation-delay: 0.35s;
}

.animate-in:nth-child(4) {
    animation-delay: 0.5s;
}

.animate-in:nth-child(5) {
    animation-delay: 0.65s;
}

.animate-in:nth-child(6) {
    animation-delay: 0.8s;
}

.animate-in:nth-child(7) {
    animation-delay: 0.95s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .about-skills {
        justify-content: center;
    }

    .about-content .btn {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
        padding: 120px 48px;
        clip-path: circle(0% at calc(100% - 45px) 45px);
        transition: clip-path 0.7s cubic-bezier(0.76, 0, 0.24, 1);
        z-index: 998;
        overflow: hidden;
    }

    .nav-links::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background:
            radial-gradient(ellipse at 30% 20%, rgba(0, 212, 255, 0.12) 0%, transparent 50%),
            radial-gradient(ellipse at 70% 80%, rgba(124, 58, 237, 0.12) 0%, transparent 50%);
        animation: menuGradientMove 8s ease infinite;
        pointer-events: none;
    }

    @keyframes menuGradientMove {

        0%,
        100% {
            transform: translate(0, 0) rotate(0deg);
        }

        50% {
            transform: translate(-5%, 5%) rotate(3deg);
        }
    }

    .nav-links.active {
        clip-path: circle(150% at calc(100% - 45px) 45px);
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(40px) rotateX(-20deg);
        transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1);
        transform-origin: left center;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }

    .nav-links.active li:nth-child(1) {
        transition-delay: 0.15s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.22s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.29s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.36s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.43s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.50s;
    }

    .nav-links a {
        display: flex;
        align-items: center;
        padding: 18px 0;
        font-size: 2.2rem;
        font-weight: 700;
        color: var(--text-primary);
        position: relative;
        transition: all 0.3s ease;
        font-family: var(--font-display);
        letter-spacing: -0.02em;
    }

    .nav-links a::before {
        content: attr(data-number);
        position: absolute;
        left: -40px;
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--accent-cyan);
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
        font-family: var(--font-body);
    }

    .nav-links a:hover::before,
    .nav-links a.active::before {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 10px;
        left: 0;
        width: 0;
        height: 3px;
        background: var(--gradient-main);
        transition: width 0.4s cubic-bezier(0.76, 0, 0.24, 1);
        border-radius: 2px;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
        width: 80px;
    }

    .nav-links a:hover {
        color: var(--accent-cyan);
        transform: translateX(10px);
    }

    .nav-links .nav-cta {
        margin-top: 30px;
        padding: 18px 36px;
        background: var(--gradient-main);
        border-radius: var(--radius-xl);
        font-size: 1.1rem;
        width: auto;
    }

    .nav-links .nav-cta:hover {
        transform: translateX(10px) scale(1.02);
        box-shadow: 0 15px 50px rgba(0, 212, 255, 0.4);
    }

    .nav-links .nav-cta::after,
    .nav-links .nav-cta::before {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        width: 54px;
        height: 54px;
        background: transparent;
        border: none;
        border-radius: 50%;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-toggle::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .nav-toggle:hover::before {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(1.1);
    }

    .nav-toggle span {
        width: 24px;
        height: 2.5px;
        background: var(--text-primary);
        border-radius: 3px;
        transition: all 0.4s cubic-bezier(0.76, 0, 0.24, 1);
        transform-origin: center;
        position: relative;
        z-index: 1;
    }

    .nav-toggle.active::before {
        background: rgba(0, 212, 255, 0.15);
        border-color: rgba(0, 212, 255, 0.3);
        transform: rotate(180deg);
    }

    .nav-toggle.active span {
        background: var(--accent-cyan);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .mobile-menu-footer {
        position: absolute;
        bottom: 40px;
        left: 48px;
        right: 48px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease 0.5s;
    }

    .nav-links.active~.mobile-menu-footer,
    .mobile-menu-footer.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-footer span {
        font-size: 0.85rem;
        color: var(--text-muted);
    }

    .mobile-menu-social {
        display: flex;
        gap: 16px;
    }

    .lang-dropdown {
        position: absolute;
        top: 24px;
        right: 80px;
        margin-left: 0;
        z-index: 1002;
    }

    /* Keep the language switcher usable on mobile even after scrolling.
       The global ".navbar.scrolled .lang-dropdown" rule hides it (opacity:0 +
       pointer-events:none); on mobile that left the only language control dead
       as soon as the user scrolled 50px. Re-enable it here. */
    .navbar.scrolled .lang-dropdown {
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .mobile-menu-social a {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--glass-border);
        border-radius: 50%;
        color: var(--text-secondary);
        transition: all 0.3s ease;
    }

    .mobile-menu-social a:hover {
        background: var(--accent-cyan);
        color: var(--bg-primary);
        transform: translateY(-3px);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        left: 24px;
    }

    .process-number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .process-step {
        gap: 20px;
    }

    .clients-logos {
        gap: 16px;
    }

    .client-logo {
        padding: 12px 20px;
    }

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

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        padding-top: 100px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .about-visual {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .portfolio-image {
        height: 180px;
    }
}

/* ===========================
   Page Hero (multi-page)
   =========================== */
.page-hero {
    padding: 160px 0 80px;
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===========================
   Service Detail Page
   =========================== */
.service-detail {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 48px;
    align-items: start;
}

.service-detail-icon {
    width: 120px;
    height: 120px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
}

.service-detail-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.service-detail-content>p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.feature-icon {
    color: var(--accent-cyan);
    font-weight: 700;
}

.service-tech,
.service-price {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.service-tech span,
.service-price span {
    color: var(--text-muted);
}

.service-price strong {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

/* ===========================
   Portfolio Full Grid
   =========================== */
.portfolio-grid-full {
    grid-template-columns: repeat(3, 1fr);
}

.portfolio-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.portfolio-features span {
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

/* ===========================
   Skills Grid
   =========================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.skill-category h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--accent-cyan);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.skill-bar {
    height: 6px;
    background: var(--glass-border);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 3px;
    transition: width 1s ease;
}

/* ===========================
   Values Grid
   =========================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition-smooth);
}

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

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===========================
   Contact Page
   =========================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.contact-method:hover {
    border-color: var(--border-glow);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-weight: 600;
    color: var(--text-primary);
}

.contact-availability {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-md);
}

.availability-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===========================
   Contact Form
   =========================== */
.contact-form-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
}

.contact-form button {
    grid-column: span 2;
    margin-top: 8px;
}

/* ===========================
   Success Modal
   =========================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 48px 64px;
    text-align: center;
    animation: modalIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

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

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 24px;
}

.modal-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ===========================
   Section CTA
   =========================== */
.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===========================
   Restaurant & Hotel Placeholders
   =========================== */
.restaurant-placeholder {
    background: linear-gradient(135deg, #1a0a0a 0%, #3d1515 25%, #8b2525 50%, #d44545 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

.hotel-placeholder {
    background: linear-gradient(135deg, #0a1a1a 0%, #153d3d 25%, #1a4d4d 50%, #2d8b8b 100%);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
}

/* ===========================
   Responsive Multi-page
   =========================== */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-detail-icon {
        width: 80px;
        height: 80px;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width,
    .contact-form button {
        grid-column: span 1;
    }

    .portfolio-grid-full {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Blog Styles
   =========================== */
.blog-hero {
    padding: 160px 0 80px;
    text-align: center;
}

.blog-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.blog-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.blog-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(0, 212, 255, 0.1) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image::before {
    transform: translateX(100%);
}

.blog-card-content {
    padding: 24px;
}

.blog-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.blog-card-category {
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card-date {
    color: var(--text-muted);
}

.blog-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-card:hover h3 {
    color: var(--accent-cyan);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 12px;
}

.blog-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-link svg {
    transform: translateX(4px);
}

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

/* ===========================
   Price Calculator
   =========================== */
.calculator {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.calculator-options {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.calc-group label {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.calc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.calc-btn {
    padding: 12px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
}

.calc-btn.active {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    border-color: transparent;
    color: var(--bg-primary);
}

.calc-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.calc-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.calc-checkbox:hover {
    border-color: var(--accent-cyan);
}

.calc-checkbox input {
    display: none;
}

.calc-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--glass-border);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.calc-checkbox input:checked+.checkmark {
    background: var(--gradient-main);
    border-color: transparent;
}

.calc-checkbox input:checked+.checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--bg-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.calc-checkbox input:checked~span:last-child {
    color: var(--text-primary);
}

.calculator-result {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--glass-border);
}

.calc-price-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.calc-price {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.calc-disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .calculator {
        padding: 24px;
    }

    .calc-buttons {
        flex-direction: column;
    }

    .calc-btn {
        text-align: center;
    }

    .calc-checkboxes {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Case Study
   =========================== */
.case-study {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
    margin-top: 32px;
}

.case-study-intro {
    text-align: center;
    margin-bottom: 48px;
}

.case-study-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.case-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(124, 58, 237, 0.2));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.case-study-hero h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
}

.case-study-hero p {
    color: var(--text-secondary);
    max-width: 500px;
}

.case-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.case-tech span {
    padding: 6px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.case-block {
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.case-block h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.case-block p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.case-process {
    list-style: none;
    padding: 0;
}

.case-process li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--glass-border);
}

.case-process li:last-child {
    border-bottom: none;
}

.case-process strong {
    color: var(--accent-cyan);
}

.case-metrics {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}

.metric {
    text-align: center;
    flex: 1;
}

.metric-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.case-study-features {
    margin-bottom: 48px;
}

.case-study-features h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

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

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.feature-item .feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.case-testimonial {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(124, 58, 237, 0.05));
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.case-testimonial blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.case-testimonial cite {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .case-study {
        padding: 24px;
    }

    .case-study-grid {
        grid-template-columns: 1fr;
    }

    .case-metrics {
        flex-direction: column;
        gap: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Hero "Free Audit" button
   =========================== */
.btn-audit {
    position: relative;
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.35);
    animation: auditPulse 3s ease-in-out infinite;
}

.btn-audit:hover {
    background: rgba(0, 212, 255, 0.08);
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
}

@keyframes auditPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.30); }
    50% { box-shadow: 0 0 22px 2px rgba(0, 212, 255, 0.18); }
}

@media (prefers-reduced-motion: reduce) {
    .btn-audit { animation: none; }
}

/* ===========================
   GEO / AI Positioning Section
   =========================== */
.geo-compare {
    max-width: 920px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.geo-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 0.95rem;
}

.geo-table th,
.geo-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: top;
    color: var(--text-secondary);
}

.geo-table thead th {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    letter-spacing: 0.2px;
}

.geo-table tbody tr:last-child td {
    border-bottom: none;
}

.geo-row-label {
    color: var(--text-primary);
    font-weight: 600;
}

.geo-col-highlight {
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.07), rgba(124, 58, 237, 0.07));
    color: var(--text-primary);
}

.geo-table thead .geo-col-highlight {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(124, 58, 237, 0.18));
    border-top-right-radius: var(--radius-lg);
}

/* ===========================
   Portfolio metric badge
   =========================== */
.portfolio-metric {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 4px 0 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-glow);
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.85rem;
}

.portfolio-metric .metric-arrow {
    font-size: 0.95rem;
    line-height: 1;
}

/* ===========================
   FAQ Section
   =========================== */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: border-color var(--transition-fast), background var(--transition-fast);
    overflow: hidden;
}

.faq-item[open] {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-glow);
    color: var(--accent-cyan);
    font-size: 1.25rem;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
    content: '–';
    transform: rotate(180deg);
}

.faq-item p {
    padding: 0 24px 22px;
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   Blog Article (single post)
   =========================== */
.article-meta {
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-body {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.06rem;
    line-height: 1.8;
}

.article-body h2 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-size: 1.6rem;
    line-height: 1.25;
    margin: 44px 0 16px;
}

.article-body h3 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-size: 1.25rem;
    margin: 0 0 12px;
}

.article-body p {
    margin: 0 0 18px;
}

.article-body strong {
    color: var(--text-primary);
}

.article-body code {
    font-family: 'Courier New', monospace;
    font-size: 0.92em;
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid var(--border-glow);
    border-radius: 6px;
    padding: 1px 6px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 22px;
    padding-left: 22px;
}

.article-body li {
    margin-bottom: 12px;
}

.article-body li::marker {
    color: var(--accent-cyan);
}

.article-cta {
    margin: 48px 0 32px;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glow);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(124, 58, 237, 0.06));
    text-align: center;
}

.article-cta h3 {
    margin-bottom: 10px;
}

.article-cta p {
    margin-bottom: 22px;
}

.article-back {
    margin-top: 36px;
}

.article-back a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
}

.article-back a:hover {
    text-decoration: underline;
}

/* Featured blog card */
.blog-card--featured {
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 32px rgba(0, 212, 255, 0.10);
}

.blog-card--featured .blog-image {
    position: relative;
}

.blog-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--gradient-main);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ===========================
   Company hero headline + audit banner
   =========================== */
.hero-headline {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6.2vw, 4.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    max-width: 16ch;
    margin: 0 auto;
}

.hero-audit-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: -36px auto 56px;
    padding: 11px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 58, 237, 0.08));
    border: 1px solid var(--border-glow);
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.hero-audit-banner:hover {
    border-color: var(--accent-cyan);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.14), rgba(124, 58, 237, 0.14));
    transform: translateY(-2px);
}

.hero-audit-banner strong {
    color: var(--accent-cyan);
    font-weight: 700;
}

.hero-audit-icon {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.hero-audit-arrow {
    color: var(--accent-cyan);
    font-weight: 700;
    transition: transform var(--transition-fast);
}

.hero-audit-banner:hover .hero-audit-arrow {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .hero-audit-banner {
        margin: -16px auto 48px;
        font-size: 0.82rem;
        padding: 10px 16px;
    }
}

/* ===========================
   Secure AI Implementation Section
   =========================== */
.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.ai-media img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 60px rgba(0, 212, 255, 0.12));
}

.ai-content .section-tag {
    display: block;
    margin-bottom: 14px;
}

.ai-content .section-title {
    text-align: left;
}

.ai-content .section-subtitle {
    text-align: left;
    margin: 0 0 28px;
}

.ai-features {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ai-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ai-features .ai-check {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 255, 0.07);
    border: 1px solid var(--border-glow);
    font-size: 1.1rem;
}

.ai-features strong {
    color: var(--text-primary);
}

@media (max-width: 860px) {
    .ai-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ai-media {
        max-width: 420px;
        margin: 0 auto;
        order: -1;
    }

    .ai-content .section-title,
    .ai-content .section-subtitle {
        text-align: center;
    }

    .ai-content .section-tag {
        text-align: center;
    }
}

/* ===========================
   Blog cover image
   =========================== */
.blog-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    line-height: 0;
}

.blog-cover {
    width: 100%;
    height: auto;
    display: block;
}

/* Article hero cover */
.article-cover {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 8px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    line-height: 0;
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
}
