/* ============================================
   ThePermitBot Marketing Website
   Premium dark + white design with animations
   ============================================ */

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

/* ---- PASSWORD GATE ---- */
body.gate-locked {
    overflow: hidden;
}

.password-gate {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1120;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.password-gate.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gate-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gate-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
    animation: glowFloat 8s ease-in-out infinite;
}

.gate-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.gate-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
}

.gate-logo {
    margin-bottom: 16px;
}

.gate-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.gate-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.gate-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 28px;
    line-height: 1.6;
}

.gate-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gate-input-group {
    text-align: left;
}

.gate-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.gate-input-group input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-size: 15px;
    font-family: var(--font);
    color: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gate-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.gate-input-group input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.gate-error {
    color: #f87171;
    font-size: 13px;
    font-weight: 500;
    min-height: 20px;
    transition: opacity 0.2s;
}

.gate-error.shake {
    animation: gateShake 0.4s ease;
}

@keyframes gateShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

.gate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.2s;
}

.gate-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

@media (max-width: 480px) {
    .gate-card {
        padding: 36px 24px;
    }

    .gate-title {
        font-size: 20px;
    }
}

:root {
    --blue: #2563eb;
    --blue-light: #60a5fa;
    --blue-dark: #1d4ed8;
    --green: #10b981;
    --purple: #8b5cf6;
    --orange: #f59e0b;
    --pink: #ec4899;
    --teal: #14b8a6;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-alt: #f1f5f9;
    --border: #e2e8f0;
    --hero-bg: #0b1120;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* ---- ANIMATIONS ---- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s;
    overflow: visible;
}

.navbar.scrolled {
    background: rgba(11, 17, 32, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    gap: 12px;
    position: relative;
    align-self: stretch;
    margin-left: -24px;
    padding-left: 12px;
    z-index: 10;
}

.logo-img {
    height: 90px;
    width: auto;
    display: block;
    align-self: flex-end;
    object-fit: contain;
    margin-top: -10px;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff 0%, var(--blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    padding-bottom: 24px;
}

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

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    padding: 10px 20px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    animation: glowFloat 8s ease-in-out infinite;
    will-change: transform;
}

@keyframes glowFloat {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 20px);
    }
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-container {
    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-content {
    color: #fff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--blue-light);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: dotPulse 2s infinite;
    will-change: opacity;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--blue-light), var(--purple), var(--blue-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
    will-change: background-position;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    padding: 14px 28px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.hero-stat span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
}

/* ---- PHONE MOCKUP ---- */
.hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 300px;
    height: 600px;
    background: #1a1a2e;
    border-radius: 40px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    padding: 12px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(37, 99, 235, 0.1);
    overflow: hidden;
    position: relative;
}

.phone-notch {
    width: 120px;
    height: 24px;
    background: #0f0f1a;
    border-radius: 0 0 20px 20px;
    margin: 0 auto 8px;
}

.phone-screen {
    width: 100%;
    height: calc(100% - 32px);
    background: #0f1724;
    border-radius: 28px;
    overflow: hidden;
}

/* Chat App inside phone */
.chat-app {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: #075e54;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.chat-app-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.chat-app-status {
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
}

.chat-app-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.chat-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.4;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    animation: chatFadeIn 0.4s forwards;
    will-change: transform, opacity;
}

.chat-msg.bot {
    align-self: flex-start;
    background: #1f2c3d;
    color: rgba(255, 255, 255, 0.9);
    border-bottom-left-radius: 3px;
}

.chat-msg.user {
    align-self: flex-end;
    background: #005c4b;
    color: #fff;
    border-bottom-right-radius: 3px;
}

.chat-msg .time {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 3px;
    text-align: right;
}

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

.chat-typing {
    align-self: flex-start;
    background: #1f2c3d;
    padding: 10px 16px;
    border-radius: 10px;
    border-bottom-left-radius: 3px;
    display: flex;
    gap: 4px;
    opacity: 0;
    animation: chatFadeIn 0.3s forwards;
    will-change: transform, opacity;
}

.chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: typingDot 1.4s infinite;
    will-change: transform, opacity;
}

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

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

@keyframes typingDot {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.chat-app-input {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #1a2332;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    gap: 10px;
}

.chat-app-input span {
    flex: 1;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.chat-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Floating badges */
.float-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    animation: badgeFloat 4s ease-in-out infinite;
    will-change: transform;
}

.fb-icon {
    font-size: 16px;
}

.badge-1 {
    top: 60px;
    right: -40px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 140px;
    left: -60px;
    animation-delay: 1.3s;
}

.badge-3 {
    bottom: 40px;
    right: -30px;
    animation-delay: 2.6s;
}

@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ---- TRUST BAR ---- */
.trust-bar {
    padding: 40px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

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

.trust-cities {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.trust-cities span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* ---- SECTIONS COMMON ---- */
.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--text);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 48px;
}

/* ---- FEATURES ---- */
.features {
    padding: 100px 0;
    background: var(--bg);
}

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

.feature-card {
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--blue);
}

.feature-card.featured {
    background: linear-gradient(135deg, #f8faff 0%, #fff 100%);
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--blue);
}

.icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
}

.icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: var(--purple);
}

.icon-orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--orange);
}

.icon-pink {
    background: rgba(236, 72, 153, 0.1);
    color: var(--pink);
}

.icon-teal {
    background: rgba(20, 184, 166, 0.1);
    color: var(--teal);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.step-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.3s;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--blue);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 16px;
}

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

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Step Visuals */
.mini-form {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 16px;
}

.mini-input {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
}

.mini-input:last-of-type {
    border-bottom: none;
}

.input-label {
    font-weight: 600;
    color: var(--text-muted);
}

.input-val {
    color: var(--text);
    font-weight: 500;
}

.mini-btn {
    margin-top: 12px;
    padding: 8px;
    background: var(--blue);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

/* Runner track */
.runner-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 12px;
}

.track-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
    transition: all 0.3s;
}

.track-dot.active {
    background: var(--blue);
}

.track-dot.pulse {
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    animation: dotPulse 2s infinite;
}

.track-line {
    width: 40px;
    height: 3px;
    background: var(--blue);
}

.track-line.dim {
    background: var(--border);
}

.track-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Permit preview */
.permit-preview {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 16px;
}

.permit-header-bar {
    margin-bottom: 12px;
}

.permit-badge-green {
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
}

.permit-line {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 8px;
}

.w80 {
    width: 80%;
}

.w60 {
    width: 60%;
}

.w90 {
    width: 90%;
}

.w40 {
    width: 40%;
}

.permit-actions-row {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.permit-action {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue);
    cursor: pointer;
}

/* ---- CRM INTEGRATION ---- */
.crm-integration {
    padding: 100px 0;
    background: var(--bg);
}

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

.crm-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.crm-logo-pill {
    padding: 8px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.crm-logo-pill:hover {
    background: #fff;
    border-color: var(--blue-light);
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

/* CRM Mockup Visual */
.crm-mockup {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.crm-header {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.crm-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}

.crm-dots span:nth-child(1) {
    background: #ff5f56;
}

.crm-dots span:nth-child(2) {
    background: #ffbd2e;
}

.crm-dots span:nth-child(3) {
    background: #27c93f;
}

.crm-url {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    font-family: monospace;
}

.crm-body {
    display: flex;
    height: 320px;
}

.crm-sidebar {
    width: 60px;
    background: var(--bg-alt);
    border-right: 1px solid var(--border);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.crm-nav-item {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #cbd5e1;
}

.crm-nav-item.active {
    background: var(--blue);
}

.crm-main {
    flex: 1;
    padding: 24px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.crm-record-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.crm-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.crm-details {
    flex: 1;
}

.crm-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.crm-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.crm-magic-btn {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.crm-magic-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    }
}

.crm-record-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.crm-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.crm-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
}

.card-line {
    height: 8px;
    background: var(--bg-alt);
    border-radius: 4px;
    margin-bottom: 12px;
}

.card-line:last-child {
    margin-bottom: 0;
}

.crm-status-bar {
    display: flex;
    gap: 8px;
    align-items: center;
}

.status-step {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-alt);
}

.status-step.done {
    background: var(--green);
}

.status-step.active {
    background: var(--blue);
}

/* ---- TESTIMONIALS ---- */
.testimonials {
    padding: 100px 0;
    background: var(--bg);
}

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

.testimonial-card {
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

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

.testimonial-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--text);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ---- PRICING ---- */
.pricing {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.pricing-card {
    padding: 36px 32px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.pricing-card.popular {
    border-color: var(--blue);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 48px;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

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

.pricing-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 700;
    font-size: 14px;
}

.btn-pricing {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.2s;
    font-family: var(--font);
}

.btn-pricing:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-pricing.primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.btn-pricing.primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* ---- CTA SECTION ---- */
.cta-section {
    padding: 80px 0;
    background: var(--bg);
}

.cta-card {
    background: var(--hero-bg);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.15), transparent 50%);
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}

.cta-card p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
}

.cta-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ---- CONTACT ---- */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.contact-info h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-info p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cm-icon {
    width: 44px;
    height: 44px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.contact-method strong {
    display: block;
    font-size: 14px;
    color: var(--text);
}

.contact-method span {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact-form-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.full-width {
    width: 100%;
    grid-column: 1 / -1;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--hero-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 24px;
}

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

.footer-brand .nav-logo {
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 320px;
}

.footer-links h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

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

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ---- AI ADVANTAGE SECTION ---- */
.ai-advantage {
    position: relative;
    padding: 100px 0;
    background: #070d1a;
    overflow: hidden;
}

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

.ai-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -100px;
    left: -200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
    animation: glowFloat 10s ease-in-out infinite;
    will-change: transform;
}

.ai-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
    animation: glowFloat 8s ease-in-out infinite reverse;
    will-change: transform;
}

.ai-advantage-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 48px;
}

.ai-advantage-text .section-title,
.ai-advantage-text .section-subtitle {
    text-align: left;
}

.ai-advantage-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-advantage-visual .robots-img {
    max-width: 420px;
    width: 100%;
    height: auto;
    border-radius: 24px;
    filter: drop-shadow(0 20px 60px rgba(37, 99, 235, 0.2));
    animation: robotFloat 6s ease-in-out infinite;
}

@media (max-width: 968px) {
    .ai-advantage-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ai-advantage-text .section-title,
    .ai-advantage-text .section-subtitle {
        text-align: center;
    }

    .ai-advantage-visual .robots-img {
        max-width: 300px;
    }
}

/* Comparison Table */
.comparison-table {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 48px;
}

.compare-header {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr;
    background: rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.compare-label {
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.compare-header .compare-label {
    color: transparent;
}

.compare-col {
    padding: 16px 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.compare-col.old {
    color: rgba(255, 255, 255, 0.65);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-col.new {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-col.new.highlight {
    color: #34d399;
}

.compare-header .compare-col {
    font-weight: 700;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.compare-header .compare-col.new {
    color: var(--blue-light);
}

.ai-badge {
    display: inline-flex;
    padding: 2px 8px;
    background: var(--blue);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 6px;
    margin-left: 8px;
    letter-spacing: 0.5px;
}

/* AI Power Cards */
.ai-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ai-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}

.ai-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(37, 99, 235, 0.3);
}

.ai-card-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.ai-card-number {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue-light), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 8px;
}

.ai-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.ai-card p {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* ---- TYPEWRITER CURSOR ---- */
.typewriter-cursor {
    display: inline-block;
    font-weight: 300;
    animation: cursorBlink 0.7s infinite;
    margin-left: 2px;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ---- HERO ROBOTS IMAGE ---- */
.hero-robots {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.robots-img {
    max-width: 480px;
    width: 100%;
    height: auto;
    border-radius: 24px;
    filter: drop-shadow(0 20px 60px rgba(37, 99, 235, 0.2));
    animation: robotFloat 6s ease-in-out infinite;
}

@keyframes robotFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@media (max-width: 968px) {
    .robots-img {
        max-width: 320px;
    }
}

/* ---- COOKIE CONSENT BANNER ---- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px 24px;
    background: rgba(11, 17, 32, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

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

.cookie-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.2s;
}

.cookie-btn.accept {
    background: var(--blue);
    color: #fff;
}

.cookie-btn.accept:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.cookie-btn.decline {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

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

    .hero-visual {
        margin-top: 40px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(11, 17, 32, 0.97);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 10px;
        transition: background 0.2s;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid,
    .steps-grid,
    .testimonials-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .crm-mockup {
        max-width: 100%;
        border-radius: 12px;
    }

    .crm-body {
        height: auto;
        min-height: 250px;
    }

    .crm-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .crm-record-header {
        flex-wrap: wrap;
    }

    .crm-magic-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .crm-info-grid {
        grid-template-columns: 1fr;
    }

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

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

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }

    .float-badge {
        display: none;
    }

    .comparison-table {
        font-size: 12px;
    }

    .compare-header,
    .compare-row {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .compare-label,
    .compare-col {
        padding: 10px 12px;
        font-size: 12px;
    }

    .ai-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content p {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .phone-frame {
        width: 260px;
        height: 520px;
    }

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

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

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 28px;
    }
}