/* ============================================
   RoomDiY About Page - Acoustic Precision Aesthetic
   ============================================ */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ============================================
   CSS Variables & Reset
   ============================================ */

:root {
    /* Colors */
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #111;
    --text-primary: #e0e0e0;
    --text-secondary: #aaa;
    --text-tertiary: #888;
    --accent-green: #00e676;
    --accent-purple: #9d4edd;
    --accent-blue: #7790c3;
    --accent-pink: #8f5990;
    --accent-yellow: #c3bf58;
    --border-color: #333;
    
    /* Fonts */
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-mono);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    font-size: 1rem;
    line-height: 1.8;
}

.text-small {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.text-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(17, 17, 17, 0.95);
}

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

.nav-brand {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 0.15em;
}

.nav-brand-sub {
    color: #666;
    font-weight: 400;
}

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

.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.nav-link:hover {
    color: var(--accent-green);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    margin-top: 60px;
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    color: var(--accent-green);
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-feature {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    pointer-events: none;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
}

.btn-primary:hover {
    background: #b854ff;
    border-color: #b854ff;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-green);
    border-color: var(--accent-green);
}

.btn-secondary:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
}

.btn-pro {
    width: 100%;
    background: var(--accent-purple);
    color: white;
    border-color: var(--accent-purple);
    padding: 1rem;
    margin-top: 1.5rem;
}

.btn-pro:hover {
    background: #b854ff;
    border-color: #b854ff;
}

.btn-trial {
    width: 100%;
    background: var(--accent-green);
    color: white;
    border-color: var(--accent-green);
    padding: 1rem;
    margin-top: 1.5rem;
}

.btn-trial:hover {
    background: #b854ff;
    border-color: #b854ff;
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

.section-dark {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-divider {
    width: 8rem;
    height: 3px;
    background: linear-gradient(to right, var(--accent-green), var(--accent-purple));
    margin-bottom: 3rem;
}

/* ============================================
   Two Column Layout
   ============================================ */

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

/* ============================================
   Feature Blocks
   ============================================ */

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.feature-block-reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-block-reverse .feature-image {
    order: -1;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.accent-green {
    color: var(--accent-green);
}

.accent-purple {
    color: var(--accent-purple);
}

.accent-yellow {
    color: var(--accent-yellow);
}

.feature-specs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 4px;
}

.spec-item {
    font-size: 0.9rem;
    color: var(--accent-green);
    font-family: var(--font-mono);
}

.feature-image {
    position: relative;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Tech Explanation
   ============================================ */

.tech-explanation {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.objects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.object-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.object-title {
    font-size: 1.1rem;
    font-family: var(--font-mono);
    font-weight: 700;
}

.accent-absorber {
    color: var(--accent-pink);
}

.accent-reflector {
    color: var(--accent-blue);
}

.accent-diffuser {
    color: var(--accent-yellow);
}

/* ============================================
   Tech Box
   ============================================ */

.tech-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-box-title {
    font-size: 1.25rem;
    color: var(--accent-green);
    font-family: var(--font-mono);
    font-weight: 700;
}

.code-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
    overflow-x: auto;
}

.code-line {
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.code-line.accent-green {
    color: var(--accent-green);
}

/* ============================================
   Analysis Grid
   ============================================ */

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.analysis-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition);
}

.analysis-card:hover {
    border-color: var(--accent-green);
}

.analysis-title {
    font-size: 1.1rem;
    font-family: var(--font-mono);
    font-weight: 700;
}

/* ============================================
   Insights List
   ============================================ */

.insights-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.insight-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.insight-label {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============================================
   Video Section
   ============================================ */

.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 2rem;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.video-icon {
    font-size: 4rem;
    color: var(--accent-green);
}

.video-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.video-subtext {
    font-size: 0.9rem;
    color: var(--text-tertiary);
}

/* ============================================
   Download Section
   ============================================ */

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.download-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.download-card-pro {
    border-color: var(--accent-purple);
    position: relative;
}

.download-title {
    font-size: 1.5rem;
    font-family: var(--font-mono);
    font-weight: 700;
}

.download-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-check {
    font-size: 0.95rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

/* ============================================
   System Requirements
   ============================================ */

.system-requirements {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 4px;
}

.requirement-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.requirement-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.requirement-subtitle {
    font-size: 1rem;
    font-family: var(--font-mono);
    font-weight: 700;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.footer-title {
    font-size: 1rem;
    color: var(--accent-green);
    font-family: var(--font-mono);
    font-weight: 700;
}

.footer-link {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--accent-green);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .hero-container,
    .two-column,
    .feature-block,
    .feature-block-reverse,
    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .feature-block-reverse .feature-image {
        order: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .section {
        padding: 2rem 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .hero-image {
        height: 300px;
    }

    .feature-image {
        height: 250px;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .objects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .section {
        padding: 1.5rem 1rem;
    }

    .nav-container {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-brand {
        font-size: 1rem;
    }

    .nav-links {
        gap: 0.75rem;
        font-size: 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .feature-specs,
    .tech-box {
        padding: 1rem;
    }

    .code-block {
        font-size: 0.8rem;
    }
}
