/* ── Custom Properties ── */
:root {
    --teal-50: #f0fdfa;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --slate-900: #0f172a;
    --slate-950: #020617;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 25%, #14b8a6 50%, #2dd4bf 70%, #1e293b 100%);
}

/* ── Hero Pattern ── */
.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.5) 1px, transparent 0);
    background-size: 32px 32px;
}

/* ── Floating Animation ── */
@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}
.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* ── Hero Entrance ── */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-badge { animation: heroFadeUp 0.8s ease-out both; }
#hero h1 { animation: heroFadeUp 0.8s ease-out 0.15s both; }
#hero p { animation: heroFadeUp 0.8s ease-out 0.3s both; }
#hero > div > div:last-child { animation: heroFadeUp 0.8s ease-out 0.45s both; }

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Default state for reduced-motion: content is visible */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Navbar ── */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
}
#navbar.scrolled .nav-link { color: #475569; }
#navbar.scrolled .nav-link:hover { color: #0d9488; }
#navbar.scrolled .font-serif { color: #0f172a; }

/* ── Mobile Menu ── */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Utility ── */
::selection { background: rgba(13, 148, 136, 0.2); color: #0f766e; }
:focus-visible { outline: 2px solid #0d9488; outline-offset: 2px; border-radius: 4px; }
</style>
