/* ========================================
   X1 Panel Shop - Free Fire Gaming Theme
   ======================================== */

/* CSS Variables - Free Fire Color Palette */
:root {
    --ff-red: #FF4655;
    --ff-red-dark: #E03E4C;
    --ff-red-light: #FF6B76;
    --ff-black: #0A0A0F;
    --ff-dark: #12121A;
    --ff-card: #1E1E28;
    --ff-card-hover: #252530;
    --ff-gold: #FFD700;
    --ff-gold-dark: #E6C200;
    --ff-white: #FFFFFF;
    --ff-text: #E0E0E0;
    --ff-text-muted: #888899;
    --ff-border: #2A2A3A;
    --ff-gradient: linear-gradient(135deg, #FF4655 0%, #E03E4C 100%);
    --ff-gradient-gold: linear-gradient(135deg, #FFD700 0%, #E6C200 100%);
    --ff-gradient-dark: linear-gradient(135deg, #0A0A0F 0%, #12121A 100%);
    --ff-shadow: 0 10px 40px rgba(255, 70, 85, 0.15);
    --ff-shadow-hover: 0 20px 60px rgba(255, 70, 85, 0.25);
    --ff-glow: 0 0 30px rgba(255, 70, 85, 0.4);
    --ff-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RTL Support for Bengali */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .navbar-nav,
[dir="rtl"] .dropdown-menu,
[dir="rtl"] .pagination ul {
    direction: rtl;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@media (max-width: 768px) {
    html { font-size: 14px; }
}

body {
    font-family: 'Inter', 'Noto Sans Bengali', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--ff-black);
    color: var(--ff-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--ff-black); }
::-webkit-scrollbar-thumb { background: var(--ff-red); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--ff-red-light); }

/* Selection */
::selection { background: var(--ff-red); color: var(--ff-white); }

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--ff-white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

p { color: var(--ff-text-muted); font-size: 1rem; }

a {
    color: var(--ff-red);
    text-decoration: none;
    transition: var(--ff-transition);
}

a:hover { color: var(--ff-gold); }

/* Gradient Text */
.gradient-text {
    background: var(--ff-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-text {
    background: var(--ff-gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Layout
   ======================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--ff-gradient);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--ff-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--ff-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before { left: 100%; }

.btn-primary {
    background: var(--ff-gradient);
    color: var(--ff-white);
    box-shadow: var(--ff-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--ff-shadow-hover), var(--ff-glow);
    color: var(--ff-white);
}

.btn-secondary {
    background: transparent;
    color: var(--ff-white);
    border: 2px solid var(--ff-border);
}

.btn-secondary:hover {
    border-color: var(--ff-red);
    background: rgba(255, 70, 85, 0.1);
    color: var(--ff-red);
}

.btn-gold {
    background: var(--ff-gradient-gold);
    color: var(--ff-black);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    color: var(--ff-black);
}

.btn-outline {
    background: transparent;
    color: var(--ff-red);
    border: 2px solid var(--ff-red);
}

.btn-outline:hover {
    background: var(--ff-red);
    color: var(--ff-white);
}

.btn-sm { padding: 0.6rem 1.5rem; font-size: 0.875rem; }
.btn-lg { padding: 1.25rem 3rem; font-size: 1.125rem; }
.btn-block { width: 100%; }

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ff-border);
    transition: var(--ff-transition);
}

.navbar.scrolled {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.navbar-logo {
    width: 50px;
    height: 50px;
    background: var(--ff-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--ff-white);
    box-shadow: var(--ff-glow);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 70, 85, 0.4); }
    50% { box-shadow: 0 0 40px rgba(255, 70, 85, 0.6); }
}

.navbar-brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--ff-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: var(--ff-text);
    font-weight: 500;
    border-radius: 50px;
    transition: var(--ff-transition);
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--ff-gradient);
    transition: var(--ff-transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--ff-white);
    background: rgba(255, 70, 85, 0.1);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 80%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    border-radius: 50px;
    color: var(--ff-text);
    font-weight: 500;
    cursor: pointer;
    transition: var(--ff-transition);
}

.lang-btn:hover {
    border-color: var(--ff-red);
    color: var(--ff-red);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 150px;
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--ff-transition);
    z-index: 100;
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--ff-text);
    border-radius: 8px;
    transition: var(--ff-transition);
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
    background: rgba(255, 70, 85, 0.1);
    color: var(--ff-red);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--ff-white);
    border-radius: 2px;
    transition: var(--ff-transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255, 70, 85, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--ff-black), transparent);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 70, 85, 0.1);
    border: 1px solid var(--ff-red);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ff-red);
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out 0.1s both;
}

.hero-title .highlight {
    background: var(--ff-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--ff-text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ff-border);
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--ff-gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    color: var(--ff-text-muted);
    font-size: 0.875rem;
}

.hero-visual {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-visual img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: var(--ff-shadow-hover);
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--ff-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    animation: pulse 4s infinite;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ========================================
   Category Cards
   ======================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.category-card {
    position: relative;
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--ff-transition);
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ff-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--ff-transition);
}

.category-card:hover::before { transform: scaleX(1); }

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--ff-red);
    box-shadow: var(--ff-shadow-hover);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--ff-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--ff-white);
    box-shadow: var(--ff-glow);
    transition: var(--ff-transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--ff-text-muted);
    margin-bottom: 1.5rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--ff-red);
}

.category-link:hover { gap: 1rem; }

/* ========================================
   Product Cards
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--ff-transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--ff-red);
    box-shadow: var(--ff-shadow-hover);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.badge-new { background: var(--ff-gradient); color: var(--ff-white); }
.badge-sale { background: var(--ff-gradient-gold); color: var(--ff-black); }
.badge-featured { background: rgba(255, 215, 0, 0.2); color: var(--ff-gold); border: 1px solid var(--ff-gold); }

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: var(--ff-transition);
}

.product-card:hover .product-overlay { opacity: 1; }

.overlay-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transform: translateY(20px);
    transition: var(--ff-transition);
}

.product-card:hover .overlay-btn { transform: translateY(0); }

.overlay-btn:nth-child(1) { transition-delay: 0.1s; }
.overlay-btn:nth-child(2) { transition-delay: 0.2s; }

.overlay-btn.primary { background: var(--ff-gradient); color: var(--ff-white); }
.overlay-btn.secondary { background: var(--ff-card); color: var(--ff-white); border: 1px solid var(--ff-border); }

.overlay-btn:hover {
    transform: translateY(-3px) scale(1.1);
}

.product-content {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--ff-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--ff-white);
}

.product-title a:hover { color: var(--ff-red); }

.product-description {
    font-size: 0.875rem;
    color: var(--ff-text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--ff-border);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ff-gold);
}

.product-price .old-price {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ff-text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--ff-gold);
    font-size: 0.875rem;
}

/* ========================================
   Quote Form Section
   ======================================== */
.quote-section {
    background: var(--ff-dark);
    position: relative;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--ff-gradient);
}

.quote-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.quote-info {
    padding-right: 2rem;
}

.quote-title {
    margin-bottom: 1.5rem;
}

.quote-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.quote-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quote-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.quote-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--ff-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--ff-white);
    flex-shrink: 0;
}

.quote-feature-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.quote-feature-text p {
    font-size: 0.875rem;
    margin: 0;
}

.quote-form-container {
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.quote-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--ff-gradient);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--ff-text);
    font-size: 0.875rem;
}

.form-label .required { color: var(--ff-red); }

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--ff-dark);
    border: 1px solid var(--ff-border);
    border-radius: 10px;
    color: var(--ff-white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--ff-transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ff-red);
    box-shadow: 0 0 0 3px rgba(255, 70, 85, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--ff-text-muted);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--ff-red);
}

.form-error {
    display: block;
    color: var(--ff-red);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

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

.form-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem;
}

.form-success.show { display: block; }

.form-success-icon {
    width: 80px;
    height: 80px;
    background: var(--ff-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--ff-white);
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* ========================================
   Projects/Portfolio
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--ff-transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--ff-red);
    box-shadow: var(--ff-shadow-hover);
}

.project-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--ff-transition);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-content {
    padding: 1.5rem;
}

.project-category {
    font-size: 0.75rem;
    color: var(--ff-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ff-text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--ff-border);
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--ff-text-muted);
}

.project-meta-item i { color: var(--ff-red); }

/* ========================================
   Testimonials
   ======================================== */
.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    color: var(--ff-gold);
    margin-bottom: 1.5rem;
}

.testimonial-content {
    font-size: 1.25rem;
    color: var(--ff-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ff-red);
}

.testimonial-author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author-info p {
    font-size: 0.875rem;
    margin: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--ff-border);
    border: none;
    cursor: pointer;
    transition: var(--ff-transition);
}

.slider-dot.active {
    background: var(--ff-gradient);
    transform: scale(1.2);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--ff-dark);
    border-top: 1px solid var(--ff-border);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .navbar-logo { margin-bottom: 1rem; }

.footer-brand p {
    color: var(--ff-text-muted);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ff-text-muted);
    transition: var(--ff-transition);
}

.social-link:hover {
    background: var(--ff-gradient);
    border-color: transparent;
    color: var(--ff-white);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li { margin-bottom: 0.75rem; }

.footer-links a {
    color: var(--ff-text-muted);
    font-size: 0.9375rem;
    transition: var(--ff-transition);
}

.footer-links a:hover {
    color: var(--ff-red);
    padding-left: 0.5rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--ff-text-muted);
    font-size: 0.9375rem;
}

.footer-contact-item i {
    color: var(--ff-red);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--ff-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--ff-text-muted);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--ff-text-muted);
    font-size: 0.875rem;
    transition: var(--ff-transition);
}

.footer-legal a:hover { color: var(--ff-red); }

/* ========================================
   Page Header
   ======================================== */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: var(--ff-dark);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at center, rgba(255, 70, 85, 0.1) 0%, transparent 70%);
}

.page-header-content { position: relative; z-index: 1; }

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.page-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--ff-text-muted);
    font-size: 0.9375rem;
}

.page-breadcrumb a { color: var(--ff-text-muted); }
.page-breadcrumb a:hover { color: var(--ff-red); }
.page-breadcrumb .separator { color: var(--ff-border); }
.page-breadcrumb .current { color: var(--ff-red); }

/* ========================================
   Product Detail
   ======================================== */
.product-detail {
    padding: 4rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.product-gallery {
    position: relative;
}

.main-image {
    border-radius: 16px;
    overflow: hidden;
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--ff-transition);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--ff-red);
}

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

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ff-border);
}

.product-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 70, 85, 0.1);
    border: 1px solid var(--ff-red);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--ff-red);
}

.product-sku {
    color: var(--ff-text-muted);
    font-size: 0.875rem;
}

.product-price-detail {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ff-gold);
    margin-bottom: 1.5rem;
}

.product-price-detail .old-price {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--ff-text-muted);
    text-decoration: line-through;
    margin-left: 1rem;
}

.product-description-detail {
    color: var(--ff-text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.product-specs {
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    border-radius: 16px;
    padding: 2rem;
}

.specs-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ff-border);
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-size: 0.875rem;
    color: var(--ff-text-muted);
}

.spec-value {
    font-weight: 500;
    color: var(--ff-text);
}

/* ========================================
   Tabs
   ======================================== */
.tabs {
    border-top: 1px solid var(--ff-border);
    margin-top: 3rem;
}

.tab-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--ff-border);
    margin-bottom: 0;
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    color: var(--ff-text-muted);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--ff-transition);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ff-gradient);
    transform: scaleX(0);
    transition: var(--ff-transition);
}

.tab-btn:hover { color: var(--ff-white); }

.tab-btn.active {
    color: var(--ff-white);
}

.tab-btn.active::after { transform: scaleX(1); }

.tab-pane {
    display: none;
    padding: 2rem 0;
}

.tab-pane.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ========================================
   Admin Styles
   ======================================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: var(--ff-card);
    border-right: 1px solid var(--ff-border);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: var(--ff-transition);
}

.admin-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--ff-border);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-sidebar-logo {
    width: 40px;
    height: 40px;
    background: var(--ff-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--ff-white);
}

.admin-sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.admin-nav {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.admin-nav-section {
    margin-bottom: 2rem;
}

.admin-nav-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ff-text-muted);
    margin-bottom: 0.75rem;
    padding: 0 0.5rem;
}

.admin-nav-list { list-style: none; }

.admin-nav-item { margin-bottom: 0.25rem; }

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--ff-text-muted);
    border-radius: 10px;
    transition: var(--ff-transition);
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(255, 70, 85, 0.1);
    color: var(--ff-red);
}

.admin-nav-link i {
    width: 20px;
    text-align: center;
}

.admin-sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--ff-border);
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--ff-dark);
    border-radius: 10px;
}

.admin-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ff-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--ff-white);
}

.admin-user-info {
    flex: 1;
    min-width: 0;
}

.admin-user-name {
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-user-role {
    font-size: 0.75rem;
    color: var(--ff-text-muted);
}

.admin-main {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
    background: var(--ff-black);
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ff-dark);
    border-bottom: 1px solid var(--ff-border);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-header-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-content {
    padding: 2rem;
}

/* Admin Tables */
.table-container {
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    border-radius: 16px;
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--ff-border);
}

.admin-table th {
    background: var(--ff-dark);
    font-weight: 600;
    color: var(--ff-text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td { color: var(--ff-text); }

.admin-table tbody tr:hover { background: rgba(255, 70, 85, 0.03); }

.admin-table tbody tr:last-child td { border-bottom: none; }

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: capitalize;
}

.status-active { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.status-inactive { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.status-draft { background: rgba(255, 215, 0, 0.15); color: var(--ff-gold); }
.status-new { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.status-contacted { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.status-quoted { background: rgba(255, 70, 85, 0.15); color: var(--ff-red); }
.status-closed { background: rgba(34, 197, 94, 0.15); color: #22c55e; }

/* Action Buttons */
.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ff-text-muted);
    background: var(--ff-dark);
    border: 1px solid var(--ff-border);
    transition: var(--ff-transition);
}

.action-btn:hover {
    color: var(--ff-red);
    border-color: var(--ff-red);
    background: rgba(255, 70, 85, 0.1);
}

.action-btn.delete:hover {
    color: #ef4444;
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.action-group {
    display: flex;
    gap: 0.5rem;
}

/* Admin Forms */
.admin-form { max-width: 800px; }

.form-section {
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.form-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ff-border);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ff-border);
    margin-top: 2rem;
}

/* Image Preview */
.image-preview {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px dashed var(--ff-border);
    background: var(--ff-dark);
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.image-upload-area {
    border: 2px dashed var(--ff-border);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: var(--ff-transition);
}

.image-upload-area:hover,
.image-upload-area.dragover {
    border-color: var(--ff-red);
    background: rgba(255, 70, 85, 0.05);
}

.image-upload-icon {
    font-size: 3rem;
    color: var(--ff-text-muted);
    margin-bottom: 1rem;
}

.image-upload-text {
    color: var(--ff-text-muted);
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--ff-transition);
}

.stat-card:hover {
    border-color: var(--ff-red);
    transform: translateY(-4px);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ff-white);
}

.stat-icon.primary { background: var(--ff-gradient); }
.stat-icon.gold { background: var(--ff-gradient-gold); }
.stat-icon.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.stat-icon.green { background: linear-gradient(135deg, #22c55e, #16a34a); }

.stat-content { flex: 1; }

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ff-white);
    line-height: 1;
}

.stat-label {
    color: var(--ff-text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ========================================
   Alerts & Messages
   ======================================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #22c55e;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.alert-warning {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid var(--ff-gold);
    color: var(--ff-gold);
}

.alert-info {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid #3b82f6;
    color: #3b82f6;
}

.alert-dismiss {
    margin-left: auto;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--ff-transition);
}

.alert-dismiss:hover { opacity: 1; }

/* ========================================
   Pagination
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    border-radius: 10px;
    background: var(--ff-card);
    border: 1px solid var(--ff-border);
    color: var(--ff-text);
    font-weight: 500;
    transition: var(--ff-transition);
}

.page-link:hover,
.page-link.active {
    background: var(--ff-gradient);
    border-color: transparent;
    color: var(--ff-white);
}

.page-link:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   Loading & Empty States
   ======================================== */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--ff-border);
    border-top-color: var(--ff-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--ff-text-muted);
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--ff-border);
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-size: 1.5rem;
    color: var(--ff-text);
    margin-bottom: 0.5rem;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .hero-grid,
    .quote-container,
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual { order: -1; }

    .quote-info { padding-right: 0; }

    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.open { transform: translateX(0); }

    .admin-main { margin-left: 0; }

    .mobile-menu-btn { display: flex; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section { padding: 3rem 0; }

    .navbar-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--ff-dark);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--ff-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--ff-transition);
    }

    .navbar-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav .nav-link {
        width: 100%;
        justify-content: center;
    }

    .navbar-actions { gap: 0.5rem; }

    .hero-stats { flex-wrap: wrap; gap: 1.5rem; }

    .form-row { grid-template-columns: 1fr; }

    .products-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid { grid-template-columns: 1fr; }

    .footer-bottom { flex-direction: column; text-align: center; }

    .admin-header { flex-direction: column; gap: 1rem; text-align: center; }

    .admin-content { padding: 1rem; }

    .admin-table th,
    .admin-table td {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .stat-card { padding: 1rem; }

    .stat-number { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }

    .btn { padding: 0.875rem 1.5rem; }

    .btn-lg { padding: 1rem 2rem; }

    .hero-buttons { flex-direction: column; }

    .hero-buttons .btn { width: 100%; }

    .specs-grid { grid-template-columns: 1fr; }

    .tabs .tab-btn { padding: 0.75rem 1rem; font-size: 0.875rem; }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .navbar, .footer, .btn, .admin-sidebar, .admin-header {
        display: none !important;
    }

    body { background: white; color: black; }

    .hero, .section { padding: 2rem 0; }
}