/* ===== APPLE DESIGN SYSTEM ===== */
:root {
    /* Apple Colors */
    --apple-bg: #f5f5f7;
    --apple-white: #ffffff;
    --apple-black: #1d1d1f;
    --apple-dark-gray: #424245;
    --apple-gray-1: #86868b;
    --apple-gray-2: #c7c7cc;
    --apple-gray-3: #f2f2f7;
    --apple-blue: #007aff;
    --apple-blue-dark: #0056d6;
    --apple-blue-light: #409cff;
    --apple-green: #34c759;
    --apple-red: #ff3b30;
    --apple-orange: #ff9500;
    --apple-purple: #af52de;
    --apple-pink: #ff2d55;
    
    /* Apple Effects */
    --apple-blur: saturate(180%) blur(20px);
    --apple-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --apple-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --apple-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --apple-card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    
    /* Apple Typography */
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    
    /* Apple Spacing */
    --space-xs: 0.25rem;  /* 4px */
    --space-sm: 0.5rem;   /* 8px */
    --space-md: 1rem;     /* 16px */
    --space-lg: 1.5rem;   /* 24px */
    --space-xl: 2rem;     /* 32px */
    --space-2xl: 3rem;    /* 48px */
    --space-3xl: 4rem;    /* 64px */
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-inter);
    background-color: var(--apple-bg);
    color: var(--apple-black);
    line-height: 1.47059;
    font-weight: 400;
    overflow-x: hidden;
}

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== LANGUAGE BAR ===== */
.language-bar {
    background: var(--apple-black);
    color: var(--apple-white);
    padding: var(--space-sm) 0;
    font-size: 0.75rem;
}

.language-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang-selector {
    display: flex;
    gap: var(--space-xs);
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--apple-white);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.lang-btn.active {
    background: var(--apple-blue);
    border-color: var(--apple-blue);
}

.lang-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
}

.ip-detected {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.8;
}

/* ===== APPLE NAVIGATION ===== */
.apple-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--apple-blur);
    -webkit-backdrop-filter: var(--apple-blur);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0;
    height: 52px;
}

.apple-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.apple-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--apple-black);
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--apple-blue), var(--apple-purple));
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-primary {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-secondary {
    font-size: 0.6875rem;
    color: var(--apple-gray-1);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    gap: var(--space-xl);
    margin-right: auto;
    margin-left: var(--space-2xl);
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--apple-gray-1);
    font-size: 0.75rem;
    font-weight: 500;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link i {
    font-size: 1rem;
    margin-bottom: 2px;
}

.nav-link.active {
    color: var(--apple-black);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 20px;
    height: 2px;
    background: var(--apple-blue);
    border-radius: 1px;
}

.nav-link:hover:not(.active) {
    color: var(--apple-black);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--apple-gray-1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.nav-action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--apple-black);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--apple-red);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* ===== APPLE HERO ===== */
.apple-hero {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 100%);
    overflow: hidden;
}

.apple-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-lg);
}

.gradient-text {
    background: linear-gradient(135deg, var(--apple-blue), var(--apple-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--apple-gray-1);
    line-height: 1.5;
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--apple-black);
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--apple-gray-1);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
}

.apple-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-inter);
}

.apple-button.primary {
    background: var(--apple-blue);
    color: white;
}

.apple-button.primary:hover {
    background: var(--apple-blue-dark);
    transform: translateY(-1px);
}

.apple-button.secondary {
    background: transparent;
    color: var(--apple-blue);
    border: 1px solid var(--apple-blue);
}

.apple-button.secondary:hover {
    background: rgba(0, 122, 255, 0.05);
}

.apple-button.outline {
    background: transparent;
    color: var(--apple-black);
    border: 1px solid var(--apple-gray-2);
}

.apple-button.outline:hover {
    background: var(--apple-gray-3);
    border-color: var(--apple-gray-1);
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-float {
    position: absolute;
    background: var(--apple-white);
    border-radius: 18px;
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--apple-card-shadow);
    animation: float 6s ease-in-out infinite;
}

.card-float img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.card1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card2 {
    width: 140px;
    height: 140px;
    top: 40%;
    right: 20%;
    animation-delay: 1s;
}

.card3 {
    width: 160px;
    height: 160px;
    top: 10%;
    right: 5%;
    animation-delay: 2s;
}

.card4 {
    width: 130px;
    height: 130px;
    bottom: 20%;
    left: 30%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* ===== BRANDS SECTION ===== */
.brands-section {
    padding: var(--space-2xl) 0;
    background: var(--apple-white);
}

.brands-section .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-lg);
    align-items: center;
    justify-items: center;
}

.brand-item {
    width: 100px;
    height: 100px;
    background: var(--apple-gray-3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    transition: all 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--apple-shadow-md);
}

.brand-item img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: var(--space-3xl) 0;
    background: var(--apple-bg);
}

.section-header {
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-lg);
}

.section-filters {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--apple-gray-2);
    color: var(--apple-gray-1);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--apple-blue);
    color: white;
    border-color: var(--apple-blue);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.product-card {
    background: var(--apple-white);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--apple-gray-2);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--apple-card-shadow);
    border-color: transparent;
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--apple-green);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 1;
}

.product-image {
    height: 180px;
    background: var(--apple-gray-3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.product-image img {
    max-width: 120px;
    max-height: 120px;
    object-fit: contain;
}

.product-content {
    padding: var(--space-lg);
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--apple-black);
}

.product-description {
    font-size: 0.875rem;
    color: var(--apple-gray-1);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.product-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 0.75rem;
    color: var(--apple-gray-1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.price-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--apple-black);
}

.price-crypto {
    font-size: 0.875rem;
    color: var(--apple-green);
    font-weight: 600;
}

.product-button {
    width: 100%;
    padding: 12px;
    background: var(--apple-blue);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-button:hover {
    background: var(--apple-blue-dark);
}

.section-footer {
    text-align: center;
}

/* ===== HOW IT WORKS ===== */
.how-section {
    padding: var(--space-3xl) 0;
    background: var(--apple-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.step-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--apple-gray-3);
    border-radius: 18px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--apple-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: var(--apple-white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--apple-blue);
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--apple-gray-1);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ===== CRYPTO SECTION ===== */
.crypto-section {
    padding: var(--space-3xl) 0;
    background: var(--apple-bg);
}

.crypto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.crypto-card {
    background: var(--apple-white);
    padding: var(--space-xl);
    border-radius: 18px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.crypto-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--apple-shadow-lg);
    border-color: var(--apple-gray-2);
}

.crypto-card i {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.crypto-card.bitcoin i { color: #f7931a; }
.crypto-card.ethereum i { color: #627eea; }
.crypto-card.tether i { color: #26a17b; }
.crypto-card.solana i { color: #00ffa3; }
.crypto-card.binance i { color: #f0b90b; }

.crypto-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.crypto-card p {
    color: var(--apple-gray-1);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: var(--space-3xl) 0;
    background: var(--apple-white);
}

.faq-grid {
    max-width: 800px;
    margin: var(--space-xl) auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--apple-gray-2);
    padding: var(--space-lg) 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--apple-black);
}

.faq-question i {
    color: var(--apple-gray-1);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: var(--space-md);
}

.faq-answer p {
    color: var(--apple-gray-1);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* ===== APPLE FOOTER ===== */
.apple-footer {
    background: var(--apple-black);
    color: var(--apple-white);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.footer-logo i {
    color: var(--apple-blue);
}

.footer-desc {
    color: var(--apple-gray-2);
    font-size: 0.875rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--apple-white);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--apple-blue);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--apple-white);
}

.footer-col a {
    color: var(--apple-gray-2);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--apple-white);
}

.crypto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.crypto-tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--apple-gray-2);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--apple-gray-2);
    font-size: 0.75rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: var(--apple-gray-2);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--apple-white);
}

/* ===== CART SIDEBAR ===== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: var(--apple-white);
    box-shadow: var(--apple-shadow-lg);
    z-index: 1001;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--apple-gray-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-cart {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: var(--apple-gray-3);
    color: var(--apple-gray-1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-cart:hover {
    background: var(--apple-red);
    color: white;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
}

.empty-cart {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    color: var(--apple-gray-1);
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    opacity: 0.5;
}

.empty-cart p {
    font-size: 0.875rem;
}

.cart-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--apple-gray-2);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    font-weight: 600;
    font-size: 1.125rem;
}

/* ===== SEARCH MODAL ===== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1002;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-modal.active {
    display: flex;
}

.search-container {
    background: var(--apple-white);
    width: 90%;
    max-width: 600px;
    border-radius: 18px;
    overflow: hidden;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
}

.search-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--apple-gray-2);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.search-header i {
    color: var(--apple-gray-1);
}

.search-header input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: var(--font-inter);
    background: transparent;
}

.close-search {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: var(--apple-gray-3);
    color: var(--apple-gray-1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-search:hover {
    background: var(--apple-gray-2);
}

.search-results {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-md);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .apple-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .nav-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .steps-grid,
    .crypto-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .apple-button {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .section-filters {
        justify-content: center;
    }
    
    .floating-cards {
        display: none;
    }
}

/* ===== UTILITIES ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== LOADING STATES ===== */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    :root {
        --apple-bg: #000000;
        --apple-white: #1d1d1f;
        --apple-black: #f5f5f7;
        --apple-gray-1: #8e8e93;
        --apple-gray-2: #3a3a3c;
        --apple-gray-3: #2c2c2e;
    }
    
    .apple-nav {
        background: rgba(29, 29, 31, 0.8);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .apple-hero {
        background: linear-gradient(135deg, #000000 0%, #1d1d1f 100%);
    }
    
    .brand-item {
        background: var(--apple-gray-3);
    }
    
    .brand-item img {
        filter: brightness(0.8) grayscale(1);
    }
    
    .brand-item:hover img {
        filter: brightness(1) grayscale(0);
    }
}
/* //////////////////////////// */
/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--apple-bg), var(--apple-white));
  padding: var(--space-xl);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--apple-white);
  border-radius: 20px;
  padding: var(--space-2xl);
  box-shadow: var(--apple-card-shadow);
  animation: fadeIn 0.4s ease;
}

.auth-card.hidden {
  display: none;
}

.auth-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.auth-header .logo-mark {
  margin: 0 auto var(--space-md);
}

.auth-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.auth-header p {
  color: var(--apple-gray-1);
  font-size: 0.9rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--apple-gray-1);
}

.form-group input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--apple-gray-2);
  font-size: 0.875rem;
  font-family: var(--font-inter);
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 3px rgba(0,122,255,0.15);
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-link {
  color: var(--apple-blue);
  text-decoration: none;
  font-weight: 500;
}

.auth-link:hover {
  text-decoration: underline;
}

.apple-button.full {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-sm);
}

.auth-footer {
  margin-top: var(--space-lg);
  text-align: center;
  font-size: 0.75rem;
  color: var(--apple-gray-1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
