/* FORGE - Premium Athletic Performance */
:root {
    --black: #0D0D0D;
    --charcoal: #1A1A1A;
    --slate: #2A2A2A;
    --grey: #666666;
    --silver: #CCCCCC;
    --white: #F5F5F5;
    --gold: #C9A96E;
    --gold-dark: #A88C5A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background: var(--black);
    overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; line-height: 1.1; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='4' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

/* Nav */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(13,13,13,0.9) 0%, rgba(13,13,13,0) 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.scrolled {
    padding: 1.5rem 4rem;
    background: rgba(13,13,13,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,169,110,0.1);
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--gold);
}
.nav-links {
    display: flex;
    gap: 3rem;
    align-items: center;
}
.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}
.nav-links a:not(.nav-cta):hover { color: var(--gold); }
.nav-cta {
    padding: 0.75rem 1.75rem;
    border: 1px solid var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-cta:hover {
    background: var(--gold);
    color: var(--black);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
}
.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13,13,13,0.7), rgba(13,13,13,0.4));
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 4rem;
}
.hero-tag {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.3s;
}
.hero-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
}
.hero-title span {
    display: block;
    opacity: 0;
}
.hero-title span:nth-child(1) { animation: fadeUp 0.8s ease forwards 0.5s; }
.hero-title span:nth-child(2) { animation: fadeUp 0.8s ease forwards 0.7s; color: var(--gold); }
.hero-text {
    font-size: 1.25rem;
    color: var(--silver);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.9s;
}
.hero-actions {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1.1s;
}
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}
.btn-primary {
    background: var(--gold);
    color: var(--black);
}
.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(201,169,110,0.3);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.05);
}
.btn-primary.full { width: 100%; justify-content: center; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.scroll-down {
    position: absolute;
    bottom: 3rem;
    left: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--grey);
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.scroll-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 4rem 0;
    background: var(--charcoal);
    border-top: 1px solid rgba(201,169,110,0.1);
    border-bottom: 1px solid rgba(201,169,110,0.1);
}
.stat-item {
    text-align: center;
}
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.875rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.1);
}

/* Sections */
section {
    padding: 8rem 0;
}
.eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}
.large-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--silver);
    margin-bottom: 4rem;
    max-width: 800px;
}

/* Philosophy */
.philosophy {
    background: var(--black);
}
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}
.principle h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}
.principle p {
    color: var(--grey);
    line-height: 1.7;
}

/* Experience */
.experience {
    background: var(--charcoal);
}
.exp-header {
    margin-bottom: 4rem;
}
.gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 16/10;
}
.gallery-item.large {
    grid-row: span 2;
    aspect-ratio: 16/12;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-label {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: baseline;
    gap: 1rem;
}
.gallery-label span {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.gallery-label p {
    font-size: 1.125rem;
    font-weight: 600;
}
.gallery-feature {
    background: var(--black);
    padding: 3rem;
    border-radius: 4px;
}
.gallery-feature h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--gold);
}
.feature-list {
    list-style: none;
}
.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--silver);
}
.feature-list li:last-child {
    border-bottom: none;
}

/* Training */
.training {
    background: var(--black);
}
.training-header {
    margin-bottom: 4rem;
}
.programs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.program-card {
    background: var(--charcoal);
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid rgba(201,169,110,0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.program-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.program-card.featured {
    border-color: var(--gold);
}
.featured-tag {
    position: absolute;
    top: -12px;
    right: 2rem;
    padding: 0.5rem 1.25rem;
    background: var(--gold);
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 20px;
}
.program-num {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(201,169,110,0.1);
    line-height: 1;
    margin-bottom: 1rem;
}
.program-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}
.program-card p {
    color: var(--grey);
    margin-bottom: 2rem;
    line-height: 1.7;
}
.program-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--gold);
    font-weight: 600;
}

/* Membership */
.membership {
    background: var(--charcoal);
}
.membership-header {
    margin-bottom: 4rem;
}
.tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.tier-card {
    background: var(--black);
    padding: 3rem 2.5rem;
    border-radius: 4px;
    border: 1px solid rgba(201,169,110,0.1);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.tier-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.tier-card.elite {
    border-color: var(--gold);
    transform: scale(1.05);
}
.elite-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: var(--gold);
    color: var(--black);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 20px;
}
.tier-name {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 2rem;
}
.tier-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}
.price-currency {
    font-size: 1.5rem;
    color: var(--grey);
}
.price-value {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.price-period {
    font-size: 1rem;
    color: var(--grey);
    margin-left: 0.5rem;
}
.tier-desc {
    color: var(--silver);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tier-features {
    list-style: none;
    margin-bottom: 2.5rem;
}
.tier-features li {
    padding: 1rem 0;
    color: var(--grey);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tier-features li:last-child {
    border-bottom: none;
}
.tier-btn {
    display: block;
    width: 100%;
    padding: 1.125rem;
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 2px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tier-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.tier-btn.primary {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
}
.tier-btn.primary:hover {
    background: var(--gold-dark);
}

/* Contact */
.contact {
    background: var(--black);
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}
.contact-text {
    font-size: 1.125rem;
    color: var(--silver);
    margin-bottom: 3rem;
}
.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}
.info-block {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.info-label {
    font-size: 0.875rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.info-value {
    font-size: 1.125rem;
    color: var(--white);
    line-height: 1.6;
}
.map-embed {
    aspect-ratio: 16/10;
    background: var(--charcoal);
    border-radius: 4px;
    overflow: hidden;
}
.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--grey);
}
.map-placeholder svg {
    color: var(--gold);
}
.contact-form {
    background: var(--charcoal);
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid rgba(201,169,110,0.1);
}
.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.form-subtitle {
    color: var(--grey);
    margin-bottom: 2.5rem;
}
.form-field {
    margin-bottom: 1.5rem;
}
.form-field input,
.form-field select {
    width: 100%;
    padding: 1.125rem 1.5rem;
    background: var(--black);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--gold);
}

/* Footer */
.footer {
    background: var(--charcoal);
    padding: 3rem 0;
    border-top: 1px solid rgba(201,169,110,0.1);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.footer-brand p {
    color: var(--grey);
    font-size: 0.9375rem;
}
.footer-legal {
    text-align: right;
}
.footer-legal p {
    color: var(--grey);
    font-size: 0.875rem;
}
.footer-legal a {
    color: var(--gold);
    transition: color 0.3s ease;
}
.footer-legal a:hover {
    color: var(--white);
}

/* Chat */
.chat {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}
.chat-toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 36px rgba(201,169,110,0.4);
    transition: all 0.3s ease;
}
.chat-toggle:hover {
    transform: scale(1.1);
}
.icon-close {
    display: none;
}
.chat.active .icon-open {
    display: none;
}
.chat.active .icon-close {
    display: block;
}
.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 550px;
    background: var(--charcoal);
    border-radius: 8px;
    border: 1px solid rgba(201,169,110,0.2);
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
    display: none;
    flex-direction: column;
}
.chat.active .chat-window {
    display: flex;
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.chat-head {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.chat-head h4 {
    margin-bottom: 0.25rem;
}
.online {
    font-size: 0.875rem;
    color: var(--gold);
}
.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}
.msg {
    margin-bottom: 1.5rem;
}
.msg p {
    padding: 1rem 1.25rem;
    background: var(--black);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}
.msg.user p {
    background: var(--gold);
    color: var(--black);
}
.quick-btns {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.quick-btns button {
    padding: 0.875rem 1rem;
    background: var(--black);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: var(--white);
    font-size: 0.9375rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}
.quick-btns button:hover {
    border-color: var(--gold);
    background: var(--slate);
}
.chat-form {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 0.75rem;
}
.chat-form input {
    flex: 1;
    padding: 0.875rem 1.125rem;
    background: var(--black);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
    color: var(--white);
    font-family: inherit;
    font-size: 0.9375rem;
}
.chat-form input:focus {
    outline: none;
    border-color: var(--gold);
}
.chat-form button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.chat-form button:hover {
    transform: scale(1.1);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .container, .container-wide { padding: 0 2rem; }
    .nav { padding: 2rem; }
    .nav.scrolled { padding: 1.5rem 2rem; }
    .hero-content { padding: 0 2rem; }
    .scroll-down { left: 2rem; }
    .philosophy-grid { grid-template-columns: 1fr; gap: 2rem; }
    .gallery { grid-template-columns: 1fr; }
    .programs { grid-template-columns: 1fr; }
    .tiers { grid-template-columns: 1fr; gap: 1.5rem; }
    .tier-card.elite { transform: none; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .nav-links {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--charcoal);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(201,169,110,0.2);
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    .hamburger { display: flex; }
    .hero-title { font-size: 3rem; }
    .stats-bar { flex-wrap: wrap; gap: 2rem; padding: 3rem 2rem; }
    .chat-window { width: calc(100vw - 2rem); right: 1rem; }
}
