/* ═══════════════════════════════════════════════════════════
   LumasPharma — Premium Pharmaceutical Website Stylesheet
   Modern gradient design inspired by leading pharma companies
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────── */
:root {
    --primary: #0d47a1;
    --primary-light: #1565c0;
    --primary-dark: #0a3d91;
    --secondary: #00897b;
    --secondary-light: #26a69a;
    --accent: #00bcd4;
    --teal: #009688;
    --green: #43a047;
    --purple: #7c4dff;
    --orange: #ff6d00;
    --red: #e53935;

    --gradient-primary: linear-gradient(135deg, #0d47a1, #00897b);
    --gradient-hero: linear-gradient(135deg, #0a1628 0%, #0d2847 30%, #0d47a1 60%, #00695c 100%);
    --gradient-card: linear-gradient(135deg, #e3f2fd, #e0f2f1);
    --gradient-cta: linear-gradient(135deg, #0d47a1, #00695c);
    --gradient-text: linear-gradient(135deg, #0d47a1, #00897b);
    --gradient-glow: linear-gradient(135deg, rgba(13,71,161,0.15), rgba(0,137,123,0.15));

    --bg-light: #f8fafb;
    --bg-white: #ffffff;
    --bg-section: #f0f4f8;
    --text-primary: #1a2332;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --text-light: #a0aec0;
    --border: #e2e8f0;
    --border-light: #edf2f7;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 30px rgba(13,71,161,0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', 'Inter', sans-serif;

    --container-max: 1280px;
    --navbar-height: 72px;
}

/* ─── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding { padding: 80px 0; }

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-light { background: var(--gradient-glow); }

/* ─── Buttons ─────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(13,71,161,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13,71,161,0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.2); color: var(--primary); }

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

.btn-lg { padding: 14px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-erp {
    background: var(--gradient-primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(13,71,161,0.3);
}
.btn-erp:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(13,71,161,0.4); color: #fff; }

/* ─── Top Bar REMOVED — Integrated into navbar ─── */

/* ERP Link Button */
.btn-erp-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    color: #fff;
    background: linear-gradient(135deg, #0d47a1, #00897b);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(13,71,161,0.3);
    text-transform: uppercase;
}
.btn-erp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13,71,161,0.45);
    color: #fff;
    background: linear-gradient(135deg, #1565c0, #00a08a);
}
.btn-erp-link i {
    font-size: 0.9rem;
}

/* Navigation Login/Signup Buttons */
.btn-nav-login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: all 0.3s;
    background: transparent;
}
.btn-nav-login:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13,71,161,0.25);
}

.btn-nav-signup {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    background: var(--gradient-primary);
    border: 2px solid transparent;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(13,71,161,0.25);
}
.btn-nav-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(13,71,161,0.35);
    color: #fff;
}

/* User Menu Dropdown */
.user-menu { position: relative; }

.user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    background: var(--bg-white);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--text-primary);
}
.user-btn:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(13,71,161,0.1); }

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.user-avatar-lg {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.user-name { font-weight: 500; }

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border: 1px solid var(--border-light);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
    z-index: 1001;
    overflow: hidden;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border-light);
}
.user-dropdown-header strong { display: block; font-size: 0.9rem; }
.user-dropdown-header small { color: var(--text-muted); font-size: 0.78rem; }

.user-dropdown-body { padding: 8px 0; }
.user-dropdown-body a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: all 0.15s;
}
.user-dropdown-body a:hover { background: rgba(13,71,161,0.04); color: var(--primary); }
.user-dropdown-body a i { width: 18px; text-align: center; font-size: 0.85rem; }

.dropdown-divider { height: 1px; background: var(--border-light); margin: 4px 0; }

/* ─── Premium Navbar ─────────────────────────────── */
.navbar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--navbar-height);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.99);
    height: 64px;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 12px;
    max-width: 1400px;
}

/* Logo */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; }
.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.brand-highlight { color: var(--secondary); }
.brand-tagline {
    font-size: 0.62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

/* Nav Links */
.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar-nav li { position: relative; }

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 11px;
    border-radius: var(--radius-sm);
    transition: all 0.25s;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.nav-icon { font-size: 0.8rem; opacity: 0.6; transition: opacity 0.2s; }
.nav-link:hover .nav-icon { opacity: 1; }

.dropdown-arrow { font-size: 0.55rem; margin-left: 2px; transition: transform 0.2s; }

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(13,71,161,0.06);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

/* Dropdown Menu */
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border: 1px solid var(--border-light);
    min-width: 220px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s;
    z-index: 1001;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.15s;
}
.dropdown-menu a:hover { background: rgba(13,71,161,0.04); color: var(--primary); }
.dropdown-menu a i { width: 18px; text-align: center; color: var(--primary); opacity: 0.7; }

/* Navbar Actions */
.navbar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; overflow: visible; }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.mobile-toggle span {
    width: 22px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Hero Section ─────────────────────────────── */
.hero {
    background: var(--gradient-hero);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px;
}

.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 { width: 400px; height: 400px; background: rgba(0,137,123,0.4); top: -100px; right: 10%; animation: floatOrb 8s ease-in-out infinite; }
.orb-2 { width: 300px; height: 300px; background: rgba(13,71,161,0.5); bottom: -50px; left: 5%; animation: floatOrb 10s ease-in-out infinite reverse; }
.orb-3 { width: 200px; height: 200px; background: rgba(0,188,212,0.3); top: 40%; left: 40%; animation: floatOrb 12s ease-in-out infinite; }

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Particles */
.hero-particles { position: absolute; width: 100%; height: 100%; }
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite;
}
.p1 { top: 20%; left: 15%; animation-delay: 0s; }
.p2 { top: 40%; left: 65%; animation-delay: 0.5s; }
.p3 { top: 70%; left: 25%; animation-delay: 1s; }
.p4 { top: 15%; left: 80%; animation-delay: 1.5s; }
.p5 { top: 60%; left: 50%; animation-delay: 2s; }
.p6 { top: 80%; left: 75%; animation-delay: 2.5s; }

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text { color: #fff; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.9);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4db6ac;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #4db6ac, #64b5f6, #4db6ac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 32px;
    max-width: 560px;
}

/* Hero Search Bar */
.hero-search { margin-bottom: 16px; }

.search-form { width: 100%; }

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-xl);
    padding: 6px 6px 6px 20px;
    transition: all 0.3s;
}

.search-input-wrapper:focus-within {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 30px rgba(0,137,123,0.2);
}

.search-icon { font-size: 1.2rem; margin-right: 12px; }

.hero-search .search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-primary);
    padding: 10px 0;
}

.hero-search .search-input::placeholder { color: rgba(255,255,255,0.5); }

.search-btn {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    font-family: var(--font-primary);
}

.search-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(13,71,161,0.4);
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 12px;
    font-size: 0.83rem;
}

.search-suggestions span { color: rgba(255,255,255,0.5); }

.search-suggestions a {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s;
    font-size: 0.8rem;
}

.search-suggestions a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Hero Visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }

.hero-image-container { position: relative; width: 100%; max-width: 450px; }

.hero-molecule {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow { 100% { transform: rotate(360deg); } }

.hero-floating-card {
    position: absolute;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    animation: floatCard 4s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.hero-floating-card strong { font-size: 1.4rem; display: block; line-height: 1.2; }
.hero-floating-card span:not(.card-icon) { font-size: 0.75rem; color: rgba(255,255,255,0.7); }
.card-icon { font-size: 2rem; }

.card-1 { top: 10%; left: -10%; animation-delay: 0s; }
.card-2 { top: 50%; right: -5%; animation-delay: 1s; }
.card-3 { bottom: 5%; left: 5%; animation-delay: 2s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ─── Stats Section ─────────────────────────────── */
.stats-section {
    background: var(--bg-white);
    padding: 40px 0;
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 40px;
}

.stat-card {
    text-align: center;
    padding: 12px;
}

.stat-icon { font-size: 2.5rem; margin-bottom: 8px; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

/* ─── Section Headers ─────────────────────────────── */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-glow);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(13,71,161,0.15);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ─── Products Grid ─────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.products-grid.grid-4x3 {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13,71,161,0.15);
}

.product-card-image {
    height: 200px;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.placeholder-icon { font-size: 3.5rem; }
.placeholder-form { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

.product-category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.product-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.3;
}

.product-brand {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.product-brand strong { color: var(--primary); }

.product-salt, .product-composition {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    margin-bottom: 8px;
}

.meta-tag {
    background: var(--bg-section);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 4px;
}

.product-card-link {
    display: block;
    text-align: center;
    padding: 14px 20px;
    border-top: 1px solid var(--border-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s;
}

.product-card-link:hover {
    background: rgba(13,71,161,0.04);
    color: var(--secondary);
}

.no-products, .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-results-icon { font-size: 4rem; margin-bottom: 16px; }
.no-results h3 { font-size: 1.5rem; margin-bottom: 8px; }
.no-results p { color: var(--text-muted); margin-bottom: 24px; }

/* ─── Features Grid ─────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13,71,161,0.12);
}

.feature-icon-wrap {
    width: 72px;
    height: 72px;
    background: var(--gradient-glow);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon { font-size: 2rem; }

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ─── Categories Grid ─────────────────────────────── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-primary);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13,71,161,0.15);
    color: var(--primary);
}

.cat-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.category-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.cat-count { font-size: 0.8rem; color: var(--text-muted); }

/* ─── CTA Section ─────────────────────────────── */
.cta-section {
    background: var(--gradient-cta);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg { position: absolute; inset: 0; }
.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}
.cta-orb-1 { width: 300px; height: 300px; background: rgba(0,188,212,0.5); top: -50px; right: 20%; }
.cta-orb-2 { width: 200px; height: 200px; background: rgba(0,137,123,0.5); bottom: -30px; left: 15%; }

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions { display: flex; gap: 16px; justify-content: center; }

/* ─── Page Headers ─────────────────────────────── */
.page-header {
    background: var(--gradient-hero);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.page-header-sm { padding: 50px 0 30px; }

.page-header-bg { position: absolute; inset: 0; }
.page-header-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(0,137,123,0.3);
    border-radius: 50%;
    filter: blur(100px);
    top: -100px;
    right: 10%;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: #fff; }

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-header h1 .gradient-text {
    background: linear-gradient(135deg, #4db6ac, #64b5f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

/* ─── Product Search Form (Products Page) ─────── */
.product-search-section {
    background: var(--bg-white);
    padding: 32px 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: var(--navbar-height);
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.product-search-form .search-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.search-field {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--bg-section);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0 16px;
    transition: all 0.2s;
}

.search-field:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13,71,161,0.1);
}

.search-field .field-icon { font-size: 1.1rem; margin-right: 10px; }

.search-field .search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-primary);
    padding: 14px 0;
}

.search-category { max-width: 250px; }

.category-select {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    padding: 14px 0;
    cursor: pointer;
}

.search-submit {
    padding: 14px 32px;
    white-space: nowrap;
}

.active-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.filter-label { font-size: 0.85rem; color: var(--text-muted); }

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13,71,161,0.08);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: var(--radius-full);
}

.remove-filter { color: var(--red); font-weight: 700; font-size: 1rem; }
.clear-all { color: var(--red); font-size: 0.82rem; font-weight: 500; margin-left: 8px; }

.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ─── Pagination ─────────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.page-btn:hover { border-color: var(--primary); color: var(--primary); }

.page-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(13,71,161,0.3);
}

.page-dots { color: var(--text-muted); padding: 0 4px; }

/* ─── Categories Page ─────────────────────────────── */
.alphabet-nav-section {
    background: var(--bg-white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: var(--navbar-height);
    z-index: 50;
}

.alphabet-nav {
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
}

.alpha-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-decoration: none;
}

.alpha-link.active-letter {
    background: rgba(13,71,161,0.08);
    color: var(--primary);
    cursor: pointer;
}

.alpha-link.active-letter:hover {
    background: var(--gradient-primary);
    color: #fff;
}

.alpha-link.disabled {
    color: var(--text-light);
    cursor: default;
}

.category-letter-group { margin-bottom: 40px; }

.letter-header { margin-bottom: 20px; }

.letter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    border-radius: var(--radius-md);
}

.category-card-full {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.category-card-full:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13,71,161,0.15);
    color: var(--primary);
}

.cat-card-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.cat-card-body h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 2px; }
.cat-card-count { font-size: 0.82rem; color: var(--text-muted); }
.cat-card-arrow { font-size: 1.2rem; color: var(--text-light); margin-left: auto; transition: all 0.2s; }
.category-card-full:hover .cat-card-arrow { color: var(--primary); transform: translateX(4px); }

/* Dosage Forms */
.dosage-forms-section { margin-top: 60px; }

.dosage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.dosage-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.dosage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13,71,161,0.15);
}

.dosage-icon { font-size: 2rem; }
.dosage-name { font-size: 0.9rem; font-weight: 600; }

/* ─── Product Detail ─────────────────────────────── */
.detail-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 48px;
    align-items: start;
}

.detail-image {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.detail-image img { width: 100%; height: 100%; object-fit: cover; }

.detail-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.placeholder-icon-lg { font-size: 5rem; }

.detail-category-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-top: 12px;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.detail-brand, .detail-salt, .detail-row {
    font-size: 1rem;
    margin-bottom: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.detail-brand .label, .detail-salt .label, .detail-row .label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.detail-brand .value, .detail-salt .value, .detail-row .value {
    color: var(--primary);
    font-weight: 600;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.spec-item {
    background: var(--bg-section);
    border-radius: var(--radius-md);
    padding: 16px;
}

.spec-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; display: block; }
.spec-value { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-top: 4px; display: block; }
.spec-value.price { color: var(--primary); font-size: 1.3rem; }

.detail-section {
    margin: 24px 0;
    padding: 20px;
    background: var(--bg-section);
    border-radius: var(--radius-md);
}

.detail-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.detail-section p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.detail-additional { margin-top: 24px; }
.detail-additional h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 16px; }

.detail-table {
    width: 100%;
    border-collapse: collapse;
}

.detail-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.detail-table td:first-child {
    font-weight: 600;
    color: var(--text-muted);
    width: 200px;
}

.detail-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* ─── About Page ─────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }

.about-image-placeholder {
    background: var(--gradient-card);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.about-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-icon-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.about-icon-card span { font-size: 2.5rem; display: block; margin-bottom: 8px; }
.about-icon-card label { font-weight: 600; font-size: 0.85rem; color: var(--text-secondary); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-icon { font-size: 2.5rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mission-card {
    background: var(--gradient-glow);
    border-radius: var(--radius-xl);
    padding: 48px 36px;
    border: 1px solid rgba(13,71,161,0.1);
}

.mission-icon { font-size: 2.5rem; margin-bottom: 16px; }
.mission-card h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.mission-card p { color: var(--text-secondary); line-height: 1.8; }

/* ─── Quality Page ─────────────────────────────── */
.quality-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quality-step {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: all 0.3s;
}

.quality-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.step-number {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--gradient-primary);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.step-icon { font-size: 2.5rem; margin-bottom: 16px; margin-top: 8px; }
.quality-step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.quality-step p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cert-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cert-icon { font-size: 3rem; margin-bottom: 16px; }
.cert-card h3 { font-weight: 700; margin-bottom: 8px; }
.cert-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

.lab-equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lab-card {
    background: var(--gradient-glow);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid rgba(13,71,161,0.08);
    transition: all 0.3s;
}

.lab-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lab-icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.lab-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.lab-card p { font-size: 0.82rem; color: var(--text-secondary); }

/* ─── Manufacturing Page ─────────────────────────── */
.mfg-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mfg-cap-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.mfg-cap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.mfg-cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.mfg-cap-icon { font-size: 2.5rem; margin-bottom: 16px; }
.mfg-cap-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; }
.mfg-cap-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }

.mfg-cap-tag {
    display: inline-block;
    background: var(--gradient-glow);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: var(--radius-full);
}

.process-flow {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.process-step {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    min-width: 150px;
    max-width: 180px;
    flex: 1;
}

.process-num {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 auto 12px;
}

.process-step h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.process-step p { font-size: 0.78rem; color: var(--text-muted); }

.process-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    padding-top: 30px;
    font-weight: 700;
}

/* ─── Contact Page ─────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
}

.contact-form-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all 0.2s;
    background: var(--bg-white);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13,71,161,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

.contact-info-sidebar { display: flex; flex-direction: column; gap: 20px; }

.info-card {
    background: var(--gradient-glow);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid rgba(13,71,161,0.08);
}

.info-icon { font-size: 1.5rem; margin-bottom: 8px; }
.info-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.info-card p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.info-card a { color: var(--primary); }

.info-card.erp-info {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}
.info-card.erp-info h4 { color: #fff; }
.info-card.erp-info p { color: rgba(255,255,255,0.8); }
.info-card.erp-info a { color: #4db6ac; }

/* ─── Auth Pages (Login + Register) ───────────── */
.auth-section {
    min-height: calc(100vh - var(--navbar-height));
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f5f3 50%, #f0f4ff 100%);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13,71,161,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,137,123,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-container { position: relative; z-index: 1; width: 100%; max-width: 540px; }

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.8);
    padding: 48px 40px;
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo { margin-bottom: 20px; }
.auth-logo svg { margin: 0 auto; display: block; }
.auth-header h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 6px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.auth-header p { color: var(--text-muted); font-size: 0.92rem; }

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-form .form-group { margin-bottom: 18px; }

.auth-form label {
    display: block;
    font-weight: 600;
    font-size: 0.83rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.required { color: var(--red); }

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    font-size: 1rem;
    pointer-events: none;
    z-index: 1;
}

.input-icon-wrap input {
    padding-left: 40px !important;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type='checkbox'] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.forgot-link { color: var(--primary); font-weight: 500; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-light);
    font-size: 0.82rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.auth-footer a { color: var(--primary); font-weight: 600; }

/* Legacy login styles (compat) */
.login-section { /* same as auth-section */ }
.login-card { /* same as auth-card */ }
.login-header { text-align: center; margin-bottom: 32px; }
.login-footer { text-align: center; margin-top: 24px; font-size: 0.88rem; color: var(--text-muted); }
.login-footer a { color: var(--primary); font-weight: 600; }

/* ─── Footer ─────────────────────────────── */
.footer {
    background: linear-gradient(180deg, #0a1628, #0d1f3c);
    color: rgba(255,255,255,0.7);
    position: relative;
    padding-top: 40px;
}

.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    right: 0;
    height: 60px;
    color: #0a1628;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #fff;
    font-size: 1.2rem;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-certifications {
    display: flex;
    gap: 8px;
}

.cert-badge {
    background: rgba(0,137,123,0.2);
    color: #4db6ac;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0,137,123,0.3);
}

.footer-links h4, .footer-contact h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: all 0.2s;
}

.footer-links a:hover { color: #4db6ac; padding-left: 4px; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

.contact-icon { font-size: 1rem; }
.contact-item a { color: rgba(255,255,255,0.6); }
.contact-item a:hover { color: #4db6ac; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); }
.footer-bottom-links a:hover { color: #4db6ac; }

/* ─── Admin Product Management ─────────────────── */
.admin-section { padding: 40px 0; }

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table th, .admin-table td {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.88rem;
}

.admin-table th {
    background: var(--gradient-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td { border-bottom: 1px solid var(--border-light); }
.admin-table tr:hover td { background: rgba(13,71,161,0.02); }

.admin-table .btn-sm {
    padding: 6px 14px;
    font-size: 0.78rem;
}

/* ─── Premium Admin Dashboard ─────────────────── */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - var(--navbar-height));
    background: #f5f7fa;
}

.admin-sidebar {
    background: linear-gradient(180deg, #0d1f3c, #0a1628);
    color: rgba(255,255,255,0.8);
    padding: 24px 0;
    overflow-y: auto;
}

.admin-sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 16px;
}

.admin-sidebar-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 4px;
}

.admin-sidebar-header p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

.admin-nav { list-style: none; padding: 0; margin: 0; }

.admin-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.admin-nav li a:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.admin-nav li a.active {
    background: rgba(13,71,161,0.3);
    color: #fff;
    border-left-color: var(--secondary);
}

.admin-nav li a i { width: 20px; text-align: center; font-size: 0.9rem; }

.admin-nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 12px 0;
}

.admin-nav-label {
    padding: 8px 24px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.3);
    font-weight: 600;
}

/* Sidebar Badge (unread count) */
.sidebar-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: auto;
}

/* Stat card red variant */
.stat-card-icon.red {
    background: rgba(239,68,68,0.1);
    color: #ef4444;
}

/* Admin Main Content */
.admin-main {
    padding: 32px;
    overflow-y: auto;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-page-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.admin-page-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.admin-header-actions { display: flex; gap: 10px; align-items: center; }

/* Dashboard Stats */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.admin-stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.admin-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.admin-stat-card:nth-child(1)::before { background: var(--primary); }
.admin-stat-card:nth-child(2)::before { background: var(--secondary); }
.admin-stat-card:nth-child(3)::before { background: var(--orange); }
.admin-stat-card:nth-child(4)::before { background: var(--purple); }

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.stat-card-icon.blue { background: rgba(13,71,161,0.1); color: var(--primary); }
.stat-card-icon.green { background: rgba(0,137,123,0.1); color: var(--secondary); }
.stat-card-icon.orange { background: rgba(255,109,0,0.1); color: var(--orange); }
.stat-card-icon.purple { background: rgba(124,77,255,0.1); color: var(--purple); }

.admin-stat-card .stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.admin-stat-card .stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Admin Cards */
.admin-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.admin-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.admin-card-body { padding: 24px; }

/* Admin Product Table */
.product-table {
    width: 100%;
    border-collapse: collapse;
}

.product-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--bg-section);
    border-bottom: 2px solid var(--border);
}

.product-table tbody td {
    padding: 14px 16px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.product-table tbody tr { transition: background 0.15s; }
.product-table tbody tr:hover { background: rgba(13,71,161,0.02); }

.product-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    border: 1px solid var(--border-light);
}

.product-thumb-placeholder {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 1px solid var(--border-light);
}

.product-name-cell { font-weight: 600; color: var(--text-primary); }
.product-name-cell small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
}
.status-badge.active { background: #e8f5e9; color: #2e7d32; }
.status-badge.inactive { background: #ffebee; color: #c62828; }
.status-badge.has-img { background: #e3f2fd; color: #1565c0; }
.status-badge.no-img { background: #fff3e0; color: #e65100; }

.action-btns { display: flex; gap: 6px; align-items: center; }

.btn-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.btn-icon:hover { border-color: var(--primary); color: var(--primary); background: rgba(13,71,161,0.04); }
.btn-icon.danger:hover { border-color: var(--red); color: var(--red); background: rgba(229,57,53,0.04); }

/* Admin Forms */
.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-form-grid .full-width { grid-column: 1 / -1; }

.admin-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

/* Image Upload Area */
.image-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    background: var(--bg-section);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.image-upload-area:hover,
.image-upload-area.drag-over {
    border-color: var(--primary);
    background: rgba(13,71,161,0.04);
}

.image-upload-area .upload-icon { font-size: 3rem; margin-bottom: 12px; display: block; }
.image-upload-area .upload-text { font-weight: 600; font-size: 0.95rem; color: var(--text-primary); }
.image-upload-area .upload-hint { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }

.image-upload-area input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.image-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--radius-md);
    margin: 12px auto;
    display: block;
    border: 1px solid var(--border-light);
}

/* Admin Search & Filters */
.admin-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-search {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 14px;
    transition: all 0.2s;
}
.admin-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,71,161,0.08); }
.admin-search i { color: var(--text-muted); margin-right: 10px; }
.admin-search input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    padding: 10px 0;
    font-size: 0.9rem;
    font-family: var(--font-primary);
}

.admin-filter {
    padding: 10px 16px;
    background: var(--bg-white);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}
.admin-filter:focus { border-color: var(--primary); outline: none; }

/* Admin Modal */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.admin-modal-overlay.show { display: flex; }

.admin-modal {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-light);
}

.admin-modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-section);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
}
.modal-close:hover { background: rgba(229,57,53,0.1); color: var(--red); }

.admin-modal-body { padding: 28px; }

.admin-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 28px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-section);
}

/* Admin Pagination */
.admin-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-top: 16px;
}

.admin-pagination-info { font-size: 0.85rem; color: var(--text-muted); }

/* Delete Confirm */
.confirm-delete {
    text-align: center;
    padding: 20px;
}
.confirm-delete .delete-icon { font-size: 3.5rem; margin-bottom: 16px; }
.confirm-delete h3 { font-size: 1.2rem; margin-bottom: 8px; }
.confirm-delete p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.confirm-delete .btn-danger {
    background: var(--red);
    color: #fff;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.confirm-delete .btn-danger:hover { background: #c62828; box-shadow: 0 4px 12px rgba(229,57,53,0.3); }

.btn-cancel {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-cancel:hover { border-color: var(--text-muted); }

.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn-success { background: var(--green); color: #fff; border-color: var(--green); }
.btn-success:hover { background: #388e3c; color: #fff; }
.btn-warning { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Responsive Admin */
@media (max-width: 1024px) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .admin-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .admin-main { padding: 16px; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .admin-toolbar { flex-direction: column; }
    .admin-search { min-width: 100%; }
    .product-table { font-size: 0.82rem; }
    .product-table th:nth-child(n+5),
    .product-table td:nth-child(n+5) { display: none; }
}

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .products-grid, .products-grid.grid-4x3 { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .quality-process-grid { grid-template-columns: repeat(2, 1fr); }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .detail-grid { grid-template-columns: 1fr; gap: 32px; }
    .detail-image-section { max-width: 400px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mfg-capabilities-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .navbar-nav { display: none; }
    .navbar-actions { display: none; }
    .mobile-toggle { display: flex; }

    .navbar-nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
        padding: 12px 20px;
        border-top: 1px solid var(--border-light);
        gap: 0;
    }

    .navbar-nav.active li { width: 100%; }
    .navbar-nav.active .nav-link { padding: 14px 16px; width: 100%; border-radius: var(--radius-sm); }
    .navbar-nav.active .nav-link:hover { background: rgba(13,71,161,0.04); }
    .navbar-nav.active .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: var(--bg-section);
        border-radius: var(--radius-sm);
        margin-bottom: 4px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    /* Mobile auth buttons */
    .navbar-nav.active::after {
        content: '';
        display: block;
        width: 100%;
        height: 1px;
        background: var(--border-light);
        margin: 8px 0;
    }

    .auth-form .form-row { grid-template-columns: 1fr; }

    .hero { min-height: auto; padding: 60px 0 40px; }
    .hero h1 { font-size: 2rem; }
    .hero-subtitle { font-size: 0.95rem; }

    .search-input-wrapper { flex-direction: column; padding: 12px; }
    .search-btn { width: 100%; text-align: center; margin-top: 8px; }
    .search-icon { display: none; }

    .products-grid, .products-grid.grid-4x3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .product-card-image { height: 160px; }

    .page-header h1 { font-size: 1.8rem; }

    .product-search-form .search-row { flex-direction: column; }
    .search-category { max-width: 100%; }

    .features-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .mission-grid { grid-template-columns: 1fr; }
    .lab-equipment-grid { grid-template-columns: 1fr 1fr; }
    .mfg-capabilities-grid { grid-template-columns: 1fr; }
    .process-flow { flex-direction: column; align-items: center; }
    .process-arrow { transform: rotate(90deg); padding: 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .detail-specs { grid-template-columns: 1fr; }
    .detail-actions { flex-direction: column; }
    .cta-actions { flex-direction: column; align-items: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); padding: 24px; gap: 16px; }
    .section-padding { padding: 50px 0; }
    .section-header h2 { font-size: 1.6rem; }

    .alphabet-nav { gap: 2px; }
    .alpha-link { width: 28px; height: 28px; font-size: 0.75rem; }
}

@media (max-width: 480px) {
    .products-grid, .products-grid.grid-4x3 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.6rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .login-card { padding: 32px 24px; }
}

/* ═══════════════════════════════════════════════════ */
/*  PRICING PAGE                                      */
/* ═══════════════════════════════════════════════════ */
.pricing-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0d47a1 50%, #00897b 100%);
    padding: 100px 0 60px;
    text-align: center;
    color: #fff;
}
.pricing-hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 12px; }
.pricing-hero p { font-size: 1.15rem; opacity: 0.85; max-width: 600px; margin: 0 auto; }
.pricing-badge-top {
    display: inline-block; background: rgba(255,255,255,0.15); color: #fff;
    padding: 6px 20px; border-radius: 20px; font-size: 0.85rem; font-weight: 600;
    margin-bottom: 16px; backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}
.gradient-text {
    background: linear-gradient(90deg, #69F0AE, #00BCD4);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Billing Toggle */
.billing-toggle {
    display: flex; align-items: center; justify-content: center;
    gap: 14px; margin-top: 30px;
}
.billing-label { font-size: 0.95rem; opacity: 0.6; transition: opacity 0.3s; cursor: pointer; }
.billing-label.active { opacity: 1; font-weight: 700; }
.save-tag {
    background: #00C853; color: #fff; padding: 2px 10px;
    border-radius: 10px; font-size: 0.7rem; font-weight: 700; margin-left: 4px;
}
.toggle-switch {
    position: relative; width: 52px; height: 28px; display: inline-block; cursor: pointer;
}
.toggle-switch input { display: none; }
.toggle-slider {
    position: absolute; inset: 0; background: rgba(255,255,255,0.25);
    border-radius: 20px; transition: 0.3s;
}
.toggle-slider::before {
    content: ''; position: absolute; width: 22px; height: 22px;
    left: 3px; top: 3px; background: #fff; border-radius: 50%;
    transition: 0.3s; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.toggle-switch input:checked + .toggle-slider { background: #00C853; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }

/* Pricing Grid */
.pricing-section { padding: 60px 0 80px; background: #f5f7fa; }
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px; max-width: 1100px; margin: 0 auto;
}
.plan-card {
    background: #fff; border-radius: 20px; padding: 36px 28px;
    border: 1px solid #e8ecf0; box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    display: flex; flex-direction: column; position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
.plan-card.popular {
    border: 2px solid #00C853;
    box-shadow: 0 8px 40px rgba(0,200,83,0.15);
    transform: scale(1.04);
}
.plan-card.popular:hover { transform: scale(1.04) translateY(-8px); }
.popular-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #00C853, #69F0AE);
    color: #fff; padding: 6px 24px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700; white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,200,83,0.3);
}
.plan-header { text-align: center; margin-bottom: 20px; }
.plan-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px; color: #fff; font-size: 1.4rem;
}
.plan-name { font-size: 1.5rem; font-weight: 700; color: #1a2332; margin-bottom: 4px; }
.plan-subtitle { font-size: 0.85rem; color: #78909c; }

.plan-price-wrap { text-align: center; margin-bottom: 16px; }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.plan-price .currency { font-size: 1.4rem; font-weight: 700; color: #1a2332; }
.plan-price .amount { font-size: 2.8rem; font-weight: 800; color: #1a2332; line-height: 1; }
.plan-price .period { font-size: 0.9rem; color: #78909c; }
.annual-total { font-size: 0.8rem; color: #00897b; margin-top: 6px; }

.plan-users {
    text-align: center; background: #f5f7fa; padding: 8px 16px;
    border-radius: 10px; font-size: 0.85rem; color: #546e7a;
    font-weight: 600; margin-bottom: 20px;
}
.plan-users i { color: var(--primary); margin-right: 6px; }

.plan-features {
    list-style: none; padding: 0; margin: 0 0 24px; flex: 1;
}
.plan-features li {
    padding: 8px 0; font-size: 0.88rem; display: flex;
    align-items: center; gap: 10px; color: #37474f;
    border-bottom: 1px solid #f5f5f5;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li.included i { color: #00C853; font-size: 0.75rem; }
.plan-features li.excluded { color: #b0bec5; }
.plan-features li.excluded i { color: #e0e0e0; font-size: 0.75rem; }

.plan-btn {
    display: block; text-align: center; padding: 14px 24px;
    border-radius: 12px; font-weight: 700; font-size: 0.95rem;
    border: 2px solid var(--primary); color: var(--primary);
    background: transparent; transition: all 0.3s; text-decoration: none;
}
.plan-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.plan-btn-popular {
    background: linear-gradient(135deg, #00C853, #69F0AE);
    color: #fff; border-color: #00C853;
}
.plan-btn-popular:hover { background: linear-gradient(135deg, #00E676, #69F0AE); border-color: #00E676; color: #fff; }
.plan-btn-enterprise {
    background: linear-gradient(135deg, #7C4DFF, #B388FF);
    color: #fff; border-color: #7C4DFF;
}
.plan-btn-enterprise:hover { background: linear-gradient(135deg, #651FFF, #B388FF); border-color: #651FFF; color: #fff; }

.plan-demo-link {
    display: block; text-align: center; margin-top: 10px;
    font-size: 0.82rem; color: #78909c; text-decoration: none;
}
.plan-demo-link:hover { color: var(--primary); text-decoration: underline; }

/* All Plans Include */
.all-plans-section {
    margin-top: 60px; text-align: center;
}
.all-plans-section h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; color: #1a2332; }
.all-plans-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; max-width: 800px; margin: 0 auto;
}
.api-item {
    background: #fff; padding: 14px 16px; border-radius: 12px;
    font-size: 0.88rem; font-weight: 600; color: #37474f;
    border: 1px solid #e8ecf0; display: flex; align-items: center; gap: 10px;
}
.api-item i { color: var(--primary); }

/* Pricing FAQ */
.pricing-faq { margin-top: 60px; max-width: 900px; margin-left: auto; margin-right: auto; }
.pricing-faq h2 { text-align: center; font-size: 1.6rem; font-weight: 700; margin-bottom: 30px; color: #1a2332; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item {
    background: #fff; padding: 24px; border-radius: 14px;
    border: 1px solid #e8ecf0;
}
.faq-item h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; color: #1a2332; display: flex; align-items: center; gap: 8px; }
.faq-item h4 i { color: var(--primary); }
.faq-item p { font-size: 0.85rem; color: #546e7a; line-height: 1.6; margin: 0; }

/* ═══════════════════════════════════════════════════ */
/*  CHECKOUT PAGE                                     */
/* ═══════════════════════════════════════════════════ */
.checkout-hero {
    background: linear-gradient(135deg, #0a1628, #0d47a1 70%, #00897b);
    padding: 100px 0 40px; color: #fff;
}
.checkout-hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 6px; }
.checkout-hero p { opacity: 0.8; font-size: 0.95rem; }
.back-link {
    color: rgba(255,255,255,0.7); font-size: 0.85rem; font-weight: 600;
    text-decoration: none; margin-bottom: 12px; display: inline-block;
}
.back-link:hover { color: #fff; }
.back-link i { margin-right: 6px; }

.checkout-section { padding: 40px 0 80px; background: #f5f7fa; }
.checkout-layout {
    display: grid; grid-template-columns: 340px 1fr; gap: 32px;
    max-width: 1000px; margin: 0 auto;
}

/* Order Summary */
.cs-card {
    background: #fff; border-radius: 18px; padding: 28px;
    border: 1px solid #e8ecf0; box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    position: sticky; top: 100px;
}
.cs-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: #1a2332; }
.cs-card h3 i { margin-right: 8px; color: var(--primary); }
.cs-plan-badge {
    display: inline-block; color: #fff; padding: 6px 18px;
    border-radius: 10px; font-weight: 700; font-size: 0.85rem; margin-bottom: 18px;
}
.cs-details { margin-bottom: 20px; }
.cs-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.88rem; color: #546e7a; }
.cs-row span:last-child { font-weight: 600; color: #1a2332; }
.cs-total span { font-size: 1.1rem; font-weight: 800 !important; color: #00C853 !important; }
.cs-divider { border-top: 1px dashed #e0e0e0; margin: 8px 0; }
.cs-modules h4 { font-size: 0.85rem; color: #78909c; margin-bottom: 8px; }
.cs-mod { font-size: 0.82rem; padding: 4px 0; color: #37474f; display: flex; align-items: center; gap: 8px; }
.cs-mod i { font-size: 0.7rem; }

/* Checkout Form */
.checkout-form-card {
    background: #fff; border-radius: 18px; padding: 32px;
    border: 1px solid #e8ecf0; box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.checkout-form-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 24px; color: #1a2332; }
.checkout-form-card h3 i { margin-right: 8px; color: var(--primary); }
.checkout-form-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.checkout-form-card .form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: #37474f; margin-bottom: 6px; }
.checkout-form-card .form-group label small { color: #90a4ae; font-weight: 400; }
.checkout-form-card .form-control {
    width: 100%; padding: 11px 14px; border: 1.5px solid #e0e0e0;
    border-radius: 10px; font-size: 0.9rem; transition: border-color 0.2s;
    background: #fafbfc; box-sizing: border-box;
}
.checkout-form-card .form-control:focus { border-color: var(--primary); outline: none; background: #fff; }

.payment-methods-box {
    background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
    border: 1px solid #66BB6A; border-radius: 14px;
    padding: 20px; margin: 20px 0;
}
.payment-methods-box h4 { color: #2E7D32; font-size: 0.95rem; margin-bottom: 6px; }
.payment-methods-box h4 i { margin-right: 8px; }
.payment-methods-box p { color: #33691E; font-size: 0.82rem; margin-bottom: 12px; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-tag {
    background: #fff; padding: 6px 14px; border-radius: 8px;
    font-size: 0.78rem; border: 1px solid #C8E6C9; color: #2E7D32;
    font-weight: 600; display: flex; align-items: center; gap: 6px;
}

.terms-checkbox {
    display: flex; align-items: flex-start; gap: 10px;
    margin: 20px 0; font-size: 0.82rem; color: #546e7a; cursor: pointer;
}
.terms-checkbox input { accent-color: var(--primary); margin-top: 3px; }
.terms-checkbox a { color: var(--primary); }

.pay-btn {
    width: 100%; font-size: 1.05rem; padding: 16px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: relative;
}
.pay-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.secure-note {
    text-align: center; margin-top: 10px; font-size: 0.72rem;
    color: #90a4ae; display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* Login Prompt */
.checkout-login-box {
    background: #fff; border-radius: 18px; padding: 50px 40px;
    text-align: center; border: 1px solid #e8ecf0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.login-prompt-icon { font-size: 3rem; color: var(--primary); margin-bottom: 16px; }
.checkout-login-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.checkout-login-box p { color: #78909c; font-size: 0.9rem; margin-bottom: 24px; }
.login-prompt-btns { display: flex; gap: 14px; justify-content: center; }

/* ═══════════════════════════════════════════════════ */
/*  CONFIRMATION PAGE                                 */
/* ═══════════════════════════════════════════════════ */
.confirmation-section {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #f5f7fa, #e8f5e9);
    min-height: 80vh;
}
.confirmation-card {
    background: #fff; border-radius: 24px; padding: 50px 40px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.08); text-align: center;
}
.conf-icon {
    width: 80px; height: 80px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.success-icon { background: linear-gradient(135deg, #00C853, #69F0AE); }
.pending-icon { background: linear-gradient(135deg, #FF9800, #FFB74D); }
.conf-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.success-title { color: #00C853; }
.conf-subtitle { font-size: 1.1rem; font-weight: 600; color: #1a2332; margin-bottom: 16px; }
.conf-order-badge {
    display: inline-block; padding: 8px 24px; border-radius: 20px;
    font-weight: 700; font-size: 0.9rem; margin: 8px 0 16px;
}
.success-badge { background: #E8F5E9; color: #2E7D32; }
.pending-badge { background: #FFF3E0; color: #E65100; }

.conf-details {
    background: #f8faf7; border-radius: 14px; padding: 20px;
    margin: 24px 0; text-align: left;
}
.conf-details table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.conf-details td { padding: 8px 0; }
.conf-details td:first-child { color: #78909c; }
.conf-details td:last-child { text-align: right; font-weight: 600; }
.conf-details .total-row { border-top: 2px solid #ddd; }
.conf-details .total-row td { padding-top: 12px; font-weight: 700; font-size: 1.05rem; }
.conf-details .total-row td:last-child { color: #00C853; }
.conf-details code { font-size: 0.78rem; background: #ECEFF1; padding: 2px 8px; border-radius: 4px; }

.conf-message {
    color: #546e7a; line-height: 1.8; margin: 20px 0;
    font-size: 0.92rem;
}
.conf-steps {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin: 30px 0;
}
.conf-step {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; font-size: 0.78rem; font-weight: 600; color: #b0bec5;
}
.conf-step.done { color: #00C853; }
.conf-step.active { color: var(--primary); }
.step-icon {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #f5f5f5; font-size: 0.85rem;
}
.conf-step.done .step-icon { background: #E8F5E9; color: #00C853; }
.conf-step.active .step-icon { background: #E3F2FD; color: var(--primary); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }
.conf-step-line {
    width: 40px; height: 3px; background: #e0e0e0;
    border-radius: 2px; margin: 0 6px; margin-bottom: 20px;
}
.conf-step-line.done-line { background: #00C853; }
.conf-actions { display: flex; gap: 16px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.btn-outline {
    background: transparent; border: 2px solid var(--primary);
    color: var(--primary); padding: 10px 24px; border-radius: 10px;
    font-weight: 600; text-decoration: none; transition: all 0.3s;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ═══════════════════════════════════════════════════ */
/*  RESPONSIVE — Pricing & Checkout                   */
/* ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .plan-card.popular { transform: scale(1); }
    .checkout-layout { grid-template-columns: 1fr; }
    .cs-card { position: static; }
}
@media (max-width: 768px) {
    .pricing-hero h1 { font-size: 2rem; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
    .faq-grid { grid-template-columns: 1fr; }
    .all-plans-grid { grid-template-columns: 1fr 1fr; }
    .checkout-form-card .form-row { grid-template-columns: 1fr; }
    .conf-steps { flex-wrap: wrap; gap: 10px; }
    .conf-step-line { display: none; }
    .confirmation-card { padding: 36px 24px; }
}
@media (max-width: 480px) {
    .pricing-hero h1 { font-size: 1.6rem; }
    .plan-price .amount { font-size: 2.2rem; }
    .all-plans-grid { grid-template-columns: 1fr; }
    .login-prompt-btns { flex-direction: column; }
}

