@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-main: #0B0B0F;
    --card-bg: #15171D;
    --card-hover: #1E2028;
    --primary-orange: #FF7A00;
    --secondary-orange: #FFA733;
    --text-white: #FFFFFF;
    --text-muted: #9CA3AF;
    --border-dark: #2A2D3A;
    --glass-bg: rgba(21, 23, 29, 0.75);
    --glass-border: rgba(255, 122, 0, 0.15);
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-white);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.glass-card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 122, 0, 0.4);
    box-shadow: 0 15px 35px rgba(255, 122, 0, 0.15);
}

/* Custom Glow & Gradients */
.glow-orange {
    position: relative;
}

.glow-orange::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255,122,0,0.15) 0%, rgba(11,11,15,0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* Primary Button */
.btn-orange {
    background: linear-gradient(135deg, #FF7A00 0%, #FFA733 100%);
    color: #FFFFFF;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-orange:hover {
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.5);
    transform: translateY(-2px);
}

/* Secondary Ghost Button */
.btn-outline {
    border: 1px solid rgba(255, 122, 0, 0.4);
    color: var(--text-white);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 122, 0, 0.05);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 122, 0, 0.15);
    border-color: var(--primary-orange);
}

/* Badges */
.badge-orange {
    background: rgba(255, 122, 0, 0.15);
    color: var(--primary-orange);
    border: 1px solid rgba(255, 122, 0, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Header & Sticky Nav */
header.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 11, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dark);
}

/* Form Controls */
.input-dark {
    background-color: #1A1C23;
    border: 1px solid var(--border-dark);
    color: var(--text-white);
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    width: 100%;
    outline: none;
    transition: border-color 0.2s ease;
}

.input-dark:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.15);
}

/* Animations */
@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.animate-glow {
    animation: pulseGlow 3s infinite ease-in-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #2A2D3A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}

/* Marquee Announcement Ticker Animation - 100% Seamless Continuous Infinite Loop */
@keyframes tickerMoveSeamless {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.animate-marquee {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    animation: tickerMoveSeamless 28s linear infinite;
    will-change: transform;
    direction: ltr; /* Ensures group 2 renders to the right of group 1 for seamless R-to-L sliding */
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Product Image Shine / Glow Effect on Hover */
.img-shine-container {
    position: relative;
    overflow: hidden;
}

.img-shine-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -130%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    transition: all 0.75s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 10;
}

.img-shine-container:hover::after {
    left: 140%;
}

.img-shine-container img {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.img-shine-container:hover img {
    transform: scale(1.08);
    filter: brightness(1.12) drop-shadow(0 0 10px rgba(255, 167, 51, 0.3));
}


/* Prevent automatic iOS Safari zoom when focusing form fields */
@media (max-width: 767px) {
    input,
    select,
    textarea,
    .input-dark {
        font-size: 16px !important;
    }
}
