:root {
    --accent: #3b82f6;
    --dark: #0a0a0a;
    --surface: #171717;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism utility */
.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.1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

html {
    scroll-padding-top: 100px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Hero animations */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
}

.hero-image {
    opacity: 0;
    transform: scale(0.9) translateX(30px);
}

/* Phone Mockup Floating Animation */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-soft {
    0% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
    100% { opacity: 0.4; transform: scale(1); }
}

.hero-image > div {
    animation: float 6s ease-in-out infinite;
}

.bg-blob {
    animation: pulse-soft 8s ease-in-out infinite;
}

/* Smooth reveal for sections */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Modal styling */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

#legal-modal.active {
    display: block;
}

#legal-modal .glass {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#legal-modal.active .glass {
    transform: scale(1);
    opacity: 1;
}

/* Interactive demo styles */
#demo-card-container {
    perspective: 1000px;
}

.demo-card {
    transition: transform 0.1s ease-out;
}

/* Feature grid item hover */
.feature-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive typography fixes */
@media (max-width: 768px) {
    h1 {
        font-size: 3.5rem !important;
        line-height: 1 !important;
    }
}
