/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #06060b;
    --bg-alt: #0a0a14;
    --surface: rgba(13, 13, 26, 0.6);
    --surface-hover: rgba(17, 17, 38, 0.8);
    --border: rgba(102, 126, 234, 0.15);
    --border-hover: rgba(102, 126, 234, 0.35);
    --text: #c4c4d4;
    --text-muted: #8b8b9e;
    --accent: #667eea;
    --accent2: #764ba2;
    --accent-glow: rgba(102, 126, 234, 0.2);
    --accent-glow2: rgba(118, 75, 162, 0.15);
    --white: #ffffff;
    --font: 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== LOADER ========== */
.loader-wrapper {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-logo {
    animation: fadePulse 1.5s ease-in-out infinite alternate;
}
@keyframes fadePulse {
    0% { opacity: 0.3; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1.02); }
}

/* ========== CURSOR GLOW ========== */
.cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.12) 0%, rgba(102, 126, 234, 0) 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}
.cursor-glow.active {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.15) 0%, rgba(118, 75, 162, 0) 70%);
}

/* ========== GRID BACKGROUND ========== */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: var(--white);
    overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(102, 126, 234, 0.4); }
.btn-primary:hover::after { opacity: 1; }

.btn-glow { box-shadow: 0 0 20px rgba(59, 130, 246, 0.15); }
.btn-glow:hover { box-shadow: 0 0 30px rgba(59, 130, 246, 0.3); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn-sm { padding: 8px 20px; font-size: 0.82rem; border-radius: 8px; }
.btn-full { width: 100%; }

/* ========== NAV ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(6, 6, 11, 0.9);
    backdrop-filter: blur(16px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }

/* ========== LOGO ========== */
.logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.logo-text {
    font-family: var(--font);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    line-height: 1;
    position: relative;
}

.logo-o {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 700;
}

/* Subtle glow behind the ø */
.logo-o::before {
    content: '\f8';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    opacity: 0.5;
    z-index: -1;
}

.logo-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
    margin-top: 6px;
}

/* Accent line under logo */
.logo-mark::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
    opacity: 0.3;
}

.logo-mark-sm .logo-text { font-size: 1.3rem; }
.logo-mark-sm .logo-dot { display: none; }
.logo-mark-sm::after { display: none; }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; letter-spacing: 0.3px; }
.nav-links a:hover { color: var(--white); }
.nav-links .btn { color: var(--white); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.3s; 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 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero > .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.12), transparent 70%);
    top: -10%;
    left: -5%;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.08), transparent 70%);
    bottom: -10%;
    right: -5%;
    animation-delay: -4s;
}

.hero-lines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 99px,
        rgba(102, 126, 234, 0.03) 99px,
        rgba(102, 126, 234, 0.03) 100px
    );
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero-content { position: relative; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 28px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    font-family: var(--mono);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; box-shadow: 0 0 0 0 rgba(59,130,246,0.4); }
    50% { opacity: 1; box-shadow: 0 0 0 6px rgba(59,130,246,0); }
}

.hero h1 {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    letter-spacing: -1.5px;
    margin-bottom: 22px;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
}

.hero-stat-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--mono);
}

.hero-stat-unit { font-size: 1.4rem; font-weight: 700; color: var(--accent); font-family: var(--mono); }
.hero-stat-label { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Terminal */
/* Phone mockup in hero */
.hero-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    gap: 16px;
}
.phone-frame {
    width: 280px;
    background: #0a0a0f;
    border-radius: 36px;
    border: 2px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(102,126,234,0.08);
    overflow: hidden;
    animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
.phone-notch {
    width: 100px;
    height: 22px;
    background: #0a0a0f;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
}
/* WhatsApp dark mode UI */
.phone-screen {
    display: flex;
    flex-direction: column;
    min-height: 440px;
    background: #0b141a;
}
.wa-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #1f2c34;
}
.wa-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2a3942;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wa-contact { flex: 1; }
.wa-name { font-size: 0.78rem; font-weight: 500; color: #e9edef; }
.wa-status { font-size: 0.62rem; color: #8696a0; }
.wa-header-icons { display: flex; gap: 12px; }
.wa-messages {
    flex: 1;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    min-height: 300px;
    max-height: 320px;
    background: #0b141a url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5l2 4-3 1 1 3-4-1v4h-4v-4l-4 1 1-3-3-1 2-4' fill='%23111b21' opacity='.3'/%3E%3C/svg%3E") repeat;
}
.wa-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 12px;
    background: #1f2c34;
}
.wa-input-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2a3942;
    border-radius: 20px;
    padding: 7px 12px;
    font-size: 0.72rem;
    color: #8696a0;
}
.wa-input-right {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #00a884;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wa-input-right svg { fill: #fff; }

/* WhatsApp bubbles */
.phone-bubble {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    line-height: 1.4;
    max-width: 85%;
    white-space: pre-line;
    animation: phoneFadeIn 0.3s ease;
    position: relative;
}
.phone-bubble .wa-time {
    font-size: 0.55rem;
    color: rgba(134,150,160,0.8);
    float: right;
    margin: 4px 0 -2px 8px;
}
.phone-bubble .wa-check {
    color: #53bdeb;
    font-size: 0.55rem;
    margin-left: 2px;
}
.phone-client {
    align-self: flex-end;
    background: #005c4b;
    color: #e9edef;
    border-top-right-radius: 0;
}
.phone-bot {
    align-self: flex-start;
    background: #1f2c34;
    color: #e9edef;
    border: none;
    border-top-left-radius: 0;
}
.phone-system {
    align-self: center;
    background: rgba(18,40,52,0.9);
    color: #8696a0;
    font-size: 0.6rem;
    text-align: center;
    padding: 4px 10px;
    border-radius: 6px;
    margin: 4px 0;
}
.phone-typing {
    display: flex;
    gap: 4px;
    padding: 10px 14px;
    background: #1f2c34;
    border-top-left-radius: 0;
}
.phone-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8696a0;
    animation: typingBounce 1.2s ease-in-out infinite;
}
.phone-typing span:nth-child(2) { animation-delay: 0.2s; }
.phone-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes phoneFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.phone-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--mono);
    letter-spacing: 0.5px;
}

.hero-terminal {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border);
}

.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #28c840; }
.terminal-title { font-size: 0.75rem; color: var(--text-muted); font-family: var(--mono); }

.terminal-body { padding: 20px; font-family: var(--mono); font-size: 0.82rem; min-height: 120px; }

.terminal-line { display: flex; align-items: center; gap: 8px; line-height: 1.8; }
.t-prompt { color: var(--accent); font-weight: 600; }
.t-cmd { color: var(--white); }
.t-cursor { color: var(--accent); animation: blink 1s step-end infinite; }
.t-output { color: #28c840; margin-top: 4px; opacity: 0; transition: opacity 0.3s; }

@keyframes blink { 50% { opacity: 0; } }

/* ========== SECTIONS ========== */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-alt { background: var(--bg-alt); }

.section-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ========== SERVICES ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.service-card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: background 0.3s;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--surface-hover);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-glow2));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--accent);
}

.service-icon.color-1 { background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(99,102,241,0.15)); color: #60a5fa; }
.service-icon.color-2 { background: linear-gradient(135deg, rgba(236,72,153,0.15), rgba(244,63,94,0.15)); color: #f472b6; }
.service-icon.color-3 { background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(20,184,166,0.15)); color: #34d399; }
.service-icon.color-4 { background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(239,68,68,0.15)); color: #fbbf24; }
.service-icon.color-5 { background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(168,85,247,0.15)); color: #a78bfa; }
.service-icon.color-6 { background: linear-gradient(135deg, rgba(20,184,166,0.15), rgba(6,182,212,0.15)); color: #2dd4bf; }

.service-icon svg { width: 24px; height: 24px; }

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.service-card > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.service-features li {
    font-size: 0.85rem;
    color: var(--text);
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.service-tag {
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--border);
    letter-spacing: 0.3px;
}

.service-tag.popular { color: var(--accent); }

/* ========== PROCESS ========== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.process-step {
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.process-num {
    font-family: var(--mono);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.process-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    margin: 12px auto 16px;
    border-radius: 2px;
}

.process-step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.process-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ========== TECH GRID ========== */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}
.tech-grid-item {
    background: rgba(13, 13, 26, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 12px;
    color: var(--text-muted);
    font-family: var(--mono);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: default;
}
.tech-grid-item:hover {
    color: var(--white);
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

/* ========== ABOUT ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .section-tag { text-align: left; }

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.about-text strong { color: var(--accent); font-weight: 600; }
.about-cta { margin-top: 24px; }

.about-visual { display: flex; flex-direction: column; gap: 16px; }

.about-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.about-card:hover { border-color: var(--border-hover); transform: translateX(4px); }

.about-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border-radius: 10px;
    color: var(--accent);
    flex-shrink: 0;
}

.about-card-icon svg { width: 22px; height: 22px; }

.about-card-text strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 2px; }
.about-card-text span { font-size: 0.82rem; color: var(--text-muted); }

/* ========== CONTACT ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 14px; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.9rem;
    font-family: var(--font);
    transition: all 0.25s;
    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(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--surface); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }

.contact-item { display: flex; align-items: flex-start; gap: 14px; }

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-item strong { display: block; color: var(--white); font-size: 0.88rem; margin-bottom: 2px; }
.contact-item span, .contact-item a { color: var(--text-muted); font-size: 0.85rem; }
.contact-item a:hover { color: var(--accent); }

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.footer-info { flex: 1; min-width: 250px; }
.footer-logo { margin-bottom: 12px; }
.footer-info p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; max-width: 300px; line-height: 1.6; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s;
}
.footer-socials a:hover {
    color: var(--white);
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.footer-newsletter { flex: 1; min-width: 250px; max-width: 400px; }
.footer-newsletter h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.footer-newsletter p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; }
.newsletter-form {
    display: flex; gap: 8px;
}
.newsletter-form input {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
    color: var(--white);
    font-family: var(--font);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border: none; border-radius: 8px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); cursor: pointer; transition: transform 0.2s;
}
.newsletter-form button:hover { transform: translateY(-2px); }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links a { font-size: 0.82rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom span { color: var(--text-muted); font-size: 0.78rem; }
.footer-bottom a { color: var(--accent); }

/* ========== LEGAL PAGES ========== */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin: 36px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.legal-content h2:first-of-type { margin-top: 0; }

.legal-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-content li {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 6px;
    list-style: disc;
}

.legal-content li strong { color: var(--text); }
.legal-content a { color: var(--accent); transition: opacity 0.2s; }
.legal-content a:hover { opacity: 0.8; }
.legal-content em { color: var(--text-muted); font-size: 0.85rem; }

/* ========== RGPD & FORM STATUS ========== */
.form-rgpd {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 12px;
    line-height: 1.5;
}
.form-rgpd a { color: var(--accent); text-decoration: underline; }

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    display: none;
}
.form-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}
.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ========== CTA SECTION ========== */
.cta-section { padding: 80px 0; }
.cta-box {
    text-align: center;
    padding: 64px 40px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.06));
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
}
.cta-box h2 { font-size: 2rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.cta-box p { color: var(--text-muted); margin-bottom: 28px; font-size: 1.05rem; }

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--accent);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    background: var(--surface-hover);
    border-color: var(--border-hover);
}
.scroll-top svg { width: 20px; height: 20px; }

/* ========== USE CASES PAGE ========== */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.use-case-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s ease;
}

.use-case-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.06);
}

.use-case-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-glow2));
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
    color: var(--accent);
}

.use-case-icon svg { width: 24px; height: 24px; }

.use-case-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
}

.use-case-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.use-case-features li {
    font-size: 0.85rem;
    color: var(--text);
    padding-left: 20px;
    position: relative;
}

.use-case-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.before, .after {
    padding: 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    line-height: 1.5;
}

.before {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.12);
}

.after {
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.12);
}

.ba-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.before .ba-label { color: #ef4444; }
.after .ba-label { color: #22c55e; }

.before p, .after p { color: var(--text-muted); margin: 0; }

.ba-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.ba-icon-before { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.ba-icon-after { background: rgba(34, 197, 94, 0.15); color: #22c55e; }

/* Featured card (BTP) */
.use-case-featured {
    grid-column: 1 / -1;
    border-color: rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, var(--surface), rgba(59, 130, 246, 0.04));
    position: relative;
}

.use-case-featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
}

.use-case-popular-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.use-case-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Stagger use-case cards */
.use-case-grid .use-case-card:nth-child(2) { transition-delay: 0.1s; }
.use-case-grid .use-case-card:nth-child(3) { transition-delay: 0.15s; }
.use-case-grid .use-case-card:nth-child(4) { transition-delay: 0.2s; }
.use-case-grid .use-case-card:nth-child(5) { transition-delay: 0.25s; }
.use-case-grid .use-case-card:nth-child(6) { transition-delay: 0.3s; }

/* ========== CHAT DEMO ========== */
.chat-demo {
    max-width: 560px;
    margin: 0 auto;
}

.chat-demo-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.chat-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-family: var(--font);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
}

.chat-tab:hover { border-color: var(--border-hover); color: var(--white); }

.chat-tab.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-color: var(--accent);
    color: var(--white);
}

.chat-tab svg { opacity: 0.6; }
.chat-tab.active svg { opacity: 1; }

.chat-window {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
}

.chat-header-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.chat-header-status {
    font-size: 0.75rem;
    color: #22c55e;
    font-weight: 400;
    margin-left: auto;
}

.chat-messages {
    padding: 20px;
    min-height: 280px;
    max-height: 360px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-bubble {
    max-width: 80%;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    animation: chatFadeIn 0.3s ease;
    white-space: pre-line;
}

@keyframes chatFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-client {
    align-self: flex-end;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    color: var(--text);
}

.chat-bot {
    align-self: flex-start;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--white);
}

.chat-system {
    align-self: center;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-family: var(--mono);
    text-align: center;
    max-width: 90%;
}

.chat-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 20px;
}

.chat-typing-indicator span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: typingBounce 1.2s infinite;
}

.chat-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input-bar {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.chat-input-placeholder {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.5;
}

/* ========== FAQ ACCORDION ========== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-item[open] {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    transition: color 0.2s;
    user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; }

.faq-question:hover { color: var(--accent); }

.faq-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-answer {
    padding: 0 24px 20px;
    animation: faqSlideDown 0.3s ease;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.faq-answer li {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 6px;
    list-style: disc;
}

.faq-answer li strong { color: var(--text); }
.faq-answer a { color: var(--accent); transition: opacity 0.2s; }
.faq-answer a:hover { opacity: 0.8; }

@keyframes faqSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Utilities */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Stagger */
.services-grid .service-card:nth-child(2) { transition-delay: 0.15s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.45s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.6s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.75s; }

.process-grid .process-step:nth-child(2) { transition-delay: 0.15s; }
.process-grid .process-step:nth-child(3) { transition-delay: 0.3s; }
.process-grid .process-step:nth-child(4) { transition-delay: 0.45s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
    .hero > .container { grid-template-columns: 1fr; }
    .hero-terminal { display: none; }
    .hero-phone { margin-top: 24px; }
    .phone-frame { width: 260px; }
    .phone-screen { min-height: 380px; }
    .phone-messages { min-height: 240px; max-height: 260px; }
    .hero h1 { font-size: 2.6rem; }
    .services-grid { grid-template-columns: 1fr; }
    .use-case-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero { padding: 100px 0 40px; min-height: auto; }
    .hero h1 { font-size: 2rem; letter-spacing: -1px; }
    .hero-sub { font-size: 0.95rem; }
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .hero-stat-divider { display: none; }
    .section { padding: 64px 0; }
    .section-header h2 { font-size: 1.8rem; }
    .process-grid { grid-template-columns: 1fr; }
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(6, 6, 11, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active { display: flex; }
    .nav-toggle { display: block; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
    .before-after { grid-template-columns: 1fr; }
    .chat-demo-tabs { flex-wrap: wrap; justify-content: center; }
    .chat-tab { font-size: 0.78rem; padding: 6px 14px; }
    .footer-links { gap: 16px; }
}
