/* ScaleKey Studio - Shared custom styles (extracted from single-file site) */

:root {
    --accent: #3b82f6;
    --accent-emerald: #10b981;
    --accent-sapphire: #3b82f6;
    --accent-ruby: #e11d48;
    --accent-pearl: #6366f1;
    --accent-obsidian: #334155;
}

body {
    font-family: 'Inter', system_ui, sans-serif;
}

.font-display {
    font-family: 'Space Grotesk', 'Inter', system_ui, sans-serif;
    font-feature-settings: "ss02";
}

.section {
    scroll-margin-top: 80px;
}

.nav-link {
    transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--accent);
}

.premium-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

.value-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.modern-button {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(59 130 246 / 0.3), 
               0 4px 6px -4px rgb(59 130 246 / 0.3);
}

.modern-button:active {
    transform: translateY(0);
}

.theme-swatch {
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid #1e2937;
}

.theme-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.theme-swatch.active {
    border-color: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.accent-text {
    color: var(--accent);
}

.accent-bg {
    background-color: var(--accent);
}

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

/* Additional utilities for multi-page use */
.page-header {
    scroll-margin-top: 80px;
}

/* Apple-style scroll reveal animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0.0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: opacity, transform;
}

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

/* Optional stagger for grids */
.scroll-animate.stagger-1 { transition-delay: 80ms; }
.scroll-animate.stagger-2 { transition-delay: 160ms; }
.scroll-animate.stagger-3 { transition-delay: 240ms; }
.scroll-animate.stagger-4 { transition-delay: 320ms; }