/* ==================== STATIC PAGES — Clean Redesign ==================== */
.static-page { background: #000; }
.static-page .cart-btn { display: none !important; }

/* ==================== ANIMATION BASE ==================== */
.anim-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-on-scroll.anim-visible {
    opacity: 1;
    transform: translateY(0);
}
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger-children > .anim-visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== VIDEO HERO (shared) ==================== */
.page-hero-video {
    position: relative;
    height: 380px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}
.hero-video-bg {
    position: absolute;
    inset: 0;
}
.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(6px) brightness(0.35);
    transform: scale(1.1);
}
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.35) 70%, #000 100%);
    z-index: 1;
}
.hero-video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 50px;
}
.hero-video-content .page-hero-tag {
    display: inline-block;
    padding: 5px 18px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.hero-video-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    margin: 0 0 12px;
}
.hero-video-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.45);
    font-weight: 300;
    margin: 0;
}

/* ==================== PAGE SECTIONS ==================== */
.page-section {
    padding: 80px 0;
    position: relative;
}
.page-section-with-bg {
    position: relative;
    overflow: hidden;
}
.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.section-bg img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    filter: blur(16px) brightness(0.22);
    transform: scale(1.15);
    position: absolute;
    top: 0;
    left: 0;
    will-change: transform;
}
.section-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.25) 15%, rgba(0,0,0,0.25) 85%, #000 100%);
}
.page-section-with-bg > *:not(.section-bg) {
    position: relative;
    z-index: 1;
}
.page-section-dark {
    background: rgba(255,255,255,0.015);
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}
.page-container-narrow {
    max-width: 800px;
}

/* ==================== LABELS & HEADINGS ==================== */
.page-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--fenogram-yellow);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.page-label-center {
    display: block;
    text-align: center;
}
.page-heading-center {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin: 0 0 60px;
    letter-spacing: -1px;
    line-height: 1.15;
}

/* ==================== STATEMENT (About) ==================== */
.statement-block {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}
.statement-block h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.2;
    margin: 0 0 28px;
}
.statement-block p {
    font-size: 1.05rem;
    color: var(--fenogram-text-gray);
    line-height: 1.8;
    font-weight: 300;
}

/* ==================== STATS ==================== */
.stats-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
}
.stat-block {
    text-align: center;
    padding: 0 56px;
    flex-shrink: 0;
}
.stat-big {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1;
    display: inline;
    font-variant-numeric: tabular-nums;
}
.stat-suffix {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--fenogram-yellow);
    letter-spacing: -1px;
}
.stat-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--fenogram-text-gray);
    font-weight: 400;
    margin-top: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* ==================== VALUES GRID ==================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.value-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 3px;
    padding: 36px 28px;
    transition: background 0.3s;
}
.value-card:hover {
    background: rgba(255,255,255,0.04);
}
.value-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 3px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.5);
}
.value-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--fenogram-yellow);
}
.value-card p {
    font-size: 0.88rem;
    color: var(--fenogram-text-gray);
    line-height: 1.65;
    font-weight: 300;
    margin: 0;
}

/* ==================== TIMELINE ==================== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.timeline-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 3px;
    padding: 32px 24px;
    position: relative;
    transition: background 0.3s;
}
.timeline-card:hover {
    background: rgba(255,255,255,0.04);
}
.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--fenogram-yellow), transparent);
    border-radius: 1px;
}
.timeline-year {
    font-size: 2rem;
    font-weight: 900;
    color: var(--fenogram-yellow);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}
.timeline-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #fff;
}
.timeline-card p {
    font-size: 0.85rem;
    color: var(--fenogram-text-gray);
    line-height: 1.65;
    font-weight: 300;
    margin: 0;
}

/* ==================== TEAM GRID ==================== */
.team-grid {
    display: grid;
    gap: 20px;
}
.team-grid-3 { grid-template-columns: repeat(3, 1fr); }
.team-grid-4 { grid-template-columns: repeat(4, 1fr); }

.team-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 3px;
    padding: 36px 24px;
    text-align: center;
    transition: background 0.3s;
}
.team-card:hover {
    background: rgba(255,255,255,0.04);
}
.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    overflow: hidden;
}
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-avatar span {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--fenogram-yellow);
}
.team-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 4px;
}
.team-role {
    display: block;
    font-size: 0.75rem;
    color: var(--fenogram-yellow);
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}
.team-card p {
    font-size: 0.85rem;
    color: var(--fenogram-text-gray);
    line-height: 1.65;
    font-weight: 300;
    margin: 0;
}

/* ==================== TEAM SOCIAL ==================== */
.team-social {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}
.team-social a {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--fenogram-text-gray);
    transition: background 0.3s, color 0.3s;
}
.team-social a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* ==================== JOIN BANNER ==================== */
.join-banner {
    text-align: center;
    padding: 64px 40px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 3px;
}
.join-banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}
.join-banner p {
    font-size: 1rem;
    color: var(--fenogram-text-gray);
    font-weight: 300;
    margin: 0 0 28px;
}
.join-btn {
    display: inline-flex;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 3px;
}

/* ==================== CONTACT LAYOUT ==================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}
.contact-form-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 3px;
    padding: 44px;
}
.contact-form-card h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 8px;
}
.contact-form-desc {
    font-size: 0.9rem;
    color: var(--fenogram-text-gray);
    font-weight: 300;
    margin: 0 0 32px;
    line-height: 1.6;
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-form-group {
    margin-bottom: 20px;
}
.contact-form-group label {
    display: block;
    font-size: 0.78rem;
    color: var(--fenogram-text-gray);
    margin-bottom: 8px;
    font-weight: 400;
}

/* Form Inputs */
.acc-input {
    width: 100%;
    padding: 13px 18px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}
.acc-input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}
.acc-input::placeholder { color: rgba(255,255,255,0.35); }

.contact-select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b3b3b3' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 38px;
    cursor: pointer;
}
.contact-select option {
    background: #000;
    color: #fff;
    padding: 8px;
}
.contact-textarea {
    resize: vertical;
    min-height: 130px;
}
.contact-submit {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
    text-align: center;
    margin-top: 4px;
    border-radius: 3px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-info-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 3px;
    padding: 28px;
    transition: background 0.3s;
}
.contact-info-card:hover {
    background: rgba(255,255,255,0.04);
}
.contact-info-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 3px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.5);
}
.contact-info-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--fenogram-yellow);
}
.contact-info-card p {
    font-size: 0.85rem;
    color: var(--fenogram-text-gray);
    line-height: 1.65;
    font-weight: 300;
    margin: 0;
}

/* ==================== BUTTONS (shared) ==================== */
.acc-btn {
    padding: 12px 26px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
    border: none;
    white-space: nowrap;
}
.acc-btn-primary {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-left: 3px solid var(--fenogram-yellow);
}
.acc-btn-primary:hover {
    background: rgba(255,255,255,0.08);
}

/* ==================== STATS GRID (for team/contact) ==================== */
.stats-grid-apple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}
.stat-card-apple {
    text-align: center;
    padding: 32px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 3px;
}
.stat-card-apple .stat-big {
    display: block;
}

/* ==================== MAP PLACEHOLDER ==================== */
.contact-map {
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    height: 300px;
    background: rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-map-placeholder {
    text-align: center;
    color: var(--fenogram-text-gray);
}
.contact-map-placeholder svg {
    margin-bottom: 12px;
    color: rgba(255,255,255,0.15);
}
.contact-map-placeholder p {
    font-size: 0.85rem;
    font-weight: 300;
}

/* ==================== INTRO STATEMENT (Team, etc.) ==================== */
.page-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.page-intro h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin: 0 0 20px;
}
.page-intro p {
    font-size: 1rem;
    color: var(--fenogram-text-gray);
    line-height: 1.75;
    font-weight: 300;
}

/* ==================== FEATURE ROW (About) ==================== */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.feature-row-reverse { direction: rtl; }
.feature-row-reverse > * { direction: ltr; }
.feature-visual {
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    aspect-ratio: 16/10;
}
.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}
.feature-text .page-label { margin-bottom: 10px; }
.feature-text h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
    color: var(--fenogram-yellow);
}
.feature-text p {
    font-size: 0.95rem;
    color: var(--fenogram-text-gray);
    line-height: 1.75;
    font-weight: 300;
}

/* Feature row mobile */
@media (max-width: 768px) {
    .feature-row { grid-template-columns: 1fr; gap: 24px; }
    .feature-row-reverse { direction: ltr; }
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    text-align: center;
    padding: 80px 0;
}
.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -1px;
}
.cta-section p {
    font-size: 1rem;
    color: var(--fenogram-text-gray);
    font-weight: 300;
    margin: 0 0 32px;
}
.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}


/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .team-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid-apple { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 768px) {
    /* Hero */
    .page-hero-video { height: 280px; }
    .hero-video-content { padding-bottom: 30px; }
    .hero-video-content h1 { letter-spacing: -1px; }

    /* Sections */
    .page-section { padding: 50px 0; }
    .page-container { padding: 0 20px; }
    .page-heading-center { margin-bottom: 36px; }

    /* Stats */
    .stats-row { flex-direction: column; gap: 32px; }
    .stat-block { padding: 0; }
    .stat-divider { width: 60px; height: 1px; }

    /* Values */
    .values-grid { grid-template-columns: 1fr; gap: 12px; }
    .value-card { padding: 28px 24px; }

    /* Timeline */
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .timeline-card { padding: 24px 18px; }

    /* Team */
    .team-grid-3,
    .team-grid-4 { grid-template-columns: 1fr; gap: 12px; }
    .team-card { padding: 28px 20px; }

    /* Join */
    .join-banner { padding: 40px 24px; }

    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .contact-form-card { padding: 28px 20px; }
    .contact-form-row { grid-template-columns: 1fr; gap: 0; }

    /* Stats apple */
    .stats-grid-apple { grid-template-columns: 1fr; gap: 12px; }
    .stat-card-apple { padding: 24px 16px; }

    /* Map */
    .contact-map { height: 220px; }
}
