/* REACH - OOAK Brands Style Complete */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    overflow-x: hidden;
}

::selection {
    background: #ffffff;
    color: #000000;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════
   PASSWORD GATE
═══════════════════════════════════════════ */
.password-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.password-gate.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.password-container {
    text-align: center;
    padding: 40px;
}

.password-logo {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 40px;
}

.password-text,
.password-status {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 24px;
}

.password-status {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.password-input {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 14px 20px;
    font-size: 16px;
    color: #ffffff;
    width: 280px;
    text-align: center;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.password-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.password-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.password-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.password-btn:hover {
    transform: scale(1.02);
}

.password-btn:active {
    transform: scale(0.98);
}

.password-error {
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 16px;
    min-height: 20px;
}

/* Containers */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container { padding: 0 48px; }
    .container-wide { padding: 0 48px; }
}

/* Text utilities */
.center { text-align: center; }

.diamond {
    font-size: 8px;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 80ms; }
.stagger > *:nth-child(3) { transition-delay: 160ms; }
.stagger > *:nth-child(4) { transition-delay: 240ms; }

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

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-8px); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.33%); }
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(-30px);
    z-index: 100;
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.nav-container {
    display: flex;
    align-items: center;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 12px 10px 24px;
    gap: 24px;
    transition: all 0.3s ease;
}

.nav-container:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.nav-logo {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
    transition: opacity 0.3s ease;
}

.nav-logo:hover { opacity: 0.7; }

.nav-center {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.nav-link:hover { color: #ffffff; }
.nav-link.active { color: #ffffff; }

.nav-link .diamond {
    font-size: 6px;
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.nav-link:hover .diamond { transform: rotate(90deg); }

.nav-btn {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 24px 100px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    position: relative;
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    background: rgba(18, 18, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-badge span { position: relative; z-index: 1; }

.badge-glow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 24px;
    background: radial-gradient(ellipse at center, rgba(56, 139, 253, 0.5) 0%, rgba(56, 139, 253, 0.2) 50%, transparent 80%);
    filter: blur(10px);
    animation: glowPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

.hero-title {
    font-size: clamp(42px, 8vw, 64px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.title-main {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.title-accent {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 520px;
    margin: 0 auto 36px;
    opacity: 0;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn .diamond {
    font-size: 8px;
    margin-right: 10px;
    transition: transform 0.4s ease;
}

.btn:hover .diamond { transform: rotate(180deg); }

.btn-light {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.btn-dark {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

.btn-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Hero Logos */
.hero-logos {
    margin-top: 100px;
    text-align: center;
    width: 100%;
    max-width: 700px;
    opacity: 0;
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
}

.hero-logos-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
}

.logos-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logos-track {
    display: flex;
    gap: 56px;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.logo-item {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logo-item:hover { color: rgba(255, 255, 255, 0.6); }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    animation: scrollLine 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   SECTION COMMON
═══════════════════════════════════════════ */
.section-header {
    margin-bottom: 48px;
}

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

.section-label {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.section-label .diamond {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.45);
    transition: transform 0.3s ease;
}

.section-label:hover .diamond { transform: rotate(90deg); }

.section-title {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.15;
}

/* Section Separator */
.section-separator {
    padding: 0 24px;
}

.separator-line {
    max-width: 1100px;
    margin: 0 auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    transform: scaleX(0);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.separator-line.visible {
    transform: scaleX(1);
}

/* ═══════════════════════════════════════════
   BRANDS SECTION
═══════════════════════════════════════════ */
.brands {
    padding: 100px 0;
}

.brands-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .brands-showcase {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.brand-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    cursor: pointer;
}

.brand-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-item:hover img {
    transform: scale(1.08);
}

.brand-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.85) 100%);
    opacity: 0.7;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.brand-item:hover::before { opacity: 0.95; }

.brand-name {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.06em;
    z-index: 2;
    transform: translateY(6px);
    opacity: 0.85;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-item:hover .brand-name {
    transform: translateY(0);
    opacity: 1;
}

/* ═══════════════════════════════════════════
   VISION SECTION
═══════════════════════════════════════════ */
.vision {
    padding: 100px 0;
}

.vision-text {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
    max-width: 900px;
    margin-top: 20px;
}

/* Scroll Reveal Text */
.scroll-reveal-text {
    color: rgba(255, 255, 255, 0.2);
}

.scroll-reveal-text .word {
    display: inline;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.15s ease;
}

.scroll-reveal-text .word.revealed {
    color: #ffffff;
}

/* ═══════════════════════════════════════════
   FUNDAMENTALS SECTION
═══════════════════════════════════════════ */
.fundamentals {
    padding: 100px 0;
}

.fundamentals-grid {
    display: grid;
    gap: 48px;
    align-items: center;
    margin-top: 64px;
}

@media (min-width: 900px) {
    .fundamentals-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.fundamentals-list {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.fundamental-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.fundamental-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 0;
    background: #ffffff;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fundamental-item.active::before { height: 100%; }
.fundamental-item:last-child { border-bottom: none; }
.fundamental-item:hover { background: rgba(255, 255, 255, 0.03); }
.fundamental-item.active { background: rgba(255, 255, 255, 0.04); }

.fundamental-icon {
    font-size: 14px;
    opacity: 0.5;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.fundamental-item:hover .fundamental-icon { opacity: 0.7; }
.fundamental-item.active .fundamental-icon { opacity: 1; }

.fundamental-content { flex: 1; }

.fundamental-label {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
}

.fundamental-item:hover .fundamental-label { color: rgba(255, 255, 255, 0.75); }
.fundamental-item.active .fundamental-label { color: #ffffff; }

.fundamental-desc {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.fundamental-item.active .fundamental-desc {
    max-height: 200px;
    opacity: 1;
    margin-top: 14px;
}

/* Diamond Visual */
.fundamentals-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.diamond-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diamond-shape {
    width: 90px;
    height: 90px;
    background: linear-gradient(145deg, #2a2a2a 0%, #151515 100%);
    transform: rotate(45deg);
    animation: float 5s ease-in-out infinite;
}

.diamond-outline-1 {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    animation: float 5s ease-in-out infinite reverse;
}

.diamond-outline-2 {
    position: absolute;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   TEAM SECTION
═══════════════════════════════════════════ */
.team {
    padding: 100px 0;
}

.team-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 32px;
    text-align: center;
}

.team-text {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    line-height: 1.65;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ═══════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════ */
.cta {
    padding: 100px 0;
    text-align: center;
}

.cta-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.cta-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.45);
    margin: 20px 0 44px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact {
    padding: 100px 0;
}

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

.contact-email {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 400;
    color: #ffffff;
    margin: 20px 0;
    transition: opacity 0.3s ease;
}

.contact-email:hover { opacity: 0.7; }

.login-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.3s ease;
    display: inline-block;
}

.login-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer {
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: opacity 0.3s ease;
}

.footer-logo:hover { opacity: 0.7; }

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════════════════
   SCROLL PROGRESS BAR
═══════════════════════════════════════════ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

/* ═══════════════════════════════════════════
   CURSOR GLOW
═══════════════════════════════════════════ */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.025) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .nav-container {
        padding: 8px 10px 8px 18px;
        gap: 12px;
    }

    .nav-center { display: none; }

    .hero { padding: 120px 20px 80px; }

    .hero-badge {
        font-size: 12px;
        padding: 12px 22px;
    }

    .hero-logos { max-width: 100%; }

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

    .brand-name {
        font-size: 16px;
        bottom: 16px;
        left: 16px;
    }

    .cursor-glow { display: none; }

    .scroll-indicator { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
