/* CSS Reset & Variables */
:root {
    --primary-color: #000;
    --accent-color: #007AFF;
    --text-light: #fff;
    --text-muted: rgba(255, 255, 255, 0.85);
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-quick: 0.3s ease-out;

    /* New page colors - Cool neutrals */
    --bg-primary: #ffffff;
    --bg-secondary: #f7f7f7;
    --text-primary: #1f1f1f;
    --text-secondary: #6b6b6b;
    --border-color: #e3e3e3;
    --nav-bg: rgba(255, 255, 255, 0.95);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Times New Roman', Times, serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Model Grid Background */
.model-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0;
    z-index: 1;
    animation: fadeIn 0.8s ease-out;
}

.model-item {
    position: relative;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    display: block;
    transition: filter 0.6s ease;
}

.model-item:hover {
    filter: brightness(0.7);
}

/* Gradient Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.55) 60%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 3;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1100px;
    animation: fadeInUp 0.9s ease-out;
}

.hero-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(56px, 10vw, 96px);
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.01em;
    margin-bottom: 0;
    text-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
    line-height: 1.5;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-quick);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

/* Transparent Nav for Landing Page */
.navbar-transparent {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: none;
}

.navbar-transparent .nav-logo {
    color: var(--text-light);
}

.navbar-transparent .nav-links a {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-transparent .nav-links a:hover {
    color: var(--text-light);
}

.navbar-transparent .download-link {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-light) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.navbar-transparent .download-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

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

.nav-logo {
    font-family: 'Times New Roman', Times, serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color var(--transition-quick);
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--text-primary);
}

.download-link {
    padding: 8px 20px;
    background: var(--text-primary);
    color: var(--text-light) !important;
    border-radius: 8px;
    transition: all var(--transition-quick);
    font-weight: 500;
}

.download-link:hover {
    background: var(--text-secondary);
    transform: translateY(-1px);
}

/* Page Container */
.page-container {
    min-height: 100vh;
    background: var(--bg-primary);
    padding-top: 80px;
}

.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.content-section.narrow {
    max-width: 800px;
}

.content-section.legal {
    max-width: 900px;
}

/* Page Headers */
.page-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.content-block {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.content-block.full-width {
    grid-column: 1 / -1;
}

.content-block h2 {
    font-size: 28px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.content-block p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all var(--transition-quick);
}

.feature-card:hover {
    border-color: var(--text-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 108px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.cta-button-page {
    display: inline-block;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
    background: var(--text-primary);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-quick);
}

.cta-button-page:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    gap: 2rem;
}

.contact-method h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-method a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 16px;
}

.contact-method a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: border-color var(--transition-quick);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Legal Pages */
.legal-date {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.legal-content {
    max-width: 800px;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--accent-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Placeholder Images */
.image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
}

.image-placeholder.small {
    height: 240px;
}

.placeholder-text {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Footer */
.footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color var(--transition-quick);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-text {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===========================
   LANDING INTRO + BRAND HERO
   =========================== */

/* Lock scroll during intro */
body.intro-active {
    overflow: hidden;
}

/* Full-screen intro overlay */
#intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* White veil that completes the video's fade to pure white */
#intro-white-veil {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.75s ease;
    z-index: 2;
}

/* Skip button */
#skip-btn {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 1;
    background: none;
    border: none;
    font-family: 'Times New Roman', Times, serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    padding: 0;
    opacity: 0;
    animation: skipReveal 0.5s ease forwards 1.5s;
    transition: color 0.25s ease;
}

#skip-btn:hover {
    color: rgba(255, 255, 255, 1);
}

@keyframes skipReveal {
    to { opacity: 1; }
}

#intro-overlay.white-fade #intro-white-veil {
    opacity: 1;
}

/* Brand hero section */
.hero-brand {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Silhouette field */
.silhouette-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.sil {
    position: absolute;
    color: #000;
    pointer-events: none;
}

.sil svg {
    width: 100%;
    height: 100%;
    display: block;
}

.sparkle {
    position: absolute;
    color: #C9A84C;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    opacity: 0;
}

.brand-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.brand-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(72px, 13vw, 160px);
    font-weight: 400;
    color: #000;
    letter-spacing: 0.01em;
    line-height: 1;
    opacity: 0;
}

.brand-title.reveal {
    animation: brandFadeIn 2.5s ease forwards;
}

.brand-subtitle {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(13px, 1.5vw, 17px);
    font-weight: 300;
    font-style: italic;
    color: #000;
    letter-spacing: 0.08em;
    opacity: 0;
}

.brand-subtitle.reveal {
    animation: brandFadeIn 2s ease forwards;
}

@keyframes brandFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Navbar: invisible during intro, fades in after */
.navbar-landing {
    opacity: 0;
    pointer-events: none;
    background: transparent;
    border-bottom: 1px solid transparent;
    backdrop-filter: none;
    transition: opacity 1.2s ease;
}

.navbar-landing.nav-reveal {
    opacity: 1;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
}

.navbar-landing .nav-logo {
    color: var(--text-primary);
}

.navbar-landing .nav-links a {
    color: var(--text-secondary);
}

.navbar-landing .nav-links a:hover {
    color: var(--text-primary);
}

.navbar-landing .download-link {
    background: var(--text-primary);
    color: var(--text-light) !important;
    border-radius: 8px;
}

.navbar-landing .download-link:hover {
    background: var(--text-secondary);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        margin-bottom: 0;
        font-size: 16px;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-links a:not(.download-link) {
        display: none;
    }

    .download-link {
        padding: 7px 18px;
        font-size: 14px;
    }

    .content-section {
        padding: 3rem 1.5rem 4rem;
    }

    .page-title {
        margin-bottom: 0.75rem;
    }

    .page-subtitle {
        margin-bottom: 3rem;
    }

    .content-grid {
        gap: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card p {
        min-height: auto;
    }

    .contact-content {
        gap: 3rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .cta-section {
        padding: 3rem 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 14px;
    }
}
