/* ppuzzl.dev — Glassmorphism Developer Portal */
:root {
    --void: #0F0E17;
    --violet: #7B68EE;
    --teal: #48D1CC;
    --orchid: #DA70D6;
    --frost: rgba(255,255,255,0.12);
    --frost-border: rgba(255,255,255,0.18);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255,255,255,0.78);
    --text-tertiary: rgba(255,255,255,0.45);
    --deep-glass: rgba(0,0,0,0.2);
    --glow: rgba(123,104,238,0.4);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 16px; line-height: 1.7; color: var(--text-secondary); background: var(--void); overflow-x: hidden; }

.aurora-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

.frost-nav { position: fixed; top: 0; left: 0; right: 0; height: 56px; backdrop-filter: blur(20px); background: rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.1); z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; transform: translateY(-56px); transition: transform 0.3s; }
.frost-nav.on { transform: translateY(0); }
.nav-brand { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 16px; color: var(--text-primary); }
.nav-links { display: flex; gap: 24px; }
.nav-link { font-size: 14px; color: var(--text-tertiary); text-decoration: none; transition: color 0.2s, text-shadow 0.2s; }
.nav-link:hover { color: var(--text-primary); text-shadow: 0 0 12px var(--glow); }

.content { position: relative; z-index: 1; max-width: 960px; margin: 0 auto; padding: 0 24px; }

#hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; }
.hero-card { width: 600px; max-width: 90%; height: 260px; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scaleX(0.002) scaleY(0.004); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s; }
.hero-card.expand-h { transform: scaleX(1) scaleY(0.004); opacity: 1; }
.hero-card.expand-full { transform: scaleX(1) scaleY(1); opacity: 1; }
.hero-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 56px; color: var(--text-primary); text-shadow: 0 0 40px rgba(255,255,255,0.3); letter-spacing: -0.02em; opacity: 0; transition: opacity 0.4s; }
.hero-title.on { opacity: 1; }

.dev-card { position: absolute; top: calc(50% + 80px); left: calc(50% + 80px); padding: 16px 32px; opacity: 0; transform: translateX(40px); transition: opacity 0.3s, transform 0.3s ease-out; }
.dev-card.on { opacity: 1; transform: translateX(0); }
.dev-label { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 36px; color: var(--teal); text-shadow: 0 0 30px rgba(72,209,204,0.4); }

.glass-card { background: var(--frost); backdrop-filter: blur(24px) saturate(1.4); border: 1px solid var(--frost-border); border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.25); padding: 40px; transition: backdrop-filter 0.3s, transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.glass-card:hover { backdrop-filter: blur(32px) saturate(1.8); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); border-color: var(--glow); }

.card-section { padding: 60px 0; }
.card-section .glass-card { margin-bottom: -60px; position: relative; opacity: 0; transform: translateY(80px); transition: opacity 0.5s, transform 0.5s ease-out, backdrop-filter 0.3s, box-shadow 0.2s, border-color 0.2s; }
.card-section .glass-card.visible { opacity: 1; transform: translateY(0); }
.card-left { margin-right: 80px; }
.card-right { margin-left: 80px; }
.deeper { background: rgba(255,255,255,0.14); }
.deeper-still { background: rgba(255,255,255,0.16); }

.card-heading { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 24px; color: var(--text-primary); text-shadow: 0 0 20px rgba(255,255,255,0.15); margin-bottom: 12px; }
.card-text { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.code-block { background: var(--deep-glass); backdrop-filter: blur(12px); border-radius: 12px; padding: 16px 20px; border: 1px solid rgba(255,255,255,0.08); }
.code-block code { font-family: 'JetBrains Mono', monospace; font-weight: 400; font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.6; }

.glass-footer { margin-top: 120px; padding: 40px; text-align: center; backdrop-filter: blur(40px); background: rgba(255,255,255,0.06); border-radius: 20px; border: 1px solid var(--frost-border); margin-bottom: 60px; }
.footer-text { font-size: 14px; color: var(--text-tertiary); }

@media (max-width: 768px) {
    .hero-title { font-size: 36px; }
    .hero-card { width: 90%; height: 200px; }
    .dev-card { left: calc(50% + 20px); }
    .card-left, .card-right { margin-left: 0; margin-right: 0; }
    .glass-card { padding: 24px; }
}
