/* ========== VARIABLES & RESET ========== */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --dark: #000000;
    --dark-2: #070709;
    --dark-3: #0d0d12;
    --dark-4: #131318;
    --dark-5: #1a1a22;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --light: #e5e7eb;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-text: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99,102,241,0.4) 0%, rgba(6,182,212,0.4) 100%);
    --shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.7);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    background: var(--dark);
    overflow-x: clip;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

section,
footer,
nav {
    overflow-x: clip;
}

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

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

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

/* ========== CUSTOM CURSOR GLOW ========== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* ========== ANIMATED GRID BACKGROUND ========== */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.grid-bg::before {
    content: '';
    position: absolute;
    inset: -50%;
    background-image:
        linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

.grid-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 0%, var(--dark) 70%);
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* ========== FLOATING ORB BACKGROUNDS ========== */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(99,102,241,0.08);
    top: -10%;
    left: -10%;
    animation: orbFloat1 15s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(6,182,212,0.06);
    bottom: -10%;
    right: -10%;
    animation: orbFloat2 18s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(139,92,246,0.05);
    top: 50%;
    left: 50%;
    animation: orbFloat3 12s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, 50px) scale(1.1); }
    66% { transform: translate(-50px, 100px) scale(0.9); }
}

@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-80px, -60px) scale(1.15); }
    66% { transform: translate(60px, -80px) scale(0.85); }
}

@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-30%, -70%) scale(1.2); }
}

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

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(99,102,241,0.08);
    padding: 10px 0;
}

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

.nav-logo img {
    width: 190px;
    height: 96px;
    object-fit: contain;
    object-position: center;
    transition: var(--transition);
}

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

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-light);
    transition: var(--transition);
    position: relative;
}

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

.nav-cta {
    background: var(--gradient) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99,102,241,0.4);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 24px 80px;
    overflow: hidden;
    z-index: 1;
}

/* Vignette edges */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    box-shadow: inset 0 0 150px 30px rgba(0,0,0,0.6);
}

/* Full-width hero background image */
.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    animation: heroImgZoom 25s ease-in-out infinite alternate;
}

@keyframes heroImgZoom {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1%, -1%); }
}

/* Multi-layer overlay for elegance */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.95) 100%),
        linear-gradient(90deg, rgba(0,0,0,0.7) 0%, transparent 50%, rgba(0,0,0,0.4) 100%),
        radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(6,182,212,0.08) 0%, transparent 50%);
}

/* Scan line across full hero */
.hero-scanline {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero-scanline::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, rgba(99,102,241,0.03) 40%, rgba(6,182,212,0.04) 60%, transparent 100%);
    animation: scanLine 5s linear infinite;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* Connecting lines animation */
.hero-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-line {
    position: absolute;
    width: 1px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(99,102,241,0.15), transparent);
    animation: lineFall 6s linear infinite;
}

@keyframes lineFall {
    0% { transform: translateY(-200px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content--centered {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-template-columns: none;
    gap: 0;
    z-index: 3;
}

.hero-text--centered {
    text-align: center;
    max-width: 820px;
}

.hero-text--centered p {
    margin-left: auto;
    margin-right: auto;
}

.hero-text--centered .hero-buttons {
    justify-content: center;
}

.hero-text--centered .hero-stats {
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge--logo {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    animation: none;
    margin-bottom: 20px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.hero-badge--logo::before {
    display: none;
}

.hero-badge--logo img {
    width: 460px;
    max-width: 86vw;
    height: auto;
    display: block;
}

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

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.2); }
    50% { box-shadow: 0 0 20px 2px rgba(99,102,241,0.15); }
}

.hero-text h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
    text-shadow: 0 2px 30px rgba(0,0,0,0.5);
    white-space: nowrap;
    letter-spacing: -0.03em;
}

/* Typing cursor for hero */
.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary-light);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: cursorBlink 1s step-end infinite;
}

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

.hero-text p {
    font-size: 1.15rem;
    color: var(--gray-light);
    margin-bottom: 36px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: width 0.6s, height 0.6s;
    transform: translate(-50%, -50%);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 35px rgba(99,102,241,0.55);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.1);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(99,102,241,0.08);
    transform: translateY(-3px);
}

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

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, rgba(99,102,241,0.3), transparent);
}

.stat:last-child::after { display: none; }

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Hero image glow — kept for potential reuse */
@keyframes glowPulse {
    0%, 100% { opacity: 0.3; filter: blur(30px); }
    50% { opacity: 0.6; filter: blur(40px); }
}

@keyframes scanLine {
    0% { top: -50%; }
    100% { top: 150%; }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.scroll-indicator {
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 4px;
    height: 10px;
    background: var(--primary-light);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* ========== SECTION DIVIDERS ========== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(99,102,241,0.2), transparent);
    position: relative;
    overflow: visible;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: -3px;
    width: 80px;
    height: 7px;
    background: var(--gradient);
    border-radius: 4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(99,102,241,0.5);
}

/* ========== SECTIONS ========== */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== ABOUT ========== */
.about {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-3) 50%, var(--dark) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-card {
    background: rgba(13,13,18,0.8);
    border: 1px solid rgba(99,102,241,0.06);
    border-radius: var(--radius);
    padding: 40px 32px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.about-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99,102,241,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99,102,241,0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99,102,241,0.05);
}

.about-card:hover::before { transform: scaleX(1); }
.about-card:hover::after { opacity: 1; }

.about-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.about-card:hover .about-icon {
    background: var(--gradient);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(99,102,241,0.3);
    transform: scale(1.1) rotate(5deg);
}

.about-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-light);
    transition: var(--transition);
}

.about-card:hover .about-icon svg { color: var(--white); }

.about-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.about-card p {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== SERVICES ========== */
.services {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-3) 50%, var(--dark) 100%);
}

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

.service-card {
    background: rgba(7,7,9,0.9);
    border: 1px solid rgba(99,102,241,0.05);
    border-radius: var(--radius);
    padding: 44px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99,102,241,0.04) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
}

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

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.service-card:hover::after { transform: scaleX(1); }

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99,102,241,0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99,102,241,0.03);
}

.service-card.featured {
    border-color: rgba(99,102,241,0.15);
    background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(6,182,212,0.03) 100%);
}

.service-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(99,102,241,0.08) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: absolute;
    top: 16px;
    right: 28px;
    line-height: 1;
    transition: var(--transition);
}

.service-card:hover .service-number {
    background: linear-gradient(180deg, rgba(99,102,241,0.15) 0%, transparent 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    transition: var(--transition);
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: var(--gradient);
    z-index: -1;
    filter: blur(12px);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover .service-icon::after { opacity: 0.5; }
.service-card:hover .service-icon { transform: scale(1.1); }

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.service-card > p {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.service-features li {
    font-size: 0.88rem;
    color: var(--gray-light);
    padding-left: 24px;
    position: relative;
    transition: var(--transition);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    transition: var(--transition);
}

.service-card:hover .service-features li::before {
    background: var(--primary);
    box-shadow: 0 0 10px rgba(99,102,241,0.4);
}

.service-card:hover .service-features li {
    color: var(--light);
    transform: translateX(4px);
}

/* ========== PROCESS / TIMELINE ========== */
.process {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-3) 50%, var(--dark) 100%);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 2px;
    background: rgba(99,102,241,0.1);
    transform: translateY(-50%);
}

.process-line-progress {
    position: absolute;
    top: 50%;
    left: 5%;
    height: 2px;
    background: var(--gradient);
    transform: translateY(-50%);
    width: 0%;
    transition: width 1.5s ease;
    box-shadow: 0 0 15px rgba(99,102,241,0.4);
}

.process-timeline.visible .process-line-progress {
    width: 90%;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.process-timeline.visible .process-step {
    opacity: 1;
    transform: translateY(0);
}

.process-timeline.visible .process-step:nth-child(1) { transition-delay: 0.2s; }
.process-timeline.visible .process-step:nth-child(2) { transition-delay: 0.5s; }
.process-timeline.visible .process-step:nth-child(3) { transition-delay: 0.8s; }
.process-timeline.visible .process-step:nth-child(4) { transition-delay: 1.1s; }

.process-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--dark-3);
    border: 2px solid rgba(99,102,241,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-light);
    transition: all 0.5s ease;
}

.process-timeline.visible .process-dot {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(99,102,241,0.2);
}

.process-step:hover .process-dot {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(99,102,241,0.4);
}

.process-step h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.82rem;
    color: var(--gray);
    max-width: 160px;
    line-height: 1.5;
}

/* ========== TECH MARQUEE ========== */
.tech {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-3) 50%, var(--dark) 100%);
}

.tech-marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    padding: 10px 0;
}

.tech-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.tech-track-reverse {
    animation-direction: reverse;
}

.tech-item {
    padding: 14px 32px;
    background: rgba(13,13,18,0.8);
    border: 1px solid rgba(99,102,241,0.06);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray);
    white-space: nowrap;
    transition: all 0.4s ease;
    cursor: default;
}

.tech-item:hover {
    border-color: var(--primary);
    color: var(--white);
    background: rgba(99,102,241,0.1);
    box-shadow: 0 0 25px rgba(99,102,241,0.15);
    transform: scale(1.08);
}

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

/* ========== TESTIMONIAL / CTA BANNER ========== */
.cta-banner {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    overflow: hidden;
}

.cta-inner {
    background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(6,182,212,0.04) 100%);
    border: 1px solid rgba(99,102,241,0.1);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(99,102,241,0.03), transparent, rgba(6,182,212,0.03), transparent);
    animation: rotateConic 15s linear infinite;
}

@keyframes rotateConic {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-inner h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-inner p {
    font-size: 1.1rem;
    color: var(--gray-light);
    max-width: 550px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
}

.cta-inner .btn {
    position: relative;
    z-index: 1;
}

/* ========== CONTACT ========== */
.contact {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-3) 50%, var(--dark) 100%);
}

/* ========== CHAT WINDOW ========== */
.chat-window {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(7,7,9,0.9);
    border: 1px solid rgba(99,102,241,0.1);
    box-shadow:
        0 40px 80px rgba(0,0,0,0.6),
        0 0 60px rgba(99,102,241,0.06),
        inset 0 1px 0 rgba(255,255,255,0.03);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Gradient accent line on top */
.chat-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    z-index: 5;
}

/* Chat Header */
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(13,13,18,0.95);
    border-bottom: 1px solid rgba(99,102,241,0.06);
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.chat-avatar {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.chat-avatar-status {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 14px;
    height: 14px;
    background: #22c55e;
    border-radius: 50%;
    border: 3px solid rgba(13,13,18,0.95);
    animation: statusPulse 3s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { box-shadow: 0 0 0 4px rgba(34,197,94,0); }
}

.chat-header-info h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2px;
}

.chat-status-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #22c55e;
    min-width: 0;
}

.chat-status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.chat-header-actions {
    display: flex;
    gap: 4px;
}

.chat-header-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.chat-header-btn:hover {
    background: rgba(99,102,241,0.1);
    color: var(--white);
}

/* Chat Body */
.chat-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 420px;
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(99,102,241,0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.02) 0%, transparent 50%);
}

/* Scrollbar */
.chat-body::-webkit-scrollbar {
    width: 5px;
}

.chat-body::-webkit-scrollbar-track {
    background: transparent;
}

.chat-body::-webkit-scrollbar-thumb {
    background: rgba(99,102,241,0.15);
    border-radius: 10px;
}

/* Date separator */
.chat-date {
    text-align: center;
    font-size: 0.72rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 8px 0;
}

.chat-date::before,
.chat-date::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: rgba(99,102,241,0.06);
}

.chat-date::before { left: 0; }
.chat-date::after { right: 0; }

/* Messages */
.chat-message {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    animation: messageIn 0.4s ease-out;
}

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

.chat-message--user {
    flex-direction: row-reverse;
}

.chat-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-light);
}

.chat-bubble {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 16px;
    position: relative;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.chat-bubble p {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.chat-bubble p:last-of-type {
    margin-bottom: 0;
}

.chat-bubble--bot {
    background: rgba(13,13,18,0.9);
    border: 1px solid rgba(99,102,241,0.06);
    border-bottom-left-radius: 4px;
    color: var(--light);
}

.chat-bubble--user {
    background: var(--gradient);
    border-bottom-right-radius: 4px;
    color: var(--white);
}

.chat-bubble--user .chat-time {
    color: rgba(255,255,255,0.5);
}

.chat-time {
    display: block;
    font-size: 0.68rem;
    color: var(--gray);
    margin-top: 6px;
    text-align: right;
}

/* Chat list inside bubble */
.chat-list {
    list-style: none;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-list li {
    font-size: 0.85rem;
    padding-left: 16px;
    position: relative;
    color: var(--gray-light);
    line-height: 1.5;
}

.chat-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-light);
}

.chat-list li strong {
    color: var(--white);
}

/* Quick action chips */
.chat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 42px;
    animation: messageIn 0.4s ease-out;
}

.chat-chip {
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(99,102,241,0.15);
    background: rgba(99,102,241,0.06);
    color: var(--primary-light);
    font-size: 0.82rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    max-width: 100%;
}

.chat-chip:hover {
    background: rgba(99,102,241,0.15);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99,102,241,0.2);
}

.chat-chip:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Typing indicator */
.chat-typing {
    padding: 16px 22px !important;
}

.typing-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.4;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* Chat Footer / Input */
.chat-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid rgba(99,102,241,0.06);
    background: rgba(13,13,18,0.95);
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(0,0,0,0.3);
    border: 1.5px solid rgba(99,102,241,0.06);
    border-radius: 12px;
    color: var(--white);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
    cursor: text;
}

.chat-input::placeholder {
    color: var(--gray);
}

.chat-input:focus {
    border-color: rgba(99,102,241,0.2);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.06);
}

.chat-input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.chat-attach,
.chat-send {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.chat-attach {
    background: transparent;
    color: var(--gray);
}

.chat-attach:hover {
    background: rgba(99,102,241,0.08);
    color: var(--primary-light);
}

.chat-send {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99,102,241,0.3);
}

.chat-send:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(99,102,241,0.45);
}

.chat-send:disabled,
.chat-attach:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.chat-window.is-loading .chat-status-text {
    color: var(--accent-light);
}

.chat-window.is-error .chat-status-text {
    color: #fca5a5;
}

.chat-window.is-loading .chat-status-dot {
    background: var(--accent-light);
}

.chat-window.is-error .chat-status-dot {
    background: #ef4444;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-2);
    border-top: 1px solid rgba(99,102,241,0.05);
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 200px;
    height: 120px;
    object-fit: contain;
    object-position: center;
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.9rem;
    max-width: 300px;
    line-height: 1.6;
}

.footer-links h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(6px);
}

.footer-bottom {
    border-top: 1px solid rgba(99,102,241,0.05);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.82rem;
    opacity: 0.6;
}

/* ========== TOAST ========== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(7,7,9,0.95);
    border: 1px solid rgba(34,197,94,0.3);
    color: #22c55e;
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 9999;
    backdrop-filter: blur(20px);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ========== ANIMATIONS ========== */
[data-animate] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-animate-left] {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate-left].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate-right] {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate-right].visible {
    opacity: 1;
    transform: translateX(0);
}

[data-animate-scale] {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate-scale].visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
[data-delay="1"] { transition-delay: 0.1s !important; }
[data-delay="2"] { transition-delay: 0.2s !important; }
[data-delay="3"] { transition-delay: 0.3s !important; }
[data-delay="4"] { transition-delay: 0.4s !important; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-text p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .services-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
    .chat-window { margin: 0 16px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto; }
    .process-timeline { flex-direction: column; gap: 40px; align-items: center; }
    .process-timeline::before { display: none; }
    .process-line-progress { display: none; }
    .cta-inner { padding: 50px 30px; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(0,0,0,0.95);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: var(--transition);
        border-left: 1px solid rgba(99,102,241,0.08);
        backdrop-filter: blur(20px);
        transform: translateX(100%);
        overflow-y: auto;
    }
    .nav-links.active { transform: translateX(0); }
    .nav-toggle { display: flex; z-index: 1001; }
    .hero { padding: 100px 24px 60px; min-height: auto; }
    .hero-text h1 {
        font-size: clamp(2rem, 6vw, 3.1rem);
    }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 1.5rem; }
    .section { padding: 80px 0; }
    .chat-window {
        margin: 0;
        border-radius: 18px;
    }
    .chat-header {
        padding: 16px;
        gap: 12px;
    }
    .chat-header-info h4 {
        font-size: 0.95rem;
    }
    .chat-status-text {
        font-size: 0.72rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .chat-header-actions {
        gap: 2px;
    }
    .chat-header-btn {
        width: 30px;
        height: 30px;
    }
    .chat-body {
        min-height: 340px;
        max-height: 340px;
        padding: 18px 14px;
        gap: 14px;
    }
    .chat-message {
        gap: 8px;
    }
    .chat-message-avatar {
        width: 28px;
        height: 28px;
        border-radius: 9px;
    }
    .chat-bubble {
        max-width: calc(100% - 36px);
        padding: 12px 14px;
        border-radius: 14px;
    }
    .chat-bubble p,
    .chat-list li {
        font-size: 0.84rem;
    }
    .chat-list {
        gap: 6px;
    }
    .chat-chips {
        padding-left: 0;
        gap: 6px;
    }
    .chat-chip {
        white-space: normal;
        line-height: 1.35;
        padding: 8px 14px;
        font-size: 0.78rem;
    }
    .chat-footer {
        padding: 12px 14px;
        gap: 8px;
    }
    .chat-input {
        min-width: 0;
        font-size: 16px;
        padding: 11px 14px;
    }
    .chat-attach,
    .chat-send {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .container,
    .nav-container {
        padding-left: 18px;
        padding-right: 18px;
    }
    .nav-links {
        width: min(280px, 100vw);
        padding: 32px 24px;
    }
    .hero {
        padding: 92px 18px 56px;
    }
    .hero-text h1 {
        font-size: clamp(1.45rem, 6.3vw, 2.1rem);
        line-height: 1;
        letter-spacing: -0.045em;
    }
    .chat-window {
        border-radius: 16px;
    }
    .chat-header {
        padding: 14px 12px;
    }
    .chat-avatar {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
    .chat-avatar img {
        width: 100%;
        height: 100%;
    }
    .chat-avatar-status {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
    .chat-header-actions {
        display: none;
    }
    .chat-body {
        min-height: 320px;
        max-height: 320px;
        padding: 16px 12px;
    }
    .chat-date {
        font-size: 0.68rem;
        letter-spacing: 1px;
    }
    .chat-bubble {
        max-width: calc(100% - 32px);
        padding: 11px 13px;
    }
    .chat-time {
        font-size: 0.64rem;
    }
    .chat-chip {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .chat-footer {
        padding: 10px 12px;
    }
    .chat-attach {
        display: none;
    }
    .footer-logo {
        height: 28px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (hover: none), (pointer: coarse) {
    .about-card:hover,
    .service-card:hover,
    .btn-primary:hover,
    .btn-outline:hover,
    .tech-item:hover,
    .chat-chip:hover,
    .chat-send:hover,
    .footer-links a:hover {
        transform: none;
    }
    .about-card:hover .about-icon,
    .service-card:hover .service-icon,
    .service-card:hover .service-features li,
    .process-step:hover .process-dot {
        transform: none;
    }
    .about-card:hover,
    .service-card:hover,
    .tech-item:hover,
    .chat-chip:hover,
    .chat-send:hover,
    .footer-links a:hover {
        box-shadow: none;
    }
}
