/**
 * ============================================
 * HIZEM PHARMA - Glassmorphism Style
 * ============================================
 * Brand: Hizem Pharma
 * Style: Glass Design, Ultra Minimal, Animated
 * Design: Glassmorphism with gradient backgrounds
 * Accent: Minimal Red (Rare touches only)
 * Date: December 30, 2025
 * ============================================
 */

/* ============================================
   CSS VARIABLES - Glassmorphism Theme
   ============================================ */
:root {
    /* Green Pharmacy Theme */
    --primary-green: #e23543;
    --primary-color: #C11818;
    --primary-dark: #3d0a0a;
    --lime-green: #e74551;
    --light-green: #90EE90;
    --green-soft: rgba(15, 81, 50, 0.1);
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #e23543 0%, #3d0a0a 100%);
    --gradient-green: linear-gradient(135deg, #e74551 0%, #90EE90 100%);
    --gradient-soft: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    --gradient-blue: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Glass Colors */
    --glass-white: rgba(255, 255, 255, 0.7);
    --glass-light: rgba(255, 255, 255, 0.5);
    --glass-medium: rgba(255, 255, 255, 0.3);
    --glass-border: rgba(255, 255, 255, 0.18);
    
    /* Pure Colors */
    --white: #FFFFFF;
    --black: #0A0A0A;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;
    
    /* Text Colors */
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    
    /* Typography - Next.js Inter Font */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Next.js Style Gradients */
    --gradient-vercel: linear-gradient(to right, #0070f3, #00c9ff);
    --gradient-nextjs: linear-gradient(135deg, #000000 0%, #434343 100%);
    --gradient-cyan: linear-gradient(to right, #06b6d4, #3b82f6);
    --gradient-purple: linear-gradient(to right, #8b5cf6, #ec4899);
    --gradient-rainbow: linear-gradient(90deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.75rem;
    --radius-full: 9999px;
    
    /* Glassmorphism */
    --glass-blur: blur(16px);
    --glass-blur-heavy: blur(24px);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-shadow-lg: 0 16px 48px 0 rgba(31, 38, 135, 0.2);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   ANIMATED GRADIENT BACKGROUND
   ============================================ */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.05;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.7;
    background: #ffffff;
    overflow-x: hidden;
    font-size: 16px;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* ============================================
   MODERN ANIMATIONS (Next.js Style)
   ============================================ */
@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; opacity: 0; }
.stagger-2 { animation-delay: 0.2s; opacity: 0; }
.stagger-3 { animation-delay: 0.3s; opacity: 0; }
.stagger-4 { animation-delay: 0.4s; opacity: 0; }

/* Hover effects */
.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.hover-scale {
    transition: transform var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-wide {
    max-width: 1536px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Modern spacing utilities */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.pt-1 { padding-top: var(--space-1); }
.pt-2 { padding-top: var(--space-2); }
.pt-3 { padding-top: var(--spacing-lg); }
.pt-4 { padding-top: var(--spacing-xl); }

.pb-1 { padding-bottom: var(--spacing-sm); }
.pb-2 { padding-bottom: var(--spacing-md); }
.pb-3 { padding-bottom: var(--spacing-lg); }
.pb-4 { padding-bottom: var(--spacing-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--dark-grey);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.text-primary { color: var(--primary-color); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-warning { color: var(--warning-color); }
.text-muted { color: var(--text-light); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--success-color);
    color: var(--secondary-color);
}

.btn-success:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-white {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.btn-white:hover {
    background: transparent;
    color: var(--secondary-color);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    background: var(--secondary-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: var(--spacing-md);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-grey);
}

.card-text {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.badge-primary { background: var(--primary-color); color: white; }
.badge-success { background: var(--success-color); color: white; }
.badge-danger { background: var(--danger-color); color: white; }
.badge-warning { background: var(--warning-color); color: var(--dark-grey); }
.badge-info { background: var(--info-color); color: white; }

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--dark-grey);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid var(--medium-grey);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: var(--secondary-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(177, 18, 18, 0.1);
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
}

.form-check {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: var(--success-color);
}

.alert-error,
.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-color: var(--danger-color);
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-color: var(--warning-color);
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: var(--info-color);
}

/* ============================================
   SECTION SPACING
   ============================================ */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-grey);
    margin-bottom: var(--spacing-sm);
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-light);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner {
    border: 4px solid var(--light-grey);
    border-top: 4px solid var(--primary-color);
    border-radius: var(--radius-round);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   LAZY LOADING PLACEHOLDER
   ============================================ */
.lazy-img {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.lazy-img.loaded {
    opacity: 1;
}

.img-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-4);
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .container {
        padding: 0 var(--space-4);
    }
    
    section {
        padding: var(--space-12) 0;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PHARMACY HERO SECTION - MEDCORE STYLE
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    overflow: hidden;
    padding: var(--space-16) 0;
    border-radius: 0 0 32px 32px;
}

/* Product Showcase Circle */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 8%;
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #FFB74D 0%, #FFA726 100%);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.hero::after {
    content: '';
    display: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: var(--space-8);
    color: var(--lime-green);
    letter-spacing: -0.04em;
    text-transform: capitalize;
}

.hero h1 .gradient-text {
    color: var(--lime-green);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--lime-green);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    max-width: 500px;
    line-height: 1.5;
    font-weight: 400;
}

.hero .btn-group {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   GLASSMORPHISM BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    border: 1px solid var(--glass-border);
    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.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background: var(--light-green);
}

.btn-white {
    background: var(--glass-white);
    color: var(--text-primary);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shadow);
}

.btn-white:hover {
    background: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--glass-shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: var(--glass-light);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-2px);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: 1.125rem;
}

.btn-sm {
    padding: var(--space-2) var(--space-5);
    font-size: 0.875rem;
}

/* ============================================
   GLASSMORPHISM FEATURE CARDS
   ============================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    padding: var(--space-16) 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    text-align: center;
    transition: all var(--transition-slow);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--glass-shadow-lg);
    background: var(--white);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--green-soft);
    border-radius: 12px;
    transition: all var(--transition-base);
    color: var(--primary-green);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    background: var(--primary-green);
    color: var(--white);
}

.feature-card h4 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ============================================
   GLASSMORPHISM PRODUCT CARDS
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-8);
}

.product-card {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-green);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.15) rotate(2deg);
}

.product-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    background: var(--primary-green);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card-content {
    padding: var(--space-8);
}

.product-category {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-3);
    font-weight: 600;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    line-height: 1.3;
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.product-price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
}

.product-price-old {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* ============================================
   GLASSMORPHISM SECTIONS
   ============================================ */
section {
    padding: var(--space-20) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-5);
    background: var(--glass-white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-6);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    box-shadow: var(--glass-shadow);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--space-5);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   CATEGORY CARDS
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
}

.category-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(177, 18, 18, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, rgba(177, 18, 18, 0.1) 0%, rgba(177, 18, 18, 0.05) 100%);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.category-card:hover .category-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.category-count {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ============================================
   GLASSMORPHISM TOP BAR & HEADER
   ============================================ */
.top-bar {
    background: var(--glass-white);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: var(--space-2) 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.top-bar a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.top-bar a:hover {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.top-bar i {
    font-size: 0.8rem;
}

/* Main Header */
.header {
    background: var(--glass-white);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    box-shadow: var(--glass-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--space-5) 0;
    border-bottom: 1px solid var(--glass-border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.625rem;
    font-weight: 900;
    transition: all var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-base);
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo span {
    white-space: nowrap;
    color: var(--primary-green);
    font-weight: 800;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 600px;
}

.search-form {
    position: relative;
    display: flex;
}

.search-input {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    padding-right: var(--space-12);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    background: var(--glass-light);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.search-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: var(--white);
}

.search-btn {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(0%);
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-bounce);
    /* box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); */
}

.search-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

/* Header Icons */
.header-icons {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

.header-icon {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-base);
    background: var(--glass-light);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-icon:hover {
    background: var(--glass-white);
    color: var(--text-primary);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--glass-shadow);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.625rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    padding: 0 var(--space-1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

/* Navigation Menu */
/* ====================================
   RED THEME NAVIGATION MENU
   ==================================== */

.nav {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid #E63946;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.15);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, top 0.3s ease-in-out;
}

.nav.hide {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.nav.show {
    transform: translateY(0);
    opacity: 1;
}

.nav-content {
    padding: 0;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 1.1rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link i {
    margin-right: 0.3rem;
    color: var(--primary-color);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 3px;
    background: linear-gradient(135deg, #E63946 0%, #d62839 100%);
    transform: translateX(-50%);
    transition: all 0.3s ease;
    border-radius: 50px;
}

.nav-link:hover {
    color: #E63946;
    background: rgba(230, 57, 70, 0.1);
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0.5rem;
    right: 0.5rem;
}

.nav-link.active {
    color: #E63946;
    font-weight: 700;
    background: rgba(230, 57, 70, 0.08);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--space-2);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* Responsive Header & Nav */
@media (max-width: 768px) {
    .search-bar {
        order: 3;
        width: 100%;
        max-width: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        top: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        flex-direction: column;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
        border-right: 2px solid #E63946;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 1.5rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link::before {
        left: 0;
        right: auto;
        width: 0;
        height: 100%;
        transform: none;
        border-radius: 0 4px 4px 0;
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
        width: 4px;
    }
}


/* ============================================
   NEXT.JS STYLE ENHANCEMENTS
   ============================================ */

/* Container with max-width like Next.js */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

@media (min-width: 1536px) {
    .container {
        max-width: 1280px;
    }
}

/* Next.js Style Grid System */
.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.grid-auto-fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-8);
}

/* Next.js Gradient Text */
.gradient-text-nextjs {
    background: linear-gradient(to right, #0070f3, #00c9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Next.js Style Cards with Enhanced Glass */
.card-nextjs {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: all var(--transition-slow);
}

.card-nextjs:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 
        0 20px 48px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Next.js Link Hover Effect */
.link-nextjs {
    position: relative;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.link-nextjs::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-vercel);
    transition: width var(--transition-base);
}

.link-nextjs:hover::after {
    width: 100%;
}

/* ============================================
   MOBILE APP STYLE - ANDROID/iOS
   ============================================ */

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: var(--space-2) 0;
    z-index: 1000;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    body {
        padding-bottom: 70px;
    }
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-2) var(--space-3);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
}

.mobile-nav-item.active {
    color: #667eea;
}

.mobile-nav-item i {
    font-size: 1.5rem;
    margin-bottom: var(--space-1);
}

.mobile-nav-item:active {
    transform: scale(0.95);
}

/* Pull-to-Refresh Indicator */
.pull-to-refresh {
    position: fixed;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: top var(--transition-base);
}

.pull-to-refresh.visible {
    top: 10px;
}

/* Mobile Card Stacking */
@media (max-width: 768px) {
    .product-grid,
    .feature-grid,
    .category-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        padding: 0 var(--space-4);
    }
    
    .product-card,
    .feature-card,
    .category-card {
        max-width: 100%;
    }
}

/* iOS Style Scrolling */
* {
    -webkit-overflow-scrolling: touch;
}

/* Android Material Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Native App-like Transitions */
@media (max-width: 768px) {
    .page-transition {
        animation: slideInRight 0.3s ease-out;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Safe Area for Notched Phones */
@supports (padding: max(0px)) {
    .header,
    .mobile-bottom-nav {
        padding-left: max(var(--space-4), env(safe-area-inset-left));
        padding-right: max(var(--space-4), env(safe-area-inset-right));
    }
    
    .mobile-bottom-nav {
        padding-bottom: max(var(--space-2), env(safe-area-inset-bottom));
    }
}

/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease-out 2s forwards;
}

.splash-logo {
    width: 120px;
    height: 120px;
    margin-bottom: var(--space-6);
    animation: bounce 1s ease-in-out infinite;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Floating Action Button (FAB) - Material Design */
.fab {
    /* position: fixed;
    bottom: 80px;
    right: var(--space-6);
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 999; */
}
.footer-section .footer-social a {
    text-align: center;
    /* padding: 3rem 2rem; */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.6);
}

.fab:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .fab {
        bottom: 90px;
        right: var(--space-4);
        width: 52px;
        height: 52px;
    }
}

/* Snackbar Notifications - Material Design */
.snackbar {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(200px);
    background: rgba(50, 50, 50, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    transition: transform var(--transition-base);
}

.snackbar.show {
    transform: translateX(-50%) translateY(0);
}

/* Loading Skeleton - Next.js Style */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

/* Improved Touch Targets for Mobile */
@media (max-width: 768px) {
    button,
    .btn,
    a.header-icon,
    .nav-link {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Enhance Header Glass Effect */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Enhanced Top Bar */
.top-bar {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Enhanced Navigation */
.nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}


/* ============================================
   UNIFIED DESIGN SYSTEM
   Glass + Next.js + MEDCORE Layout
   ============================================ */

/* Hero Section - Dark Green with Glass Accents */
.unified-hero {
    position: relative;
    min-height: 85vh;
    background: linear-gradient(135deg, #e23543 0%, #3d0a0a 100%);
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    border-radius: 0 0 48px 48px;
    overflow: hidden;
}

.unified-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(124, 252, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(144, 238, 144, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.hero-product-circle {
    position: absolute;
    top: 50%;
    right: 8%;
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, #FFB74D 0%, #FF9800 100%);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 20px 80px rgba(255, 183, 77, 0.4);
    z-index: 1;
}

.unified-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: clamp(4.5rem, 12vw, 9rem);
    font-weight: 900;
    line-height: 0.9;
    color: #e74551;
    margin-bottom: 1.5rem;
    letter-spacing: -0.05em;
    text-transform: capitalize;
    text-shadow: 0 4px 20px rgba(124, 252, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    color: #e23543;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: #e74551;
    color: #e23543;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Circular Categories - MEDCORE Style */
.unified-categories {
    padding: 5rem 0;
    background: #ffffff;
}

.unified-section-title {
    text-align: center;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 900;
    color: #111827;
    margin-bottom: 4rem;
    letter-spacing: -0.03em;
}

.unified-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.unified-category-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.unified-category-item:hover {
    transform: translateY(-12px);
}

.unified-category-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 3.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.unified-category-circle::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.unified-category-item:hover .unified-category-circle {
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.unified-category-item:hover .unified-category-circle::after {
    opacity: 1;
}

/* Category Circle Colors */
.unified-category-circle.yellow {
    background: linear-gradient(135deg, #FFF9C4 0%, #FFF59D 100%);
}

.unified-category-circle.pink {
    background: linear-gradient(135deg, #F8BBD0 0%, #F48FB1 100%);
}

.unified-category-circle.white {
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.unified-category-circle.beige {
    background: linear-gradient(135deg, #FFECB3 0%, #FFE082 100%);
}

.unified-category-circle.blue {
    background: linear-gradient(135deg, #B3E5FC 0%, #81D4FA 100%);
}

.unified-category-circle.purple {
    background: linear-gradient(135deg, #E1BEE7 0%, #CE93D8 100%);
}

.unified-category-circle.green {
    background: linear-gradient(135deg, #C8E6C9 0%, #A5D6A7 100%);
}

.unified-category-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

/* Features Section with Glass Cards */
.unified-features {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}

.unified-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.unified-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.unified-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 1);
}

.unified-feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e23543 0%, #631417 100%);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(15, 81, 50, 0.3);
}

.unified-feature-content h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
}

.unified-feature-content p {
    font-size: 0.9375rem;
    color: #6B7280;
    line-height: 1.6;
}

/* Products Section */
.unified-products {
    padding: 5rem 0;
    background: #F9FAFB;
}

.unified-products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.unified-products-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 900;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.unified-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    color: #e23543;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: gap 0.3s ease;
}

.unified-view-all:hover {
    gap: 1rem;
    color: #631417;
}

.unified-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Clean Product Card with Glass Effect */
.unified-product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.unified-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(15, 81, 50, 0.2);
}

.unified-product-image {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    overflow: hidden;
}

.unified-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.unified-product-card:hover .unified-product-image img {
    transform: scale(1.1);
}

.unified-wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 1.125rem;
    color: #6B7280;
}

.unified-wishlist-btn:hover {
    background: #e23543;
    color: white;
    transform: scale(1.1);
}

.unified-product-content {
    padding: 1.5rem;
}

.unified-product-brand {
    font-size: 0.875rem;
    color: #9CA3AF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.unified-product-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.unified-product-name:hover {
    color: #e23543;
}

.unified-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
    gap: 1rem;
}

.unified-product-price-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.unified-product-price {
    font-size: 1.625rem;
    font-weight: 900;
    color: #e23543;
}

.unified-product-price-old {
    font-size: 1rem;
    color: #9CA3AF;
    text-decoration: line-through;
}

.unified-add-cart-btn {
    padding: 0.75rem 1.5rem;
    background: #111827;
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.unified-add-cart-btn:hover {
    background: #e23543;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 81, 50, 0.3);
}

/* CTA Section with Glass Effect */
.unified-cta {
    padding: 5rem 0;
    /* background: linear-gradient(135deg, #e23543 0%, #3d0a0a 100%); */
    background: linear-gradient(135deg, #e23543 0%, #3d0a0a 100%);
    position: relative;
    overflow: hidden;
}

.unified-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(124, 252, 0, 0.1) 0%, transparent 50%);
}

.unified-cta-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 32px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.unified-cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.unified-cta-text {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.unified-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.25rem 3rem;
    background: rgba(255, 255, 255, 0.95);
    color: #e23543;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.unified-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    background: #e74551;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-product-circle {
        width: 260px;
        height: 260px;
        right: 5%;
    }
}

@media (max-width: 768px) {
    .unified-hero {
        min-height: 70vh;
        padding: 4rem 0 3rem;
        border-radius: 0 0 32px 32px;
    }
    
    .hero-product-circle {
        width: 200px;
        height: 200px;
        right: 50%;
        transform: translate(50%, -50%);
        opacity: 0.3;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .unified-category-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 2rem 1rem;
    }
    
    .unified-category-circle {
        width: 110px;
        height: 110px;
        font-size: 3rem;
    }
    
    .unified-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.25rem;
    }
    
    .unified-products-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .unified-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .unified-product-content {
        padding: 1rem;
    }
    
    .unified-add-cart-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }
}


/* ============================================
   FEATURED PROMO CARDS (Vitamin D3 & Operational)
   ============================================ */
.featured-promo-section {
    padding: 2rem 0 4rem;
    background: #ffffff;
}

.featured-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.featured-promo-card {
    border-radius: 24px;
    overflow: hidden;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.featured-promo-card:hover {
    transform: translateY(-8px);
}

.featured-promo-card.green-card {
    background: linear-gradient(135deg, #e23543 0%, #3d0a0a 100%);
    color: white;
}

.featured-promo-card.purple-card {
    background: linear-gradient(135deg, #E8DEF8 0%, #D4C5F9 100%);
    color: #111827;
}

.promo-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.promo-image img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.promo-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.green-card .promo-text h3 {
    color: #ffffff;
}

.promo-text p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.promo-shop-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: #e74551;
    color: #e23543;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.promo-shop-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(124, 252, 0, 0.3);
}

.promo-text-only {
    flex: 1;
}

.promo-text-only h3 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.promo-text-only h3 span {
    display: block;
}

.promo-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #111827;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-top: 0.5rem;
    transition: gap 0.3s ease;
}

.promo-link-btn:hover {
    gap: 0.875rem;
}

.promo-doctor-image {
    width: 160px;
    flex-shrink: 0;
}

.promo-doctor-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ============================================
   DIAGNOSTIC & DRUG DESIGN SECTION
   ============================================ */
.diagnostic-drug-section {
    padding: 4rem 0;
    background: #F9FAFB;
}

.diagnostic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.diagnostic-left {
    position: relative;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.breadcrumb-nav i {
    font-size: 0.625rem;
}

.diagnostic-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.diagnostic-product-card {
    background: linear-gradient(135deg, #FFF9C4 0%, #FFF59D 100%);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.diagnostic-product-card img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.diagnostic-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drug-design-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.drug-design-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #e23543;
}

.drug-design-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.25rem;
}

.drug-design-card p {
    font-size: 0.875rem;
    color: #6B7280;
}

.drug-design-card i {
    font-size: 1.25rem;
    color: #e23543;
    flex-shrink: 0;
}

/* ============================================
   FEATURED BRANDS SECTION
   ============================================ */
.featured-brands-section {
    padding: 4rem 0;
    background: white;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.brands-section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #111827;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.brand-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.brand-logo-item:hover {
    opacity: 1;
}

.brand-logo-item img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-logo-item:hover img {
    filter: grayscale(0%);
}

/* ============================================
   TRENDING PRODUCTS SECTION
   ============================================ */
.trending-products-section {
    padding: 5rem 0;
    background: white;
}

.trending-section-title {
    text-align: center;
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 900;
    color: #111827;
    margin-bottom: 3.5rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.trending-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.trending-product-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.trending-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: #e23543;
}

.trending-wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.trending-wishlist-btn:hover {
    background: #e23543;
    color: white;
    border-color: #e23543;
}

.trending-product-image {
    text-align: center;
    margin-bottom: 1rem;
    background: #F9FAFB;
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trending-product-image img {
    max-width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
}

.trending-product-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.trending-brand {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.trending-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.trending-prices {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.trending-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: #e23543;
}

.trending-price-old {
    font-size: 0.875rem;
    color: #9CA3AF;
    text-decoration: line-through;
}

.trending-add-btn {
    padding: 0.5rem 1rem;
    background: #111827;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trending-add-btn:hover {
    background: #e23543;
    transform: translateY(-2px);
}

.trending-view-more {
    text-align: center;
    margin-top: 3rem;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid #e23543;
    color: #e23543;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: #e23543;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 81, 50, 0.3);
}

/* ============================================
   RESPONSIVE FOR NEW SECTIONS
   ============================================ */
@media (max-width: 1024px) {
    .diagnostic-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .featured-promo-grid {
        grid-template-columns: 1fr;
    }
    
    .diagnostic-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .drug-design-card {
        padding: 1.5rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 2rem;
    }
    
    .trending-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .promo-card-content {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-image {
        order: 2;
    }
    
    .promo-doctor-image {
        display: none;
    }
    
    .drug-design-card {
        flex-direction: column;
        text-align: center;
    }
    
    .trending-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }
    
    .trending-product-card {
        padding: 1rem;
    }
    
    .trending-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .trending-add-btn {
        width: 100%;
    }
}


/* ============================================
   MODERN TOPBAR WITH RED ACCENT
   ============================================ */
.modern-top-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 0.75rem 0;
    border-bottom: 2px solid #E63946;
    font-size: 0.875rem;
}

.modern-topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.topbar-link,
.topbar-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-weight: 500;
}

.topbar-link:hover {
    color: #E63946;
    transform: translateY(-1px);
}

.topbar-link i {
    font-size: 0.875rem;
    color: #E63946;
}

.topbar-text i {
    color: #E63946;
}

.register-link {
    background: #E63946;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    color: white !important;
}

.register-link:hover {
    background: #d62839;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.register-link i {
    color: white;
}

/* ============================================
   MODERN HEADER WITH RED LOGO
   ============================================ */
.modern-header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #f0f0f0;
}

.modern-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.modern-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.modern-logo:hover {
    transform: scale(1.02);
}

.modern-logo-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #E63946 0%, #d62839 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
    position: relative;
}

.modern-logo-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #E63946, #ff6b7a);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.modern-logo:hover .modern-logo-icon::before {
    opacity: 1;
}

.modern-logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.logo-name {
    font-size: 1.75rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -0.02em;
}

.logo-tagline {
    font-size: 0.875rem;
    font-weight: 600;
    color: #E63946;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============================================
   MODERN HERO SECTION REDESIGN
   ============================================ */
.modern-hero-section {
    position: relative;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.modern-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.modern-hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 50px;
    color: #E63946;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 0.75rem;
}

.modern-hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-title-accent {
    color: #E63946;
    position: relative;
    display: inline-block;
}

.hero-title-accent::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(230, 57, 70, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.modern-hero-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #6B7280;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.hero-stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #E63946;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #6B7280;
    font-weight: 600;
}

.modern-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: linear-gradient(135deg, #E63946 0%, #d62839 100%);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.0625rem;
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.4);
    background: linear-gradient(135deg, #d62839 0%, #c51f2a 100%);
}

.btn-modern-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2.5rem;
    background: white;
    color: #E63946;
    border: 2px solid #E63946;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: all 0.3s ease;
}

.btn-modern-outline:hover {
    background: #E63946;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
}

/* Hero Image Section */
.modern-hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(230, 57, 70, 0.05) 100%);
    border-radius: 50%;
    z-index: 0;
    overflow: hidden;
}

.hero-main-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.hero-float-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 0.9375rem;
    z-index: 2;
    animation: floatAnimation 3s ease-in-out infinite;
}

.hero-float-card i {
    font-size: 1.5rem;
    color: #E63946;
}

.hero-float-card.card-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 1.5s;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Decorative Elements */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    z-index: 0;
}

.decoration-1 {
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
}

.decoration-2 {
    bottom: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
}

/* ============================================
   RESPONSIVE MODERN DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .modern-hero-grid {
        gap: 3rem;
    }
    
    .hero-circle-bg {
        width: 380px;
        height: 380px;
    }
    
    .hero-main-img {
        width: 380px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .modern-topbar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .topbar-left,
    .topbar-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .modern-logo-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .logo-name {
        font-size: 1.5rem;
    }
    
    .modern-hero-section {
        padding: 4rem 0 3rem;
    }
    
    .modern-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .modern-hero-content {
        max-width: 100%;
        order: 1;
    }
    
    .modern-hero-image {
        order: 2;
    }
    
    .hero-badge,
    .modern-hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .modern-hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-float-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .modern-hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .btn-modern-primary,
    .btn-modern-outline {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .hero-circle-bg {
        width: 280px;
        height: 280px;
    }
    
    .hero-main-img {
        width: 280px;
        height: 280px;
    }
    
    .topbar-text {
        display: none;
    }
}


/* ====================================
   RED THEME NAVIGATION MENU - Updated
   ==================================== */

/* Navigation Bar - Dark with Red Accent */
.nav {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid #E63946;
    position: sticky;
    top: 95px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.15);
}

.nav-content {
    padding: 0;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 1.1rem 1.5rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link i {
    margin-right: 0.3rem;
    color: #E63946;
}

.nav-link::before {
    content: '''';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 3px;
    background: linear-gradient(135deg, #E63946 0%, #d62839 100%);
    transform: translateX(-50%);
    transition: all 0.3s ease;
    border-radius: 50px;
}

.nav-link:hover {
    color: #E63946;
    background: rgba(230, 57, 70, 0.1);
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0.5rem;
    right: 0.5rem;
}

.nav-link.active {
    color: #E63946;
    font-weight: 700;
    background: rgba(230, 57, 70, 0.08);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav {
        top: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        flex-direction: column;
        background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
        padding: 1.5rem 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
        border-right: 2px solid #E63946;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link::before {
        height: 2px;
        left: 0;
        right: auto;
        width: 0;
        transform: none;
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
        width: 4px;
        left: 0;
        right: auto;
        height: 100%;
        border-radius: 0 4px 4px 0;
    }
}

