*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #1a1815;
    --bg-light: #211e1a;
    --surface: #252220;
    --text: #c9c0b3;
    --text-dim: #6b6359;
    --rust: #8b4513;
    --rust-light: #a0522d;
    --rust-glow: rgba(160, 82, 45, 0.12);
    --steel: #6b7b8a;
    --steel-dim: #4a5560;
    --border: rgba(201, 192, 179, 0.08);
    --border-rust: rgba(160, 82, 45, 0.2);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== GRAIN OVERLAY ===== */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ===== AMBIENT ATMOSPHERE ===== */
.ambient-glow {
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.glow-1 { top: -300px; right: -200px; background: var(--rust-light); }
.glow-2 { bottom: -300px; left: -200px; background: var(--steel); }

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 24, 21, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    animation: fadeDown 0.8s ease-out;
}

.nav-logo {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    font-weight: 400;
}

.nav-link:hover { color: var(--rust-light); }

.nav-status {
    font-family: 'Special Elite', cursive;
    font-size: 12px;
    color: var(--rust-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rust-light);
    animation: pulse 2.5s ease-in-out infinite;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 48px 80px;
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 220px;
    height: auto;
    object-fit: contain;
    margin-bottom: 48px;
    animation: fadeUp 0.8s ease-out 0.2s both;
    filter: drop-shadow(0 4px 30px rgba(139, 69, 19, 0.15));
}

.hero h1 {
    font-family: 'Special Elite', cursive;
    font-size: clamp(38px, 7vw, 80px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 28px;
    animation: fadeUp 0.8s ease-out 0.4s both;
    color: var(--text);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--text) 30%, var(--rust-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dim);
    max-width: 520px;
    font-weight: 300;
    animation: fadeUp 0.8s ease-out 0.6s both;
}

.hero-cta {
    margin-top: 48px;
    display: flex;
    gap: 16px;
    animation: fadeUp 0.8s ease-out 0.8s both;
}

.btn-primary {
    font-family: 'Special Elite', cursive;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bg);
    text-decoration: none;
    background: var(--rust-light);
    padding: 14px 32px;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--rust);
    transform: translateY(-1px);
}

.btn-secondary {
    font-family: 'Special Elite', cursive;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rust-light);
    text-decoration: none;
    border: 1px solid var(--border-rust);
    padding: 14px 32px;
    border-radius: 4px;
    background: var(--rust-glow);
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.btn-secondary:hover {
    background: rgba(160, 82, 45, 0.18);
    border-color: rgba(160, 82, 45, 0.5);
    transform: translateY(-1px);
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px 48px;
    position: relative;
    z-index: 1;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--rust-light);
    opacity: 0.4;
}

.section-label {
    font-family: 'Special Elite', cursive;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rust-light);
    margin-bottom: 24px;
}

/* ===== ABOUT ===== */
.about-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-title {
    font-family: 'Special Elite', cursive;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 1px;
}

.about-title .highlight {
    background: linear-gradient(135deg, var(--text) 30%, var(--rust-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dim);
    font-weight: 300;
}

.about-text p + p { margin-top: 20px; }

/* ===== FEATURES ===== */
.features-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: var(--border-rust);
    transform: translateY(-2px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rust-light), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before { opacity: 0.5; }

.feature-icon {
    font-size: 28px;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-family: 'Special Elite', cursive;
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-dim);
    font-weight: 300;
}

/* ===== STATUS CARD ===== */
.status-card {
    max-width: 960px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 64px;
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rust-light), transparent);
    opacity: 0.4;
}

.status-title {
    font-family: 'Special Elite', cursive;
    font-size: 44px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.status-subtitle {
    font-size: 17px;
    color: var(--text-dim);
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 600px;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    display: flex;
    gap: 2px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.lang-btn {
    font-family: 'Special Elite', cursive;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 6px 12px;
    background: transparent;
    color: var(--text-dim);
    border: none;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.lang-btn:hover {
    color: var(--text);
}

.lang-btn.active {
    background: var(--rust-glow);
    color: var(--rust-light);
}

/* ===== FOOTER ===== */
footer {
    padding: 48px;
    text-align: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
}

.footer-logo {
    height: 52px;
    width: auto;
    margin-bottom: 24px;
    opacity: 0.35;
    transition: opacity 0.3s;
}

.footer-logo:hover { opacity: 0.6; }

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.footer-links a:hover { color: var(--rust-light); }

.footer-text {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    nav { padding: 14px 20px; }
    .nav-logo { height: 32px; }
    .nav-status { display: none; }
    .hero { padding: 100px 24px 80px; }
    .hero-logo { width: 160px; margin-bottom: 36px; }
    .hero h1 { letter-spacing: 1px; }
    .hero-tagline { font-size: 16px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .section { padding: 80px 24px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .features-grid { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 28px 24px; }
    .status-card { padding: 40px 24px; }
    .status-title { font-size: 32px; }
    footer { padding: 40px 24px; }
}

/* ===== DISABLE HEAVY EFFECTS ON TOUCH ===== */
@media (hover: none) {
    body::after { display: none; }
    .ambient-glow { display: none; }
    .feature-card:hover { transform: none; }
}