/* ==========================================
   Carbon Fiber Tubes - Premium Corporate Style
   EU/US Professional Redesign v2.0
   ========================================== */

/* CSS Variables - Premium Color Scheme */
:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --accent-light: rgba(99, 102, 241, 0.12);
    --amber: #f59e0b;
    --amber-light: rgba(245, 158, 11, 0.12);
    --dark: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);
    --shadow-glow: 0 8px 32px rgba(99, 102, 241, 0.25);
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --header-height: 72px;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 5px;
    border: 2px solid var(--bg-light);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    font-weight: 400;
}

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

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.2rem;
    color: var(--text);
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section */
.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background-color: var(--bg-light);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--dark);
    letter-spacing: -0.03em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3.5rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ==========================================
   Top Bar
   ========================================== */
.top-bar {
    background-color: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.top-bar-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.top-bar-link:hover {
    color: #fff;
}

.top-bar-link i {
    font-size: 0.8rem;
    color: var(--accent);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-social {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
}

.top-bar-social:hover {
    color: #fff;
    background: var(--accent);
    transform: translateY(-2px);
}

/* ==========================================
   Navigation - Glassmorphism
   ========================================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition);
    height: var(--header-height);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    padding: 8px 18px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.925rem;
    border-radius: 8px;
    transition: all var(--transition);
    position: relative;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--accent);
    background: var(--accent-light);
}

.nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    padding: 8px;
    z-index: 1001;
    list-style: none;
    animation: dropdownFade 0.2s ease;
}

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

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all var(--transition);
}

.dropdown-menu li a:hover {
    background: var(--accent-light);
    color: var(--accent);
}

@media (max-width: 768px) {
    .nav-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 24px;
        display: none;
        background: transparent;
        backdrop-filter: none;
        animation: none;
    }
    .nav-dropdown.open .dropdown-menu {
        display: block;
    }
    .nav-dropdown .dropdown-menu li a {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition);
}

.hamburger:hover {
    background: var(--bg-light);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* ==========================================
   Hero Section - Modern Premium
   ========================================== */
.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #312e81 100%);
    position: relative;
    overflow: hidden;
}

/* Carbon fiber grid overlay */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero .hero-grid-overlay {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, -30px) scale(1.1); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 680px;
    animation: heroFadeIn 0.8s ease-out;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 40%, #818cf8 65%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 6s ease-in-out infinite alternate;
    margin-bottom: 1.2rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    max-width: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heroFadeIn 1s ease-out 0.2s both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   Buttons - Modern Gradient
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #818cf8);
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4), 0 0 40px rgba(245, 158, 11, 0.15);
    color: #fff;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
    transform: translateY(-3px);
}

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

.btn-outline-dark:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.05rem;
}

/* ==========================================
   Product Cards - Premium Hover Effects
   ========================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    border: 1px solid var(--border-light);
    position: relative;
    cursor: pointer;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #818cf8, var(--amber));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.2);
}

.product-card:hover::after {
    transform: scaleX(1);
}

.product-card-image {
    height: 240px;
    background: var(--bg-light);
    overflow: hidden;
    position: relative;
}

.product-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.4));
    opacity: 0;
    transition: opacity var(--transition);
}

.product-card:hover .product-card-image::after {
    opacity: 1;
}

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

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

.product-card-body {
    padding: 24px;
}

.product-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
    transition: color var(--transition);
}

.product-card:hover .product-card-body h3 {
    color: var(--accent);
}

.product-card-body p {
    font-size: 0.925rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

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

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

/* ==========================================
   Categories Grid
   ========================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.category-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    cursor: pointer;
    text-decoration: none;
    display: block;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.2);
}

.category-card-image {
    height: 220px;
    overflow: hidden;
}

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

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

.category-card-body {
    padding: 20px;
    text-align: center;
}

.category-card-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    transition: color var(--transition);
}

.category-card:hover .category-card-body h3 {
    color: var(--accent);
}

.category-count {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 6px;
}

/* ==========================================
   About Section - Split Layout
   ========================================== */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), transparent);
    opacity: 0.1;
    z-index: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-section:hover .about-image img {
    transform: scale(1.03);
}

.about-content {
    padding: 20px 0;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #818cf8);
    border-radius: 2px;
    margin-top: 16px;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* ==========================================
   Stats Section - Modern Counters
   ========================================== */
.stats-bar {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stats-bar .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 20px 16px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================
   Footer - Modern Dark
   ========================================== */
.footer {
    background: #0b1120;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
}

.footer-col {
    min-width: 0;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.footer-about {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: all var(--transition);
    text-decoration: none;
}

.footer-social-link:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--accent);
    transition: transform var(--transition);
}

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

.footer-links a:hover i {
    transform: translateX(4px);
}

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

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer-contact-list li i {
    color: var(--accent);
    margin-top: 4px;
    font-size: 0.9rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contact-list li span {
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.footer-contact-list li a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-contact-list li a:hover {
    color: #fff;
}

.footer-newsletter-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
}

.newsletter-form {
    position: relative;
}

.newsletter-input-group {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    transition: border-color var(--transition);
}

.newsletter-input-group:focus-within {
    border-color: var(--accent);
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255,255,255,0.3);
}

.newsletter-btn {
    padding: 12px 18px;
    background: var(--accent);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background var(--transition);
}

.newsletter-btn:hover {
    background: var(--accent-hover);
}

.newsletter-message {
    font-size: 0.85rem;
    margin-top: 8px;
    color: var(--accent);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color var(--transition);
}

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

/* ==========================================
   Page Content Styles
   ========================================== */
.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0;
}

.page-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.page-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.page-content ul, .page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-content ul li, .page-content ol li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.page-content ul {
    list-style: disc;
}

.page-content ol {
    list-style: decimal;
}

/* ==========================================
   Blog & Post Styles
   ========================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    border: 1px solid var(--border-light);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.2);
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 20px;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
}

.blog-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color var(--transition);
}

.blog-card:hover .blog-card-body h3 {
    color: var(--accent);
}

.blog-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ==========================================
   Product Detail Page
   ========================================== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-detail-gallery {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-detail-gallery img {
    width: 100%;
    height: auto;
}

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

.product-detail-info .product-price {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-detail-info .product-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ==========================================
   Contact Page
   ========================================== */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-wrapper {
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.contact-form-wrapper h2 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all var(--transition);
    background: var(--bg);
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

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

select.form-control {
    background: var(--bg);
    cursor: pointer;
}

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

.contact-info-wrapper {
    padding: 40px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-item i {
    font-size: 1.2rem;
    color: var(--accent);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--accent-light);
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-info-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================
   Alert Messages
   ========================================== */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ==========================================
   Mobile Navigation
   ========================================== */
.mobile-nav-header {
    display: none;
}

@media (max-width: 768px) {
    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        border-bottom: 1px solid var(--border-light);
        margin-bottom: 8px;
    }
    .mobile-nav-header span {
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--dark);
    }
    .mobile-nav-header button {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--text-light);
        padding: 4px;
    }
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    
    .hero-text h1 { font-size: 2.8rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-section { grid-template-columns: 1fr; gap: 40px; }
    .product-detail { grid-template-columns: 1fr; }
    .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.7rem; }
    
    .section { padding: 60px 0; }
    
    .hero-text h1 { font-size: 2.2rem; }
    .hero { min-height: 450px; }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        z-index: 999;
        overflow-y: auto;
    }
    .nav-links.open {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .products-grid { grid-template-columns: 1fr; gap: 20px; }
    .blog-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    
    .stats-bar .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-item:not(:last-child)::after { display: none; }
    
    .cta-section h2 { font-size: 1.8rem; }
    
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { max-width: 100%; }
    .hero-text p { max-width: 100%; }
    .hero-text h1 { font-size: 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-image { display: none; }
    
    .about-section { grid-template-columns: 1fr; }
    .about-image { max-height: 300px; }
    
    .contact-section { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 24px; }
    .contact-info-wrapper { padding: 24px 0; }
    
    .product-detail { grid-template-columns: 1fr; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-social { justify-content: center; }
    
    .container { padding: 0 16px; }
    
    .page-header { padding: 50px 0; }
    .page-header h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    
    .section { padding: 40px 0; }
    
    .hero { min-height: 380px; }
    .hero-text h1 { font-size: 1.8rem; }
    
    .stat-number { font-size: 2rem; }
    .stats-bar .stats-grid { grid-template-columns: repeat(2, 1fr); }
    
    .btn { padding: 12px 24px; font-size: 0.9rem; }
    .btn-lg { padding: 14px 28px; font-size: 1rem; }
}


/* ===== WHABEST Premium Enhancements ===== */

/* Glassmorphism Navbar Enhancement */
.navbar {
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(99, 102, 241, 0.15) !important;
}

/* WHABEST Brand Text Animation */
.hero-content h1 {
    position: relative;
    display: inline-block;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #f59e0b);
    border-radius: 2px;
    animation: brandUnderline 3s ease-in-out infinite;
}

@keyframes brandUnderline {
    0%, 100% { width: 80px; opacity: 1; }
    50% { width: 120px; opacity: 0.7; }
}

/* Premium Stats Section Enhancement */
.stats-bar {
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.03) 50%, transparent 100%);
    animation: statShimmer 4s ease-in-out infinite;
}

@keyframes statShimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* Top Bar Enhancement */
.top-bar {
    background: linear-gradient(135deg, #0c1428, #1a1f3a) !important;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1) !important;
}

/* Product Card Border Glow Enhancement */
.product-card {
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), transparent, rgba(245, 158, 11, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* CTA Section Enhancement */
.cta-section {
    position: relative;
}

.cta-section::after {
    content: 'WHABEST';
    position: absolute;
    bottom: 10px;
    right: 30px;
    font-size: 120px;
    font-weight: 800;
    color: rgba(99, 102, 241, 0.03);
    letter-spacing: 8px;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.cta-section > .container {
    position: relative;
    z-index: 1;
}

/* Smooth Scrollbar */
html {
    scroll-behavior: smooth;
}

/* Focus ring for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Loading skeleton for images */
img[loading="lazy"] {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s ease-in-out infinite;
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
