/* ============================================
   Dataway — Frontend Design System
   Premium IT Solutions E-Commerce
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    /* Brand Colors */
    --primary: #1a1f71;
    --primary-light: #2d35a8;
    --primary-dark: #0f1245;
    --primary-rgb: 26, 31, 113;

    --accent: #ff4d4d;
    --accent-end: #ff8c42;
    --accent-gradient: linear-gradient(135deg, #ff4d4d, #ff8c42);

    /* Surfaces */
    --bg-body: #f0f4ff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.65);
    --bg-hero: linear-gradient(135deg, #e8eeff 0%, #f0f4ff 50%, #e0e8ff 100%);
    --bg-dark: linear-gradient(135deg, #0f1035 0%, #1a1f71 50%, #2d35a8 100%);
    --bg-cta: linear-gradient(135deg, #1a1f71, #4338ca, #6366f1);

    /* Text */
    --text-primary: #1a1f3d;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --text-white: #ffffff;

    /* Borders & Shadows */
    --border: rgba(26, 31, 113, 0.08);
    --border-light: rgba(26, 31, 113, 0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 48px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 40px rgba(26, 31, 113, 0.15);

    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Typography */
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Spacing */
    --section-gap: 100px;
    --container-max: 1280px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --radius-pill: 100px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--primary); }

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

::selection { background: rgba(26, 31, 113, 0.15); color: var(--primary); }

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

.section {
    padding: var(--section-gap) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.section-label::after {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.section-header p {
    max-width: 640px;
    margin: 16px auto 0;
    color: var(--text-secondary);
    font-size: 17px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.3) 45%, transparent 50%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::after { transform: translateX(100%); }

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(255, 77, 77, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 77, 77, 0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-primary);
    padding: 12px 28px;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-white {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-white:hover { background: rgba(255,255,255,0.25); color: #fff; }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================
   Header / Navigation
   ============================================ */
.top-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.top-bar a { color: var(--text-secondary); font-weight: 500; }
.top-bar a:hover { color: var(--primary); }

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img, .logo svg { height: 60px; max-height: 64px; width: auto; object-fit: contain; }

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.logo-text small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

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

.nav a {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav a:hover { color: var(--primary); background: rgba(26, 31, 113, 0.04); }

.nav a.active {
    color: var(--primary);
    font-weight: 600;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 20px; height: 3px;
    background: var(--accent-gradient);
    border-radius: 3px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(26, 31, 113, 0.06);
    color: var(--text-primary);
    transition: var(--transition);
}

.cart-btn:hover { background: rgba(26, 31, 113, 0.1); color: var(--primary); }

.cart-badge {
    position: absolute;
    top: -2px; right: -2px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle {
    display: none;
    width: 44px; height: 44px;
    border: none; background: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.mobile-toggle span {
    width: 24px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: var(--bg-hero);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,31,113,0.06) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%; left: 5%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.05) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

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

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content { max-width: 580px; }

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(26, 31, 113, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-label .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.8;
}

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

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-globe {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(26,31,113,0.08), rgba(26,31,113,0.03) 60%, transparent 80%);
    border: 2px solid rgba(26,31,113,0.06);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-globe::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,31,113,0.04) 0%, transparent 70%);
}

/* Decorative network dots */
.network-dot {
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-dot 3s ease-in-out infinite;
}

.network-dot:nth-child(1) { top: 20%; left: 30%; animation-delay: 0s; }
.network-dot:nth-child(2) { top: 40%; right: 15%; animation-delay: 0.5s; }
.network-dot:nth-child(3) { bottom: 25%; left: 20%; animation-delay: 1s; }
.network-dot:nth-child(4) { top: 15%; right: 30%; animation-delay: 1.5s; width: 8px; height: 8px; background: var(--accent); }
.network-dot:nth-child(5) { bottom: 35%; right: 25%; animation-delay: 2s; width: 8px; height: 8px; }

/* ============================================
   Vendor Marquee
   ============================================ */
.vendors-section {
    padding: 60px 0;
    background: var(--bg-card, #f8fafc);
    border-top: 1px solid var(--border-light, #e2e8f0);
    border-bottom: 1px solid var(--border-light, #e2e8f0);
    overflow: hidden;
}

.vendors-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.6rem;
    font-weight: 700;
}

.vendor-marquee {
    display: flex;
    align-items: center;
    animation: marquee 40s linear infinite;
    gap: 30px;
    width: max-content;
}

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

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

.vendor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    height: 64px;
    min-width: 150px;
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.vendor-logo,
.client-logo,
.vendor-card img,
.client-card img,
.vendor-marquee img {
    max-height: 48px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    mix-blend-mode: normal !important;
    display: block;
}

.client-card:hover .client-logo,
.vendor-card:hover .vendor-logo {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    transform: scale(1.05);
}

.vendor-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted, #475569);
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}

.vendor-name:hover { color: var(--primary); }

/* ============================================
   Our Clients Section
   ============================================ */
.clients-section {
    padding: 70px 0;
    background: var(--bg-hero, #f8fafc);
    border-top: 1px solid var(--border, #e2e8f0);
    border-bottom: 1px solid var(--border, #e2e8f0);
    position: relative;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.client-card {
    background: #ffffff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(26, 31, 113, 0.1);
    border-color: var(--primary, #1a1f71);
}

.client-logo {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(15%);
    transition: all 0.3s ease;
}

.client-card:hover .client-logo {
    filter: grayscale(0%);
    transform: scale(1.06);
}

.client-card-more {
    background: linear-gradient(135deg, rgba(26, 31, 113, 0.03) 0%, rgba(37, 99, 235, 0.06) 100%);
    border: 2px dashed var(--border, #cbd5e1);
    cursor: default;
}

.client-card-more:hover {
    border-color: var(--primary, #1a1f71);
    background: linear-gradient(135deg, rgba(26, 31, 113, 0.07) 0%, rgba(37, 99, 235, 0.12) 100%);
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(26, 31, 113, 0.1);
}

.more-clients-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary, #1a1f71);
}

.more-clients-content .more-plus {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent, #e62e00);
}

.clients-footer {
    text-align: center;
    margin-top: 36px;
}

.clients-more-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #ffffff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted, #64748b);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
    }
    .client-card {
        height: 100px;
        padding: 16px;
    }
    .client-logo {
        max-height: 55px;
    }
}

/* ============================================
   Services Cards
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-number {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.service-number::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.service-number::after {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.service-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(26, 31, 113, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: #fff;
}

.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.service-card .learn-more svg { transition: var(--transition); }
.service-card:hover .learn-more svg { transform: translateX(4px); }

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

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

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

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

.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-secondary); margin-bottom: 28px; font-size: 17px; }

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.stat-item { text-align: center; }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 500;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-quote {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.testimonial-name { font-weight: 600; font-size: 15px; }
.testimonial-company { font-size: 13px; color: var(--text-muted); }

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

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8f9fd;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.product-card-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: var(--transition-slow);
}

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

.product-badge {
    position: absolute;
    top: 16px; left: 16px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale { background: #fef2f2; color: var(--danger); }
.badge-new { background: #ecfdf5; color: var(--success); }
.badge-featured { background: #eff6ff; color: var(--info); }

.product-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-categories {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.product-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: var(--transition);
}

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

.product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
}

.price-current {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.price-old {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    text-decoration-color: rgba(100, 116, 139, 0.7);
}

/* "Price inclusive of 15% VAT" — sits on its own line under the price */
.price-vat-note {
    flex-basis: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0;
}

.price-vat-note svg { flex-shrink: 0; opacity: 0.75; }

/* "Save 20%" badge, shown beside a struck-through original price */
.price-save {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.product-card-footer {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
}

.product-card-footer .btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* ============================================
   Page Hero Banner
   ============================================ */
.page-hero {
    background: var(--bg-hero);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -5%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,31,113,0.05) 0%, transparent 70%);
}

.page-hero .section-label { margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }

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

.product-gallery {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-gallery img {
    max-width: 85%;
    max-height: 400px;
    object-fit: contain;
}

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

.product-meta {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.product-info .product-price {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.product-info .price-current { font-size: 2rem; }
.product-info .price-old { font-size: 1.1rem; }
.product-info .price-save { font-size: 13px; padding: 6px 12px; }

.product-actions {
    display: flex;
    gap: 12px;
    padding: 24px 0;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-control button {
    width: 44px; height: 44px;
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
}

.qty-control button:hover { background: rgba(26,31,113,0.06); }

.qty-control input {
    width: 50px; height: 44px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    outline: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.product-tabs {
    margin-top: 48px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.tab-nav button {
    padding: 16px 28px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    font-family: var(--font-body);
}

.tab-nav button.active {
    color: var(--primary);
}

.tab-nav button.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-gradient);
}

.tab-content { padding: 32px; display: none; }
.tab-content.active { display: block; }
.tab-content h3 { margin-bottom: 12px; }
.tab-content p { color: var(--text-secondary); line-height: 1.8; }
.tab-content ul { padding-left: 20px; }
.tab-content li { color: var(--text-secondary); margin-bottom: 8px; list-style: disc; }

/* ============================================
   Cart & Checkout
   ============================================ */
.cart-table {
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.cart-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
    font-weight: 600;
}

.cart-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

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

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-item-img {
    width: 70px; height: 70px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: #f8f9fd;
    padding: 8px;
    border: 1px solid var(--border);
}

.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: sticky;
    top: 100px;
}

.cart-summary h3 { margin-bottom: 24px; font-size: 1.3rem; }

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 15px;
}

.summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 12px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 700;
}

/* ============================================
   Blog Cards
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(26,31,113,0.04);
}

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

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

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

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-meta span { display: flex; align-items: center; gap: 4px; }

.blog-card-body h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text-primary); }
.blog-card:hover .blog-card-body h3 { color: var(--primary); }
.blog-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ============================================
   CTA Banner
   ============================================ */
.cta-section {
    padding: 0;
}

.cta-banner {
    background: var(--bg-cta);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.cta-banner h2 {
    color: #fff;
    font-size: 2rem;
    -webkit-text-fill-color: #fff;
}

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

.cta-form label {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.cta-form label .required { color: #ff6b6b; }

.cta-form input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
    margin-bottom: 16px;
}

.cta-form input::placeholder { color: rgba(255,255,255,0.5); }
.cta-form input:focus { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.15); }

.cta-form .btn {
    background: var(--accent-gradient);
    color: #fff;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

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

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

.footer h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-secondary); font-size: 14px; }
.footer-links a:hover { color: var(--primary); }

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--text-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
    color: #fff;
}

.footer-address p {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--primary); }

/* ============================================
   WhatsApp Float & Quote Buttons
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    color: #fff;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1); }
}

/* ---- Product page call-to-action stack ---- */
.product-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    padding: 15px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
    text-decoration: none;
    border: 1.5px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease,
                background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.cta-btn svg { flex-shrink: 0; }
.cta-btn:hover { transform: translateY(-2px); }
.cta-btn:active { transform: translateY(0); }
.cta-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.35);
}

/* Primary — the main conversion path, spans the full width */
.cta-primary {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(18, 140, 126, 0.26);
}

.cta-primary:hover {
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(18, 140, 126, 0.36);
}

/* Secondary — softly tinted so they support the primary instead of fighting it */
.cta-secondary {
    background: #f0f9ff;
    border-color: #bae6fd;
    color: #075985;
}

.cta-secondary:hover {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0c4a6e;
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.16);
}

.cta-discount {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.cta-discount:hover {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #78350f;
    box-shadow: 0 8px 18px rgba(217, 119, 6, 0.18);
}

@media (max-width: 600px) {
    .product-cta { grid-template-columns: 1fr; }
    .cta-btn { padding: 14px 16px; font-size: 14.5px; }
}

/* ============================================
   Contact Form
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

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

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: #fff;
    outline: none;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,31,113,0.08);
}

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

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--transition);
}

.contact-info-card:hover { box-shadow: var(--shadow-md); }

.contact-info-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(26,31,113,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-card p { color: var(--text-secondary); font-size: 14px; }

/* ============================================
   Scroll Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   Checkout Form
   ============================================ */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: start;
}

.checkout-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}

.checkout-form h2 { margin-bottom: 28px; font-size: 1.5rem; }
.checkout-form .form-group { margin-bottom: 20px; }

.checkout-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.checkout-form input, .checkout-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.checkout-form input:focus, .checkout-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,31,113,0.08);
}

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

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

/* ============================================
   Search
   ============================================ */
.search-bar {
    max-width: 500px;
    margin: 0 auto 40px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-family: var(--font-body);
    outline: none;
    background: var(--bg-card);
    transition: var(--transition);
}

.search-bar input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(26,31,113,0.08); }

.search-bar svg {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* ============================================
   Filter Tabs
   ============================================ */
.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-tab {
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.filter-tab:hover, .filter-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { font-size: 12px; }

/* ============================================
   Pagination
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    text-decoration: none;
}

.pagination .pagination-ellipsis {
    border: none;
    background: transparent;
    color: var(--text-muted);
    min-width: 24px;
    cursor: default;
}

.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .about-section .container { grid-template-columns: 1fr; }
    .about-image { max-height: 400px; }
    .product-detail { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-banner { grid-template-columns: 1fr; padding: 40px; }
    .contact-grid { grid-template-columns: 1fr; }
    .checkout-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --section-gap: 60px; }

    .top-bar { display: none; }

    .nav { display: none; }
    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px; left: 0; right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        padding: 16px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    .mobile-toggle { display: flex; }

    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .form-row-2 { grid-template-columns: 1fr; }

    .cart-table { font-size: 14px; }
    .cart-table th:nth-child(n+3), .cart-table td:nth-child(n+3) { display: none; }

    .hero { padding: 50px 0 60px; }
    .page-hero { padding: 80px 0 40px; }
}

@media (max-width: 480px) {
    .products-grid, .catalog-grid { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}

/* ============================================
   Catalog Grid & Modern Card System
   ============================================ */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.catalog-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.03);
}
.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
    border-color: #cbd5e1;
}
.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.card-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.catalog-card:hover .card-img-wrapper img {
    transform: scale(1.06);
}
.sku-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.5px;
}
.card-content-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.card-title a:hover {
    color: var(--primary, #0284c7);
}
.card-actions-footer {
    padding: 0 20px 20px;
    display: flex;
    gap: 8px;
}
.btn-view-details {
    flex: 1;
    padding: 11px 16px;
    background: var(--primary, #0284c7);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 13.5px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s;
}
.btn-view-details:hover {
    background: #0369a1;
    color: #ffffff !important;
}
.btn-whatsapp-quote {
    padding: 11px 14px;
    border: 1.5px solid #25D366;
    color: #128C7E;
    background: #f0fdf4;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-whatsapp-quote:hover {
    background: #25D366;
    color: #ffffff;
}

/* ============================================
   Comprehensive Mobile Responsiveness
   ============================================ */

/* Mobile Nav Toggle Button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.mobile-toggle span {
    width: 24px;
    height: 2.5px;
    background: #0f172a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    /* Header & Navigation Overlay */
    .mobile-toggle {
        display: flex;
    }
    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
        flex-direction: column;
        padding: 90px 24px 30px;
        gap: 16px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }
    .nav.open {
        right: 0;
    }
    .nav a {
        font-size: 1.05rem;
        padding: 12px 16px;
        border-radius: 8px;
        width: 100%;
        color: #1e293b;
    }
    .nav a.active, .nav a:hover {
        background: rgba(26,31,113,0.08);
        color: #1a1f71;
    }

    /* Top Bar Responsive Stack */
    .top-bar .container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    /* Hero Section Responsive */
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2.2rem !important;
        line-height: 1.25 !important;
    }
    .hero-actions {
        justify-content: center !important;
    }

    /* Product Grid & Details */
    .products-grid, .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
        gap: 20px !important;
    }
    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .cart-grid, .checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }
    .cart-summary {
        position: static !important;
    }

    /* Grids & Cards */
    .services-grid, .features-grid, .stats-grid, .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 20px !important;
    }

    /* Footer Responsive Grid */
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .hero-content h1 {
        font-size: 1.85rem !important;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .products-grid, .catalog-grid {
        grid-template-columns: 1fr !important;
    }
    .card-actions-footer {
        flex-direction: column;
    }
    .btn-view-details, .btn-whatsapp-quote {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
    }
    .cart-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .whatsapp-float {
        bottom: 18px !important;
        right: 18px !important;
        width: 50px !important;
        height: 50px !important;
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5) !important;
    }
    .whatsapp-float svg {
        width: 24px !important;
        height: 24px !important;
    }
}

/* ============================================
   Services Page Premium Redesign Styles
   ============================================ */

.services-hero {
    position: relative;
    padding: 90px 0 60px;
    background: linear-gradient(135deg, #090c29 0%, #151a54 50%, #0d1139 100%);
    color: #ffffff;
    overflow: hidden;
}

.services-hero-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15), transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(255, 77, 77, 0.12), transparent 40%);
    pointer-events: none;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ff8c42;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.services-hero-title {
    color: #ffffff;
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 800;
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #ff4d4d 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-hero-sub {
    max-width: 720px;
    margin: 0 auto 36px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

.quick-services-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
    padding: 8px;
}

.quick-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.quick-nav-icon {
    display: inline-flex;
    align-items: center;
    color: #ff8c42;
}
.quick-nav-icon svg { width: 16px; height: 16px; }

/* Stats Strip */
.services-stats-strip {
    background: #ffffff;
    padding: 30px 0;
    border-bottom: 1px solid rgba(26, 31, 113, 0.08);
    box-shadow: var(--shadow-sm);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-box {
    padding: 16px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

/* Service Showcase List */
.services-list-container {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.service-showcase-card {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
    background: #ffffff;
    border-radius: 28px;
    padding: 48px;
    border: 1px solid rgba(26, 31, 113, 0.08);
    box-shadow: 0 10px 40px rgba(26, 31, 113, 0.05);
    scroll-margin-top: 110px;
    transition: all 0.4s ease;
}

.service-showcase-card:hover {
    box-shadow: 0 20px 60px rgba(26, 31, 113, 0.12);
    transform: translateY(-4px);
    border-color: rgba(26, 31, 113, 0.18);
}

.service-showcase-card.reverse-layout {
    grid-template-columns: 0.9fr 1.1fr;
}
.service-showcase-card.reverse-layout .service-content-col {
    order: 2;
}
.service-showcase-card.reverse-layout .service-visual-col {
    order: 1;
}

.service-meta-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 31, 113, 0.1), rgba(67, 56, 202, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid rgba(26, 31, 113, 0.12);
}
.service-icon-wrapper svg { width: 28px; height: 28px; }

.service-number-badge {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
}

.service-title {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    line-height: 1.3;
}

.service-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}
.service-description h2, .service-description h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 16px 0 8px;
}
.service-description ul {
    margin: 12px 0;
    padding-left: 20px;
    list-style: disc;
}
.service-description li {
    margin-bottom: 6px;
}

.service-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 24px 0 32px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}
.highlight-item svg {
    color: var(--success);
    flex-shrink: 0;
}

.service-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-glow {
    position: relative;
    box-shadow: 0 4px 20px rgba(26, 31, 113, 0.25);
}
.btn-glow:hover {
    box-shadow: 0 8px 30px rgba(26, 31, 113, 0.4);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}
.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.service-visual-col {
    position: relative;
}

.visual-card-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #f8fafc;
}

.service-banner-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-showcase-card:hover .service-banner-img {
    transform: scale(1.04);
}

/* CTA Section */
.services-cta-section {
    padding: 80px 0;
    background: var(--bg-body);
}

.services-cta-card {
    background: linear-gradient(135deg, #1a1f71 0%, #2d35a8 50%, #4338ca 100%);
    border-radius: 32px;
    padding: 60px 48px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: 0 20px 60px rgba(26, 31, 113, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-tag {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ff8c42;
    display: block;
    margin-bottom: 8px;
}

.services-cta-card h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 12px;
}

.services-cta-card p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    font-size: 16px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-direction: column;
    flex-shrink: 0;
}

.btn-outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

/* Mobile Responsive Breakpoints */
@media (max-width: 992px) {
    .service-showcase-card,
    .service-showcase-card.reverse-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 24px;
    }

    .service-showcase-card.reverse-layout .service-content-col {
        order: 1;
    }
    .service-showcase-card.reverse-layout .service-visual-col {
        order: 2;
    }

    .service-banner-img {
        height: 240px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .services-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

    .services-cta-card p {
        margin: 0 auto;
    }

    .cta-actions {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .quick-services-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
    }

    .quick-nav-item {
        white-space: nowrap;
        font-size: 13px;
        padding: 8px 16px;
    }

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

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

    .service-actions {
        flex-direction: column;
        width: 100%;
    }

    .service-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
