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

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #000;
    color: #fff;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    inset: 0;
    background: url('../images/gate.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 90%;
    max-width: 500px;
}

.loading-title {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.5rem;
    color: #fff;
    margin: 0;
    text-align: center;
}

.loading-bar-container {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: #fff;
    transition: width 0.3s ease;
}

.loading-percentage {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.2rem;
    color: #fff;
    text-align: center;
}

/* Camera HUD */
.camera-hud {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    direction: ltr;
}

.hud-corner {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    direction: ltr;
}

.hud-corner.top-left { top: 1rem; left: 1rem; }
.hud-corner.top-right { top: 1rem; right: 1rem; }
.hud-corner.bottom-left { bottom: 1rem; left: 1rem; }
.hud-corner.bottom-right { bottom: 1rem; right: 1rem; }



.bracket {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
}

.top-left .bracket { border-right: none; border-bottom: none; }
.top-right .bracket { border-left: none; border-bottom: none; }
.bottom-left .bracket { border-right: none; border-top: none; }
.bottom-right .bracket { border-left: none; border-top: none; }

.rec-dot {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Language Switcher */
.lang-switcher {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-switcher:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* RTL Support */
body.rtl {
    direction: rtl;
}

body.rtl .navbar {
    direction: ltr;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    z-index: 999;
    max-width: calc(100% - 2rem);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

body.rtl .navbar a {
    font-size: 1.15rem !important;
    text-transform: none;
    font-weight: 500;
}

.navbar a:hover {
    opacity: 0.7;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-weight: 300;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.5s; }

.mobile-menu a:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

.lang-switcher-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.1rem;
    transition: all 0.3s ease;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active .lang-switcher-mobile {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.lang-switcher-mobile:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.mobile-menu-close span {
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.mobile-menu-close span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-close span:nth-child(2) {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-video {
        object-fit: cover;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 50rem;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.typewriter {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    min-height: 2rem;
    margin-bottom: 2rem;
}

.typewriter::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.description {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn {
    padding: 0.875rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    text-decoration: none;
    border: 2px solid #fff;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 0.25rem;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    color: #fff;
}

.btn-contact:hover {
    background: #fff;
    color: #000;
}

/* Brands Section */
.brands {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    direction: ltr;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat-num {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 300;
}

.brands-desc {
    text-align: center;
    max-width: 50rem;
    margin: 0 auto 3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

#search {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem;
    display: block;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    color: #fff;
    font-size: 0.875rem;
}

#search::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.categories {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}

.categories button {
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 1.5rem;
    cursor: pointer;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: all 0.3s;
}

.categories button:hover,
.categories button.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.categories-dropdown {
    display: none;
}

@media (max-width: 768px) {
    .categories {
        display: none;
    }
    
    .categories-dropdown {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 3rem;
        padding: 0.75rem 1rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0.5rem;
        color: #fff;
        font-size: 0.875rem;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .categories-dropdown:focus {
        outline: none;
        border-color: rgba(255, 255, 255, 0.4);
        background: rgba(255, 255, 255, 0.08);
    }
    
    .categories-dropdown option {
        background: #000;
        color: #fff;
    }
}

.brands-container {
    overflow: hidden;
    margin-bottom: 2rem;
}

.brands-marquee {
    display: flex;
    gap: 3rem;
    width: max-content;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

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

.brand-logo {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 350px;
    height: 200px;
    transition: all 0.3s;
}

.brand-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.speed-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.speed-controls button {
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 2rem;
    cursor: pointer;
    font-size: 0.875rem;
    text-transform: uppercase;
    transition: all 0.3s;
}

.speed-controls button:hover,
.speed-controls button.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Legacy Section */
.legacy {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    direction: ltr;
}

.legacy h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #f27d21;
    text-align: center;
    letter-spacing: 0.3rem;
    margin-bottom: 1rem;
}

.legacy-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
}

.legacy-line {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 2rem);
    margin-bottom: 2rem;
    flex-wrap: nowrap;
}

.legacy-text {
    font-size: clamp(1.2rem, 5vw, 5rem);
    font-weight: 900;
    font-family: 'Arial Black', sans-serif;
    white-space: nowrap;
    flex-shrink: 0;
}

.legacy-video {
    flex: 1;
    min-width: clamp(150px, 30vw, 400px);
    height: clamp(3rem, 10vw, 8rem);
    object-fit: cover;
    border-radius: 1rem;
    flex-shrink: 0;
}

/* Our Work Section */
.work {
    padding: 6rem 2rem;
    background: #000;
    overflow: hidden;
}

.work h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.3rem;
}

.work-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4rem;
}

.work-scroll-container {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    padding: 3rem 2rem;
    border-radius: 1rem;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.work-scroll-container::before {
    content: '';
    position: absolute;
    left: 2rem;
    right: 2rem;
    top: 1rem;
    height: 1rem;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        rgba(0,0,0,0.5) 20px,
        rgba(0,0,0,0.5) 30px
    );
    border-radius: 0.5rem;
}

.work-scroll-container::after {
    content: '';
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 1rem;
    height: 1rem;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        rgba(0,0,0,0.5) 20px,
        rgba(0,0,0,0.5) 30px
    );
    border-radius: 0.5rem;
}

.work-scroll-container::-webkit-scrollbar {
    display: none;
}

.work-tape {
    display: flex;
    gap: clamp(2rem, 4vw, 4rem);
    padding: 2rem 0;
}

.work-item {
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
    display: inline-block;
    line-height: 0;
}

.work-item:hover {
    transform: scale(1.05);
}

.work-item img {
    display: block;
    max-width: clamp(300px, 35vw, 450px);
    max-height: clamp(220px, 26vw, 320px);
    border-radius: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.work-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 1rem;
}

.work-item-name {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 600;
}

.work-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.work-progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.work-progress-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: #fff;
    transition: width 0.1s;
}

.work-progress-text {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 300;
    min-width: 3rem;
    text-align: right;
}

/* Work Details Page */
.work-details {
    padding: 8rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.work-details-header {
    margin-bottom: 4rem;
}

.back-btn {
    display: inline-block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.back-btn:hover {
    color: #fff;
}

.work-details-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.3rem;
}

.work-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(280px, 40vw, 400px), 1fr));
    gap: clamp(2rem, 3vw, 3rem);
}

.work-video-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s;
}

.work-video-item:hover {
    transform: translateY(-5px);
}

.work-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.work-video-info {
    padding: clamp(1rem, 2vw, 1.5rem);
}

.work-video-info h3 {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 0.5rem;
}

.work-video-info p {
    font-size: clamp(0.875rem, 1.2vw, 0.95rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Services Section */
.services {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.services h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: 0.3rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: clamp(150px, 15vw, 250px);
    gap: clamp(0.75rem, 1.2vw, 1.5rem);
}

.bento-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #1a1a1a;
}

.bento-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.bento-item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
.bento-item:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.bento-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
.bento-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.bento-item:nth-child(6) { grid-column: span 3; grid-row: span 2; }
.bento-item:nth-child(7) { grid-column: span 2; grid-row: span 1; }
.bento-item:nth-child(8) { grid-column: span 3; grid-row: span 1; }

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.bento-overlay h3 {
    font-size: clamp(0.9rem, 1.5vw, 1.3rem);
    margin-bottom: clamp(0.25rem, 0.5vw, 0.5rem);
    line-height: 1.2;
}

.bento-overlay p {
    font-size: clamp(0.7rem, 1vw, 0.9rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .bento-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .bento-item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
    .bento-item:nth-child(3) { grid-column: span 2; grid-row: span 2; }
    .bento-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
    .bento-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
    .bento-item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
    .bento-item:nth-child(7) { grid-column: span 2; grid-row: span 1; }
    .bento-item:nth-child(8) { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
    .navbar {
        gap: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .navbar .lang-switcher {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .navbar {
        gap: 0.5rem;
        padding: 0.4rem 0.75rem;
    }
    
    .navbar a {
        font-size: 0.65rem;
        letter-spacing: 0.05rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        padding: 0.75rem 2rem;
        font-size: 0.75rem;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-item:nth-child(1) { grid-column: span 1; grid-row: span 2; }
    .bento-item:nth-child(2) { grid-column: span 1; grid-row: span 1; }
    .bento-item:nth-child(3) { grid-column: span 1; grid-row: span 2; }
    .bento-item:nth-child(4) { grid-column: span 1; grid-row: span 1; }
    .bento-item:nth-child(5) { grid-column: span 1; grid-row: span 2; }
    .bento-item:nth-child(6) { grid-column: span 1; grid-row: span 2; }
    .bento-item:nth-child(7) { grid-column: span 1; grid-row: span 1; }
    .bento-item:nth-child(8) { grid-column: span 1; grid-row: span 1; }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1921px) {
    .hero-content h1 {
        font-size: 6rem;
    }
    
    .legacy-text {
        font-size: 6rem;
    }
}

/* Events Section */
.events-section {
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.events-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.2rem;
    font-weight: 300;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

.event-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    opacity: 0;
    transition: opacity 0.4s;
}

.event-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.15);
}

.event-card:hover::before {
    opacity: 1;
}

.event-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover .event-card-image img {
    transform: scale(1.1);
}

.event-card-content {
    padding: 2rem;
    position: relative;
}

.event-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05rem;
    line-height: 1.3;
}

.event-card-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

/* Event Details Page */
.event-details {
    padding: 8rem 2rem 6rem;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.event-details-header {
    margin-bottom: 5rem;
    text-align: center;
}

.event-details-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.event-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.event-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 3rem;
}

.event-post-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s;
}

.event-post-card:hover {
    transform: translateY(-8px);
    border-color: rgba(323, 59, 147, 0.5);
    box-shadow: 0 15px 50px rgba(50, 59, 147, 0.3);
}

.event-post-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.event-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.event-post-card:hover .event-post-image img {
    transform: scale(1.08);
}

.event-post-content {
    padding: 2rem;
}

.event-post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05rem;
}

.event-post-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
    .event-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Legacy Button */
.legacy-cta {
    text-align: center;
    margin-top: 4rem;
}

.btn-legacy {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #f27d21;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    border-radius: 0.5rem;
    transition: all 0.4s;
    box-shadow: 0 10px 30px rgba(242, 125, 33, 0.3);
}

.btn-legacy:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(242, 125, 33, 0.5);
}

/* Legacy Hero Page */
.legacy-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: #000;
}



.legacy-hero-image-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.legacy-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: transform 0.1s ease-out, filter 0.6s ease;
}

.legacy-hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
}

.legacy-hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    letter-spacing: 0.1rem;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
    text-align: center;
    line-height: 1;
}

.legacy-hero-title.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .legacy-hero-content {
        padding: 3rem 1.5rem;
    }
}

/* Legacy Mission Section */
.legacy-mission {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: #fff;
}

.legacy-mission-content {
    max-width: 1200px;
    opacity: 0;
    transform: translateY(80px);
    transition: all 1.2s ease-out;
}

.legacy-mission-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.mission-line {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.mission-bar {
    width: 8px;
    height: clamp(60px, 8vw, 100px);
    flex-shrink: 0;
}

.mission-bar.red {
    background: #ff0000;
}

.mission-bar.green {
    background: #00ff00;
}

.mission-bar.blue {
    background: #0000ff;
}

.mission-text {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 900;
    color: #000;
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
    font-family: 'Arial Black', 'Helvetica Neue', 'Helvetica', sans-serif;
    text-transform: uppercase;
    font-stretch: expanded;
}

.mission-underline {
    width: clamp(150px, 30vw, 300px);
    height: 6px;
    background: #000;
    margin-top: 2rem;
    margin-left: calc(2rem + 8px);
}

@media (max-width: 768px) {
    .mission-line {
        gap: 1rem;
    }
    
    .mission-bar {
        width: 6px;
    }
    
    .mission-underline {
        margin-left: calc(1rem + 6px);
    }
}

/* About Us Section */
.about-us {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    animation: shimmer 8s infinite;
}

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

.about-us.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.3rem;
    color: white;
    text-transform: uppercase;
}

.about-subtitle {
    text-align: center;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5rem;
    font-style: italic;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

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

.about-section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.15rem;
}

.about-section-text {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.about-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    margin: 0 auto;
}

/* Founders Section */
.founders {
    padding: 6rem 2rem 4rem;
    background: #fff;
}

.founders-container {
    max-width: 1200px;
    margin: 0 auto;
}

.founders-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.1rem;
    color: #000;
    text-transform: uppercase;
}

.founders-subtitle {
    text-align: center;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #666;
    margin-bottom: 4rem;
}

.founder-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.founder-item:last-child {
    margin-bottom: 0;
}

.founder-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.founder-item:nth-child(even) {
    direction: rtl;
}

.founder-item:nth-child(even) > * {
    direction: ltr;
}

body.rtl .founder-item:nth-child(even) {
    direction: ltr;
}

body.rtl .founder-item:nth-child(odd) {
    direction: rtl;
}

body.rtl .founder-item > * {
    direction: ltr;
}

.founder-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 0.5rem;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: all 0.6s ease;
}

.founder-item:hover .founder-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.founder-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-name {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.founder-role {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    color: #666;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-weight: 300;
}

.founder-story {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.9;
    color: #333;
}

@media (max-width: 768px) {
    .founder-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 5rem;
    }
    
    .founder-item:nth-child(even) {
        direction: ltr;
    }
    
    .founder-image {
        height: 400px;
    }
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 0.3rem;
    color: #fff;
}

.contact-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 3rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.form-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin: 0;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item {
    text-align: center;
}

.contact-info-item h3 {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

.contact-info-item a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.contact-info-item a:hover {
    opacity: 0.7;
}

.contact-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.contact-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s;
}

.contact-social a svg {
    width: 24px;
    height: 24px;
    display: block;
}

.contact-social a:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row input,
.form-row select,
.form-row textarea {
    flex: 1;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-row select {
    cursor: pointer;
}

.form-row select option {
    background: #000;
    color: #fff;
}

.form-row textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    padding: 1.2rem 4rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    align-self: center;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
    display: none;
}

.contact-status.success {
    display: block;
    background: rgba(0, 255, 0, 0.15);
    border: 1px solid rgba(0, 255, 0, 0.4);
    color: #0f0;
    font-weight: 500;
}

.contact-status.error {
    display: block;
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.4);
    color: #f00;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Footer */
.footer {
    margin-top: 0;
    padding: 3rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
}

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

.footer-top {
    margin-bottom: 2rem;
}

.footer-top h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-top p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.5rem;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    letter-spacing: 0.05rem;
}



/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #fff;
    color: #000;
    padding: 1.25rem 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 10000;
    transform: translateY(150%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: #10b981;
    color: #fff;
}

.toast.error {
    background: #ef4444;
    color: #fff;
}

@media (max-width: 768px) {
    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
    
    .footer-links {
        gap: 0.75rem;
        align-items: center;
    }
}
