/* ================================================
   Mallo Map — Chat-Powered AI Map Platform
   Modern IT Company Landing Page (Redesign 2026)
   ================================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
    --primary: #00e5ff;
    --primary-dark: #00b8d4;
    --primary-light: #84ffff;
    --secondary: #7c4dff;
    --secondary-light: #b388ff;
    --accent-hot: #ff3d71;
    --accent-orange: #ff9100;
    --accent-green: #00c853;
    --accent-purple: #d500f9;
    --accent-cyan: #18ffff;
    --bg-dark: #0a0e17;
    --bg-darker: #050810;
    --bg-card: #111827;
    --bg-card-hover: #182236;
    --bg-input: #0d1425;
    --text-primary: #f0f4f8;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border: #1e293b;
    --border-light: #2d3a52;
    --gradient-primary: linear-gradient(135deg, #00e5ff 0%, #7c4dff 100%);
    --gradient-hero: linear-gradient(160deg, #0a0e17 0%, #0c1528 40%, #0e1025 70%, #0a0e17 100%);
    --gradient-glow: linear-gradient(135deg, #00e5ff, #7c4dff, #d500f9);
    --gradient-hot: linear-gradient(135deg, #ff3d71, #ff9100);
    --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);
    --glow-primary: 0 0 20px rgba(0,229,255,0.3);
    --glow-secondary: 0 0 20px rgba(124,77,255,0.3);
    --glow-hot: 0 0 20px rgba(255,61,113,0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img, video { max-width: 100%; height: auto; }

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

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

/* ==================== PARTICLE CANVAS ==================== */
.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.88);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

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

.nav-logo:hover {
    transform: none;
    filter: drop-shadow(0 0 8px rgba(0,229,255,0.4));
}

.logo-icon {
    flex-shrink: 0;
}

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

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

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-login {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #000;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px rgba(0,229,255,0.5);
}

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

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

.btn-outline:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
    background: rgba(0,229,255,0.05);
}

.btn-nav {
    background: var(--gradient-primary);
    color: #000;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
}

.btn-nav:hover {
    box-shadow: var(--glow-primary);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-lg-wide {
    padding: 20px 48px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

.full-width {
    width: 100%;
}

/* ==================== HAMBURGER ==================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124,77,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0,229,255,0.08);
    border: 1px solid rgba(0,229,255,0.2);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,229,255,0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0,229,255,0); }
}

.hero-content h1 {
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.title-gradient {
    display: block;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-subtitle strong {
    color: var(--primary-light);
}

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

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

.hero-stat {
    display: flex;
    flex-direction: column;
}

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

.stat-unit {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
}

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

/* ==================== CHAT WINDOW ==================== */
.hero-visual {
    perspective: 1000px;
}

.chat-window {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0,229,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: rotateY(-4deg) rotateX(2deg);
    transition: var(--transition);
}

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

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(13, 20, 37, 0.9);
    border-bottom: 1px solid var(--border);
}

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

.dot-red { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.dot-yellow { width: 12px; height: 12px; border-radius: 50%; background: #ffbd2e; }
.dot-green { width: 12px; height: 12px; border-radius: 50%; background: #28c840; }

.chat-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.chat-ellipsis {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.chat-body {
    padding: 24px;
    min-height: 340px;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    animation: msgSlideIn 0.5s ease-out both;
}

.chat-msg:nth-child(2) { animation-delay: 0.3s; }
.chat-msg:nth-child(3) { animation-delay: 0.8s; }

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

.msg-bubble {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 90%;
}

.user .msg-bubble {
    background: rgba(0,229,255,0.12);
    border: 1px solid rgba(0,229,255,0.2);
    color: var(--text-primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 100%;
    border-bottom-left-radius: 4px;
}

.ai-response-header {
    margin-bottom: 12px;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.ai-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid var(--border-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.ai-result .result-line {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.chat-map-preview {
    margin: 12px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-darker);
    border: 1px solid var(--border);
    height: 120px;
}

.msg-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    align-self: flex-end;
}

.chat-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(13, 20, 37, 0.6);
    border-top: 1px solid var(--border);
}

.chat-input input {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.chat-input input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
}

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

.btn-send {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    border: none;
    color: #000;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-send:hover {
    box-shadow: var(--glow-primary);
    transform: scale(1.05);
}

/* ==================== HERO WAVE ==================== */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

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

/* ==================== TRUST SECTION ==================== */
.trust-section {
    position: relative;
    z-index: 1;
    padding: 40px 0 60px;
}

.trust-label {
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

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

.trust-item {
    transition: var(--transition);
}

.trust-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    letter-spacing: 1px;
}

.trust-item:hover .trust-logo-text {
    opacity: 1;
    color: var(--text-secondary);
}

/* ==================== FEATURES ==================== */
.features-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

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

.feature-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,229,255,0.2);
    box-shadow: 0 8px 40px rgba(0,229,255,0.08);
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(0,229,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-icon.icon-purple {
    background: rgba(124,77,255,0.1);
    color: var(--secondary-light);
}

.feature-icon.icon-hot {
    background: rgba(255,61,113,0.1);
    color: var(--accent-hot);
}

.feature-icon.icon-green {
    background: rgba(0,200,83,0.1);
    color: var(--accent-green);
}

.feature-icon.icon-cyan {
    background: rgba(24,255,255,0.1);
    color: var(--accent-cyan);
}

.feature-icon.icon-orange {
    background: rgba(255,145,0,0.1);
    color: var(--accent-orange);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-demo {
    background: var(--bg-darker);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.demo-typing {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--primary-light);
    white-space: nowrap;
    overflow: hidden;
}

.typing-cursor {
    animation: blink 0.8s step-end infinite;
    color: var(--primary);
}

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

.mini-canvas {
    width: 100%;
    height: 80px;
    border-radius: 4px;
}

/* Collaboration Demo */
.demo-collab {
    flex-direction: column;
    gap: 10px;
}

.collab-avatars {
    display: flex;
    gap: -4px;
}

.collab-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #000;
    font-weight: 700;
    margin-right: -8px;
    border: 2px solid var(--bg-darker);
    animation: avatarring 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes avatarring {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.collab-chats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.collab-msg {
    font-size: 0.78rem;
    color: var(--text-secondary);
    padding: 4px 0;
}

.collab-name {
    color: var(--primary);
    font-weight: 600;
}

/* Code Demo */
.demo-code {
    justify-content: flex-start;
    align-items: flex-start;
}

.code-snippet {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.code-keyword { color: #c792ea; }
.code-func { color: #82aaff; }
.code-str { color: #c3e88d; }

/* ==================== HOW IT WORKS ==================== */
.how-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: rgba(5, 8, 16, 0.5);
}

.steps-container {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 0 32px;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 20px;
}

.step-visual {
    width: 180px;
    height: 140px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-chat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.step-msg-user {
    background: rgba(0,229,255,0.12);
    border: 1px solid rgba(0,229,255,0.2);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-size: 0.85rem;
    color: var(--primary-light);
}

.step-ai-pulse {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,229,255,0.15);
    position: relative;
}

.step-ai-pulse span {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--primary);
    animation: aiPulse 1.5s ease-in-out infinite;
}

@keyframes aiPulse {
    0%, 100% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

.step-processing {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.processing-ring {
    width: 70px;
    height: 70px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.processing-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.processing-bar {
    width: 70px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.processing-bar-fill {
    width: 65%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: processFill 2s ease-in-out infinite;
}

@keyframes processFill {
    0% { width: 10%; }
    50% { width: 90%; }
    100% { width: 10%; }
}

.step-result {
    position: relative;
}

.result-map-block {
    width: 120px;
    height: 72px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(124,77,255,0.1));
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.result-map-block::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 15%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    animation: mapPulse 2s ease-in-out infinite;
}

@keyframes mapPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.5); opacity: 0.3; }
}

.result-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0,200,83,0.15);
    border: 1px solid rgba(0,200,83,0.3);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.65rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 3px;
}

.step-arrow {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

.step-arrow::after {
    content: '';
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 1px;
    position: relative;
}

.step-arrow::before {
    content: '';
    position: absolute;
    right: -4px;
    top: -5px;
    width: 0;
    height: 0;
    border-left: 10px solid var(--secondary);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==================== ANALYTICS SHOWCASE ==================== */
.analytics-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

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

.analytics-side .section-tag {
    display: block;
    text-align: left;
}

.analytics-side .section-title {
    text-align: left;
}

.analytics-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 16px 0 28px;
}

.analytics-list {
    margin-bottom: 32px;
}

.analytics-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(30, 41, 59, 0.3);
}

.analytics-list li:last-child {
    border-bottom: none;
}

.analytics-list i {
    color: var(--primary);
    font-size: 0.85rem;
}

.analytics-visual {
    position: relative;
}

.analytics-canvas {
    width: 100%;
    height: 420px;
    border-radius: var(--radius-lg);
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

/* ==================== STATS ==================== */
.stats-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    background: rgba(5, 8, 16, 0.5);
}

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

.stat-block {
    text-align: center;
    padding: 32px 20px;
    background: rgba(17, 24, 39, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.stat-block:hover {
    border-color: rgba(0,229,255,0.2);
    transform: translateY(-4px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(0,229,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.2rem;
    color: var(--primary);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-heading {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.stat-bar {
    width: 100%;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-bar-fill.animated {
    width: var(--target-width);
}

/* ==================== TECH ==================== */
.tech-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

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

.tech-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,229,255,0.2);
    box-shadow: 0 8px 40px rgba(0,229,255,0.06);
}

.tech-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(0,229,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.tech-card-icon.icon-purple {
    background: rgba(124,77,255,0.1);
    color: var(--secondary-light);
}

.tech-card-icon.icon-hot {
    background: rgba(255,61,113,0.1);
    color: var(--accent-hot);
}

.tech-card-icon.icon-green {
    background: rgba(0,200,83,0.1);
    color: var(--accent-green);
}

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

.tech-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.tech-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.metric-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
}

/* ==================== PRICING ==================== */
.pricing-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: rgba(5, 8, 16, 0.5);
}

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

.pricing-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,229,255,0.2);
}

.pricing-card.featured {
    border-color: rgba(0,229,255,0.4);
    background: rgba(17, 24, 39, 0.7);
    box-shadow: var(--glow-primary);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: #000;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.pricing-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.pricing-price {
    margin-bottom: 28px;
}

.price-amount {
    font-size: 2.2rem;
    font-weight: 800;
}

.price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-features {
    flex: 1;
    margin-bottom: 28px;
}

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

.pricing-features li i {
    color: var(--primary);
    font-size: 0.85rem;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

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

.testimonial-card {
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124,77,255,0.3);
    box-shadow: 0 8px 40px rgba(124,77,255,0.06);
}

.testimonial-stars {
    font-size: 0.9rem;
    color: #fbbf24;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

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

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
}

.author-name {
    font-size: 0.92rem;
    font-weight: 600;
}

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

/* ==================== CTA ==================== */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.cta-actions {
    margin-bottom: 20px;
}

.cta-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cta-note i {
    color: var(--accent-green);
    margin-right: 4px;
}

/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    z-index: 1;
    padding: 80px 0 32px;
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-logo .logo-icon {
    flex-shrink: 0;
}

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

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(0,229,255,0.06);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: rgba(0,229,255,0.15);
    border-color: rgba(0,229,255,0.3);
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

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

.footer-legal {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.legal-dot {
    margin: 0 8px;
    opacity: 0.3;
}

.footer-legal i {
    color: var(--accent-hot);
    font-size: 0.75rem;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: #000;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    box-shadow: var(--glow-primary);
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 32px rgba(0,229,255,0.5);
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal.revealed[data-delay="0"] { transition-delay: 0s; }
.reveal.revealed[data-delay="100"] { transition-delay: 0.1s; }
.reveal.revealed[data-delay="200"] { transition-delay: 0.2s; }
.reveal.revealed[data-delay="300"] { transition-delay: 0.3s; }
.reveal.revealed[data-delay="400"] { transition-delay: 0.4s; }
.reveal.revealed[data-delay="500"] { transition-delay: 0.5s; }

/* ==================== RESPONSIVE ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 36px;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }

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

    .analytics-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .analytics-side .section-tag,
    .analytics-side .section-title {
        text-align: center;
    }
    .analytics-desc {
        text-align: center;
    }
    .analytics-side .btn {
        margin: 0 auto;
    }

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

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

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

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .step-arrow { transform: rotate(90deg); }
    .step-arrow::after, .step-arrow::before { display: none; }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu, .nav-actions {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 14, 23, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 28px;
        z-index: 1000;
    }

    .nav-menu.active .nav-link {
        font-size: 1.3rem;
        color: var(--text-primary);
    }

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

    .hero {
        padding-top: 100px;
        min-height: auto;
    }

    .hero-grid {
        padding: 0 16px;
    }

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

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

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

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

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

    .chat-window {
        transform: rotateY(0) rotateX(0);
    }

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

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

    .trust-logos {
        gap: 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .features-section,
    .how-section,
    .analytics-section,
    .tech-section,
    .pricing-section,
    .testimonials-section,
    .cta-section {
        padding: 64px 0;
    }

    .feature-card {
        padding: 24px;
    }
}

/* ==================== PRINT ==================== */
@media print {
    .cursor-glow, .particle-canvas, .back-to-top,
    .chat-window { display: none; }
    body { background: #fff; color: #000; }
}
