@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --background: #000000;
    --surface: #111111;
    --text: #ffffff;
    --text-muted: #a1a1aa;
    --accent-blue: #0ea5e9;
    --accent-purple: #a855f7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    overflow-x: hidden;
}

h1,
h2,
h3,
.font-heading {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-nav {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Video Background / Preview */
.video-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.2);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    pointer-events: none;
}

/* Feature Cards */
.feature-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* Hero Glow */
.hero-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Stats Counter */
.counter-val {
    font-size: 3rem;
    font-weight: 700;
}

#demo {
    scroll-margin-top: 100px;
}

#messagesubmit:disabled {
    background-color: var(--primary-dark);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Light Mode Theme */
html.light {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --background: #ffffff;
    --surface: #f3f4f6;
    --text: #1f2937;
    --text-muted: #6b7280;
    --accent-blue: #0ea5e9;
    --accent-purple: #a855f7;
}

html.light body {
    background-color: var(--background);
    color: var(--text);
}

html.light .glass {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

html.light .glass-nav {
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

html.light .bg-zinc-900,
html.light .bg-zinc-900\/30,
html.light .bg-zinc-900\/50 {
    background-color: #f9fafb !important;
}

html.light .bg-zinc-800 {
    background-color: #e5e7eb !important;
}

html.light .border-zinc-900,
html.light .border-zinc-800 {
    border-color: #e5e7eb !important;
}

html.light .text-zinc-100 {
    color: #1f2937 !important;
}

html.light .text-zinc-400 {
    color: #6b7280 !important;
}

html.light .text-zinc-500 {
    color: #6b7280 !important;
}

html.light .text-zinc-600 {
    color: #4b5563 !important;
}

html.light .placeholder\:text-zinc-600::placeholder {
    color: #9ca3af !important;
}

html.light .hover\:bg-zinc-800:hover {
    background-color: #e5e7eb !important;
}

html.light .glass-nav .hover\:text-white:hover {
    color: var(--primary) !important;
}

html.light .bg-primary\/10 {
    background-color: rgba(59, 130, 246, 0.1) !important;
}

html.light .bg-blue-500\/10 {
    background-color: rgba(59, 130, 246, 0.1) !important;
}

html.light .bg-purple-500\/10 {
    background-color: rgba(139, 92, 246, 0.1) !important;
}

html.light .bg-orange-500\/10 {
    background-color: rgba(249, 115, 22, 0.1) !important;
}

html.light .bg-emerald-500\/10 {
    background-color: rgba(16, 185, 129, 0.1) !important;
}

html.light .video-container {
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.15);
}

::-webkit-scrollbar {
    width: 10px;
}

html.light ::-webkit-scrollbar-track {
    background: #f3f4f6;
}

html.light ::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 5px;
}

html.light ::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Logo Utility */
.logo-text {
    color: #f4f4f5 !important;
    /* zinc-100 */
}

html.light .logo-text {
    color: #111111 !important;
}