/* Zen Dentistry - Minimalist Design System */
:root {
    --bg: #F8FAFC;
    --text: #1E293B;
    --accent: #0EA5E9;
    --muted: #64748B;
    --surface: #FFFFFF;
    --border: #E2E8F0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Base Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Layout Utilities */
.nav-glass {
    background: rgba(248, 250, 252, 0.9);
    backdrop-filter: blur(16px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
}

/* Service Cards */
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent);
}

/* AI Feature */
.ai-section {
    background: white;
    border-radius: 2px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

#ai-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dot-pulse {
    display: flex;
    gap: 4px;
}
.dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1s infinite alternate;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse {
    from { opacity: 0.3; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.2); }
}

.custom-cursor {
    width: 24px;
    height: 24px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    display: none;
}

@media (min-width: 1024px) {
    .custom-cursor { display: block; }
}
