/* ========== VARIABLES & RESET ========== */
:root {
    --primary: #6C3AED;
    --primary-light: #8B5CF6;
    --primary-dark: #5B21B6;
    --accent: #06B6D4;
    --accent-light: #22D3EE;
    --bg-dark: #0B0F1A;
    --bg-card: #111827;
    --bg-card-hover: #1E293B;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border: #1E293B;
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));
    --gradient-text: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 40px rgba(108, 58, 237, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== LIGHT MODE ========== */
[data-theme="light"] {
    --bg-dark: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 64px rgba(0,0,0,0.1);
    --shadow-glow: 0 0 40px rgba(108, 58, 237, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* ========== CUSTOM CURSOR ========== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-glow {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-dot.hovering {
    transform: scale(2);
    background: var(--accent-light);
}

.cursor-glow.hovering {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25), transparent 70%);
}

/* ========== AURORA BACKGROUND ========== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(108, 58, 237, 0.06) 0%, transparent 100%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.04) 0%, transparent 100%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 100%);
    animation: auroraShift 12s ease-in-out infinite alternate;
    z-index: -1;
    pointer-events: none;
}

@keyframes auroraShift {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%;
        opacity: 0.8;
    }
    50% { opacity: 1; }
    100% {
        background-position: 100% 100%, 0% 0%, 50% 0%;
        opacity: 0.8;
    }
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

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

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(108, 58, 237, 0.4);
    animation: btnGlow 3s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(108, 58, 237, 0.7), 0 0 80px rgba(6, 182, 212, 0.2);
    animation: none;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(108, 58, 237, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(108, 58, 237, 0.6), 0 0 60px rgba(6, 182, 212, 0.15); }
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(108, 58, 237, 0.1);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

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

/* ========== PROMO BANNER ========== */
.promo-banner {
    background: var(--gradient);
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: transform 0.4s ease;
}

.promo-banner.hidden {
    transform: translateY(-100%);
}

.promo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.promo-banner p {
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    text-align: center;
}

.promo-banner a {
    color: white;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: var(--transition);
}

.promo-banner a:hover {
    opacity: 0.85;
}

.promo-banner a i {
    margin-left: 4px;
    font-size: 0.75rem;
}

.promo-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.promo-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.no-banner {
    top: 0;
}

.navbar.scrolled {
    background: rgba(11, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.logo-icon {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.4rem;
    font-weight: 900;
}

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

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

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

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

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    transform: rotate(20deg);
}

.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(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.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: 120px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(108, 58, 237, 0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-2%, -2%); }
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    overflow: hidden;
    z-index: 1;
}

.hero-particles canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}

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

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(108, 58, 237, 0.15);
    border: 1px solid rgba(108, 58, 237, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.typewriter-cursor {
    font-weight: 300;
    animation: twBlink 0.7s ease-in-out infinite;
    color: var(--accent-light);
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

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

.hero-scroll a {
    color: var(--text-muted);
    font-size: 1.2rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

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

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 58, 237, 0.1);
    border: 1px solid rgba(108, 58, 237, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

/* ========== SERVICES ========== */
.services {
    padding: 120px 0;
    position: relative;
}

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

.service-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.service-card:hover {
    border-color: rgba(108, 58, 237, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 0 40px rgba(108, 58, 237, 0.15), 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(17, 24, 39, 0.75);
}

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

.service-card.featured {
    border-color: rgba(108, 58, 237, 0.3);
    background: linear-gradient(180deg, rgba(108, 58, 237, 0.1) 0%, rgba(17, 24, 39, 0.7) 100%);
}

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

.service-advanced {
    background: linear-gradient(135deg, rgba(108, 58, 237, 0.06), rgba(6, 182, 212, 0.06));
    border-style: dashed;
    border-color: rgba(108, 58, 237, 0.25);
}

.service-advanced:hover {
    border-style: solid;
}

.service-advanced .btn-sm {
    margin-top: 16px;
    padding: 10px 20px;
    font-size: 0.85rem;
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--gradient);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(108, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.4rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.service-features li i {
    color: var(--accent);
    font-size: 0.75rem;
}

/* ========== TECH SECTION ========== */
.tech-section {
    padding: 120px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(108, 58, 237, 0.03) 50%, transparent 100%);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.tech-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
    transition: var(--transition);
}

.tech-category[data-accent="green"]::before {
    background: linear-gradient(180deg, #25D366, #128C7E);
}

.tech-category[data-accent="blue"]::before {
    background: linear-gradient(180deg, var(--accent), #0284C7);
}

.tech-category[data-accent="purple"]::before {
    background: var(--gradient);
}

.tech-category[data-accent="orange"]::before {
    background: linear-gradient(90deg, #F59E0B, #EF4444);
}

.tech-category[data-accent="red"]::before {
    background: linear-gradient(90deg, #EF4444, #DC2626);
}

.tech-category[data-accent="cyan"]::before {
    background: linear-gradient(90deg, #06B6D4, #0891B2);
}

.tech-category:hover {
    border-color: rgba(108, 58, 237, 0.2);
    box-shadow: var(--shadow-glow);
}

.tech-category-header {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.tech-category-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tech-category-icon.green {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.tech-category-icon.blue {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
}

.tech-category-icon.purple {
    background: rgba(108, 58, 237, 0.1);
    color: var(--primary-light);
}

.tech-category-icon.orange {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.tech-category-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

.tech-category-icon.cyan {
    background: rgba(6, 182, 212, 0.1);
    color: #06B6D4;
}

.tech-category-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.tech-category-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.tech-grid-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(108, 58, 237, 0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: default;
    transition: var(--transition);
}

.tech-chip i {
    font-size: 1.1rem;
    transition: var(--transition);
}

.tech-chip:hover {
    background: rgba(108, 58, 237, 0.12);
    border-color: rgba(108, 58, 237, 0.3);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.tech-chip:hover i {
    color: var(--primary-light);
}

[data-accent="green"] .tech-chip:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
}

[data-accent="green"] .tech-chip:hover i {
    color: #25D366;
}

[data-accent="blue"] .tech-chip:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
}

[data-accent="blue"] .tech-chip:hover i {
    color: var(--accent);
}

[data-accent="orange"] .tech-chip:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
}

[data-accent="orange"] .tech-chip:hover i {
    color: #F59E0B;
}

[data-accent="red"] .tech-chip:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

[data-accent="red"] .tech-chip:hover i {
    color: #EF4444;
}

[data-accent="cyan"] .tech-chip:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
}

[data-accent="cyan"] .tech-chip:hover i {
    color: #06B6D4;
}

/* ========== PROCESS ========== */
.process {
    padding: 120px 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--border);
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::before {
    content: attr(data-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-light);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover::before {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    -webkit-text-fill-color: white;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(108, 58, 237, 0.4);
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========== CTA ========== */
.cta-section {
    padding: 60px 0;
}

.cta-box {
    padding: 60px;
    background: linear-gradient(135deg, rgba(108, 58, 237, 0.08), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(108, 58, 237, 0.2);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.1;
}

.cta-agent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.agent-window {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.agent-dots {
    display: flex;
    gap: 6px;
}

.agent-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.agent-dots span:nth-child(1) { background: #EF4444; }
.agent-dots span:nth-child(2) { background: #F59E0B; }
.agent-dots span:nth-child(3) { background: #22C55E; }

.agent-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    flex: 1;
}

.agent-status {
    font-size: 0.7rem;
    color: #22C55E;
    display: flex;
    align-items: center;
    gap: 5px;
}

.agent-status i {
    font-size: 0.45rem;
    animation: statusPulse 2s ease-in-out infinite;
}

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

.agent-chat {
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 180px;
}

.agent-msg {
    display: flex;
    gap: 10px;
    max-width: 85%;
}

.agent-msg.user-msg {
    align-self: flex-end;
}

.agent-msg.user-msg span {
    background: var(--gradient);
    color: white;
    padding: 10px 16px;
    border-radius: 16px 16px 4px 16px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.agent-msg.bot-msg {
    align-self: flex-start;
}

.agent-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(108, 58, 237, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.agent-avatar i {
    font-size: 0.85rem;
    color: var(--primary-light);
}

.agent-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: 16px 16px 16px 4px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-primary);
    min-width: 60px;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.agent-typing {
    display: inline;
}

.agent-typing .cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: var(--primary-light);
    margin-left: 1px;
    vertical-align: middle;
    animation: cursorBlink 0.8s ease-in-out infinite;
}

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

.cta-content {
    text-align: left;
}

.cta-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

/* ========== SHOWCASE (NeuralChat) ========== */
.showcase {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(108, 58, 237, 0.04) 0%, rgba(6, 182, 212, 0.03) 100%);
    pointer-events: none;
}

/* Carousel */
.carousel-wrapper {
    position: relative;
    z-index: 1;
}

.carousel-track {
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    opacity: 0;
}

.carousel-slide.active {
    display: block;
    animation: slideIn 0.5s ease forwards;
}

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

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.carousel-btn:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(108, 58, 237, 0.1);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--gradient);
    width: 28px;
    border-radius: 5px;
}

/* Coming soon screen */
.coming-soon-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.coming-soon-content {
    text-align: center;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.coming-soon-content i {
    font-size: 2.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: comingSoonPulse 2s ease-in-out infinite;
}

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

.coming-soon-content span {
    font-size: 0.9rem;
    font-weight: 500;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.showcase-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.showcase-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.showcase-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.showcase-features li i {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.showcase-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Showcase Window (App Mockup) */
.showcase-preview {
    perspective: 1000px;
}

.showcase-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(108, 58, 237, 0.08);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.showcase-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.showcase-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.showcase-dots {
    display: flex;
    gap: 6px;
}

.showcase-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.showcase-dots span:nth-child(1) { background: #EF4444; }
.showcase-dots span:nth-child(2) { background: #F59E0B; }
.showcase-dots span:nth-child(3) { background: #22C55E; }

.showcase-url {
    font-size: 0.7rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    flex: 1;
    text-align: center;
}

.showcase-url i {
    color: #22C55E;
    margin-right: 4px;
    font-size: 0.6rem;
}

.showcase-screen {
    display: flex;
    min-height: 320px;
}

.showcase-sidebar {
    width: 48px;
    background: rgba(255, 255, 255, 0.02);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 8px;
}

.showcase-sidebar-item {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: var(--transition);
}

.showcase-sidebar-item.active {
    background: rgba(108, 58, 237, 0.15);
    color: var(--primary-light);
}

.showcase-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.showcase-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.showcase-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient);
    flex-shrink: 0;
}

.showcase-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 4px;
}

.showcase-line.light {
    background: rgba(255, 255, 255, 0.03);
}

.showcase-line.w40 { width: 40%; }
.showcase-line.w50 { width: 50%; }
.showcase-line.w60 { width: 60%; }
.showcase-line.w65 { width: 65%; }
.showcase-line.w70 { width: 70%; }
.showcase-line.w80 { width: 80%; }
.showcase-line.w85 { width: 85%; }
.showcase-line.w90 { width: 90%; }

.showcase-messages {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.showcase-msg {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 12px;
}

.showcase-msg.left {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    align-self: flex-start;
    border-radius: 12px 12px 12px 4px;
}

.showcase-msg.right {
    background: rgba(108, 58, 237, 0.12);
    border: 1px solid rgba(108, 58, 237, 0.15);
    align-self: flex-end;
    border-radius: 12px 12px 4px 12px;
}

.showcase-msg.ai {
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.15);
    position: relative;
}

.showcase-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(6, 182, 212, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

/* Light mode showcase */
[data-theme="light"] .showcase-window {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1), 0 0 60px rgba(108, 58, 237, 0.04);
}

[data-theme="light"] .showcase-line {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .showcase-line.light {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .showcase-msg.left {
    background: rgba(0, 0, 0, 0.03);
}

/* ========== CONTACT ========== */
.contact {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: rgba(108, 58, 237, 0.3);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(108, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--primary-light);
}

.contact-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

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

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-links a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* ========== FORM ========== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 58, 237, 0.15);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

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

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

.footer-links h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

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

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

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

/* ========== SCROLL ANIMATIONS ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.from-left {
    transform: translateX(-40px);
}

.animate-on-scroll.from-left.visible {
    transform: translateX(0);
}

.animate-on-scroll.from-right {
    transform: translateX(40px);
}

.animate-on-scroll.from-right.visible {
    transform: translateX(0);
}

.animate-on-scroll.scale-in {
    transform: scale(0.9);
}

.animate-on-scroll.scale-in.visible {
    transform: scale(1);
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--bg-dark);
    border: 1px solid rgba(108, 58, 237, 0.2);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 720px;
    max-height: 88vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-track { background: transparent; }
.modal-box::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 2px; }

/* Floating orbs */
.modal-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.modal-glow-orb.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(108, 58, 237, 0.15);
    top: -100px;
    right: -80px;
    animation: orbFloat1 6s ease-in-out infinite alternate;
}

.modal-glow-orb.orb-2 {
    width: 200px;
    height: 200px;
    background: rgba(6, 182, 212, 0.1);
    bottom: -60px;
    left: -60px;
    animation: orbFloat2 8s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-30px, 40px); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, -30px); }
}

/* Particles inside modal */
.modal-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.modal-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    opacity: 0;
    animation: modalParticle 4s linear infinite;
}

@keyframes modalParticle {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    20% { opacity: 0.6; }
    80% { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(-200px) scale(0.5); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 3;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #EF4444;
    transform: rotate(90deg);
}

/* Modal Hero */
.modal-hero {
    text-align: center;
    padding: 44px 32px 28px;
    position: relative;
    z-index: 1;
}

.modal-logo-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    background: var(--gradient);
    margin: 0 auto 18px;
    animation: logoSpin 4s linear infinite;
    position: relative;
}

@keyframes logoSpin {
    0% { background: linear-gradient(0deg, var(--primary), var(--accent)); }
    25% { background: linear-gradient(90deg, var(--primary), var(--accent)); }
    50% { background: linear-gradient(180deg, var(--primary), var(--accent)); }
    75% { background: linear-gradient(270deg, var(--primary), var(--accent)); }
    100% { background: linear-gradient(360deg, var(--primary), var(--accent)); }
}

.modal-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-light);
}

.modal-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

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

.modal-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Stats row */
.modal-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.modal-stat {
    text-align: center;
}

.modal-stat-num {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* Live Demo Chat */
.modal-demo {
    padding: 24px 32px;
    position: relative;
    z-index: 1;
}

.modal-demo-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
    position: relative;
}

.modal-demo-msg {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.modal-demo-msg.bot {
    flex-direction: row;
}

.modal-demo-msg.client {
    flex-direction: row-reverse;
}

.modal-demo-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.modal-demo-avatar.client-av {
    background: rgba(108, 58, 237, 0.15);
    color: var(--primary-light);
}

.modal-demo-avatar.bot-av {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent);
    animation: botPulse 2s ease-in-out infinite;
}

@keyframes botPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.2); }
    50% { box-shadow: 0 0 0 6px rgba(6, 182, 212, 0); }
}

.modal-demo-bubble {
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 80%;
}

.modal-demo-msg.client .modal-demo-bubble {
    background: rgba(108, 58, 237, 0.12);
    border: 1px solid rgba(108, 58, 237, 0.15);
    color: var(--text-primary);
    border-radius: 14px 14px 4px 14px;
}

.modal-demo-msg.bot .modal-demo-bubble {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.12);
    color: var(--text-primary);
    border-radius: 14px 14px 14px 4px;
    min-height: 42px;
    display: flex;
    align-items: center;
}

.modal-demo-typing .cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background: var(--accent);
    margin-left: 1px;
    vertical-align: middle;
    animation: cursorBlink 0.8s ease-in-out infinite;
}

.modal-demo-channels {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.modal-demo-channels span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
    animation: channelPop 0.4s ease backwards;
}

.modal-demo-channels span:nth-child(1) { animation-delay: 0.6s; }
.modal-demo-channels span:nth-child(2) { animation-delay: 0.7s; }
.modal-demo-channels span:nth-child(3) { animation-delay: 0.8s; }
.modal-demo-channels span:nth-child(4) { animation-delay: 0.9s; }
.modal-demo-channels span:nth-child(5) { animation-delay: 1.0s; }

@keyframes channelPop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-demo-channels span:hover {
    color: var(--primary-light);
    border-color: var(--primary);
    background: rgba(108, 58, 237, 0.1);
    transform: scale(1.15);
}

/* Modal Body Features */
.modal-body {
    padding: 8px 32px 24px;
    position: relative;
    z-index: 1;
}

.modal-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(10px);
}

.modal-overlay.active .modal-feature {
    opacity: 1;
    transform: translateY(0);
}

.modal-feature:nth-child(1) { transition-delay: 0.3s; }
.modal-feature:nth-child(2) { transition-delay: 0.4s; }
.modal-feature:nth-child(3) { transition-delay: 0.5s; }
.modal-feature:nth-child(4) { transition-delay: 0.6s; }
.modal-feature:nth-child(5) { transition-delay: 0.7s; }
.modal-feature:nth-child(6) { transition-delay: 0.8s; }

.modal-feature:hover {
    border-color: rgba(108, 58, 237, 0.3);
    background: rgba(108, 58, 237, 0.06);
    transform: translateX(4px);
}

.modal-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.modal-feature strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.modal-feature p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* Modal Footer */
.modal-footer {
    padding: 20px 32px 28px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .modal-box { max-height: 92vh; }
    .modal-hero { padding: 36px 20px 20px; }
    .modal-demo { padding: 16px 20px; }
    .modal-body { padding: 8px 20px 20px; }
    .modal-footer { padding: 16px 20px 24px; flex-direction: column; }
    .modal-features-grid { grid-template-columns: 1fr; }
    .modal-title { font-size: 1.6rem; }
    .modal-glow-orb { display: none; }
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}

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

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(-100%) translateX(-12px) translateY(-50%);
    visibility: visible;
}

.whatsapp-tooltip {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateX(-100%) translateX(-12px) translateY(-50%);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

@keyframes whatsappPulse {
    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); }
}

/* ========== LIGHT MODE FIXES ========== */
[data-theme="light"] .navbar.scrolled {
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero::before {
    background: radial-gradient(ellipse at 30% 20%, rgba(108, 58, 237, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
}

[data-theme="light"] .navbar {
    background: transparent;
}

[data-theme="light"] .theme-toggle {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}


[data-theme="light"] .particle {
    opacity: 0.3;
}

[data-theme="light"] .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

[data-theme="light"] .service-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

[data-theme="light"] .service-card:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 30px rgba(108, 58, 237, 0.08), 0 10px 40px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] body::before {
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(108, 58, 237, 0.04) 0%, transparent 100%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.03) 0%, transparent 100%);
}

[data-theme="light"] .tech-category {
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

[data-theme="light"] .tech-chip {
    background: rgba(108, 58, 237, 0.03);
}

/* ========== FORM STATUS ========== */
.form-status {
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 10px;
}

.form-status.success {
    display: flex;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.3);
    color: #10B981;
}

.form-status.error {
    display: flex;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
}

.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

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

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

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: var(--transition);
        border-left: 1px solid var(--border);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .cursor-dot, .cursor-glow {
        display: none;
    }

    body {
        cursor: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 28px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

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

    .tech-categories {
        grid-template-columns: 1fr;
    }

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

    .tech-category {
        padding: 24px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-window {
        transform: none;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-box {
        padding: 32px 20px;
    }

    .cta-agent {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

@media (max-width: 480px) {
    .logo-text {
        display: none;
    }

    .promo-banner p {
        font-size: 0.75rem;
    }

    .promo-banner p i.fa-sparkles {
        display: none;
    }

    .tech-chip span {
        display: none;
    }

    .tech-chip {
        padding: 10px 14px;
    }

    .tech-chip i {
        font-size: 1.3rem;
    }

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

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}
