/* Color Palette:
Background: #050505
Secondary charcoal: #111111
Ivory text: #D8D0C1
Antique gold: #B88A2D
White section background: #F7F4EC
Deep text on light sections: #111111
*/

:root {
    --bg-main: #050505;
    --bg-secondary: #111111;
    --text-ivory: #D8D0C1;
    --accent-gold: #B88A2D;
    --bg-light: #F7F4EC;
    --text-dark: #111111;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-ivory);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e0ac39;
}

/* Typography Classes */
.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.mt-4 { margin-top: 2rem; }
.eyebrow {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
    scroll-margin-top: 110px;
}

.section-dark {
    background-color: var(--bg-main);
}

.section-light {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.section-gold {
    background-color: var(--accent-gold);
    color: var(--bg-main);
}

/* Header & Nav */
header {
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(216, 208, 193, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    width: 190px;
    height: auto;
    max-height: 44px;
    display: block;
    object-fit: contain;
}

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

.nav-links a {
    color: var(--text-ivory);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-ivory);
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    min-width: 160px;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-main);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-gold);
}

.btn-primary-dark {
    background-color: var(--bg-secondary);
    color: var(--text-ivory);
    border: 1px solid var(--bg-secondary);
}

.btn-primary-dark:hover {
    background-color: var(--accent-gold);
    color: var(--bg-main);
    border-color: var(--accent-gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-ivory);
    border: 1px solid var(--text-ivory);
}

.btn-outline:hover {
    background-color: var(--text-ivory);
    color: var(--bg-main);
}

.btn-dark {
    background-color: var(--bg-main);
    color: var(--text-ivory);
    border: 1px solid var(--bg-main);
}

.btn-dark:hover {
    background-color: transparent;
    color: var(--bg-main);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--bg-main);
    border: 1px solid var(--bg-main);
}

.btn-outline-dark:hover {
    background-color: var(--bg-main);
    color: var(--text-ivory);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-ivory);
}

.hero .gold {
    color: var(--accent-gold);
}

.subheadline {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.supporting-line {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(184, 138, 45, 0.15) 0%, rgba(17, 17, 17, 0) 70%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(20px);
}

.hero-image img {
    max-width: 100%;
    max-height: 620px;
    height: auto;
    object-fit: contain;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8), 0 0 40px rgba(184, 138, 45, 0.1);
}

/* Core Idea */
.core-idea h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.body-text-large {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.body-text-large p {
    margin-bottom: 1.5rem;
}

/* Grid & Cards */
.grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.cards-grid {
    grid-template-columns: repeat(2, 1fr);
}

.cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card {
    padding: 2.5rem;
    border-radius: 4px;
    position: relative;
}

.player-icon {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    width: 50px;
    height: auto;
    opacity: 0.9;
}

.card-dark {
    background-color: var(--bg-secondary);
}

.card.bordered {
    border: 1px solid rgba(216, 208, 193, 0.1);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    padding-right: 4.5rem;
}

/* Seven Laws */
.seven-laws h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.laws-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.law-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(216, 208, 193, 0.1);
}

.law-item:last-child {
    border-bottom: none;
}

.law-number {
    font-family: var(--font-body);
    color: var(--accent-gold);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    width: 90px;
}

.law-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-ivory);
}

.law-content p {
    color: rgba(216, 208, 193, 0.8);
}

/* Mirror Questions */
.mirror-content {
    max-width: 800px;
    margin: 0 auto;
}

.mirror-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.questions-list {
    list-style: none;
    margin-bottom: 3rem;
}

.questions-list li {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-style: italic;
    line-height: 1.4;
}

.questions-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

/* Universal Operator */
.universal-operator h2 {
    font-size: clamp(2.6rem, 4vw, 4.2rem);
    line-height: 1.1;
    max-width: 1100px;
    margin: 0 auto 2rem;
}

.formula-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--accent-gold);
    max-width: 1050px;
    margin: 0 auto 4rem;
    padding: 2rem 2.5rem;
    text-align: center;
}

.formula-box p {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 2.5vw, 2.5rem);
    line-height: 1.2;
    color: var(--accent-gold);
}

.operator-content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.operator-text {
    max-width: 520px;
    font-size: 1.25rem;
    line-height: 1.7;
}

.operator-image {
    max-width: 560px;
    padding: 1.5rem;
    margin: 0 auto;
    background-color: var(--bg-light);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.operator-image img {
    width: 100%;
    height: auto;
    max-height: 620px;
    display: block;
    object-fit: contain;
}

/* CTA Section */
.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1400px;
    margin: 0 auto;
}

.cta-buttons .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    width: 100%;
}

/* Footer */
.site-footer {
    background-color: #000;
    padding: 3rem 0;
    border-top: 1px solid rgba(216, 208, 193, 0.1);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3.5rem;
}

.footer-social-container {
    text-align: right;
}

.social-heading {
    font-size: 0.85rem;
    color: rgba(216, 208, 193, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.8rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-end;
}

.footer-social a {
    color: var(--text-ivory);
    font-size: 0.9rem;
}

.footer-social a:hover {
    color: var(--accent-gold);
}

.footer-info p {
    font-size: 0.9rem;
    color: rgba(216, 208, 193, 0.6);
    margin-bottom: 0.2rem;
}

.trademark-notice {
    font-size: 0.75rem !important;
    color: rgba(216, 208, 193, 0.6);
    margin-top: 1.5rem !important;
}

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

.footer-links a {
    color: rgba(216, 208, 193, 0.8);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 1024px) {
    .cta-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .operator-content {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 3rem;
    }

    .cards-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-action {
        display: none;
    }

    .logo-img {
        width: 150px;
        max-height: 38px;
    }

    .player-icon {
        width: 36px;
        top: 2rem;
        right: 2rem;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .subheadline {
        font-size: 1.5rem;
    }

    .core-idea h2, .seven-laws h2, .mirror-content h2, .cta-section h2 {
        font-size: 2rem;
    }

    .cards-grid, .cards-grid-3 {
        grid-template-columns: 1fr;
    }

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

    .universal-operator {
        padding: 4rem 1.25rem;
    }

    .formula-box {
        max-width: 100%;
        padding: 1.25rem;
        margin-bottom: 2rem;
    }

    .formula-box p {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }
    
    .operator-image {
        max-width: 360px;
        padding: 1rem;
    }

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

    .footer-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-right {
        align-items: center;
    }

    .footer-social-container {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .cta-buttons {
        grid-template-columns: 1fr;
        max-width: 360px;
    }
    
    .cta-buttons .btn {
        min-height: 58px;
        white-space: normal;
        line-height: 1.25;
        padding: 0.5rem 1rem;
    }
}
