:root {
    --color-white: #FFFFFF;
    --color-black: #0A0A0A;
    --color-gray-light: #F5F5F5;
    --color-gray: #E0E0E0;
    --color-gray-medium: #999999;
    --color-gray-dark: #333333;
    --color-text: #1A1A1A;
    --color-text-light: #666666;
    
    --font-primary: 'CoFo Sans', sans-serif;
    --font-secondary: 'Libre Franklin', sans-serif;
    
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(255, 255, 255, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ==================== BASE STYLES ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 80%;
    width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ==================== HERO SECTION ==================== */

.hero {
    height: 100vh;
    min-height: 750px;
    max-height: 900px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ==================== HERO VIDEO STYLES ==================== */

#heroVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Performance optimizations */
#heroVideo {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

/* Fallback for when video is disabled - keep visible so video can play on all devices */
.hero-video-disabled #heroVideo {
    display: block !important;
} 

#heroVideo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

/* Loading state (optional) */
#heroVideo.loading {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

#heroVideo.loaded {
    opacity: 1;
}

/* ==================== RESPONSIVE OPTIMIZATIONS ==================== */

/* Tablets and below */
@media (max-width: 1024px) {
    #heroVideo {
        /* Slightly reduce quality perception on tablets if needed */
        filter: none;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    #heroVideo {
        min-width: 100%;
        min-height: 100%;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    /* Keep the hero video visible on small devices so it can autoplay when possible */
    .hero-mobile-fallback #heroVideo {
        display: block;
    }
} 

@media (prefers-reduced-motion: reduce) {
    #heroVideo {
        display: none !important;
    }
}

/* Print styles */
@media print {
    #heroVideo {
        display: none !important;
    }
} 

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 90%;
    width: 1000px;
    padding: 0 30px;
    animation: fadeInUp 1s ease;
}
.hero-logo {
    height: 180px;
    width: auto;  
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 15px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    display: block;
    margin-bottom: 25px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 140px;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 12px;
    margin-bottom: 40px;
    line-height: 0.9;
    text-shadow: 0 4px 40px rgba(0,0,0,0.7), 0 0 100px rgba(255,255,255,0.3);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 4px 40px rgba(0,0,0,0.7), 0 0 100px rgba(255,255,255,0.3);
    }
    50% {
        text-shadow: 0 4px 40px rgba(0,0,0,0.7), 0 0 120px rgba(255,255,255,0.5);
    }
}

.hero-description {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 60px;
    line-height: 1.8;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== SCROLL INDICATOR ==================== */

.scroll-indicator {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 2px;
    height: 45px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% {
        height: 45px;
        opacity: 0.5;
    }
    50% {
        height: 60px;
        opacity: 1;
    }
}

/* ==================== BUTTONS ==================== */

.btn {
    display: inline-block;
    padding: 18px 45px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background: var(--color-gray-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.4), 0 0 30px rgba(255,255,255,0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-color: var(--color-white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-black);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-black);
}

.btn-link {
    color: var(--color-black);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    color: var(--color-gray-dark);
    transform: translateX(6px);
}

/* ==================== TRUST BADGES ==================== */

.trust-badges {
    padding: 70px 0;
    background: var(--color-gray-light);
    border-top: 1px solid var(--color-gray);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
}

.trust-item {
    text-align: center;
    padding: 28px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.trust-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    background: var(--color-white);
}

.trust-icon {
    font-size: 38px;
    margin-bottom: 18px;
    filter: grayscale(1);
}

.trust-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 10px;
}

.trust-item p {
    color: var(--color-text-light);
    font-size: 13px;
}

/* ==================== SECTION HEADERS ==================== */

.section-header {
    text-align: center;
    margin-bottom: 90px;
}

.section-subtitle {
    font-size: 13px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-gray-medium);
    font-weight: 700;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 58px;
    font-weight: 800;
    color: var(--color-black);
    margin-bottom: 22px;
    position: relative;
    display: inline-block;
}

.section-description {
    color: var(--color-text-light);
    font-size: 17px;
    max-width: 650px;
    margin: 22px auto 0;
    line-height: 1.8;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--color-black);
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}


/* ==================== BRANDS SECTION ==================== */

.brands-section {
    padding: 20px 0;
    background: var(--color-gray-light);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 45px;
}

.brand-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    padding: 45px 35px;
    border-radius: 28px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    background: var(--color-white);
}

.brand-icon {
    font-size: 55px;
    margin-bottom: 22px;
    filter: grayscale(1);
    opacity: 0.7;
}

.brand-card h3 {
    font-family: var(--font-primary);
    font-size: 26px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 16px;
}

.brand-card p {
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* ==================== CATEGORIES SECTION ==================== */

.categories {
    padding: 70px 0 50px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 50px;
}

.category-card {
    height: 550px;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.accessories-card {
    background: linear-gradient(135deg, var(--color-gray-dark) 0%, var(--color-black) 100%);
}

.category-content {
    text-align: center;
    z-index: 2;
    padding: 55px;
}

.category-content h3 {
    font-family: var(--font-primary);
    font-size: 52px;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 25px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.category-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    margin-bottom: 45px;
    max-width: 480px;
    line-height: 1.8;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-card:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 80px rgba(0,0,0,0.3), 0 0 60px rgba(255,255,255,0.1);
}

/* ==================== VALUES SECTION ==================== */

.values {
    padding: 110px 0;
    background: var(--color-white);
    position: relative;
}

.values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 50%, rgba(0,0,0,0.02) 0%, transparent 50%);
    pointer-events: none;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 70px;
}

.value-item {
    text-align: center;
    padding: 35px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    background: var(--color-white);
}

.value-icon {
    font-size: 58px;
    color: var(--color-black);
    margin-bottom: 30px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.value-item h3 {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 18px;
}

.value-item p {
    color: var(--color-text-light);
    font-size: 16px;
    line-height: 1.8;
}

/* ==================== PAYMENT SECTION ==================== */

.payment-section {
    padding: 20px 0;
    background: var(--color-gray-light);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
}

.payment-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 22px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.payment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.12);
    background: var(--color-white);
}

.payment-icon {
    font-size: 45px;
    margin-bottom: 22px;
    filter: grayscale(1);
}

.payment-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 10px;
}

.payment-card p {
    color: var(--color-text-light);
    font-size: 14px;
}

/* ==================== ANIMATIONS ==================== */

[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 1400px) {
    .container {
        max-width: 85%;
    }
}
    .hero-logo {
        height: 85%;
    }
@media (max-width: 1200px) {
    .container {
        max-width: 88%;
    }

    .hero {
        min-height: 700px;
    }

    .hero-title {
        font-size: 120px;
        letter-spacing: 10px;
    }
    
    .section-title {
        font-size: 52px;
    }
    
    .hero-logo {
        height: 80%;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 90%;
        padding: 0 25px;
    }

    .hero {
        min-height: 650px;
    }
    .hero-logo {
        height: 75%;
    }    
    .hero-title {
        font-size: 100px;
        letter-spacing: 8px;
    }

    .hero-description {
        font-size: 17px;
    }

    .brands-section {
        padding: 90px 0;
    }

    .values {
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 95%;
        padding: 0 20px;
    }
    
    .hero {
        min-height: 600px;
    }
    .hero-logo {
        height: 110px;
    }    
    .hero-title {
        font-size: 75px;
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-size: 13px;
        letter-spacing: 3px;
    }
    
    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        gap: 18px;
    }

    .btn {
        padding: 16px 40px;
        font-size: 13px;
    }
    
    .section-title {
        font-size: 42px;
    }

    .section-header {
        margin-bottom: 70px;
    }

    .trust-badges {
        padding: 60px 0;
    }

    .trust-grid {
        gap: 28px;
    }
  

    .brands-section {
        padding: 80px 0;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .category-card {
        height: 480px;
        min-width: auto;
    }
    
    .category-content h3 {
        font-size: 44px;
    }

    .category-content p {
        font-size: 16px;
    }

    .values {
        padding: 90px 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .payment-section {
        padding: 80px 0;
    }

    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 96%;
        padding: 0 15px;
    }

    .hero {
        min-height: 550px;
    }
    .hero-logo {
        height: 100px;
    }
    .hero-title {
        font-size: 55px;
        letter-spacing: 3px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 2.5px;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 15px;
        margin-bottom: 45px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        padding: 15px 35px;
        font-size: 12px;
    }

    .scroll-indicator {
        bottom: 25px;
    }

    .scroll-indicator span {
        height: 35px;
    }

    .trust-badges {
        padding: 50px 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .trust-item {
        padding: 24px;
    }

    .section-title {
        font-size: 34px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .section-description {
        font-size: 15px;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .brands-section {
        padding: 70px 0;
    }

    .brands-grid {
        gap: 30px;
    }

    .brand-card {
        padding: 38px 28px;
    }

    .brand-icon {
        font-size: 48px;
    }

    .brand-card h3 {
        font-size: 24px;
    }

    .brand-card p {
        font-size: 14px;
    }

    .categories {
        padding: 50px 0 80px;
    }
    
    .categories-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    
    .category-card {
        height: 420px;
    }
    
    .category-content {
        padding: 40px 25px;
    }
    
    .category-content h3 {
        font-size: 36px;
    }

    .category-content p {
        font-size: 15px;
        margin-bottom: 35px;
    }

    .values {
        padding: 80px 0;
    }

    .values-grid {
        gap: 35px;
    }

    .value-item {
        padding: 30px;
    }

    .value-icon {
        font-size: 50px;
        margin-bottom: 25px;
    }

    .value-item h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .value-item p {
        font-size: 15px;
    }

    .payment-section {
        padding: 70px 0;
    }
    
    .payment-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .payment-card {
        padding: 35px 25px;
    }

    .payment-icon {
        font-size: 40px;
    }

    .payment-card h4 {
        font-size: 18px;
    }

    .payment-card p {
        font-size: 13px;
    }
}

/* ==================== LOADING ANIMATION ==================== */

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.image-placeholder {
    animation: shimmer 2s infinite;
    background: linear-gradient(
        to right,
        #f0f0f0 0%,
        #e0e0e0 20%,
        #f0f0f0 40%,
        #f0f0f0 100%
    );
    background-size: 2000px 100%;
}

/* ==================== SCROLLBAR ==================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gray-dark);
    border-radius: 10px;
    border: 2px solid var(--color-gray-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-black);
}

/* ==================== SELECTION ==================== */

::selection {
    background: var(--color-black);
    color: var(--color-white);
}

::-moz-selection {
    background: var(--color-black);
    color: var(--color-white);
}