/* =============================================
   TECHNO WEBAPPS - Premium UI CSS
   Brand: #2453FF | #4CC9FF | #050816
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #2453FF;
    --accent: #4CC9FF;
    --bg: #050816;
    --bg2: #0D1020;
    --bg3: #111827;
    --white: #FFFFFF;
    --gray: #A0A8C0;
    --gray2: #6B7280;
    --border: rgba(255,255,255,0.08);
    --glass: rgba(255,255,255,0.04);
    --glow: 0 0 40px rgba(36,83,255,0.3);
    --glow2: 0 0 60px rgba(76,201,255,0.2);
}

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

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

body {
    font-family: 'Inter', 'Satoshi', sans-serif;
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
}

/* ===================== CUSTOM CURSOR ===================== */
#cursor {
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}

#cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(76, 201, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
}

body:hover #cursor { opacity: 1; }
a:hover ~ #cursor, button:hover ~ #cursor { width: 20px; height: 20px; }

/* ===================== PRELOADER ===================== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99997;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.preloader-logo {
    width: 80px;
    margin-bottom: 2rem;
    animation: pulse 1.5s infinite;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    width: 0%;
    animation: loadBar 2s ease forwards;
}

@keyframes loadBar {
    to { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.95); }
}

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.display-1 { font-size: clamp(3rem, 8vw, 7rem); font-weight: 800; }
.display-2 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; }
.display-3 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700; }

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

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

/* ===================== LAYOUT ===================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid { padding: 0 4rem; }

section { position: relative; overflow: hidden; }

/* ===================== NAVBAR ===================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(5, 8, 22, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

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

.nav-logo img { height: 40px; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-menu a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-size: 0.85rem !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--accent) !important;
    color: var(--bg) !important;
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

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

/* Mobile hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--bg);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(36,83,255,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(76,201,255,0.05);
    transform: translateY(-3px);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    padding: 0;
    border-radius: 0;
}

.btn-ghost:hover {
    gap: 1rem;
}

/* Magnetic button effect via JS */
.magnetic { display: inline-block; }

/* ===================== HERO SECTION ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(36,83,255,0.1);
    border: 1px solid rgba(36,83,255,0.3);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

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

.hero-title { margin-bottom: 1.5rem; }
.hero-desc { color: var(--gray); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 500px; }

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.hero-stat-label { font-size: 0.8rem; color: var(--gray); margin-top: 0.2rem; }

/* Three.js canvas */
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 0;
    pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

/* ===================== SECTION STYLES ===================== */
.section-pad { padding: 7rem 0; }
.section-pad-sm { padding: 5rem 0; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--accent);
}

.section-header { margin-bottom: 4rem; }

/* ===================== CARDS ===================== */
.card-glass {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(36,83,255,0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.card-glass:hover {
    border-color: rgba(36,83,255,0.4);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), var(--glow);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ===================== CIRCULAR SERVICE CAROUSEL ===================== */
.svc-ring-section {
    position: relative;
    height: calc(100vh + 1400px); /* sticky scroll distance */
    background: var(--bg);
}

/* Floating particles background — absolute overlay inside the sticky viewport */
.svc-ring-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* Sticky viewport */
.svc-ring-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Top bar */
.svc-ring-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 3rem 4rem 0;
    flex-shrink: 0;
}

.svc-ring-heading {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0.4rem 0 0;
}

.svc-ring-allbtn { align-self: center; }

/* 3D stage */
.svc-ring-stage {
    flex: 1;
    position: relative;
    perspective: 1100px;
    perspective-origin: 50% 52%;
}

.svc-ring-track {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

/* Individual card */
.svc-ring-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 340px;
    height: 420px;
    border-radius: 22px;
    transform-style: preserve-3d;
    cursor: pointer;
    will-change: transform;
    transition: filter 0.4s;
}

.svc-ring-card.far { filter: brightness(0.45) blur(1px); }
.svc-ring-card.near { filter: brightness(0.75); }
.svc-ring-card.active-card { filter: brightness(1); }

/* Animated gradient border */
.svc-ring-card-border {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(36,83,255,0.5), rgba(76,201,255,0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.4s;
    opacity: 0.6;
}

.svc-ring-card.active-card .svc-ring-card-border {
    background: linear-gradient(135deg, #2453FF, #4CC9FF, #2453FF);
    opacity: 1;
}

/* Glow effect */
.svc-ring-card-glow {
    position: absolute;
    inset: -20px;
    border-radius: 30px;
    background: radial-gradient(circle at 50% 50%, rgba(36,83,255,0.35) 0%, transparent 65%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.svc-ring-card.active-card .svc-ring-card-glow { opacity: 1; }

/* Inner content */
.svc-ring-card-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    background: linear-gradient(150deg, rgba(13,16,32,0.96) 0%, rgba(5,8,22,0.99) 100%);
    border-radius: 21px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    backface-visibility: hidden;
}

/* Icon */
.svc-ring-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(36,83,255,0.2), rgba(76,201,255,0.1));
    border: 1px solid rgba(36,83,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: all 0.4s;
    flex-shrink: 0;
}

.svc-ring-card.active-card .svc-ring-icon {
    background: linear-gradient(135deg, #2453FF, #4CC9FF);
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 30px rgba(36,83,255,0.45);
}

.svc-ring-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.8rem;
    flex-shrink: 0;
}

.svc-ring-card-desc {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.75;
    flex: 1;
}

.svc-ring-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s, transform 0.4s, gap 0.3s;
    flex-shrink: 0;
}

.svc-ring-card.active-card .svc-ring-card-link {
    opacity: 1;
    transform: translateY(0);
}

.svc-ring-card-link:hover { gap: 0.7rem; }

/* Progress dots */
.svc-ring-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 0 1.5rem;
    flex-shrink: 0;
}

.svc-ring-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.svc-ring-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* Active label */
.svc-ring-label {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-bottom: 2rem;
    min-height: 1.5rem;
    flex-shrink: 0;
}

/* ===================== 3D SERVICE CARDS ===================== */
.svc3-section {
    position: relative;
    padding: 7rem 0;
    background: var(--bg);
    overflow: hidden;
}

/* dot-grid background */
.svc3-dots {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(36,83,255,0.25) 1px, transparent 1px),
        radial-gradient(circle, rgba(76,201,255,0.12) 1px, transparent 1px);
    background-size: 32px 32px, 64px 64px;
    background-position: 0 0, 16px 16px;
    pointer-events: none;
}

.svc3-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 4rem;
}

.svc3-title { margin-bottom: 0; }

/* 3-column grid */
.svc3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    perspective: 1200px;
}

/* Individual card */
.svc3-card {
    position: relative;
    border-radius: 20px;
    cursor: pointer;
    transform-style: preserve-3d;
    transform: translateY(40px);
    opacity: 0;
    animation: svc3Enter 0.7s cubic-bezier(0.16,1,0.3,1) both;
    will-change: transform;
}

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

.svc3-card:nth-child(1) { animation-delay: 0.05s; }
.svc3-card:nth-child(2) { animation-delay: 0.13s; }
.svc3-card:nth-child(3) { animation-delay: 0.21s; }
.svc3-card:nth-child(4) { animation-delay: 0.29s; }
.svc3-card:nth-child(5) { animation-delay: 0.37s; }
.svc3-card:nth-child(6) { animation-delay: 0.45s; }

/* Animated gradient border */
.svc3-border {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(36,83,255,0.4), rgba(76,201,255,0.15), rgba(36,83,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.8;
    transition: opacity 0.4s;
    pointer-events: none;
}

.svc3-card:hover .svc3-border {
    background: linear-gradient(135deg, #2453FF, #4CC9FF, #2453FF);
    opacity: 1;
    animation: borderRotate 2s linear infinite;
}

@keyframes borderRotate {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Radial glow that follows mouse */
.svc3-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(36,83,255,0.25) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    top: 50%; left: 50%;
}

.svc3-card:hover .svc3-glow { opacity: 1; }

/* Card inner content */
.svc3-inner {
    position: relative;
    z-index: 1;
    background: linear-gradient(145deg, rgba(13,16,32,0.95) 0%, rgba(5,8,22,0.98) 100%);
    border-radius: 19px;
    padding: 2.2rem;
    height: 100%;
    transition: background 0.4s;
}

.svc3-card:hover .svc3-inner {
    background: linear-gradient(145deg, rgba(20,25,55,0.98) 0%, rgba(8,12,30,0.99) 100%);
}

/* Icon */
.svc3-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(36,83,255,0.2), rgba(76,201,255,0.1));
    border: 1px solid rgba(36,83,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}

.svc3-card:hover .svc3-icon-wrap {
    background: linear-gradient(135deg, #2453FF, #4CC9FF);
    border-color: transparent;
    color: white;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 30px rgba(36,83,255,0.4);
}

/* Text */
.svc3-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
    transition: color 0.3s;
}

.svc3-desc {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

/* Link */
.svc3-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.3s;
}

.svc3-link:hover { gap: 0.75rem; }

.svc3-arrow { transition: transform 0.3s; }
.svc3-link:hover .svc3-arrow { transform: translateX(4px); }

/* Responsive */
@media (max-width: 900px) {
    .svc3-grid { grid-template-columns: repeat(2,1fr); }
    .svc3-header { flex-direction: column; }
}
@media (max-width: 600px) {
    .svc3-grid { grid-template-columns: 1fr; }
}

/* ===================== BENTO GRID ===================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    animation: fadeInUp 0.6s ease both;
}

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

.bento-item.large { grid-column: span 2; }
.bento-item.tall { grid-row: span 2; }

/* ===================== PORTFOLIO ===================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.portfolio-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    background: var(--bg2);
    cursor: pointer;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,8,22,0.95) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-category {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.portfolio-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.filter-tab {
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--gray);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.filter-tab.active, .filter-tab:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-slider { position: relative; overflow: hidden; }

.testimonial-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg3);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

/* ===================== BLOG ===================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(36,83,255,0.3);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.blog-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg3);
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-card-body { padding: 1.5rem; }

.blog-category-tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background: rgba(36,83,255,0.15);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-decoration: none;
}

.blog-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.7rem;
    text-decoration: none;
    display: block;
    line-height: 1.4;
    transition: color 0.3s;
}

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

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray2);
    margin-top: 1rem;
}

/* ===================== TECHNOLOGIES ===================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.tech-item {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--primary);
    background: rgba(36,83,255,0.08);
    transform: translateY(-4px);
}

.tech-item img { width: 40px; height: 40px; margin: 0 auto 0.7rem; display: block; object-fit: contain; }
.tech-item span { font-size: 0.75rem; color: var(--gray); display: block; }

/* ===================== PROCESS TIMELINE ===================== */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
}

.process-step {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.process-step-num {
    width: 80px;
    height: 80px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s;
}

.process-step:hover .process-step-num {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--glow);
}

/* ===================== COUNTER ===================== */
.counter-section {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 0;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.counter-num {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--white), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-label { font-size: 0.9rem; color: var(--gray); margin-top: 0.5rem; }

/* ===================== TEAM CARDS ===================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.team-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(36,83,255,0.4);
}

.team-card-img {
    aspect-ratio: 1;
    background: var(--bg3);
    overflow: hidden;
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.team-card:hover .team-card-img img { transform: scale(1.05); }
.team-card-body { padding: 1.5rem; }
.team-card-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.team-card-pos { font-size: 0.85rem; color: var(--accent); }

.social-links {
    display: flex;
    gap: 0.7rem;
    margin-top: 1rem;
}

.social-link {
    width: 32px;
    height: 32px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ===================== CONTACT ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.contact-info-item:hover {
    border-color: rgba(36,83,255,0.4);
    background: rgba(36,83,255,0.05);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===================== FORM STYLES ===================== */
.form-group { margin-bottom: 1.5rem; }

.form-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    background: rgba(36,83,255,0.05);
    box-shadow: 0 0 0 3px rgba(36,83,255,0.1);
}

.form-control::placeholder { color: var(--gray2); }

textarea.form-control { resize: vertical; min-height: 150px; }

select.form-control option { background: var(--bg2); color: var(--white); }

/* ===================== FAQ ===================== */
.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item.active { border-color: rgba(36,83,255,0.4); }

.faq-question {
    padding: 1.3rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    user-select: none;
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s;
    color: var(--accent);
}

.faq-item.active .faq-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 1.5rem;
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 1.3rem; }

/* ===================== FOOTER ===================== */
.footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo { height: 40px; margin-bottom: 1.5rem; }

.footer-desc { color: var(--gray); font-size: 0.9rem; line-height: 1.8; margin-bottom: 2rem; }

.footer-social { display: flex; gap: 0.7rem; }

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.7rem; }
.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray2);
    font-size: 0.85rem;
}

/* ===================== GLOWS & EFFECTS ===================== */
.glow-sphere {
    border-radius: 50%;
    filter: blur(80px);
    position: absolute;
    pointer-events: none;
}

.glow-blue { background: rgba(36,83,255,0.15); }
.glow-cyan { background: rgba(76,201,255,0.1); }

.noise-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===================== MARQUEE ===================== */
.marquee-wrapper { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.2rem 0; }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; animation: marquee 25s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 0.7rem; color: var(--gray); font-size: 0.9rem; font-weight: 500; }
.marquee-dot { width: 5px; height: 5px; background: var(--primary); border-radius: 50%; }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ===================== PAGE HERO ===================== */
.page-hero {
    padding: 10rem 0 6rem;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at center top, rgba(36,83,255,0.15) 0%, transparent 60%);
}

.page-hero-title { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; margin-bottom: 1.5rem; }
.page-hero-desc { font-size: 1.1rem; color: var(--gray); max-width: 600px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
}
.breadcrumb a { color: var(--gray); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--gray2); }
.breadcrumb .active { color: var(--accent); }

/* ===================== CAREER CARDS ===================== */
.job-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s;
    margin-bottom: 1rem;
}
.job-card:hover { border-color: rgba(36,83,255,0.4); transform: translateX(8px); }

.job-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid;
}

.job-badge.full-time { border-color: #10B981; color: #10B981; background: rgba(16,185,129,0.1); }
.job-badge.remote { border-color: var(--accent); color: var(--accent); background: rgba(76,201,255,0.1); }
.job-badge.part-time { border-color: #F59E0B; color: #F59E0B; background: rgba(245,158,11,0.1); }
.job-badge.contract { border-color: #8B5CF6; color: #8B5CF6; background: rgba(139,92,246,0.1); }

/* ===================== ALERT ===================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #10B981; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #EF4444; }

/* ===================== LOADING / SKELETON ===================== */
.skeleton {
    background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3) 50%, var(--bg2) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===================== ANIMATIONS (GSAP helpers) ===================== */
.reveal-up { opacity: 0; transform: translateY(60px); }
.reveal-left { opacity: 0; transform: translateX(-60px); }
.reveal-right { opacity: 0; transform: translateX(60px); }
.reveal-scale { opacity: 0; transform: scale(0.9); }

/* ===================== SCROLL PROGRESS ===================== */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 10000;
    width: 0%;
    transition: width 0.1s linear;
}

/* ===================== BACK TO TOP ===================== */
/* WhatsApp float button */
#whatsapp-float {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 1000;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s;
    animation: waPulse 2.5s ease-in-out infinite;
}
#whatsapp-float:hover { background: #128C7E; transform: translateY(-4px) scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); animation: none; }
@keyframes waPulse {
    0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
    font-size: 1.2rem;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--accent); transform: translateY(-4px); }

/* ===================== PAGINATION ===================== */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.page-link {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--glass);
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.page-link:hover, .page-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ===================== DIVIDER ===================== */
.divider { height: 1px; background: var(--border); margin: 4rem 0; }

/* ===================== 3D RING CAROUSEL ===================== */
.svc-flow-section {
    position: relative;
    background: var(--bg);
}

/* Section header — scrolls normally above the pinned ring */
.svc-flow-header {
    padding: 5rem 0 2.5rem;
    text-align: center;
    background: var(--bg);
}

.svc-flow-sticky {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: var(--bg);   /* solid bg prevents counter bleeding through */
    z-index: 5;              /* stays above the counter section while pinned */
}

.svc-flow-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Left overlay panel — counter + bar + CTA only */
.svc-flow-side {
    position: absolute;
    left: 4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.svc-flow-counter {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
}

#svc-flow-current {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.svc-flow-slash { font-size: 1.5rem; color: rgba(255,255,255,0.15); }
.svc-flow-total { font-size: 1.5rem; color: var(--gray2); font-variant-numeric: tabular-nums; }

.svc-flow-progress-track {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.svc-flow-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    width: 0%;
    transition: width 0.08s linear;
}

.svc-flow-cta { align-self: flex-start; }

/* Up/Down nav arrows */
.svc-flow-nav {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 10;
}

.svc-flow-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
    backdrop-filter: blur(8px);
}

.svc-flow-nav-btn:hover {
    border-color: var(--accent);
    background: rgba(76,201,255,0.12);
    color: var(--accent);
    transform: scale(1.1);
}

/* Full-viewport 3D stage */
.svc-flow-stage {
    position: absolute;
    inset: 0;
    perspective: 1100px;
    perspective-origin: 58% 50%;
    z-index: 1;
}

/* Portrait ring card */
.svc-flow-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 260px;
    height: 320px;
    border-radius: 18px;
    transform-style: preserve-3d;
    will-change: transform, opacity;
    cursor: pointer;
    overflow: hidden;
    transition: filter 0.4s;
}

.svc-flow-card.svc-near  { filter: brightness(0.65); }
.svc-flow-card.svc-far   { filter: brightness(0.35) blur(1px); }
.svc-flow-card.svc-hidden { opacity: 0; pointer-events: none; }

/* Animated gradient border */
.svc-flow-card-border {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(36,83,255,0.5), rgba(76,201,255,0.2));
    -webkit-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;
    transition: opacity 0.4s;
    z-index: 3;
}

.svc-flow-card.active .svc-flow-card-border {
    background: linear-gradient(135deg, #2453FF, #4CC9FF, #2453FF);
    background-size: 200% 200%;
    opacity: 1;
    animation: svcBorderFlow 2.5s linear infinite;
}

@keyframes svcBorderFlow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Glow */
.svc-flow-card-glow {
    position: absolute;
    inset: -30px;
    border-radius: 36px;
    background: radial-gradient(ellipse at 50% 50%, rgba(36,83,255,0.32) 0%, transparent 65%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 0;
}

.svc-flow-card.active .svc-flow-card-glow { opacity: 1; }

/* Card body — full-width portrait */
.svc-flow-card-body {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: linear-gradient(155deg, rgba(13,16,32,0.97) 0%, rgba(5,8,22,0.99) 100%);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backface-visibility: hidden;
}

.svc-flow-card-num {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.svc-flow-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(36,83,255,0.2), rgba(76,201,255,0.1));
    border: 1px solid rgba(36,83,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    flex-shrink: 0;
    transition: all 0.4s;
}

.svc-flow-card.active .svc-flow-card-icon {
    background: linear-gradient(135deg, #2453FF, #4CC9FF);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 24px rgba(36,83,255,0.45);
}

.svc-flow-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.svc-flow-card-desc {
    font-size: 0.78rem;
    color: var(--gray);
    line-height: 1.65;
    flex: 1;
}

.svc-flow-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    margin-top: 1.3rem;
    flex-shrink: 0;
    transition: gap 0.3s;
}
.svc-flow-card-link:hover { gap: 0.75rem; }

/* Visual panel — repurposed as background decor in portrait mode */
.svc-flow-card-visual {
    display: none; /* hidden — decorative bg handled inline */
}
.svc-flow-card-visual-hidden {
    flex: 1;
    position: relative;
    background: linear-gradient(155deg, rgba(36,83,255,0.1) 0%, rgba(76,201,255,0.05) 100%);
    border-left: 1px solid rgba(36,83,255,0.15);
    overflow: hidden;
}

.svc-flow-card-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(36,83,255,0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(36,83,255,0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at center, rgba(255,255,255,0.7) 0%, transparent 72%);
}

.svc-flow-card-orb {
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(76,201,255,0.22) 0%, transparent 65%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.svc-flow-card.active .svc-flow-card-orb {
    animation: svcOrbPulse 2.8s ease-in-out infinite;
}

@keyframes svcOrbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.35); opacity: 1; }
}

.svc-flow-card-icon-bg {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 5rem;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    pointer-events: none;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .hero-grid, .contact-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: repeat(4, 1fr); }
    .bento-grid, .portfolio-grid, .blog-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .process-timeline::before { display: none; }
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    .container-fluid { padding: 0 2rem; }
    .svc-ring-card { width: 300px; height: 380px; }
    .svc-ring-topbar { padding: 2.5rem 2rem 0; }
    .svc-flow-card { width: 240px; height: 300px; }
    .svc-flow-nav { right: 2rem; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; position: fixed; inset: 0; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; }
    .nav-menu.open { display: flex; }
    .nav-menu a { font-size: 1.5rem; }
    .hamburger { display: flex; position: relative; z-index: 1001; }
    .portfolio-grid, .blog-grid, .team-grid { grid-template-columns: 1fr; }
    .bento-item.large { grid-column: span 1; }
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    body { cursor: default; }
    #cursor, #cursor-follower { display: none; }
    .svc-ring-card { width: 250px; height: 320px; }
    .svc-ring-card-inner { padding: 1.6rem; }
    .svc-ring-topbar { padding: 2rem 1.5rem 0; flex-direction: column; gap: 0.8rem; }
    .svc-ring-allbtn { align-self: flex-start; }
    .svc-ring-heading { font-size: 1.4rem; }
    .svc-ring-section { height: calc(100vh + 1100px); }
    /* flow — mobile: side at top, ring centered */
    .svc-flow-side { left: 1.5rem; top: 1.5rem; transform: none; width: calc(100% - 3rem); flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: center; }
    .svc-flow-heading { width: 100%; font-size: 1.2rem; margin-bottom: 0.3rem; }
    .svc-flow-progress-track { width: 100%; margin-bottom: 0; order: 5; }
    .svc-flow-cta { display: none; }
    .svc-flow-nav { right: 1.2rem; }
    .svc-flow-card { width: 220px; height: 280px; }
    /* svc-flow-section uses auto height — GSAP pin handles scroll space */
}

@media (max-width: 480px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .counter-grid { grid-template-columns: 1fr 1fr; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .bento-grid { grid-template-columns: 1fr; }
    .process-timeline { grid-template-columns: 1fr; }
    .svc-ring-card { width: 210px; height: 280px; }
    .svc-ring-card-inner { padding: 1.3rem; }
    .svc-ring-icon { width: 46px; height: 46px; font-size: 1.1rem; margin-bottom: 1rem; }
    .svc-ring-card-title { font-size: 1rem; }
    .svc-ring-card-desc { font-size: 0.8rem; }
    .svc-ring-section { height: calc(100vh + 800px); }
    .svc-flow-card { width: 200px; height: 260px; }
}
