/* ============================================================
   CODIUMX — Ultra Premium Visual Theme
   Bold · Colorful · Alive — Every Section Has Personality
   ============================================================ */

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

:root {
    --bg-primary:    #1a1a2e;
    --bg-secondary:  #16162a;
    --bg-elevated:   #1f1f36;
    --bg-card:       #22223a;
    --bg-card-hover: #2a2a48;

    --text-primary:   #f0f0ff;
    --text-secondary: #b0b0cc;
    --text-muted:     #6a6a8a;

    --border-color:   rgba(255, 255, 255, 0.08);
    --border-light:   rgba(255, 255, 255, 0.12);

    /* VIBRANT Colors */
    --purple:    #8b5cf6;
    --blue:      #3b82f6;
    --cyan:      #06b6d4;
    --pink:      #ec4899;
    --orange:    #f97316;
    --green:     #10b981;
    --red:       #ef4444;
    --yellow:    #fbbf24;

    --gradient-hero:  linear-gradient(135deg, #1a1a2e 0%, #0f172a 30%, #1e1b4b 60%, #1a1a2e 100%);
    --gradient-btn:   linear-gradient(135deg, #7c3aed, #2563eb, #06b6d4);
    --gradient-text:  linear-gradient(135deg, #c084fc, #60a5fa, #22d3ee);
    --gradient-hot:   linear-gradient(135deg, #f97316, #ef4444, #ec4899);

    --section-py: clamp(80px, 10vw, 140px);
    --container-max: 1200px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 999px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

body > * { position: relative; z-index: 1; }

/* ---------- MOUSE-TRACKING CANVAS ---------- */
#mouseCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

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

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

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.25);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

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

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn i, .btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--sm  { padding: 10px 24px; font-size: 0.85rem; }
.btn--lg  { padding: 16px 36px; font-size: 1rem; }
.btn--xl  { padding: 20px 44px; font-size: 1.05rem; }
.btn--full{ width: 100%; }

.btn--primary {
    background: var(--gradient-btn);
    color: #fff;
    box-shadow: 0 4px 25px rgba(124,58,237,0.35), 0 0 50px rgba(37,99,235,0.1);
}
.btn--primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 35px rgba(124,58,237,0.45), 0 0 70px rgba(37,99,235,0.15);
}

.btn--glass {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
}
.btn--glass:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.2);
}

.btn--white {
    background: #fff;
    color: #1a1a2e;
    font-weight: 700;
}
.btn--white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.2);
}

/* ===================================================================
   NAVIGATION
   =================================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}

.nav--scrolled {
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav__logo-icon {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--gradient-btn);
    color: #fff;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(124,58,237,0.4);
}

.nav__links { display: flex; align-items: center; gap: 32px; }

.nav__links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}
.nav__links a:not(.btn):hover { color: #fff; }
.nav__links .btn { color: #fff; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

/* ===================================================================
   HERO — Full aurora gradient background
   =================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

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

.hero__gradient-orb--1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124,58,237,0.3), transparent 60%);
    top: -300px;
    left: -200px;
    animation: aurora1 12s ease-in-out infinite;
}

.hero__gradient-orb--2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(6,182,212,0.25), transparent 60%);
    bottom: -250px;
    right: -150px;
    animation: aurora2 15s ease-in-out infinite;
}

.hero__gradient-orb--3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236,72,153,0.2), transparent 60%);
    top: 25%;
    left: 35%;
    animation: aurora3 10s ease-in-out infinite;
}

@keyframes aurora1 {
    0%, 100% { transform: translate(0,0) scale(1); }
    25%  { transform: translate(80px,-60px) scale(1.15); }
    50%  { transform: translate(40px,40px) scale(0.9); }
    75%  { transform: translate(-60px,-30px) scale(1.1); }
}
@keyframes aurora2 {
    0%, 100% { transform: translate(0,0) scale(1); }
    33%  { transform: translate(-70px,-50px) scale(1.12); }
    66%  { transform: translate(50px,30px) scale(0.88); }
}
@keyframes aurora3 {
    0%, 100% { transform: translate(0,0) scale(1); }
    50%  { transform: translate(-40px,50px) scale(1.2); }
}

.hero__grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero__content { position: relative; z-index: 1; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 8px var(--green); }
    50%      { box-shadow: 0 0 20px var(--green), 0 0 40px rgba(16,185,129,0.3); }
}

.hero__title {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: #c8c8e6;
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.75;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero__stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero__stat { display: flex; flex-direction: column; }

.hero__stat-num {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* Hero Mockup */
.hero__visual { position: relative; z-index: 1; }

/* ---------- 3D DEVICE SCENE ---------- */
.hero__device-scene {
    perspective: 1000px;
    perspective-origin: 50% 40%;
}
.hero__device {
    will-change: transform;
    transform: rotateX(4deg) rotateY(-6deg);
    transition: transform 0.08s linear;
    position: relative;
}
/* Ambient glow behind the device */
.hero__device::before {
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at 55% 45%,
        rgba(139,92,246,0.22) 0%,
        rgba(6,182,212,0.12) 45%,
        transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: deviceAmbient 5s ease-in-out infinite;
}
@keyframes deviceAmbient {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.06); }
}
/* VanillaTilt glare container override */
.hero__device .js-tilt-glare { display: none; }

/* ---------- HERO TERMINAL ---------- */
.hero__terminal {
    background: #0d0d1a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(124,58,237,0.1), 0 0 80px rgba(6,182,212,0.05);
    border: 1px solid rgba(139,92,246,0.2);
}
.hero__terminal::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
}
.hero__terminal-chrome {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(139,92,246,0.15);
}
.hero__terminal-dots { display: flex; gap: 6px; }
.hero__terminal-dots span { width: 10px; height: 10px; border-radius: 50%; }
.hero__terminal-dots span:nth-child(1) { background: #ef4444; }
.hero__terminal-dots span:nth-child(2) { background: #fbbf24; }
.hero__terminal-dots span:nth-child(3) { background: #22c55e; }
.hero__terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
}
.hero__terminal-body {
    padding: 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    line-height: 2;
    min-height: 300px;
    color: var(--text-secondary);
}
.hero__terminal-line {
    white-space: pre-wrap;
}
.hero__terminal-line .line-cmd { color: var(--cyan); }
.hero__terminal-line .line-ok { color: var(--green); }
.hero__terminal-line .line-val { color: var(--orange); font-weight: 700; }
.hero__terminal-line .line-comment { color: var(--text-muted); }
.hero__terminal-input {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.hero__terminal-prompt { color: var(--green); font-weight: 700; }
.hero__terminal-cursor {
    display: inline-block;
    color: var(--cyan);
    animation: termBlink 1s step-end infinite;
}
@keyframes termBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Floating badges */
.hero__float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(26, 26, 46, 0.92);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    animation: floatBadge 5s ease-in-out infinite;
}
.hero__float i { width: 20px; height: 20px; }
.hero__float strong { display: block; font-size: 1rem; line-height: 1; }
.hero__float small { font-size: 0.7rem; color: var(--text-muted); }

.hero__float--leads {
    top: 20%; right: 10px;
    color: var(--green);
    border: 1px solid rgba(16,185,129,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(16,185,129,0.15);
}
.hero__float--speed {
    bottom: 15%; left: 10px;
    color: var(--orange);
    border: 1px solid rgba(249,115,22,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(249,115,22,0.12);
    animation-delay: 2.5s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) translateZ(20px); }
    50%       { transform: translateY(-14px) translateZ(20px); }
}

/* ===================================================================
   PROBLEMS — Gradient tinted background
   =================================================================== */
.problems {
    padding: var(--section-py) 0;
    background:
        radial-gradient(ellipse 50% 50% at 20% 50%, rgba(239,68,68,0.04), transparent),
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(16,185,129,0.04), transparent),
        var(--bg-secondary);
    position: relative;
}

.problems__grid { display: flex; align-items: stretch; gap: 40px; }
.problems__column { flex: 1; display: flex; flex-direction: column; gap: 16px; }

.problems__col-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.problems__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.problems__icon i { width: 20px; height: 20px; }
.problems__icon--red { background: rgba(239,68,68,0.15); color: #f87171; box-shadow: 0 0 15px rgba(239,68,68,0.1); }
.problems__icon--green { background: rgba(16,185,129,0.15); color: #34d399; box-shadow: 0 0 15px rgba(16,185,129,0.1); }

.problems__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all 0.4s var(--ease-out);
}
.problems__card > i { width: 24px; height: 24px; flex-shrink: 0; margin-top: 1px; }
.problems__card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 5px; }
.problems__card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

.problems__card--problem {
    background: linear-gradient(135deg, rgba(239,68,68,0.06), rgba(239,68,68,0.02));
    border-color: rgba(239,68,68,0.15);
}
.problems__card--problem h4 { color: #fca5a5; }
.problems__card--problem > i { color: #f87171; }
.problems__card--problem:hover {
    border-color: rgba(239,68,68,0.35);
    transform: translateX(-8px);
    box-shadow: -6px 0 25px rgba(239,68,68,0.1), 0 4px 20px rgba(0,0,0,0.3);
}

.problems__card--solution {
    background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(16,185,129,0.02));
    border-color: rgba(16,185,129,0.15);
}
.problems__card--solution h4 { color: #6ee7b7; }
.problems__card--solution > i { color: #34d399; }
.problems__card--solution:hover {
    border-color: rgba(16,185,129,0.35);
    transform: translateX(8px);
    box-shadow: 6px 0 25px rgba(16,185,129,0.1), 0 4px 20px rgba(0,0,0,0.3);
}

.problems__arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    gap: 8px;
}
.problems__arrow-line {
    width: 3px;
    height: 80px;
    background: linear-gradient(180deg, #f87171, var(--purple), var(--cyan), #34d399);
    border-radius: 3px;
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(139,92,246,0.2);
}
.problems__arrow > i { color: var(--purple); width: 28px; height: 28px; }

/* ===================================================================
   SERVICES — Each card has its own color theme
   =================================================================== */
.services {
    padding: var(--section-py) 0;
    background:
        radial-gradient(ellipse 40% 40% at 15% 60%, rgba(139,92,246,0.06), transparent),
        radial-gradient(ellipse 40% 40% at 85% 40%, rgba(6,182,212,0.05), transparent),
        var(--bg-primary);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
}

.services__card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    position: relative;
}

/* Each card glows its own color on hover */
.services__card:nth-child(1):hover { border-color: rgba(139,92,246,0.3); box-shadow: 0 8px 40px rgba(139,92,246,0.12), 0 0 60px rgba(139,92,246,0.06); }
.services__card:nth-child(2):hover { border-color: rgba(59,130,246,0.3);  box-shadow: 0 8px 40px rgba(59,130,246,0.12), 0 0 60px rgba(59,130,246,0.06); }
.services__card:nth-child(3):hover { border-color: rgba(236,72,153,0.3);  box-shadow: 0 8px 40px rgba(236,72,153,0.1), 0 0 60px rgba(236,72,153,0.05); }
.services__card:nth-child(4):hover { border-color: rgba(6,182,212,0.3);   box-shadow: 0 8px 40px rgba(6,182,212,0.12), 0 0 60px rgba(6,182,212,0.06); }
.services__card:nth-child(5):hover { border-color: rgba(249,115,22,0.3);  box-shadow: 0 8px 40px rgba(249,115,22,0.12), 0 0 60px rgba(249,115,22,0.06); }
.services__card:nth-child(6):hover { border-color: rgba(16,185,129,0.3);  box-shadow: 0 8px 40px rgba(16,185,129,0.12), 0 0 60px rgba(16,185,129,0.06); }

.services__card:hover { transform: translateY(-6px); }

.services__card.is-active { border-color: rgba(139,92,246,0.3); }

.services__card-front { padding: 36px; }

.services__card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: transform 0.3s var(--ease-out);
}
.services__card:hover .services__card-icon { transform: scale(1.1) rotate(-3deg); }
.services__card-icon i { width: 30px; height: 30px; }

/* Unique color per service icon */
.services__card:nth-child(1) .services__card-icon {
    background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(99,102,241,0.1));
    color: #a78bfa;
    border: 1px solid rgba(139,92,246,0.25);
    box-shadow: 0 4px 20px rgba(139,92,246,0.15);
}
.services__card:nth-child(2) .services__card-icon {
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(37,99,235,0.1));
    color: #60a5fa;
    border: 1px solid rgba(59,130,246,0.25);
    box-shadow: 0 4px 20px rgba(59,130,246,0.15);
}
.services__card:nth-child(3) .services__card-icon {
    background: linear-gradient(135deg, rgba(236,72,153,0.2), rgba(249,115,22,0.1));
    color: #f472b6;
    border: 1px solid rgba(236,72,153,0.25);
    box-shadow: 0 4px 20px rgba(236,72,153,0.12);
}
.services__card:nth-child(4) .services__card-icon {
    background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(16,185,129,0.1));
    color: #22d3ee;
    border: 1px solid rgba(6,182,212,0.25);
    box-shadow: 0 4px 20px rgba(6,182,212,0.15);
}
.services__card:nth-child(5) .services__card-icon {
    background: linear-gradient(135deg, rgba(249,115,22,0.2), rgba(251,191,36,0.1));
    color: #fb923c;
    border: 1px solid rgba(249,115,22,0.25);
    box-shadow: 0 4px 20px rgba(249,115,22,0.15);
}
.services__card:nth-child(6) .services__card-icon {
    background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(52,211,153,0.1));
    color: #34d399;
    border: 1px solid rgba(16,185,129,0.25);
    box-shadow: 0 4px 20px rgba(16,185,129,0.15);
}

/* Colored top accent line per card */
.services__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.4s;
}
.services__card:nth-child(1)::before { background: linear-gradient(90deg, #8b5cf6, #6366f1); }
.services__card:nth-child(2)::before { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.services__card:nth-child(3)::before { background: linear-gradient(90deg, #ec4899, #f97316); }
.services__card:nth-child(4)::before { background: linear-gradient(90deg, #06b6d4, #10b981); }
.services__card:nth-child(5)::before { background: linear-gradient(90deg, #f97316, #fbbf24); }
.services__card:nth-child(6)::before { background: linear-gradient(90deg, #10b981, #34d399); }
.services__card:hover::before, .services__card.is-active::before { opacity: 1; }

.services__card-front h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.services__card-front p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }

.services__card-expand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--purple);
    transition: gap 0.3s var(--ease-out);
}
.services__card-expand i { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.services__card.is-active .services__card-expand i { transform: rotate(180deg); }
.services__card:hover .services__card-expand { gap: 10px; }

.services__card-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out);
    padding: 0 36px;
    border-top: 0 solid var(--border-color);
}
.services__card.is-active .services__card-detail {
    max-height: 500px;
    padding: 0 36px 36px;
    border-top-width: 1px;
}
.services__card-detail h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; padding-top: 24px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.services__card-detail ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.services__card-detail li { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-secondary); }
.services__card-detail li i { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

.services__tech-stack { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.services__tech-stack span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    background: rgba(139,92,246,0.1);
    color: #c4b5fd;
    border: 1px solid rgba(139,92,246,0.18);
}

/* ===================================================================
   TECH — Engineering section with colored flow
   =================================================================== */
.tech {
    padding: var(--section-py) 0;
    background:
        radial-gradient(ellipse 50% 50% at 50% 0%, rgba(6,182,212,0.06), transparent),
        var(--bg-secondary);
}

.tech__architecture { margin-bottom: 20px; }

.tech__flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 44px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    position: relative;
}

/* Rainbow top border */
.tech__flow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink), var(--orange), var(--cyan), var(--green));
    border-radius: 3px 3px 0 0;
}

.tech__flow-node { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; flex-shrink: 0; min-width: 80px; }
.tech__flow-icon { width: 56px; height: 56px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; transition: all 0.4s var(--ease-out); }
.tech__flow-icon i { width: 26px; height: 26px; }
.tech__flow-node span { font-size: 0.8rem; font-weight: 700; }
.tech__flow-node small { font-size: 0.65rem; color: var(--text-muted); }

.tech__flow-node--user .tech__flow-icon      { background: rgba(59,130,246,0.15);  color: #60a5fa; border: 1px solid rgba(59,130,246,0.25); box-shadow: 0 0 15px rgba(59,130,246,0.1); }
.tech__flow-node--frontend .tech__flow-icon   { background: rgba(139,92,246,0.15); color: #a78bfa; border: 1px solid rgba(139,92,246,0.25); box-shadow: 0 0 15px rgba(139,92,246,0.1); }
.tech__flow-node--form .tech__flow-icon       { background: rgba(99,102,241,0.15); color: #818cf8; border: 1px solid rgba(99,102,241,0.25); box-shadow: 0 0 15px rgba(99,102,241,0.1); }
.tech__flow-node--backend .tech__flow-icon    { background: rgba(236,72,153,0.15); color: #f472b6; border: 1px solid rgba(236,72,153,0.25); box-shadow: 0 0 15px rgba(236,72,153,0.1); }
.tech__flow-node--db .tech__flow-icon         { background: rgba(16,185,129,0.15); color: #34d399; border: 1px solid rgba(16,185,129,0.25); box-shadow: 0 0 15px rgba(16,185,129,0.1); }
.tech__flow-node--email .tech__flow-icon      { background: rgba(249,115,22,0.15); color: #fb923c; border: 1px solid rgba(249,115,22,0.25); box-shadow: 0 0 15px rgba(249,115,22,0.1); }

.tech__flow-connector { width: 50px; height: 3px; position: relative; flex-shrink: 0; }
.tech__flow-line { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04)); border-radius: 2px; }
.tech__flow-pulse { position: absolute; top: -3px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 14px var(--purple); animation: pulseLine 3s ease-in-out infinite; }

@keyframes pulseLine { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }

.tech__card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.tech__card:hover { transform: translateY(-6px); }

/* Each card glows its own color */
.tech .col-md-4:nth-child(1) .tech__card:hover { border-color: rgba(139,92,246,0.25); box-shadow: 0 8px 40px rgba(139,92,246,0.1); }
.tech .col-md-4:nth-child(2) .tech__card:hover { border-color: rgba(236,72,153,0.25); box-shadow: 0 8px 40px rgba(236,72,153,0.08); }
.tech .col-md-4:nth-child(3) .tech__card:hover { border-color: rgba(6,182,212,0.25);  box-shadow: 0 8px 40px rgba(6,182,212,0.1); }

.tech__card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.tech__card-header i { width: 26px; height: 26px; }
.tech .col-md-4:nth-child(1) .tech__card-header i { color: #a78bfa; }
.tech .col-md-4:nth-child(2) .tech__card-header i { color: #f472b6; }
.tech .col-md-4:nth-child(3) .tech__card-header i { color: #22d3ee; }
.tech__card-header h4 { font-size: 1.1rem; font-weight: 700; }

.tech__card-list { display: flex; flex-direction: column; gap: 12px; }
.tech__card-list li { font-size: 0.88rem; color: var(--text-secondary); padding-left: 20px; position: relative; }
.tech__card-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; }
.tech .col-md-4:nth-child(1) .tech__card-list li::before { background: var(--purple); box-shadow: 0 0 6px rgba(139,92,246,0.4); }
.tech .col-md-4:nth-child(2) .tech__card-list li::before { background: var(--pink); box-shadow: 0 0 6px rgba(236,72,153,0.4); }
.tech .col-md-4:nth-child(3) .tech__card-list li::before { background: var(--cyan); box-shadow: 0 0 6px rgba(6,182,212,0.4); }

.tech__card-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; }
.tech__card-bar--frontend { background: linear-gradient(90deg, #8b5cf6, #6366f1, #2563eb); }
.tech__card-bar--backend  { background: linear-gradient(90deg, #ec4899, #8b5cf6); }
.tech__card-bar--database { background: linear-gradient(90deg, #06b6d4, #10b981); }

/* ===================================================================
   PORTFOLIO — Vibrant cards with colored images
   =================================================================== */
.portfolio {
    padding: var(--section-py) 0;
    background: var(--bg-primary);
}

.portfolio__scroll { position: relative; }

.portfolio__track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
}
.portfolio__track::-webkit-scrollbar { display: none; }

.portfolio__card {
    min-width: calc(50% - 12px);
    max-width: calc(50% - 12px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    scroll-snap-align: start;
    transition: all 0.4s var(--ease-out);
    flex-shrink: 0;
}
.portfolio__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.5), 0 0 30px rgba(139,92,246,0.08);
    border-color: rgba(255,255,255,0.12);
}

.portfolio__card-image { height: 200px; position: relative; overflow: hidden; }
.portfolio__card-image--1 { background: linear-gradient(135deg, #1e1b4b, #4f46e5, #818cf8); }
.portfolio__card-image--2 { background: linear-gradient(135deg, #0c4a6e, #0284c7, #22d3ee); }
.portfolio__card-image--3 { background: linear-gradient(135deg, #831843, #db2777, #fb923c); }
.portfolio__card-image--4 { background: linear-gradient(135deg, #064e3b, #059669, #22d3ee); }
.portfolio__card-image--5 { background: linear-gradient(135deg, #4c1d95, #7c3aed, #f472b6); }

.portfolio__card-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px; background: linear-gradient(0deg, rgba(0,0,0,0.5), transparent 60%); }
.portfolio__card-tag { font-size: 0.72rem; font-weight: 600; padding: 5px 14px; border-radius: var(--radius-full); background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); color: #fff; }
.portfolio__card-body { padding: 24px; }
.portfolio__card-body h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.portfolio__card-problem, .portfolio__card-solution { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 8px; line-height: 1.6; }
.portfolio__card-stack { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.portfolio__card-stack span { font-size: 0.68rem; font-weight: 600; padding: 4px 12px; border-radius: var(--radius-full); background: rgba(139,92,246,0.1); color: #c4b5fd; border: 1px solid rgba(139,92,246,0.15); }

.portfolio__card-result { display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--border-color); }
.portfolio__metric { text-align: center; flex: 1; }
.portfolio__metric strong { display: block; font-size: 1.1rem; font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.portfolio__metric small { font-size: 0.68rem; color: var(--text-muted); }

.portfolio__controls { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }
.portfolio__btn { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border-color); color: var(--text-primary); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s var(--ease-out); }
.portfolio__btn:hover { border-color: var(--purple); color: #a78bfa; box-shadow: 0 0 20px rgba(139,92,246,0.15); }
.portfolio__btn i { width: 20px; height: 20px; }

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testimonials {
    padding: var(--section-py) 0;
    background:
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(139,92,246,0.04), transparent),
        var(--bg-secondary);
}

.testimonials__slider { overflow: hidden; position: relative; padding: 0 8px; }
.testimonials__track { display: flex; transition: transform 0.6s var(--ease-out); will-change: transform; }

.testimonials__card {
    min-width: calc(33.333%);
    padding: 0 12px;
    box-sizing: border-box;
    background: none;
    position: relative;
    transition: opacity 0.4s, transform 0.4s;
    flex-shrink: 0;
}
@media (min-width: 768px)  { .testimonials__card { min-width: 50%; } }
@media (min-width: 1024px) { .testimonials__card { min-width: 33.333%; } }

.testimonials__card::before {
    content: '';
    position: absolute;
    inset: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    z-index: 0;
    transition: all 0.3s;
}
.testimonials__card:hover::before {
    border-color: rgba(139,92,246,0.2);
    box-shadow: 0 0 30px rgba(139,92,246,0.06);
}
.testimonials__card > * { position: relative; z-index: 1; }
.testimonials__card { padding: 12px; }

.testimonials__stars { display: flex; gap: 2px; margin-bottom: 16px; color: #fbbf24; padding: 28px 28px 0; }
.testimonials__stars i { width: 16px; height: 16px; fill: #fbbf24; }

.testimonials__card > p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.7; padding: 0 20px; margin-bottom: 24px; font-style: italic; word-break: break-word; }

.testimonials__author { display: flex; align-items: center; gap: 12px; padding: 0 28px 28px; }
.testimonials__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-btn);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(124,58,237,0.35);
}
.testimonials__author strong { display: block; font-size: 0.88rem; }
.testimonials__author span { font-size: 0.75rem; color: var(--text-muted); }

.testimonials__dots { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.testimonials__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.08); border: none; cursor: pointer; transition: all 0.3s; padding: 0; }
.testimonials__dot.is-active { background: var(--purple); width: 32px; border-radius: 5px; box-shadow: 0 0 12px rgba(139,92,246,0.5); }

/* ===================================================================
   CONTACT — Colored background section
   =================================================================== */
.contact {
    padding: var(--section-py) 0;
    background:
        radial-gradient(ellipse 40% 50% at 80% 50%, rgba(124,58,237,0.06), transparent),
        var(--bg-primary);
}

.contact__desc { font-size: 1rem; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
.contact__info { display: flex; flex-direction: column; gap: 18px; padding-left: 4px; }
.contact__info-item { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--text-secondary); overflow: visible; }
.contact__info-item i { width: 22px; height: 22px; min-width: 22px; color: var(--purple); flex-shrink: 0; }
.contact__info-item a { color: var(--purple); transition: color 0.3s; }
.contact__info-item a:hover { color: var(--pink); }

.contact__form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 44px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.contact__form-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--blue), var(--cyan));
}
/* Corner glow */
.contact__form-wrapper::after {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(124,58,237,0.1), transparent 70%);
    pointer-events: none;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); }
.form-optional { font-weight: 400; color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-primary);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: none;
    transition: all 0.3s var(--ease-out);
    -webkit-appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139,92,246,0.15), 0 0 25px rgba(139,92,246,0.06);
    background: rgba(139,92,246,0.04);
}
.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236a6a8a' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.form-group select option { background: var(--bg-card); color: var(--text-primary); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.has-error input, .form-group.has-error textarea { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,0.15); }
.form-error { font-size: 0.75rem; color: var(--red); min-height: 0; transition: min-height 0.3s; }
.form-group.has-error .form-error { min-height: 18px; }

.btn__loader { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }
.btn.is-loading .btn__text { display: none; }
.btn.is-loading .btn__loader { display: block; }
.btn.is-loading i { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact__form-status { margin-top: 16px; padding: 0; border-radius: var(--radius-md); font-size: 0.88rem; font-weight: 500; transition: all 0.4s var(--ease-out); overflow: hidden; max-height: 0; }
.contact__form-status.is-visible { padding: 14px 18px; max-height: 100px; margin-top: 16px; }
.contact__form-status.is-success { background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25); color: var(--green); }
.contact__form-status.is-error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.25); color: var(--red); }

/* ===================================================================
   ABOUT / WHO WE ARE
   =================================================================== */
.about {
    padding: var(--section-py) 0;
    position: relative;
}
.about__text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about__stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
}
.about__stat {
    text-align: center;
}
.about__stat strong {
    display: inline;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about__stat span {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.about__stat small {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}
.about__values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about__value {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
}
.about__value:hover {
    border-color: rgba(139,92,246,0.25);
    transform: translateX(4px);
}
.about__value-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
}
.about__value-icon i { width: 20px; height: 20px; }
.about__value h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.about__value p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===================================================================
   PRICING
   =================================================================== */
.pricing { padding: var(--section-py) 0; }

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

.pricing__card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    transition: all 0.4s var(--ease-out);
}
.pricing__card:hover {
    transform: translateY(-6px);
    border-color: rgba(139,92,246,0.25);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Featured card */
.pricing__card--featured {
    border-color: var(--purple);
    background: linear-gradient(160deg, rgba(139,92,246,0.08) 0%, var(--bg-card) 60%);
    box-shadow: 0 0 0 1px rgba(139,92,246,0.2), 0 20px 60px rgba(139,92,246,0.1);
}
.pricing__card--featured:hover {
    box-shadow: 0 0 0 1px rgba(139,92,246,0.4), 0 24px 80px rgba(139,92,246,0.18);
}

.pricing__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing__card-header { display: flex; flex-direction: column; gap: 10px; }

.pricing__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.15));
    border: 1px solid rgba(139,92,246,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
}
.pricing__icon i { width: 22px; height: 22px; }

.pricing__plan {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.pricing__desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.pricing__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.pricing__currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-secondary);
    align-self: flex-start;
    margin-top: 6px;
}
.pricing__amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.pricing__amount--custom {
    font-size: 2rem;
}
.pricing__period {
    font-size: 0.85rem;
    color: var(--text-muted);
    align-self: flex-end;
    padding-bottom: 6px;
}

.pricing__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.pricing__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.pricing__features li i { width: 16px; height: 16px; flex-shrink: 0; color: var(--cyan); }
.pricing__feature--off { opacity: 0.4; }
.pricing__feature--off i { color: var(--text-muted); }

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

.pricing__note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 32px;
}
.pricing__note a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1024px) {
    .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .pricing__card--featured { order: -1; }
}
@media (max-width: 640px) {
    .pricing__card { padding: 28px 22px; }
    .pricing__amount { font-size: 2.4rem; }
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq { padding: var(--section-py) 0; }

.faq__intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 16px;
}
.faq__intro a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

.faq__list { display: flex; flex-direction: column; gap: 0; }

.faq__item {
    border-bottom: 1px solid var(--border-color);
}
.faq__item:first-child { border-top: 1px solid var(--border-color); }

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    padding: 22px 4px;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font-size: 0.98rem;
    font-weight: 600;
    font-family: inherit;
    transition: color 0.3s;
}
.faq__question:hover { color: var(--purple); }
.faq__question i {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--purple);
    transition: transform 0.35s var(--ease-out);
    flex-shrink: 0;
}
.faq__item.is-open .faq__question { color: var(--purple); }
.faq__item.is-open .faq__question i { transform: rotate(45deg); }

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.3s;
}
.faq__answer p {
    padding: 0 4px 22px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}
.faq__item.is-open .faq__answer {
    max-height: 300px;
}

/* ===================================================================
   FINAL CTA — Bold gradient background
   =================================================================== */
.cta {
    padding: var(--section-py) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e1b4b 0%, #1a1a2e 40%, #0f172a 70%, #1e1b4b 100%);
}

.cta__bg { position: absolute; inset: 0; overflow: hidden; }

.cta__gradient-orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.cta__gradient-orb--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(124,58,237,0.3), transparent 60%);
    top: -200px; right: -150px;
    animation: aurora1 15s ease-in-out infinite;
}
.cta__gradient-orb--2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(6,182,212,0.2), transparent 60%);
    bottom: -200px; left: -150px;
    animation: aurora2 18s ease-in-out infinite;
}

.cta__content { text-align: center; position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta__title { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 20px; }
.cta__subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 40px; line-height: 1.7; }
.cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================================================================
   BUILD TICKER
   =================================================================== */
.build-ticker {
    overflow: hidden;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}
.build-ticker__track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
    animation: tickerScroll 30s linear infinite;
}
.build-ticker__track span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.build-ticker__track span::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple);
    opacity: 0.6;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { padding: 60px 0 0; background: var(--bg-secondary); border-top: 1px solid var(--border-color); }
.footer__desc { font-size: 0.88rem; color: var(--text-muted); margin-top: 16px; line-height: 1.7; max-width: 300px; }
.footer__heading { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.88rem; color: var(--text-muted); transition: color 0.3s; }
.footer__links a:hover { color: var(--text-primary); }
.footer__socials { display: flex; gap: 12px; margin-top: 20px; }
.footer__socials a {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s var(--ease-out);
}
.footer__socials a:hover {
    background: rgba(139,92,246,0.2);
    border-color: var(--purple);
    color: var(--purple);
    transform: translateY(-2px);
}
.footer__bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer__bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 0.78rem; color: var(--text-muted); transition: color 0.3s; }
.footer__legal a:hover { color: var(--text-secondary); }

/* ===================================================================
   WHATSAPP FLOAT
   =================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 999;
    width: 62px; height: 62px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: all 0.3s var(--ease-out);
    animation: waPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.15); box-shadow: 0 6px 30px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; }
@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.55), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* ===================================================================
   URGENCY TOP BAR
   =================================================================== */
.urgency-bar {
    position: fixed;
    top: -60px;
    left: 0;
    right: 0;
    z-index: 1001;
    background: linear-gradient(90deg, #8b5cf6, #6d28d9, #8b5cf6);
    background-size: 200% 100%;
    animation: urgencyShimmer 3s linear infinite;
    transition: top 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.urgency-bar.is-visible {
    top: 0;
}
@keyframes urgencyShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.urgency-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.urgency-bar__pulse {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 8px rgba(251,191,36,0.8);
    animation: urgencyPulse 1s ease-in-out infinite;
}
@keyframes urgencyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
}

.urgency-bar__text {
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: 0.2px;
}
.urgency-bar__text strong {
    font-weight: 700;
    color: #fbbf24;
}

.urgency-bar__cta {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a1a2e;
    background: #fbbf24;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}
.urgency-bar__cta:hover {
    background: #fff;
    transform: scale(1.05);
}

.urgency-bar__close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}
.urgency-bar__close:hover { color: #fff; }

@media (max-width: 768px) {
    .urgency-bar__inner { gap: 8px; padding: 8px 12px; flex-wrap: wrap; justify-content: center; }
    .urgency-bar__text { font-size: 0.7rem; text-align: center; }
    .urgency-bar__cta { font-size: 0.65rem; }
}

/* ===================================================================
   VANILLA TILT — 3D card tilt glare styling
   =================================================================== */
.js-tilt-glare-inner {
    background: linear-gradient(
        0deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.04) 100%
    ) !important;
}
/* Ensure tilt cards have proper stacking */
.services__card { transform-style: flat; }
.about__value    { transform-style: flat; }

/* ===================================================================
   GUIDE BOT — Context-Aware Fixed Bot
   =================================================================== */
.guide-bot {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 998;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.guide-bot.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.guide-bot.is-scrolling {
    opacity: 0 !important;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Bot character */
.guide-bot__character {
    width: 68px;
    height: 84px;
    filter: drop-shadow(0 4px 16px rgba(139,92,246,0.3));
    cursor: pointer;
    pointer-events: auto;
    animation: botBreathe 3s ease-in-out infinite;
    transition: transform 0.3s var(--ease-out);
}
.guide-bot:hover .guide-bot__character { transform: scale(1.1); }
@keyframes botBreathe {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.guide-bot__svg { width: 100%; height: 100%; overflow: visible; }
.guide-bot__pupil { transition: cx 0.1s, cy 0.1s; }

/* SVG parts */
.guide-bot__antenna-tip { fill: #06b6d4; filter: drop-shadow(0 0 6px rgba(6,182,212,0.8)); animation: antGlow 2s ease-in-out infinite; }
@keyframes antGlow { 0%, 100% { filter: drop-shadow(0 0 6px rgba(6,182,212,0.8)); } 50% { filter: drop-shadow(0 0 12px rgba(6,182,212,1)); } }
.guide-bot__head-shape { fill: #1e1e38; stroke: rgba(139,92,246,0.5); stroke-width: 2; }
.guide-bot__visor { fill: rgba(0,0,0,0.5); stroke: rgba(6,182,212,0.3); stroke-width: 1; }
.guide-bot__eye { fill: #06b6d4; filter: drop-shadow(0 0 6px rgba(6,182,212,0.6)); transition: all 0.3s; }
.guide-bot__mouth { transition: all 0.3s; }
.guide-bot__body-shape { fill: #1e1e38; stroke: rgba(139,92,246,0.4); stroke-width: 2; }
.guide-bot__chest-screen { fill: rgba(0,0,0,0.6); stroke: rgba(139,92,246,0.2); stroke-width: 1; }
.guide-bot__code1, .guide-bot__code2, .guide-bot__code3 { animation: codeGlow 2.5s ease-in-out infinite; }
.guide-bot__code2 { animation-delay: 0.4s; }
.guide-bot__code3 { animation-delay: 0.8s; }
@keyframes codeGlow { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
.guide-bot__arm { fill: #1e1e38; stroke: rgba(139,92,246,0.35); stroke-width: 1.5; transition: transform 0.3s; }
.guide-bot__hand { fill: #2a2a4a; stroke: rgba(139,92,246,0.3); stroke-width: 1.5; transition: transform 0.3s; }
.guide-bot__core { fill: #8b5cf6; filter: drop-shadow(0 0 4px rgba(139,92,246,0.6)); animation: corePulse 3s ease-in-out infinite; }
@keyframes corePulse { 0%, 100% { fill: #8b5cf6; } 50% { fill: #a78bfa; filter: drop-shadow(0 0 8px rgba(139,92,246,0.9)); } }

/* Moods */
.guide-bot.is-happy .guide-bot__eye { fill: #22d3ee; }
.guide-bot.is-happy .guide-bot__mouth { d: path("M46 52 Q60 60 74 52"); stroke: #22d3ee; }
.guide-bot.is-wave .guide-bot__arm--right { transform-origin: 103px 76px; animation: svgArmWave 0.5s ease-in-out 3; }
@keyframes svgArmWave { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-20deg); } }
.guide-bot.is-thumbsup .guide-bot__arm--right { transform-origin: 103px 76px; transform: rotate(-30deg); }

/* Speech bubble */
.guide-bot__speech {
    position: absolute;
    right: 76px;
    bottom: 10px;
    width: 220px;
    background: linear-gradient(135deg, rgba(30,30,56,0.97), rgba(22,22,42,0.97));
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 14px 14px 4px 14px;
    padding: 12px 14px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateX(8px) scale(0.9);
    transition: all 0.4s var(--ease-out);
    pointer-events: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
}
.guide-bot__speech.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Hide on small screens */
@media (max-width: 768px) {
    .guide-bot { display: none; }
}

/* ===================================================================
   SCROLL PIPELINE (CI/CD Build Indicator)
   =================================================================== */
.pipeline {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 997;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    opacity: 0;
    transition: opacity 0.6s;
}
.pipeline.is-visible { opacity: 1; }
.pipeline__node {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 6px 0;
    position: relative;
}
.pipeline__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.15);
    transition: all 0.4s var(--ease-out);
}
.pipeline__label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}
.pipeline__node:hover .pipeline__label,
.pipeline__node.is-active .pipeline__label {
    opacity: 1;
    transform: translateX(0);
}
.pipeline__node.is-active .pipeline__dot {
    background: var(--purple);
    border-color: var(--purple);
    box-shadow: 0 0 10px rgba(139,92,246,0.6);
}
.pipeline__node.is-passed .pipeline__dot {
    background: var(--green);
    border-color: var(--green);
    box-shadow: 0 0 6px rgba(16,185,129,0.4);
}
.pipeline__line {
    width: 2px;
    height: 20px;
    background: rgba(255,255,255,0.08);
    position: relative;
    overflow: hidden;
}
.pipeline__line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 0%;
    background: var(--purple);
    transition: height 0.5s var(--ease-out);
}
.pipeline__line.is-filled::after { height: 100%; }

@media (max-width: 1200px) { .pipeline { display: none; } }

/* ===================================================================
   BLUEPRINT SERVICE CARDS ENHANCEMENT
   =================================================================== */
.services__card {
    background-image: radial-gradient(circle, rgba(139,92,246,0.03) 1px, transparent 1px);
    background-size: 16px 16px;
}
.services__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--purple), var(--cyan)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
}
.services__card:hover::before { opacity: 0.6; }
.services__card .services__tech-stack span {
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s var(--ease-out);
}
.services__card.is-active .services__tech-stack span {
    opacity: 1;
    transform: translateY(0);
}
.services__card.is-active .services__tech-stack span:nth-child(1) { transition-delay: 0.05s; }
.services__card.is-active .services__tech-stack span:nth-child(2) { transition-delay: 0.1s; }
.services__card.is-active .services__tech-stack span:nth-child(3) { transition-delay: 0.15s; }
.services__card.is-active .services__tech-stack span:nth-child(4) { transition-delay: 0.2s; }
.services__card.is-active .services__tech-stack span:nth-child(5) { transition-delay: 0.25s; }

/* ===================================================================
   TECH FLOW — Interactive hover
   =================================================================== */
.tech__flow-node { transition: all 0.3s var(--ease-out); cursor: default; position: relative; }
.tech__flow-node:hover { transform: scale(1.08); }
.tech__flow-node:hover .tech__flow-icon { box-shadow: 0 0 20px rgba(139,92,246,0.4); }
.tech__flow-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    background: rgba(26,26,46,0.97);
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-secondary);
    width: 200px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease-out);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 10;
}
.tech__flow-node:hover .tech__flow-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===================================================================
   CURSOR TRAIL — Code Particles
   =================================================================== */
.cursor-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--purple);
    opacity: 0.35;
    will-change: transform, opacity;
    animation: particleFade 1s ease-out forwards;
}
@keyframes particleFade {
    0% { opacity: 0.35; transform: translate(0,0) rotate(0deg); }
    100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
}

@media (max-width: 768px) {
    .cursor-particle { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .cursor-particle, .pipeline, #mouseCanvas { display: none !important; }
}

/* ===================================================================
   ANIMATIONS
   =================================================================== */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
[data-animate="fade-left"]  { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate].is-visible   { opacity: 1; transform: translate(0, 0); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
    .services__grid { grid-template-columns: 1fr; }
    .portfolio__card { min-width: calc(50% - 12px); max-width: calc(50% - 12px); }
    .tech__flow { gap: 0; padding: 30px 10px; }
    .tech__flow-connector { width: 30px; }
    .testimonials__card { min-width: 50%; }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--bg-elevated);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        padding: 80px 32px 32px; gap: 20px;
        transition: right 0.4s var(--ease-out);
        z-index: 999;
    }
    .nav__links.is-open { right: 0; }
    .nav__toggle { display: flex; z-index: 1000; }
    .nav__toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
    .nav__toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero__visual { margin-top: 40px; }
    .hero__float--leads { right: 10px; top: 10%; }
    .hero__float--speed { left: 5px; bottom: 10%; }
    .hero__stats { gap: 24px; }
    .hero__cta { flex-direction: column; }
    .hero__cta .btn { width: 100%; }

    .problems__grid { flex-direction: column; }
    .problems__arrow { flex-direction: row; width: 100%; height: 50px; }
    .problems__arrow-line { width: auto; height: 3px; flex: 1; background: linear-gradient(90deg, #f87171, var(--purple), var(--cyan), #34d399); }
    .problems__arrow > i { transform: rotate(90deg); }

    .portfolio__card { min-width: calc(100% - 12px); max-width: calc(100% - 12px); }
    .testimonials__card { min-width: 100%; }
    .contact__form-wrapper { padding: 28px 20px; }
    .tech__flow { flex-wrap: wrap; gap: 16px; justify-content: center; }
    .tech__flow-connector { width: 30px; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 2rem; }
    .section-title { font-size: 1.7rem; }
    .hero__stats { flex-direction: column; gap: 12px; }
    .hero__stat { flex-direction: row; align-items: center; gap: 8px; }
    .portfolio__card { min-width: calc(100% - 12px); max-width: calc(100% - 12px); }
    .cta__buttons { flex-direction: column; }
    .cta__buttons .btn { width: 100%; }
    .footer .row { gap: 32px; }
}
