:root {
    --bg-pure: #000000;
    --text-pure: #ffffff;
    --text-dim: #a0a0a0; /* WCAG AA Contrast Pass */
    --border-subtle: #1e1e1e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.pro-max-layout {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    background-color: var(--bg-pure);
    color: var(--text-pure);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--text-pure);
    outline-offset: 4px;
    border-radius: 4px;
}
.btn-solid:focus-visible, .btn-ghost:focus-visible {
    border-radius: 999px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text-pure);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-pure);
}

.nav-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.nav-link:hover svg {
    transform: translateX(3px);
}

/* Editorial Hero */
.editorial-hero {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 8rem 3rem 4rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .editorial-hero {
        grid-template-columns: 1fr 1fr;
    }
}

.content-side {
    max-width: 780px;
}

.badge-subtle {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #00e676;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.4);
}

h1.leading-snug {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 90%;
    letter-spacing: -0.01em;
}

.cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn-solid {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--text-pure);
    color: var(--bg-pure);
    padding: 1.25rem 2.5rem;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-solid:hover {
    transform: scale(0.98);
    opacity: 0.9;
}

.cta-note {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

@media (max-width: 600px) {
    .btn-group {
        flex-direction: column;
    }
    .btn-solid, .btn-ghost {
        width: 100%;
    }
}

.btn-android {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-ghost {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    color: var(--text-pure);
    border: 1px solid var(--border-subtle);
    padding: 1.25rem 2.5rem;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(0.98);
}

.quote-minimal {
    font-size: 1.1rem;
    color: var(--text-dim);
    border-left: 2px solid var(--border-subtle);
    padding-left: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

/* Image Showcase styling (Replacing mockups) */
.device-side {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 2000px;
}

.hero-screenshot {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 255, 255, 0.05);
    will-change: transform;
    transition: transform 0.2s ease-out;
}

/* 3D Showcase Gallery Section */
.showcase-gallery {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--bg-pure), #0a0a0c);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%);
}

.gallery-header {
    text-align: center;
    margin-bottom: 6rem;
}

.gallery-header h2 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.gallery-header p {
    color: var(--text-dim);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.device-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    perspective: 2000px;
    flex-wrap: wrap;
}

.gallery-img {
    height: 600px;
    object-fit: contain;
    border-radius: 36px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

@media (max-width: 1024px) {
    .gallery-img {
        height: 480px;
        margin-bottom: 2rem;
    }
    .staggered-img {
        transform: translateZ(0) rotateY(0deg);
    }
    .middle-img {
        transform: translateZ(0) rotateY(0deg) translateY(0);
    }
}

.staggered-img {
    transform: translateZ(-50px) rotateY(-10deg);
    opacity: 0.8;
}

.middle-img {
    transform: translateZ(50px) rotateY(0deg) translateY(-20px);
    opacity: 1;
    z-index: 2;
}

.gallery-img:hover {
    transform: translateZ(100px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 50px 100px rgba(255, 255, 255, 0.1);
    opacity: 1;
    z-index: 10;
}

/* Minimal Features Row */
.minimal-features {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 3rem 8rem;
    border-top: 1px solid var(--border-subtle);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 900px) {
    .feature-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 6rem;
    }
}

.feature-text h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-pure);
}

.feature-text p {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
.minimal-footer {
    padding: 3rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.creator-link {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease;
}

.creator-link:hover {
    color: var(--text-pure);
}

/* Animations */
.stagger-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-child.active {
    opacity: 1;
    transform: translateY(0);
}
