/* 
   JAPANCORE / NEO-JAPANESE MINIMALISM SYSTEM v2.0
   Target: Ultra-Premium Luxury (Rolex/Aesop aesthetic)
*/

:root {
    --bg-obsidian: #050507;
    --glass-sapphire: rgba(10, 10, 15, 0.85);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text-primary: rgba(245, 245, 250, 0.98);
    --text-secondary: rgba(235, 235, 245, 0.75);
    --accent-indigo: #4f46e5;
    --accent-crimson: #ef4444;
    --ma-padding: 4rem; 
    --ease-jp: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-obsidian);
    color: var(--text-primary);
    font-family: "Inter", -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
}

/* 1. ГЛУБОКАЯ ТЕКСТУРА ФОНА (Silk + Digital Zen) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: 
        radial-gradient(circle at 50% -20%, rgba(79, 70, 229, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 0% 100%, rgba(239, 68, 68, 0.05) 0%, transparent 40%),
        var(--bg-obsidian);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 Q 25 45, 50 50 T 100 50' stroke='white' fill='none' stroke-width='0.2'/%3E%3C/svg%3E");
    background-size: 400px 100px;
    mask-image: radial-gradient(circle, black, transparent 80%);
    pointer-events: none;
}

/* 2. ТЯЖЕЛОЕ СТЕКЛО (Floating Heavy Glass) */
.premium-sapphire {
    background: var(--glass-sapphire);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Световой кант сверху */
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.8),
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    transition: all 0.8s var(--ease-jp);
}

.premium-sapphire:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(15, 15, 25, 0.9);
    transform: translateY(-4px);
}

/* 3. ТИПОГРАФИКА (Designed in Tokyo) */
h1, .text-hero {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 100;
    line-height: 0.9;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #fff 40%, rgba(255,255,255,0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.sub-header {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8em;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-bottom: 1rem;
    display: block;
}

/* 4. КНОПКИ (Titanium Monolith) */
.btn-titanium {
    background: #fff;
    color: #000;
    border: none;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 1.5rem 3rem;
    transition: all 0.4s var(--ease-jp);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.btn-titanium:hover {
    background: var(--accent-indigo);
    color: #fff;
    letter-spacing: 0.4em;
    padding-left: 3.5rem;
    padding-right: 2.5rem;
}

/* 5. СТАТУС СОЛНЦА (Pulse) */
.status-sun {
    width: 10px; height: 10px;
    background: var(--accent-crimson);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-crimson);
    animation: sun-pulse 2s infinite var(--ease-jp);
}

@keyframes sun-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; filter: blur(2px); }
}

/* 6. MA (SPACE) UTILS */
.section-ma { padding: var(--ma-padding) 0; }
.card-ma { padding: 3rem; }

/* 7. REVEAL (Ink) */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(10px);
    transition: all 1.2s var(--ease-jp);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 768px) {
    :root { --ma-padding: 2rem; }
    .premium-sapphire { backdrop-filter: blur(20px); }
}
