/* ============================================
   SUPREMACY.FUND - Styles
   Financial Dominance Through Design
   ============================================ */

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-dark-gray: #1a1a1a;
    --color-medium-gray: #2f2f2f;
    --color-light-gray: #4a4a4a;
    --color-accent-gold: #d4af37;
    --color-accent-silver: #c0c0c0;
    --color-deep-navy: #001a4d;
    --color-steel: #70757a;

    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;

    --spacing-unit: 1rem;
    --transition-duration: 0.3s;
    --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

p {
    margin: 0 0 1rem 0;
}

/* ============================================
   PAGE CONTAINER
   ============================================ */

.page-container {
    width: 100%;
    min-height: 100vh;
    background-color: var(--color-black);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-dark-gray) 50%, var(--color-black) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 2px,
        rgba(212, 175, 55, 0.03) 2px,
        rgba(212, 175, 55, 0.03) 4px
    );
    pointer-events: none;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 90%;
}

.hero-title {
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    text-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    animation: fadeInDown 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--color-accent-gold);
    font-family: var(--font-body);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-accent {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
    margin: 0 auto;
    animation: expandWidth 0.8s ease-out 0.4s both;
}

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

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

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

/* ============================================
   ACCENT BARS
   ============================================ */

.accent-bar {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--color-accent-gold),
        var(--color-accent-silver),
        var(--color-accent-gold),
        transparent);
    margin: 4rem 0;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
    width: 100%;
    padding: 6rem 5vw;
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.content-section:nth-child(odd) {
    background-color: var(--color-black);
}

.content-section:nth-child(even) {
    background-color: var(--color-dark-gray);
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-silver);
    animation: expandToRight 0.8s ease-out forwards;
}

@keyframes expandToRight {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.section-intro {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--color-steel);
    margin-bottom: 3rem;
    max-width: 600px;
    font-weight: 400;
    line-height: 1.8;
}

/* ============================================
   CONTENT GRID
   ============================================ */

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

.grid-item {
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.02);
    transition: all var(--transition-duration) var(--transition-timing);
    position: relative;
    overflow: hidden;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(212, 175, 55, 0.1),
        transparent);
    transition: left 0.6s ease-out;
}

.grid-item:hover {
    border-color: var(--color-accent-gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.grid-item:hover::before {
    left: 100%;
}

.item-title {
    color: var(--color-accent-gold);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.item-text {
    color: var(--color-white);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    width: 100%;
    padding: 4rem 5vw;
    background-color: var(--color-dark-gray);
    border-top: 2px solid var(--color-accent-gold);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--color-accent-gold),
        var(--color-accent-silver),
        var(--color-accent-gold),
        transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    font-size: 1.2rem;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.footer-subtext {
    font-size: 0.9rem;
    color: var(--color-steel);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: var(--color-accent-gold);
    margin: 1.5rem auto;
}

.footer-legal {
    font-size: 0.85rem;
    color: var(--color-light-gray);
    font-family: var(--font-mono);
    line-height: 1.6;
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .content-section {
        padding: 4rem 5vw;
    }

    .content-grid {
        gap: 1.5rem;
    }

    .grid-item {
        padding: 1.5rem;
    }

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

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .accent-bar {
        margin: 2.5rem 0;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }

    .page-container {
        min-height: auto;
    }

    .hero {
        height: 80vh;
        min-height: 500px;
    }

    .hero-content {
        padding: 1rem;
    }

    .content-section {
        padding: 2.5rem 4vw;
    }

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

    .grid-item {
        padding: 1.25rem;
    }

    .footer-text {
        font-size: 1rem;
    }

    .footer-subtext {
        font-size: 0.8rem;
    }
}

/* ============================================
   SCROLL & ANIMATION TRIGGERS
   ============================================ */

.content-section {
    opacity: 0;
    animation: fadeInContent 0.8s ease-out forwards;
}

.section-1 {
    animation-delay: 0s;
}

.section-2 {
    animation-delay: 0.1s;
}

.section-3 {
    animation-delay: 0.2s;
}

.section-4 {
    animation-delay: 0.3s;
}

.section-5 {
    animation-delay: 0.4s;
}

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

/* ============================================
   UTILITY & STATE STYLES
   ============================================ */

::selection {
    background-color: var(--color-accent-gold);
    color: var(--color-black);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: var(--color-black);
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-accent-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-accent-silver);
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    body {
        background-color: var(--color-white);
        color: var(--color-black);
    }

    .hero {
        page-break-inside: avoid;
    }
}
