/* ================================================================
   MICRO BYTES DIGITAL – MAIN STYLESHEET
   Version: 1.0
   Author: Micro Bytes Digital
   ================================================================ */

/* ================================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ================================================================ */
:root {
    /* Brand Colors */
    --color-primary:        #1a73e8;
    --color-primary-dark:   #1557b0;
    --color-primary-light:  #e8f0fd;

    /* Backgrounds */
    --color-white:          #FFFFFF;
    --color-smokey:         #F7F8FA;
    --color-light-grey:     #E9EDF2;

    /* Text */
    --color-text:           #303846;
    --color-heading:        #202A38;
    --color-muted:          #6B7280;
    --color-muted-light:    #9ca3af;

    /* Border */
    --color-border:         #E2E6EA;

    /* Typography */
    --font-heading:         'Montserrat', sans-serif;
    --font-body:            'Poppins', sans-serif;

    /* Font Sizes */
    --fs-xs:    0.75rem;
    --fs-sm:    0.875rem;
    --fs-base:  1rem;
    --fs-md:    1.0625rem;
    --fs-lg:    1.125rem;
    --fs-xl:    1.25rem;
    --fs-2xl:   1.5rem;
    --fs-3xl:   1.875rem;
    --fs-4xl:   2.25rem;
    --fs-5xl:   2.875rem;
    --fs-6xl:   3.5rem;

    /* Spacing */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg:  0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
    --shadow-xl:  0 20px 40px rgba(0,0,0,0.08);
    --shadow-primary: 0 8px 24px rgba(26,115,232,0.18);

    /* Transitions */
    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-slow:   400ms ease;
    --transition-smooth: 600ms cubic-bezier(0.25, 0.1, 0.25, 1);

    /* Layout */
    --nav-height: 72px;
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto !important;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

/* Lenis Smooth Scroll Optimization */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

p { margin-bottom: 0; }
a { text-decoration: none; color: var(--color-primary); transition: color var(--transition-base); }
a:hover { color: var(--color-primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* ================================================================
   3. PRELOADER
   ================================================================ */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--color-white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-heading);
    letter-spacing: 0.05em;
}

.preloader-logo .logo-text .accent {
    color: var(--color-primary);
}

.preloader-bar {
    width: 120px;
    height: 3px;
    background: var(--color-light-grey);
    border-radius: var(--radius-full);
    margin: 16px auto 0;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    animation: preloaderFill 1.2s ease forwards;
}

@keyframes preloaderFill {
    to { width: 100%; }
}

/* ================================================================
   4. TYPOGRAPHY UTILITIES
   ================================================================ */
.eyebrow {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-4);
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--fs-md);
    color: var(--color-muted);
    max-width: 600px;
    line-height: 1.75;
}

.section-header {
    margin-bottom: var(--space-12);
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.section-header.centered .eyebrow {
    justify-content: center;
}

.section-header.centered .eyebrow::before {
    display: none;
}

.section-header.centered .eyebrow::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    order: -1;
}

/* ================================================================
   5. BUTTONS
   ================================================================ */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--fs-sm);
    border-radius: var(--radius-md);
    padding: 0.65rem 1.5rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.5;
}

.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(26,115,232,0.25);
}

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

.btn-outline {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-heading);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.btn-outline-primary {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
}

.btn-lg {
    font-size: var(--fs-base);
    padding: 0.85rem 2rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    font-size: var(--fs-xs);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
}

/* ================================================================
   6. NAVBAR
   ================================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow var(--transition-base), background var(--transition-base);
}

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

.navbar {
    padding: 0;
}

.nav-container {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    max-width: 1240px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo .logo-mark svg {
    display: block;
    transition: transform var(--transition-base);
}

.nav-logo:hover .logo-mark svg {
    transform: rotate(-5deg);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-primary {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-heading);
    letter-spacing: -0.01em;
}

.logo-secondary {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Nav Links */
.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-text);
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-md);
    transition: color var(--transition-base), background var(--transition-base);
    position: relative;
    white-space: nowrap;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

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

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

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    width: calc(100% - 1.7rem);
}

/* CTA Button */
.nav-cta-btn {
    font-size: var(--fs-sm);
    padding: 0.55rem 1.25rem;
    white-space: nowrap;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.nav-toggle:hover { background: var(--color-light-grey); }

.toggler-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-heading);
    border-radius: var(--radius-full);
    transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Mobile Nav */
@media (max-width: 991.98px) {
    .nav-toggle { display: flex; }

    .navbar-collapse {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        padding: var(--space-4) var(--space-6) var(--space-6);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - var(--nav-height));
        overflow-y: auto;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--transition-base), opacity var(--transition-base), visibility var(--transition-base);
    }

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

    .navbar-nav { gap: 4px; }
    .navbar-nav .nav-link { padding: 0.65rem 1rem; border-radius: var(--radius-md); }
    .navbar-nav .nav-link::after { display: none; }
    .nav-cta { margin-top: var(--space-4); }
    .nav-cta-btn { width: 100%; justify-content: center; }
}

/* ================================================================
   7. SECTION BASE
   ================================================================ */
.section {
    padding: var(--space-24) 0;
}

.section-sm { padding: var(--space-16) 0; }
.section-lg { padding: calc(var(--space-24) * 1.3) 0; }

.bg-white   { background-color: var(--color-white); }
.bg-smokey  { background-color: var(--color-smokey); }
.bg-light   { background-color: var(--color-light-grey); }

/* ================================================================
   8. HERO SECTION
   ================================================================ */
.hero-section {
    padding-top: calc(var(--nav-height) + var(--space-16));
    padding-bottom: var(--space-20);
    background: var(--color-white);
    position: relative;
    overflow: hidden;
    min-height: 92vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: var(--color-smokey);
    clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

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

.hero-eyebrow {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-5);
    padding: 6px 14px;
    background: var(--color-primary-light);
    border-radius: var(--radius-full);
    border: 1px solid rgba(26,115,232,0.15);
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: var(--color-heading);
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-6);
}

.hero-title .accent { color: var(--color-primary); }

.hero-description {
    font-size: var(--fs-md);
    color: var(--color-muted);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: var(--space-8);
}

.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-image-frame {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    position: relative;
}

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

.hero-badge {
    position: absolute;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 500;
    white-space: nowrap;
}

.hero-badge.badge-tl {
    top: -16px;
    left: -16px;
}

.hero-badge.badge-br {
    bottom: -16px;
    right: -16px;
}

.badge-icon {
    width: 32px;
    height: 32px;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 14px;
    flex-shrink: 0;
}

.badge-text strong {
    display: block;
    font-weight: 600;
    color: var(--color-heading);
    font-size: var(--fs-sm);
}

.badge-text span {
    font-size: var(--fs-xs);
    color: var(--color-muted);
}

/* ================================================================
   9. TRUST HIGHLIGHTS
   ================================================================ */
.trust-section {
    background: var(--color-smokey);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-16) 0;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    transition: background var(--transition-base);
}

.trust-item:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 18px;
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.trust-text p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    line-height: 1.6;
}

/* ================================================================
   10. SERVICES GRID
   ================================================================ */
.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--transition-base);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

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

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
    margin-bottom: var(--space-4);
    transition: background var(--transition-base), color var(--transition-base);
}

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

.service-card h3 {
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--color-heading);
    font-family: var(--font-heading);
}

.service-card p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    line-height: 1.65;
    margin-bottom: var(--space-4);
}

.service-link {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-base);
}

.service-link:hover { gap: 10px; color: var(--color-primary-dark); }

/* ================================================================
   11. PRODUCTS SECTION
   ================================================================ */
.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 100%;
    transition: all var(--transition-base);
}

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

.product-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--color-smokey);
    position: relative;
}

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

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

.product-card-body {
    padding: var(--space-6);
}

.product-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-3);
}

.product-card h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.product-card p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

/* ================================================================
   12. WHY CHOOSE US
   ================================================================ */
.why-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.why-item:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.why-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.why-text h4 {
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 4px;
}

.why-text p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    line-height: 1.6;
}

/* ================================================================
   13. PROCESS SECTION
   ================================================================ */
.process-section {
    background: var(--color-smokey);
}

.process-steps {
    position: relative;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: var(--space-6) var(--space-4);
}

.step-connector {
    position: absolute;
    top: 40px;
    left: calc(50% + 40px);
    right: calc(-50% + 40px);
    height: 1px;
    background: var(--color-border);
    z-index: 0;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.process-step.active .step-number,
.process-step:hover .step-number {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.step-title {
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 6px;
}

.step-desc {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    line-height: 1.6;
}

/* ================================================================
   14. PORTFOLIO / WORK
   ================================================================ */
.portfolio-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    height: 100%;
}

.portfolio-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: transparent;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

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

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

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26,115,232,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.portfolio-overlay-link {
    width: 48px;
    height: 48px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 16px;
    transform: scale(0.8);
    transition: transform var(--transition-base);
}

.portfolio-card:hover .portfolio-overlay-link {
    transform: scale(1);
}

.portfolio-body {
    padding: var(--space-5);
}

.portfolio-category {
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.portfolio-body h3 {
    font-size: var(--fs-lg);
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-heading);
}

.portfolio-body p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    line-height: 1.6;
}

/* ================================================================
   15. TESTIMONIALS
   ================================================================ */
.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    height: 100%;
    transition: all var(--transition-base);
    position: relative;
}

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

.testimonial-quote {
    font-size: 2rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-4);
    opacity: 0.4;
}

.testimonial-text {
    font-size: var(--fs-sm);
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: var(--space-5);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--color-primary);
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-heading);
}

.author-info span {
    font-size: var(--fs-xs);
    color: var(--color-muted);
}

/* ================================================================
   16. FAQ
   ================================================================ */
.faq-section { background: var(--color-white); }

.accordion-item {
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) !important;
    margin-bottom: var(--space-3);
    overflow: hidden;
    box-shadow: none !important;
}

.accordion-button {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    font-weight: 500;
    color: var(--color-heading);
    background: var(--color-white);
    padding: var(--space-5) var(--space-6);
    border: none;
    box-shadow: none !important;
    gap: var(--space-3);
}

.accordion-button:not(.collapsed) {
    color: var(--color-primary);
    background: var(--color-primary-light);
    box-shadow: none !important;
}

.accordion-button::after {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a73e8'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    line-height: 1.75;
    padding: var(--space-5) var(--space-6);
    background: var(--color-white);
}

/* ================================================================
   17. CTA SECTION
   ================================================================ */
.cta-section {
    background: var(--color-smokey);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-20) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 60px solid rgba(26,115,232,0.04);
    top: -100px;
    right: -100px;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 40px solid rgba(26,115,232,0.04);
    bottom: -80px;
    left: -80px;
}

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

.cta-section .section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: var(--space-4);
}

/* ================================================================
   18. FOOTER
   ================================================================ */
.site-footer {
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.footer-main {
    padding: var(--space-20) 0;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: var(--space-3);
}

.footer-desc {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    line-height: 1.75;
    max-width: 320px;
}

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

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--color-smokey);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-size: 14px;
    transition: all var(--transition-base);
    text-decoration: none;
}

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

.footer-heading {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--color-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    text-decoration: none;
    transition: color var(--transition-base), padding-left var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--fs-sm);
    color: var(--color-muted);
}

.footer-contact-list i {
    color: var(--color-primary);
    width: 16px;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-contact-list a:hover { color: var(--color-primary); }

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: var(--space-4) 0;
    background: var(--color-smokey);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer-copy, .footer-legal {
    font-size: var(--fs-xs);
    color: var(--color-muted);
    margin: 0;
}

.footer-legal a {
    color: var(--color-primary);
    font-weight: 500;
}

/* ================================================================
   19. PAGE HEROES (Inner Pages)
   ================================================================ */
.page-hero {
    padding-top: calc(var(--nav-height) + var(--space-16));
    padding-bottom: var(--space-16);
    background: var(--color-smokey);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 80px solid rgba(26,115,232,0.04);
    top: -150px;
    right: -150px;
}

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

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.page-hero p {
    font-size: var(--fs-md);
    color: var(--color-muted);
    max-width: 640px;
    line-height: 1.75;
}

.breadcrumb {
    margin-bottom: var(--space-4);
    font-size: var(--fs-sm);
}

.breadcrumb-item { color: var(--color-muted); }
.breadcrumb-item a { color: var(--color-primary); }
.breadcrumb-item.active { color: var(--color-text); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--color-muted-light); }

/* ================================================================
   20. PRODUCT DETAIL PAGES
   ================================================================ */
.product-hero {
    padding-top: calc(var(--nav-height) + var(--space-20));
    padding-bottom: var(--space-20);
    background: var(--color-smokey);
    border-bottom: 1px solid var(--color-border);
}

.product-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-primary-light);
    border: 1px solid rgba(26,115,232,0.15);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    margin-bottom: var(--space-5);
}

.product-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: var(--space-5);
}

.product-hero p {
    font-size: var(--fs-md);
    color: var(--color-muted);
    line-height: 1.8;
    max-width: 560px;
    margin-bottom: var(--space-6);
}

.product-dashboard {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    background: var(--color-white);
}

.product-dashboard img {
    width: 100%;
    display: block;
}

/* Features Grid */
.feature-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    height: 100%;
    transition: all var(--transition-base);
}

.feature-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.06);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 18px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    line-height: 1.6;
}

/* How It Works Steps */
.how-step {
    text-align: center;
    padding: var(--space-6);
    position: relative;
}

.how-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--fs-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    box-shadow: var(--shadow-primary);
}

.how-step h4 {
    font-size: var(--fs-base);
    font-weight: 600;
    margin-bottom: 8px;
}

.how-step p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
}

/* Benefits */
.benefit-row {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--color-light-grey);
}

.benefit-row:last-child { border-bottom: none; }

.benefit-row i {
    color: var(--color-primary);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.benefit-row span {
    font-size: var(--fs-sm);
    color: var(--color-text);
    line-height: 1.6;
}

/* ================================================================
   21. SERVICES PAGE CATEGORIES
   ================================================================ */
.service-category {
    margin-bottom: var(--space-12);
}

.category-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--color-light-grey);
}

.category-icon {
    width: 52px;
    height: 52px;
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.category-header h2 {
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--color-heading);
    margin: 0;
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    height: 100%;
    transition: all var(--transition-base);
}

.service-list-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.06);
    background: var(--color-primary-light);
}

.service-list-item i {
    color: var(--color-primary);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-list-item h4 {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 4px;
}

.service-list-item p {
    font-size: var(--fs-xs);
    color: var(--color-muted);
    line-height: 1.55;
}

/* ================================================================
   22. CONTACT PAGE
   ================================================================ */
.contact-form-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
}

.form-label {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-heading);
    margin-bottom: 6px;
}

.form-control, .form-select {
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    background: var(--color-white);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
    outline: none;
    background: var(--color-white);
}

.form-control::placeholder { color: var(--color-muted-light); }

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

.contact-info-card {
    background: var(--color-smokey);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-text strong {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 3px;
}

.contact-info-text span, .contact-info-text a {
    font-size: var(--fs-sm);
    color: var(--color-muted);
}

/* Alert messages */
.alert-success-custom {
    background: #f0faf4;
    border: 1px solid #86efac;
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    color: #166534;
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--fs-sm);
}

.alert-error-custom {
    background: #fff5f5;
    border: 1px solid #fca5a5;
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-6);
    color: #991b1b;
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--fs-sm);
}

/* ================================================================
   23. ABOUT PAGE
   ================================================================ */
.mission-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    height: 100%;
    transition: all var(--transition-base);
    text-align: center;
}

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

.mission-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 26px;
    margin: 0 auto var(--space-5);
}

.mission-card h3 {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-3);
}

.mission-card p {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    line-height: 1.75;
}

.value-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: var(--space-3) var(--space-5);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-heading);
    transition: all var(--transition-base);
}

.value-pill:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.value-pill i {
    color: var(--color-primary);
    font-size: 14px;
}

/* ================================================================
   24. SCROLL REVEAL ANIMATIONS
   ================================================================ */
.reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.55s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.55s cubic-bezier(0.215, 0.61, 0.355, 1);
    will-change: opacity, transform;
}

.reveal.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        will-change: auto !important;
    }
}

/* ================================================================
   25. DIVIDERS
   ================================================================ */
.section-divider {
    width: 48px;
    height: 3px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-5);
}

.section-divider.centered {
    margin-left: auto;
    margin-right: auto;
}

/* ================================================================
   26. RESPONSIVE
   ================================================================ */
@media (max-width: 1199.98px) {
    .hero-section::before { width: 42%; }
}

@media (max-width: 991.98px) {
    :root { --nav-height: 64px; }

    .hero-section {
        padding-top: calc(var(--nav-height) + var(--space-10));
        padding-bottom: var(--space-16);
        min-height: auto;
    }

    .hero-section::before { display: none; }
    .hero-title { font-size: clamp(2rem, 6vw, 2.8rem); }
    .hero-visual { margin-top: var(--space-8); }

    .section { padding: var(--space-16) 0; }
    .section-lg { padding: var(--space-20) 0; }

    .step-connector { display: none; }

    .process-step { padding: var(--space-4); }
    .step-number { width: 52px; height: 52px; font-size: var(--fs-xs); }
}

@media (max-width: 767.98px) {
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-actions { gap: var(--space-2); }
    .hero-actions .btn { flex: 1; justify-content: center; min-width: 140px; }

    .contact-form-card { padding: var(--space-5); }
}

/* ================================================================
   27. UTILITIES
   ================================================================ */
.text-primary-color { color: var(--color-primary) !important; }
.text-heading { color: var(--color-heading) !important; }
.text-muted-custom { color: var(--color-muted) !important; }

.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }

.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }

.shadow-card { box-shadow: var(--shadow-md) !important; }
.shadow-card-lg { box-shadow: var(--shadow-lg) !important; }

/* Horizontal Rule */
.hr-light {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-8) 0;
}

/* Back to top */
#back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--color-primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-primary);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

/* Footer Legal Links */
.footer-legal-links a {
    color: var(--color-muted);
    font-size: var(--fs-xs);
    transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--color-primary);
}

/* ================================================================
   28. LEGAL PAGES (Terms & Conditions, Privacy Policy)
   ================================================================ */
.legal-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-sm);
}

.legal-section {
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--color-light-grey);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section h2 .section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    font-size: var(--fs-xs);
    font-weight: 700;
    flex-shrink: 0;
}

.legal-section h3 {
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--color-heading);
    margin-top: var(--space-5);
    margin-bottom: var(--space-2);
}

.legal-section p {
    color: var(--color-text);
    font-size: var(--fs-sm);
    line-height: 1.85;
    margin-bottom: var(--space-4);
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul, .legal-section ol {
    margin-bottom: var(--space-4);
    padding-left: 1.5rem;
}

.legal-section ul li, .legal-section ol li {
    color: var(--color-text);
    font-size: var(--fs-sm);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-section ul li::marker {
    color: var(--color-primary);
}

.legal-notice-box {
    background: var(--color-smokey);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
    margin: var(--space-5) 0;
}

.legal-notice-box p {
    font-size: var(--fs-xs);
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0;
}

.legal-notice-box strong {
    color: var(--color-heading);
}

.legal-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + var(--space-6));
    background: var(--color-smokey);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}

.legal-sidebar-title {
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-heading);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--color-border);
}

.legal-nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    padding-right: 4px;
}

.legal-nav-link {
    font-size: var(--fs-xs);
    color: var(--color-muted);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: block;
    line-height: 1.4;
    text-decoration: none;
}

.legal-nav-link:hover, .legal-nav-link.active {
    color: var(--color-primary);
    background: var(--color-white);
    font-weight: 600;
}

.legal-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--fs-xs);
    color: var(--color-muted);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

@media (max-width: 991.98px) {
    .legal-card {
        padding: var(--space-6);
    }
    .legal-sidebar {
        position: static;
        margin-bottom: var(--space-8);
    }
}

/* ================================================================
   29. WABA PORTAL FLAGSHIP SAAS LANDING PAGE STYLES
   ================================================================ */
.waba-hero-wrap {
    padding-top: calc(var(--nav-height) + var(--space-12));
    padding-bottom: var(--space-20);
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.waba-flagship-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e8f0fd;
    color: #1a73e8;
    border: 1px solid rgba(26, 115, 232, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: var(--font-body);
    margin-bottom: var(--space-5);
}

.waba-flagship-pill .star-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.waba-hero-title {
    font-size: clamp(2.25rem, 4.5vw, 3.4rem);
    font-weight: 800;
    color: var(--color-heading);
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-5);
}

.waba-hero-lead {
    font-size: var(--fs-lg);
    color: var(--color-muted);
    line-height: 1.75;
    margin-bottom: var(--space-8);
    max-width: 580px;
}

.waba-trust-caption {
    font-size: var(--fs-xs);
    color: var(--color-muted);
    font-family: var(--font-body);
    font-weight: 500;
    margin-top: var(--space-4);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero Layered Composition */
.waba-hero-visual {
    position: relative;
    padding: var(--space-4);
}

.browser-mockup {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.browser-bar {
    background: #f1f5f9;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--color-border);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #10b981; }

.browser-address {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 3px 12px;
    font-size: 11px;
    color: var(--color-muted);
    font-family: monospace;
    flex: 1;
    max-width: 280px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* WhatsApp Dark Mode Chat UI (Allowed strictly inside mockups) */
.wa-dark-chat {
    background: #0b141a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #e9edef;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wa-chat-header {
    background: #202c33;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wa-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wa-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #00a884;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.wa-contact-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #e9edef;
    margin: 0;
    line-height: 1.2;
}

.wa-contact-info span {
    font-size: 11px;
    color: #8696a0;
    display: block;
}

.wa-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #aebac1;
    font-size: 15px;
}

.wa-chat-body {
    padding: 16px;
    background: #0b141a;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 240px;
}

.wa-date-divider {
    align-self: center;
    background: #182229;
    color: #8696a0;
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 6px;
    font-weight: 500;
    margin-bottom: 6px;
}

.wa-msg {
    max-width: 82%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.45;
    position: relative;
    word-break: break-word;
}

.wa-msg-in {
    align-self: flex-start;
    background: #202c33;
    color: #e9edef;
    border-top-left-radius: 0;
}

.wa-msg-out {
    align-self: flex-end;
    background: #005c4b;
    color: #e9edef;
    border-top-right-radius: 0;
}

.wa-msg-meta {
    float: right;
    font-size: 10px;
    color: #8696a0;
    margin-left: 8px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.wa-msg-out .wa-msg-meta {
    color: #8ec3b0;
}

.wa-msg-out .wa-msg-meta i {
    color: #53bdeb;
}

.wa-chat-footer {
    background: #202c33;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.wa-footer-icons {
    color: #8696a0;
    font-size: 17px;
    display: flex;
    gap: 12px;
}

.wa-input-pill {
    flex: 1;
    background: #2a3942;
    border-radius: 8px;
    padding: 7px 12px;
    color: #8696a0;
    font-size: 13px;
}

.wa-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #00a884;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Floating overlay cards in Hero */
.waba-floating-chat {
    position: absolute;
    bottom: -24px;
    left: -20px;
    width: 330px;
    z-index: 3;
    animation: floatingSubtle 4s ease-in-out infinite alternate;
}

.waba-floating-badge {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    z-index: 4;
}

.badge-order-notify {
    top: -12px;
    right: 30px;
}

.badge-lead-notify {
    top: 40%;
    right: -25px;
}

.platform-pill-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
}
.platform-pill-icon.whatsapp { background: #25d366; }
.platform-pill-icon.shopify { background: #96bf48; }
.platform-pill-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.platform-pill-icon.facebook { background: #1877f2; }
.platform-pill-icon.wordpress { background: #21759b; }

@keyframes floatingSubtle {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* Unified Inbox UI Mockup */
.unified-inbox-shell {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 240px 1fr 280px;
    min-height: 480px;
}

.inbox-nav-pane {
    background: #f8fafc;
    border-right: 1px solid var(--color-border);
    padding: 1rem;
}

.inbox-threads-pane {
    border-right: 1px solid var(--color-border);
    background: #ffffff;
    overflow-y: auto;
}

.inbox-thread-item {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-light-grey);
    display: flex;
    gap: 10px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.inbox-thread-item.active, .inbox-thread-item:hover {
    background: #f1f5f9;
}

.inbox-thread-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    position: relative;
    flex-shrink: 0;
}

.thread-channel-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
    border: 2px solid #ffffff;
}

.inbox-active-chat {
    background: #f8fafc;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991.98px) {
    .unified-inbox-shell {
        grid-template-columns: 1fr;
    }
    .inbox-nav-pane, .inbox-active-chat {
        display: none;
    }
    .waba-floating-chat {
        position: static;
        width: 100%;
        margin-top: 20px;
    }
    .waba-floating-badge {
        position: static;
        margin: 10px 0;
        display: inline-flex;
    }
}

/* WABA Workflow Diagram */
.waba-workflow-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.workflow-steps-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.workflow-step-box {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--color-smokey);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.workflow-step-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #1a73e8;
}

.workflow-step-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    color: #1a73e8;
}

.workflow-connector-line {
    position: absolute;
    top: 36%;
    right: -15px;
    width: 30px;
    height: 2px;
    background: #cbd5e1;
    z-index: 2;
}

.workflow-connector-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 6px solid #cbd5e1;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

@media (max-width: 991.98px) {
    .workflow-steps-wrap {
        grid-template-columns: 1fr 1fr;
    }
    .workflow-connector-line { display: none; }
}

@media (max-width: 575.98px) {
    .workflow-steps-wrap {
        grid-template-columns: 1fr;
    }
}

/* Gallery & Lightbox */
.gallery-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: #1a73e8;
}

.gallery-card-preview {
    background: #f8fafc;
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.gallery-zoom-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
}

.gallery-card-info {
    padding: 1.5rem;
}

/* Lightbox Modal */
.waba-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.waba-lightbox.active {
    display: flex;
}

.lightbox-content-wrap {
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 960px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    position: relative;
}

.lightbox-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
}

.lightbox-body {
    padding: 2rem;
    max-height: 75vh;
    overflow-y: auto;
}

.lightbox-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--color-heading);
}

/* Dashboard Showcase Tabbed Navigation */
.waba-nav-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-8);
}

.waba-tab-btn {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.waba-tab-btn.active, .waba-tab-btn:hover {
    background: #1a73e8;
    color: #ffffff;
    border-color: #1a73e8;
    box-shadow: var(--shadow-primary);
}

.waba-tab-pane {
    display: none;
}
.waba-tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

/* ================================================================
   30. WHATSAPP BRAND GREEN THEME & WABA REFINEMENTS
   ================================================================ */
:root {
    --color-wa-green:       #25D366;
    --color-wa-dark-green:  #128C7E;
    --color-wa-light-green: #E8F9EE;
}

/* WhatsApp Green Primary Buttons */
.btn-whatsapp {
    background-color: #25D366 !important;
    color: #ffffff !important;
    border: 1px solid #25D366 !important;
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
    transition: all var(--transition-base);
}

.btn-whatsapp:hover, .btn-whatsapp:focus {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.35);
}

.btn-whatsapp-outline {
    background-color: transparent !important;
    color: #128C7E !important;
    border: 1.5px solid #25D366 !important;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.btn-whatsapp-outline:hover, .btn-whatsapp-outline:focus {
    background-color: #25D366 !important;
    color: #ffffff !important;
    border-color: #25D366 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

/* WABA Flagship Pill - WhatsApp Themed */
.waba-flagship-pill.wa-theme {
    background: #e8f9ee;
    color: #128c7e;
    border-color: rgba(37, 211, 102, 0.3);
}

.waba-flagship-pill.wa-theme .star-dot {
    background: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
}

.text-wa-green {
    color: #25D366 !important;
}

.text-wa-dark {
    color: #128C7E !important;
}

.bg-wa-light {
    background-color: #e8f9ee !important;
}

.border-wa {
    border-color: rgba(37, 211, 102, 0.3) !important;
}

/* Enhanced Gallery Styles */
/* ================================================================
   31. REDESIGNED PRODUCT INTERFACE GALLERY STYLES
   ================================================================ */
.gallery-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(18, 140, 126, 0.12);
    border-color: #25D366;
}

.gallery-card-preview {
    background: #F7F8FA;
    border-bottom: 1px solid var(--color-border);
    padding: 0;
    aspect-ratio: 16 / 10;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery-card:hover .gallery-card-img {
    transform: scale(1.035);
}

.gallery-zoom-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(18, 140, 126, 0.9);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.gallery-card:hover .gallery-zoom-badge {
    background: #25D366;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.gallery-card-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
}

.gallery-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #128C7E;
    background: #e8f9ee;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    width: fit-content;
}

.gallery-card-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 8px;
    line-height: 1.3;
}

.gallery-card-desc {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin: 0;
}

/* Lightbox Modal Enhancements */
.waba-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.waba-lightbox.active {
    display: flex;
}

.lightbox-content-wrap {
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 1080px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    animation: lightboxPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-header {
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F7F8FA;
    flex-shrink: 0;
}

.lightbox-body {
    padding: 1.5rem;
    overflow-y: auto;
    text-align: left;
}

.lightbox-modal-img {
    width: 100%;
    height: auto;
    max-height: 62vh;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.25rem;
}

.lightbox-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: var(--color-heading);
    transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

@media (max-width: 767.98px) {
    .waba-lightbox {
        padding: 0.75rem;
    }
    .lightbox-body {
        padding: 1rem;
    }
    .lightbox-modal-img {
        max-height: 45vh;
    }
}




