/* ===== Properties ===== */
:root {
    --bg: #101010;
    --bg-raised: #181818;
    --bg-subtle: #141414;
    --border: #222;
    --text: #f0f0f0;
    --text-secondary: #888;
    --accent: #008fa0;
    --accent-hover: #00b0c7;
    --nav-height: 96px;
    --max-w: 1080px;
    --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Nav ===== */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(16, 16, 16, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s;
}

.nav.scrolled {
    background: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--border);
}

.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.03em;
}

.nav-logo-img { height: 64px; width: auto; }
.footer-logo-img { height: 48px; width: auto; }

.nav-menu-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: none;
}

.nav-link {
    font-size: 1.15rem;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--accent); }

.nav-lang {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    transition: color 0.2s, background 0.2s;
}

.nav-lang:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.btn-launch {
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 18px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn-launch:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.hero-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(16, 16, 16, 0.15) 0%,
        rgba(16, 16, 16, 0.1) 40%,
        rgba(16, 16, 16, 0.6) 70%,
        rgba(16, 16, 16, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 24px 80px;
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 16px;
}

.hero-title span {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 440px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero {
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-hero-primary {
    background: var(--accent);
    color: #fff;
}

.btn-hero-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid #333;
}

.btn-hero-secondary:hover {
    border-color: #555;
}

/* ===== Store Badges ===== */
.store-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 14px;
    background: #000;
    border: 1px solid #333;
    border-radius: 10px;
    color: #fff;
    transition: border-color 0.2s;
}

.store-badge:hover {
    border-color: #555;
    color: #fff;
}

.store-badge-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.store-badge-sub {
    font-size: 0.6rem;
    font-weight: 400;
    color: #aaa;
    letter-spacing: 0.02em;
}

.store-badge-name {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.store-badge-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.store-badge-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
}

.hero-socials {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.hero-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #ccc;
    transition: color 0.2s;
}

.hero-social:hover {
    color: #fff;
}

.hero-social-disabled {
    opacity: 0.3;
    pointer-events: none;
}

.hero-social-icon {
    width: 36px;
    height: 36px;
}

/* ===== Features ===== */
.features {
    padding: 120px 0;
}

.features-header {
    margin-bottom: 28px;
}

.features-label {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 12px;
    padding-left: 33px;
}

.features-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    max-width: 480px;
}

.features-box {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-raised);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
}

.features-footnote {
    font-size: 0.75rem;
    color: #fff;
    text-align: right;
    margin-top: 8px;
    margin-right: 16px;
}

.feature {
    background: var(--bg-raised);
    padding: 40px 32px;
    transition: background 0.3s;
}

.feature:hover {
    background: #1e1e1e;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    color: var(--accent);
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0 120px;
}

.cta-inner {
    text-align: center;
    padding: 64px 32px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-subtle);
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.cta-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.cta-note {
    color: var(--text-secondary);
    font-size: 0.855rem;
    margin-bottom: 28px;
}

/* ===== Page Header ===== */
.page-header {
    padding: calc(var(--nav-height) + 64px) 0 32px;
}

.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.page-header p {
    color: var(--text-secondary);
    margin-top: 8px;
    font-size: 1rem;
}

/* ===== Language Toggle ===== */
.lang-toggle {
    display: inline-flex;
    gap: 4px;
    margin-top: 16px;
    font-size: 0.8rem;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.lang-toggle a,
.lang-toggle span {
    padding: 6px 14px;
    transition: background 0.2s, color 0.2s;
}

.lang-toggle a {
    color: var(--text-secondary);
}

.lang-toggle a:hover {
    background: #1e1e1e;
    color: var(--text);
}

.lang-active {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

/* ===== Legal Content ===== */
.legal-content {
    padding: 24px 0 120px;
    max-width: 640px;
    margin: 0 auto;
}

.legal-content .container { max-width: 640px; }

.legal-updated {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.legal-content h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.legal-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--text);
}

.legal-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 12px;
}

.legal-content ul {
    list-style: none;
    margin-bottom: 16px;
}

.legal-content li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    padding-left: 16px;
    position: relative;
    margin-bottom: 4px;
}

.legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-secondary);
}

.legal-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--accent-hover);
}

/* ===== Contact ===== */
.contact-section {
    padding: 8px 0 120px;
    max-width: 520px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ===== About ===== */
.about-section {
    padding: 8px 0 120px;
    max-width: 720px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--text);
    font-weight: 600;
}

.about-text em {
    color: var(--text);
}

.about-text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.about-text a:hover {
    color: var(--accent-hover);
}

.about-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.about-photo img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
}

.about-photo img:hover {
    transform: scale(1.02);
    border-color: var(--accent);
}

@media (max-width: 640px) {
    .about-photos {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-photo img {
        height: 220px;
    }
}

/* Lightbox */
.about-photo {
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-brand .nav-logo { font-size: 1rem; }

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-cols {
    display: flex;
    gap: 56px;
}

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 3px 0;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: #555;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.features-grid .feature:nth-child(2) .reveal { transition-delay: 0.1s; }
.features-grid .feature:nth-child(3) .reveal { transition-delay: 0.2s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        padding: 32px 24px;
    }

    .features-label {
        padding-left: 25px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    .footer-cols { gap: 40px; }
}

@media (max-width: 640px) {
    .nav-toggle { display: flex; }

    .nav-menu-desktop { display: none; }

    .nav-menu {
        display: flex;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        background: #101010;
        z-index: 200;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.open { transform: none; }
    .nav-link { font-size: 1rem; }

    .hero { align-items: flex-end; min-height: 100svh; }
    .hero-img img { object-position: 76% 25%; }

    .store-badges { flex-direction: column; align-items: flex-start; }
    .store-badge { white-space: nowrap; }
    .store-badge-note { align-self: flex-start; }
    .hero-social { font-size: 1.1rem; }
    .hero-social-icon { width: 28px; height: 28px; }
    .hero-content { padding-bottom: 48px; }
    .hero-title { font-size: 2.25rem; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn-hero { text-align: center; }

    .features { padding: 80px 0; }
    .cta { padding: 40px 0 80px; }
    .cta-inner { padding: 40px 24px; }

    .footer-cols {
        flex-direction: column;
        gap: 24px;
    }
}
