/* ========================================
   NIVA SOLUTIONS - Premium Modern Design
   Clean, Minimal, Professional
   Custom CSS only - style.css format (no Tailwind)
   ======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables - Niva Design Palette */
:root {
    /* ========================================
       NIVA BLUE - Unified Color System
       ======================================== */
    
    /* Primary Niva Blue Scale */
    --niva-blue-950: #020617;    /* Deepest dark - backgrounds */
    --niva-blue-900: #0a1628;    /* Dark background */
    --niva-blue-800: #0D1B6B;    /* Dark blue */
    --niva-blue-700: #1428A0;    /* PRIMARY NIVA BLUE */
    --niva-blue-600: #1E3A8A;    /* Medium blue */
    --niva-blue-500: #2563EB;    /* Bright blue */
    --niva-blue-400: #3B82F6;    /* Light blue */
    --niva-blue-300: #60A5FA;    /* Lighter blue */
    
    /* Niva Accent (Teal) */
    --niva-accent: #0EA5B7;
    --niva-accent-light: #22D3EE;
    --niva-accent-dark: #0891B2;
    
    /* Niva Panel/Surface Colors */
    --niva-panel: #0F172A;
    --niva-panel-light: #1E293B;
    --niva-panel-border: rgba(255, 255, 255, 0.1);
    
    /* Legacy aliases (for backwards compatibility) */
    --primary: var(--niva-blue-700);
    --primary-dark: var(--niva-blue-800);
    --primary-light: var(--niva-blue-500);

    /* Neutrals - Clean & Minimal */
    --black: #000000;
    --dark: #111111;
    --dark-soft: #1a1a1a;
    --gray-900: #252525;
    --gray-800: #333333;
    --gray-700: #555555;
    --gray-600: #666666;
    --gray-500: #888888;
    --gray-400: #999999;
    --gray-300: #cccccc;
    --gray-200: #e5e5e5;
    --gray-100: #f5f5f5;
    --light: #fafafa;
    --white: #ffffff;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-niva: 0 4px 20px rgba(14, 165, 183, 0.2);

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    /* gap used to space emblem, GeM and Make-in-India consistently */
    --gov-gap: 24px;
    --radius-full: 9999px;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary, #CBD5E1);
    background: linear-gradient(180deg, var(--niva-blue-950) 0%, var(--niva-blue-900) 50%, var(--niva-blue-900) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

a {
    color: var(--text-secondary, #CBD5E1);
    text-decoration: none;
    transition: var(--transition-base);
}

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

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

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
        padding: 0 48px;
    }
}

/* ========================================
   NIVA NAVIGATION - Clean & Minimal
   ======================================== */

/* Skip to Content Link (Accessibility) */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-md);
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 10px;
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* Niva Navigation Bar */
.niva-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Nav over hero (homepage at top): transparent, light content */
.niva-nav.nav-over-hero {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
}

/* Logo stays original (no invert) when over hero */
.niva-nav.nav-over-hero .niva-icon-btn {
    color: rgba(255, 255, 255, 0.95);
}

.niva-nav.nav-over-hero .niva-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.niva-nav.nav-over-hero .niva-cart-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
}

/* Hide nav when scrolling down, show when scrolling up */
.niva-nav.niva-nav-hidden {
    transform: translateY(-100%);
}

.niva-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.niva-nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 130px;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo - Large and Prominent */
.niva-logo {
    display: flex;
    align-items: center;
    outline: none;
    flex-shrink: 0;
}

.niva-logo:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.niva-logo img {
    height: 110px;
    width: auto;
    max-width: 350px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* Right Side Icons */
.niva-nav-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.niva-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--black);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.niva-icon-btn:hover {
    background: var(--gray-100);
}

.niva-icon-btn:focus {
    outline: none;
}

.niva-icon-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.niva-icon-btn i {
    font-size: 20px;
}

/* Cart Badge */
.niva-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Menu Button */
.niva-menu-btn {
    margin-left: 4px;
}

/* ========================================
   SEARCH OVERLAY
   ======================================== */

.niva-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1001;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.niva-search-overlay.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.niva-search-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    gap: 16px;
}

.niva-search-form {
    flex: 1;
    display: flex;
    align-items: center;
}

.niva-search-input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 400;
    color: var(--black);
    outline: none;
}

.niva-search-input::placeholder {
    color: var(--gray-400);
}

.niva-search-submit {
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: var(--gray-600);
    cursor: pointer;
    transition: color 0.2s ease;
}

.niva-search-submit:hover {
    color: var(--black);
}

.niva-search-submit i {
    font-size: 20px;
}

.niva-search-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--gray-600);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.niva-search-close:hover {
    background: var(--gray-100);
    color: var(--black);
}

/* ========================================
   FULL-SCREEN MENU PANEL
   ======================================== */

.niva-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    min-height: 100vh;
    height: 100dvh;
    background: var(--white);
    z-index: 1002;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1),
                visibility 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.niva-menu-panel.active {
    transform: translateX(0);
    visibility: visible;
}

/* Menu Header */
.niva-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.niva-menu-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    letter-spacing: 0.5px;
}

.niva-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--black);
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.niva-menu-close:hover {
    background: var(--gray-100);
}

.niva-menu-close:focus {
    outline: none;
}

.niva-menu-close:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.niva-menu-close i {
    font-size: 24px;
}

/* Menu Content */
.niva-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px 0;
    display: flex;
    flex-direction: column;
}

/* Auth Section */
.niva-menu-auth {
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

.niva-auth-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    background: var(--black);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.niva-auth-btn:hover {
    background: var(--gray-800);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.niva-auth-btn i {
    font-size: 18px;
}

.niva-auth-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.niva-user-avatar {
    width: 52px;
    height: 52px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.niva-user-avatar i {
    font-size: 24px;
    color: var(--gray-600);
}

.niva-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.niva-user-greeting {
    font-size: 13px;
    color: var(--gray-500);
}

.niva-user-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

/* Navigation List */
.niva-menu-nav {
    flex: 1;
}

.niva-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.niva-nav-item {
    border-bottom: 1px solid var(--gray-100);
}

.niva-nav-item > a,
.niva-nav-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: transparent;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.niva-nav-item > a:hover,
.niva-nav-trigger:hover {
    background: var(--gray-50);
    color: var(--primary);
}

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

.niva-nav-item > a i,
.niva-nav-trigger i {
    font-size: 12px;
    color: var(--gray-400);
    transition: transform 0.3s ease;
}

.niva-nav-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Submenu */
.niva-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--gray-50);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.niva-has-submenu.open .niva-submenu {
    max-height: 300px;
}

.niva-submenu li a {
    display: block;
    padding: 14px 24px 14px 44px;
    font-size: 14px;
    color: var(--gray-700);
    transition: all 0.2s ease;
}

.niva-submenu li a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

/* Account Section */
.niva-menu-account {
    padding: 24px;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.niva-account-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.niva-account-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.niva-account-links li a,
.niva-account-links li button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--gray-700);
    background: var(--gray-50);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
}

.niva-account-links li a:hover,
.niva-account-links li button:hover {
    background: var(--gray-100);
    color: var(--black);
}

.niva-account-links li a i,
.niva-account-links li button i {
    font-size: 16px;
    width: 20px;
    color: var(--gray-500);
}

.niva-logout-form {
    margin: 0;
}

.niva-logout-form button {
    color: #dc2626;
}

.niva-logout-form button i {
    color: #dc2626;
}

/* Menu Badges */
.niva-menu-badges {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--gray-200);
}

.niva-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
}

.niva-gem {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
}

.niva-badge-star {
    font-size: 14px;
    color: #ffd700;
}

.niva-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.niva-badge-text strong {
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.niva-badge-text span {
    font-size: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.niva-india {
    background: linear-gradient(135deg, #ff9933 0%, #ffffff 50%, #138808 100%);
    flex-direction: column;
    line-height: 1;
}

.niva-india span {
    font-size: 8px;
    font-weight: 600;
    color: #333;
}

.niva-india strong {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #1a237e;
}

/* Menu Contact */
.niva-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.niva-menu-contact a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-700);
    transition: color 0.2s ease;
}

.niva-menu-contact a:hover {
    color: var(--primary);
}

.niva-menu-contact a i {
    font-size: 16px;
    color: var(--primary);
    width: 20px;
}

/* Menu Overlay */
.niva-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 1001;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.niva-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   NIVA NAV RESPONSIVE STYLES
   ======================================== */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .niva-nav-container {
        height: 150px;
        padding: 0 48px;
    }

    .niva-logo img {
        height: 130px;
        max-width: 400px;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .niva-nav-container {
        height: 140px;
        padding: 0 40px;
    }

    .niva-logo img {
        height: 120px;
        max-width: 380px;
    }
}

/* Medium Desktop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .niva-nav-container {
        height: 130px;
        padding: 0 32px;
    }

    .niva-logo img {
        height: 110px;
        max-width: 350px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .niva-nav-container {
        height: 90px;
        padding: 0 20px;
    }

    .niva-logo img {
        height: 70px;
        max-width: 220px;
    }

    .niva-icon-btn {
        width: 40px;
        height: 40px;
    }

    .niva-icon-btn i {
        font-size: 18px;
    }

    .niva-menu-panel {
        width: 360px;
    }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    .niva-nav-container {
        height: 80px;
        padding: 0 16px;
    }

    .niva-logo img {
        height: 60px;
        max-width: 180px;
    }

    .niva-nav-icons {
        gap: 4px;
    }

    .niva-icon-btn {
        width: 38px;
        height: 38px;
    }

    .niva-icon-btn i {
        font-size: 17px;
    }

    .niva-menu-panel {
        width: 320px;
    }

    .niva-nav-item > a,
    .niva-nav-trigger {
        padding: 16px 20px;
        font-size: 15px;
    }
}

/* Small Mobile (< 576px) */
@media (max-width: 575px) {
    .niva-nav-container {
        height: 70px;
        padding: 0 12px;
    }

    .niva-logo img {
        height: 50px;
        max-width: 150px;
    }

    .niva-nav-icons {
        gap: 2px;
    }

    .niva-icon-btn {
        width: 36px;
        height: 36px;
    }

    .niva-icon-btn i {
        font-size: 16px;
    }

    .niva-cart-badge {
        min-width: 16px;
        height: 16px;
        font-size: 9px;
    }

    .niva-menu-panel {
        width: 100%;
        max-width: 100%;
    }

    .niva-menu-header {
        padding: 12px 16px;
    }

    .niva-menu-close {
        width: 38px;
        height: 38px;
    }

    .niva-menu-auth {
        padding: 0 16px 20px;
    }

    .niva-auth-btn {
        padding: 14px 20px;
        font-size: 14px;
    }

    .niva-nav-item > a,
    .niva-nav-trigger {
        padding: 14px 16px;
        font-size: 15px;
    }

    .niva-submenu li a {
        padding: 12px 16px 12px 36px;
        font-size: 14px;
    }

    .niva-menu-badges {
        padding: 16px;
        gap: 8px;
    }

    .niva-menu-contact {
        padding: 16px;
    }

    .niva-search-overlay {
        padding: 0 12px;
        height: 56px;
    }

    .niva-search-input {
        font-size: 16px;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    overflow: hidden;
    padding-top: 150px;
}

@media (max-width: 1399px) {
    .hero-section {
        padding-top: 140px;
    }
}

@media (max-width: 1199px) {
    .hero-section {
        padding-top: 130px;
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 90px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 80px;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding-top: 80px;
    }
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(20, 40, 160, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(20, 40, 160, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.hero-badge i {
    color: var(--primary-light);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 500px;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--white);
    color: var(--black);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
    color: var(--black);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
        padding: 60px 0;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 32px;
    }

    .stat-item {
        flex: 1;
        min-width: 100px;
    }
}

/* ========================================
   MODERN HOMEPAGE DESIGN
   ======================================== */

/* Hero Section - Modern Style */
.tm-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 180px 0 100px;
    overflow: hidden;
}

.tm-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.tm-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fc 50%, #f5f9ff 100%);
}

.tm-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(20, 40, 160, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

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

.tm-hero-text {
    max-width: 600px;
}

.tm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(20, 40, 160, 0.08);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.tm-badge-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.tm-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--black);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.tm-gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #3b5bdb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tm-hero-desc {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

.tm-hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* Modern Buttons */
.tm-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.tm-btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(20, 40, 160, 0.3);
}

.tm-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 40, 160, 0.4);
    color: white;
}

.tm-btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.tm-btn-outline:hover {
    background: var(--primary);
    color: white;
}

.tm-btn-secondary {
    background: var(--black);
    color: white;
}

.tm-btn-secondary:hover {
    background: var(--gray-800);
    color: white;
}

.tm-btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.tm-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

.tm-btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

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

/* Hero Trust Items */
.tm-hero-trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.tm-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
}

.tm-trust-icon {
    width: 32px;
    height: 32px;
    background: rgba(20, 40, 160, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
}

/* Hero Visual */
.tm-hero-visual {
    position: relative;
}

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

.tm-hero-image-wrapper img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
}

/* Floating Cards */
.tm-floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: float 3s ease-in-out infinite;
}

.tm-float-1 {
    top: 10%;
    right: 0;
    animation-delay: 0s;
}

.tm-float-2 {
    bottom: 15%;
    left: 0;
    animation-delay: 1.5s;
}

/* Note: @keyframes float is defined in hero section */

.tm-float-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, #3b5bdb 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.tm-float-text {
    display: flex;
    flex-direction: column;
}

.tm-float-text strong {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
}

.tm-float-text span {
    font-size: 13px;
    color: var(--gray-500);
}

/* Stats Banner - Clean Responsive Design */
.tm-stats-banner {
    background: var(--niva-blue-700);
    padding: 50px 0;
    width: 100%;
}

.tm-stats-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tm-stats-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
}

.tm-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 20px;
    position: relative;
}

/* Vertical divider between items (not after last) */
.tm-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
}

.tm-stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -1px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.tm-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 8px;
    font-weight: 400;
    letter-spacing: 0.3px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Hide the old divider elements - using ::after now */
.tm-stat-divider {
    display: none;
}

/* Tablet: Keep horizontal but reduce spacing */
@media (max-width: 991px) {
    .tm-stats-banner {
        padding: 40px 0;
    }
    
    .tm-stat-number {
        font-size: 40px;
    }
    
    .tm-stat-label {
        font-size: 13px;
    }
    
    .tm-stat-item {
        padding: 10px 15px;
    }
    
    .tm-stat-item:not(:last-child)::after {
        height: 40px;
    }
}

/* Mobile: Stack vertically */
@media (max-width: 768px) {
    .tm-stats-banner {
        padding: 35px 0;
    }
    
    .tm-stats-grid {
        flex-direction: column;
        gap: 0;
    }
    
    .tm-stat-item {
        width: 100%;
        padding: 20px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .tm-stat-item:last-child {
        border-bottom: none;
    }
    
    /* Remove vertical dividers on mobile */
    .tm-stat-item:not(:last-child)::after {
        display: none;
    }
    
    .tm-stat-number {
        font-size: 36px;
    }
    
    .tm-stat-label {
        font-size: 13px;
        margin-top: 6px;
    }
}

/* Section Styles - Modern */
.tm-section {
    padding: 100px 0;
}

.tm-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.tm-section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(20, 40, 160, 0.08);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.tm-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.tm-section-desc {
    font-size: 17px;
    color: var(--text-muted, #94A3B8);
    line-height: 1.7;
}

/* Solutions Section */
.tm-solutions {
    background: #fafbfc;
}

/* Home page dark solutions section (image cards) */
.tm-solutions-section {
    background: var(--niva-blue-900, #0a1628);
    padding: 5rem 0;
}

.tm-solutions-section .container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.tm-solutions-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.tm-solutions-header h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.tm-solutions-header p {
    color: var(--text-muted, #9ca3af);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

.tm-solutions-section .tm-solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .tm-solutions-section .tm-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tm-solutions-section .tm-solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tm-solution-card-dark {
    background: var(--niva-panel, #0F172A);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(13, 27, 107, 0.5);
    transition: all 0.3s ease;
}

.tm-solution-card-dark:hover {
    border-color: var(--niva-accent);
    box-shadow: 0 12px 40px rgba(14, 165, 183, 0.2);
}

.tm-solution-card-image {
    position: relative;
    height: 13rem;
    overflow: hidden;
}

.tm-solution-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tm-solution-card-dark:hover .tm-solution-card-image img {
    transform: scale(1.05);
}

.tm-solution-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.8), transparent);
}

.tm-solution-card-content {
    padding: 1.5rem;
}

.tm-solution-card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.tm-solution-card-content p {
    color: var(--text-muted, #9ca3af);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tm-solution-card-content a {
    display: inline-flex;
    align-items: center;
    color: var(--niva-accent);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    text-decoration: none;
}

.tm-solution-card-content a:hover {
    color: var(--niva-accent-light);
}

.tm-solution-card-content a i {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.tm-solution-card-dark:hover .tm-solution-card-content a i {
    transform: translateX(0.25rem);
}

.tm-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tm-solution-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.tm-solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tm-solution-blue::before { background: linear-gradient(90deg, #1428A0, #3b5bdb); }
.tm-solution-purple::before { background: linear-gradient(90deg, #7c3aed, #a855f7); }
.tm-solution-teal::before { background: linear-gradient(90deg, #0d9488, #14b8a6); }

.tm-solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.tm-solution-card:hover::before {
    opacity: 1;
}

.tm-solution-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.tm-solution-blue .tm-solution-icon {
    background: rgba(20, 40, 160, 0.1);
    color: var(--primary);
}

.tm-solution-purple .tm-solution-icon {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.tm-solution-teal .tm-solution-icon {
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

.tm-solution-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.tm-solution-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tm-solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.tm-solution-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
}

.tm-solution-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 600;
}

.tm-solution-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
}

.tm-solution-action i {
    transition: transform 0.3s ease;
}

.tm-solution-card:hover .tm-solution-action i {
    transform: translateX(5px);
}

/* Products Section */
.tm-products-section {
    background: transparent;
}

.tm-products-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tm-product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.tm-product-hero-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
}

.tm-product-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.tm-product-hero-image img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.tm-product-hero-content {
    padding: 20px 0;
}

.tm-product-category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(20, 40, 160, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tm-product-hero-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.tm-product-hero-content p {
    font-size: 16px;
    color: var(--text-secondary, #CBD5E1);
    line-height: 1.7;
    margin-bottom: 24px;
}

.tm-product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.tm-product-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary, #CBD5E1);
    background: rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 50px;
}

.tm-product-features span i {
    color: #22c55e;
}

/* Product Grid */
.tm-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tm-product-card {
    background: rgba(15, 23, 42, 0.7);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.tm-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.12);
}

.tm-product-image {
    background: rgba(30, 41, 59, 0.5);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.tm-product-image img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
}

.tm-product-image i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.3);
}

.tm-product-info {
    padding: 24px;
}

.tm-product-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.tm-product-info p {
    font-size: 14px;
    color: var(--text-muted, #94A3B8);
    margin-bottom: 16px;
    line-height: 1.5;
}

.tm-product-info a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.tm-product-info a:hover {
    gap: 10px;
}

.tm-products-cta {
    text-align: center;
    margin-top: 20px;
}

/* Why Choose Section */
.tm-why-section {
    background: transparent;
}

.tm-why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tm-why-text .tm-section-title,
.tm-why-text .tm-section-desc {
    text-align: left;
}

.tm-why-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.tm-why-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tm-why-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, #3b5bdb 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.tm-why-detail h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.tm-why-detail p {
    font-size: 15px;
    color: var(--text-secondary, #CBD5E1);
    line-height: 1.6;
}

.tm-why-visual {
    position: relative;
}

.tm-why-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.tm-why-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.tm-why-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 28px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 16px;
}

.tm-why-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.tm-why-card-text {
    display: flex;
    flex-direction: column;
}

.tm-why-card-text strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.tm-why-card-text span {
    font-size: 13px;
    color: var(--text-muted, #94A3B8);
}

/* Sectors Section */
.tm-sectors-section {
    background: transparent;
}

.tm-sectors-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.tm-sector-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.tm-sector-card:hover {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.tm-sector-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary-light, #60A5FA);
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.tm-sector-card:hover .tm-sector-icon {
    background: var(--primary);
    color: white;
}

.tm-sector-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.tm-sector-card p {
    font-size: 13px;
    color: var(--text-muted, #94A3B8);
    line-height: 1.5;
}

/* CTA Section */
.tm-cta-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.tm-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #0D1B6B 100%);
}

.tm-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.tm-cta-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.tm-cta-text p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
}

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

/* Trust Section */
.tm-trust-section {
    background: transparent;
    padding: 80px 0;
}

.tm-trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.tm-badge-card {
    background: rgba(15, 23, 42, 0.7);
    padding: 24px 40px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.tm-badge-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tm-badge-card i {
    font-size: 28px;
    color: var(--primary-light, #60A5FA);
}

.tm-badge-card span {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

/* Responsive - Modern Design */
@media (max-width: 1399px) {
    .tm-hero {
        padding: 160px 0 80px;
    }
}

@media (max-width: 1199px) {
    .tm-hero {
        padding: 150px 0 80px;
    }
    
    .tm-hero-content {
        gap: 40px;
    }
    
    .tm-solutions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .tm-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tm-sectors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .tm-hero {
        padding: 120px 0 60px;
    }
    
    .tm-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .tm-hero-text {
        max-width: 100%;
    }
    
    .tm-hero-actions {
        justify-content: center;
    }
    
    .tm-hero-trust {
        justify-content: center;
    }
    
    .tm-hero-visual {
        order: -1;
    }
    
    .tm-hero-image-wrapper img {
        max-height: 350px;
    }
    
    .tm-floating-card {
        display: none;
    }
    
    .tm-solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .tm-product-hero {
        grid-template-columns: 1fr;
        padding: 40px;
        text-align: center;
    }
    
    .tm-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tm-why-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .tm-why-text .tm-section-title,
    .tm-why-text .tm-section-desc {
        text-align: center;
    }
    
    .tm-why-visual {
        order: -1;
    }
    
    .tm-why-card {
        right: 20px;
        bottom: -20px;
    }
    
    .tm-sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tm-cta-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .tm-hero {
        padding: 100px 0 50px;
    }
    
    .tm-hero-title {
        font-size: 2rem;
    }
    
    .tm-hero-desc {
        font-size: 16px;
    }
    
    .tm-btn {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .tm-section {
        padding: 70px 0;
    }
    
    .tm-solution-card {
        padding: 32px 24px;
    }
    
    .tm-product-hero {
        padding: 30px;
    }
    
    .tm-product-hero-content h3 {
        font-size: 22px;
    }
    
    .tm-products-grid {
        grid-template-columns: 1fr;
    }
    
    .tm-why-image img {
        height: 350px;
    }
    
    .tm-why-card {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 20px;
        justify-content: center;
    }
    
    .tm-cta-text h2 {
        font-size: 24px;
    }
    
    .tm-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .tm-cta-actions .tm-btn {
        justify-content: center;
    }
    
    .tm-trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .tm-badge-card {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .tm-hero {
        padding: 90px 0 40px;
    }
    
    .tm-hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .tm-hero-actions {
        flex-direction: column;
    }
    
    .tm-hero-actions .tm-btn {
        width: 100%;
        justify-content: center;
    }
    
    .tm-hero-trust {
        flex-direction: column;
        gap: 16px;
    }
    
    .tm-stats-grid {
        flex-direction: column;
        gap: 24px;
    }
    
    .tm-section-header {
        margin-bottom: 40px;
    }
    
    .tm-sectors-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SECTION STYLES
   ======================================== */

.section {
    padding: 100px 0;
    background: transparent;
    color: var(--text-secondary, #CBD5E1);
}

.section-dark {
    background: rgba(15, 23, 42, 0.6);
    color: var(--white);
}

.section-light {
    background: rgba(15, 23, 42, 0.35);
    color: var(--text-secondary, #CBD5E1);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

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

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted, #94A3B8);
    line-height: 1.7;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   PRODUCT CARDS - MODERN STYLE
   ======================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    position: relative;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.12);
}

.product-card-image {
    position: relative;
    height: 280px;
    background: rgba(30, 41, 59, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.product-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
}

.product-card-content {
    padding: 24px;
    color: var(--text-secondary, #CBD5E1);
}

.product-card-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.product-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.product-card-desc {
    font-size: 14px;
    color: var(--text-muted, #94A3B8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.product-card-link i {
    font-size: 12px;
    transition: var(--transition-fast);
}

.product-card:hover .product-card-link i {
    transform: translateX(4px);
}

/* Large Product Card */
.product-card-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.product-card-large .product-card-image {
    height: 100%;
    min-height: 400px;
}

.product-card-large .product-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.product-card-large .product-card-title {
    font-size: 28px;
}

@media (max-width: 992px) {
    .product-card-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .product-card-large .product-card-image {
        min-height: 280px;
    }
}

/* ========================================
   FEATURE CARDS
   ======================================== */

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

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition-base);
    border: 1px solid var(--gray-200);
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.feature-icon i {
    font-size: 28px;
    color: var(--primary);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
}

.feature-card:hover .feature-icon i {
    color: var(--white);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
}

.feature-text {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Dark Section Features */
.section-dark .feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.section-dark .feature-icon {
    background: rgba(255, 255, 255, 0.1);
}

.section-dark .feature-title {
    color: var(--white);
}

.section-dark .feature-text {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   CATEGORY SHOWCASE
   ======================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    position: relative;
    height: 400px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--gray-900);
}

.category-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.category-card:hover .category-card-bg {
    transform: scale(1.1);
}

.category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.category-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: var(--white);
}

.category-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.category-card-icon i {
    font-size: 24px;
}

.category-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.category-card-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.category-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-base);
}

.category-card:hover .category-card-link {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   CTA BANNER
   ======================================== */

.cta-banner {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cta-text {
    max-width: 600px;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--white);
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    flex-shrink: 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    padding: 190px 0 60px;
    background: transparent;
    text-align: center;
    color: var(--white);
}

@media (max-width: 1399px) {
    .page-header {
        padding: 180px 0 55px;
    }
}

@media (max-width: 1199px) {
    .page-header {
        padding: 170px 0 50px;
    }
}

@media (max-width: 991px) {
    .page-header {
        padding: 130px 0 50px;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 120px 0 45px;
    }
}

@media (max-width: 575px) {
    .page-header {
        padding: 110px 0 40px;
    }
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '/';
    color: rgba(255, 255, 255, 0.3);
    margin-right: 8px;
}

/* ========================================
   FORMS
   ======================================== */

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

.form-control,
.form-select {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-family: var(--font-primary);
    color: var(--gray-800);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    outline: none;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(20, 40, 160, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 32px;
    background: var(--black);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-submit:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

/* ========================================
   MODERN FOOTER
   ======================================== */

.site-footer {
    background: var(--niva-blue-950);
    color: var(--text-secondary, #CBD5E1);
}

/* Newsletter Section */
.footer-newsletter {
    background: rgba(15, 23, 42, 0.6);
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text h3 {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.newsletter-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.newsletter-form {
    flex-shrink: 0;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition-base);
}

.newsletter-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 40, 160, 0.2);
}

.newsletter-input-group input {
    background: transparent;
    border: none;
    padding: 16px 24px;
    font-size: 15px;
    color: #fff;
    width: 300px;
    outline: none;
}

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

.newsletter-input-group button {
    background: var(--primary);
    border: none;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
}

.newsletter-input-group button:hover {
    background: var(--primary-light);
}

@media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-input-group input {
        width: 200px;
    }
}

/* Main Footer */
.footer-main {
    padding: 60px 0 40px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.footer-accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 0 0 16px 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-accordion-btn span {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-accordion-btn i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-base);
    display: none;
}

@media (max-width: 576px) {
    .footer-accordion-btn {
        padding: 20px 0;
        margin-bottom: 0;
    }

    .footer-accordion-btn i {
        display: block;
    }

    .footer-accordion-content {
        display: none;
        padding-bottom: 20px;
    }

    .footer-column.active .footer-accordion-content {
        display: block;
    }

    .footer-column.active .footer-accordion-btn i {
        transform: rotate(180deg);
    }
}

.footer-accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-accordion-content li {
    margin-bottom: 14px;
}

.footer-accordion-content a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-base);
    display: inline-block;
}

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

/* Contact Cards */
.footer-contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .footer-contact-cards {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition-base);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-card-icon i {
    font-size: 18px;
    color: #fff;
}

.contact-card-content {
    display: flex;
    flex-direction: column;
}

.contact-card-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-card-value {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    background: #000;
    padding: 24px 0;
}

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

.footer-brand-section {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-brand-section .footer-logo img {
    height: 110px;
    width: auto;
    max-width: 350px;
    object-fit: contain;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 32px;
}

.footer-legal-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-base);
}

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

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

.footer-social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: var(--transition-base);
}

.footer-social-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

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

    .footer-brand-section {
        flex-direction: column;
        gap: 12px;
    }

    .footer-brand-section .footer-logo img {
        height: 70px;
        max-width: 220px;
    }

    .footer-legal-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
}

@media (max-width: 767px) {
    .footer-brand-section .footer-logo img {
        height: 60px;
        max-width: 180px;
    }
}

@media (max-width: 575px) {
    .footer-brand-section .footer-logo img {
        height: 50px;
        max-width: 150px;
    }
}

/* ========================================
   GOOGLE MAPS
   ======================================== */

.map-section {
    overflow: hidden;
}

.map-container {
    position: relative;
}

.map-header {
    background: var(--black);
    padding: 20px 0;
}

.map-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.map-header h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-header h3 i {
    color: var(--primary-light);
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.btn-directions:hover {
    background: var(--primary-light);
    color: var(--white);
}

.map-link-text {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

@media (max-width: 576px) {
    .map-header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ========================================
   SPINNER
   ======================================== */

.spinner-overlay {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   BACK TO TOP
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-full);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--gray-800);
    color: var(--white);
    transform: translateY(-4px);
}

/* ========================================
   QUOTE SECTION
   ======================================== */

.quote-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 992px) {
    .quote-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.quote-content {
    color: var(--white);
}

.quote-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.quote-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
}

.quote-form {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 48px;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--black);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

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

.about-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

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

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

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

.about-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.about-feature-icon i {
    font-size: 16px;
    color: var(--primary);
}

.about-feature-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

/* ========================================
   ALERTS
   ======================================== */

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

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

/* ========================================
   UTILITIES
   ======================================== */

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 24px;
}

.mb-5 {
    margin-bottom: 48px;
}

.p-0 {
    padding: 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 12px;
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.me-2 {
    margin-right: 8px;
}

/* WOW.js animations */
.wow {
    visibility: hidden;
}

.fadeInUp {
    animation-name: fadeInUp;
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.fadeInRight {
    animation-name: fadeInRight;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   SHOPPING CART
   ======================================== */

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
}

.empty-cart-icon i {
    font-size: 48px;
    color: var(--gray-400);
}

.empty-cart h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.empty-cart p {
    color: var(--gray-600);
    margin-bottom: 32px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.cart-header h3 {
    font-size: 20px;
    margin: 0;
}

.btn-clear-cart {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.btn-clear-cart:hover {
    color: #dc2626;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr 140px 120px 40px;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-200);
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 16px;
    }

    .cart-item-quantity,
    .cart-item-subtotal {
        grid-column: 2;
    }

    .cart-item-remove {
        position: absolute;
        right: 0;
        top: 24px;
    }

    .cart-items-list {
        position: relative;
    }
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.cart-item-category {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--gray-500);
    letter-spacing: 0.05em;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    margin: 4px 0 8px;
}

.cart-item-price .price {
    font-weight: 600;
    color: var(--black);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: var(--gray-200);
}

.qty-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.cart-item-subtotal {
    font-size: 18px;
    font-weight: 700;
    text-align: right;
}

.cart-item-remove {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.cart-item-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.cart-continue {
    margin-top: 32px;
}

/* Cart Summary */
.summary-card {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: sticky;
    top: 100px;
}

.summary-card h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

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

.summary-row.summary-total {
    font-size: 20px;
    font-weight: 700;
}

.free-shipping {
    color: #16a34a;
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: var(--gray-300);
    margin: 8px 0;
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    background: var(--black);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    margin-top: 24px;
    transition: var(--transition-base);
}

.btn-checkout:hover {
    background: var(--gray-800);
    color: var(--white);
}

.summary-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-300);
}

.summary-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-600);
}

.summary-feature i {
    color: #16a34a;
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 48px;
    align-items: start;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        order: -1;
    }
}

.checkout-section {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 24px;
}

.checkout-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    margin-bottom: 24px;
}

.step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.checkout-section label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.payment-option-content {
    padding: 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-fast);
}

.payment-option input:checked+.payment-option-content {
    border-color: var(--primary);
    background: rgba(20, 40, 160, 0.03);
}

.payment-option-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.payment-option-header span {
    font-weight: 600;
    font-size: 15px;
}

.payment-logo {
    height: 24px;
    width: auto;
}

.payment-icon {
    font-size: 20px;
    color: var(--primary);
}

.payment-option-content p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
    padding-left: 32px;
}

.payment-notice {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #fef3c7;
    border-radius: var(--radius-lg);
    margin-top: 20px;
}

.payment-notice i {
    color: #d97706;
    flex-shrink: 0;
}

.payment-notice p {
    font-size: 13px;
    color: #92400e;
    margin: 0;
}

/* Order Summary in Checkout */
.checkout-summary .summary-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.order-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

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

.order-item-image {
    width: 64px;
    height: 64px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.order-item-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.order-item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.order-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.order-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
}

.order-item-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    margin-top: 4px;
}

.checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--gray-500);
}

.checkout-secure i {
    color: #16a34a;
}

.checkout-help {
    margin-top: 24px;
    padding: 24px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    text-align: center;
}

.checkout-help h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.checkout-help p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 4px 0;
}

.checkout-help a {
    color: var(--primary);
    font-weight: 500;
}

/* ========================================
   ORDER CONFIRMATION
   ======================================== */

.order-confirmation {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    border-radius: 50%;
}

.confirmation-icon i {
    font-size: 48px;
    color: #16a34a;
}

.order-confirmation h1 {
    font-size: 36px;
    margin-bottom: 16px;
}

.confirmation-message {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.order-number {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 48px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    margin-bottom: 48px;
}

.order-number span {
    font-size: 14px;
    color: var(--gray-500);
}

.order-number strong {
    font-size: 24px;
    color: var(--black);
    letter-spacing: 0.05em;
}

.confirmation-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .confirmation-details {
        grid-template-columns: 1fr;
    }
}

.detail-card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
}

.detail-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 16px;
}

.detail-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.detail-card p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

.confirmation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ========================================
   PRODUCT PAGE ENHANCEMENTS
   ======================================== */

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-main-image {
    background: var(--gray-100);
    border-radius: var(--radius-2xl);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.product-main-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.product-info {
    padding: 24px 0;
}

.product-category-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.product-title {
    font-size: 32px;
    margin-bottom: 16px;
}

.product-price-box {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
}

.product-current-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--black);
}

.product-original-price {
    font-size: 20px;
    color: var(--gray-500);
    text-decoration: line-through;
}

.product-discount {
    padding: 4px 10px;
    background: #dcfce7;
    color: #16a34a;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.product-description {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

.product-specs {
    padding: 24px;
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    margin-bottom: 32px;
}

.product-specs h4 {
    font-size: 16px;
    margin-bottom: 16px;
}

.product-specs p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
}

.product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.btn-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    background: var(--black);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-add-cart:hover {
    background: var(--gray-800);
}

.btn-buy-now {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 32px;
    background: var(--primary);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-buy-now:hover {
    background: var(--primary-dark);
}

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

.product-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.product-feature i {
    font-size: 20px;
    color: var(--primary);
}

.product-feature span {
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   PREMIUM PRODUCT DETAIL PAGE (PDP)
   ======================================== */

.pdp-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.pdp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding: 32px 0 80px;
}

@media (max-width: 992px) {
    .pdp-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 100px;
    }
}

/* Left: Product media – sticky, rounded, shadow, hover zoom */
.pdp-media {
    position: sticky;
    top: 120px;
}

.pdp-media-inner {
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pdp-main-image-wrap {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

.pdp-main-image-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.pdp-main-image-wrap:hover img {
    transform: scale(1.05);
}

.pdp-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pdp-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pdp-thumb:hover,
.pdp-thumb.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 576px) {
    .pdp-media {
        position: static;
    }
    .pdp-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Right: Product info */
.pdp-info {
    min-width: 0;
}

.pdp-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.pdp-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

/* Strong price block */
.pdp-price-block {
    background: rgba(15, 23, 42, 0.8);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pdp-price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 8px;
}

.pdp-price {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
}

.pdp-price-old {
    font-size: 1.25rem;
    color: var(--text-muted, #94A3B8);
    text-decoration: line-through;
}

.pdp-discount-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #dcfce7;
    color: #166534;
    font-size: 13px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.pdp-save {
    font-size: 14px;
    color: var(--text-muted, #94A3B8);
    font-weight: 500;
}

.pdp-desc {
    font-size: 16px;
    color: var(--text-secondary, #CBD5E1);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Spec table (label | value rows, e‑commerce style) */
.pdp-specs-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.pdp-spec-table-wrap {
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pdp-spec-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 23, 42, 0.6);
}

.pdp-spec-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.pdp-spec-table .pdp-spec-label {
    padding: 14px 20px;
    font-size: 13px;
    color: var(--text-muted, #94A3B8);
    font-weight: 500;
    width: 40%;
    vertical-align: middle;
}

.pdp-spec-table .pdp-spec-value {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    vertical-align: middle;
}

/* CTA section */
.pdp-cta-wrap {
    margin-bottom: 28px;
}

.pdp-qty-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    color: var(--white);
}

.pdp-qty-row {
    display: inline-flex;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 20px;
}

.pdp-qty-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.pdp-qty-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.pdp-qty-input {
    width: 56px;
    height: 48px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--white);
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    -moz-appearance: textfield;
}

.pdp-qty-input::-webkit-outer-spin-button,
.pdp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.pdp-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pdp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    text-decoration: none;
}

.pdp-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pdp-btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.pdp-btn-primary:hover {
    background: var(--primary-dark);
}

.pdp-btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.pdp-btn-secondary:hover {
    background: rgba(20, 40, 160, 0.06);
}

.pdp-btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary, #CBD5E1);
}

.pdp-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Trust badges */
.pdp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pdp-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary, #CBD5E1);
}

.pdp-trust-item i {
    font-size: 20px;
    color: var(--primary);
}

/* Sticky CTA bar on mobile */
.pdp-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(10, 22, 40, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .pdp-sticky-cta {
        display: flex;
        align-items: center;
        gap: 12px;
    }
}

.pdp-sticky-cta .pdp-btn-primary {
    flex: 1;
    padding: 16px 24px;
}

/* Gradient border container (optional wrapper) */
.pdp-gradient-border {
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--niva-accent) 100%);
}

.pdp-gradient-border-inner {
    border-radius: calc(var(--radius-xl) - 2px);
    background: var(--white);
    overflow: hidden;
}

/* Dark mode support for PDP */
@media (prefers-color-scheme: dark) {
    .pdp-dark .pdp-media-inner,
    .pdp-dark .pdp-price-block,
    .pdp-dark .pdp-spec-card {
        background: var(--gray-800);
        border-color: var(--gray-700);
    }
    .pdp-dark .pdp-title,
    .pdp-dark .pdp-price,
    .pdp-dark .pdp-spec-value {
        color: var(--white);
    }
    .pdp-dark .pdp-desc,
    .pdp-dark .pdp-save,
    .pdp-dark .pdp-spec-label {
        color: var(--gray-400);
    }
    .pdp-dark .pdp-thumb {
        background: var(--gray-800);
    }
}

/* Add to Cart Button on Product Cards */
.product-card-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.btn-add-to-cart {
    flex: 1;
    padding: 12px 16px;
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-add-to-cart:hover {
    background: var(--gray-800);
}

.btn-add-to-cart.added {
    background: #16a34a;
}

/* Cart Icon Badge */
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.nav-cart {
    position: relative;
}

/* ========================================
   SHOPPING CART PAGE
   ======================================== */

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
}

.empty-cart-icon i {
    font-size: 48px;
    color: var(--gray-400);
}

.empty-cart h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.empty-cart p {
    color: var(--gray-600);
    margin-bottom: 32px;
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.cart-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.btn-clear-cart {
    background: none;
    border: none;
    font-size: 14px;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.btn-clear-cart:hover {
    color: #dc2626;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.cart-item:hover {
    border-color: var(--gray-300);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 16px;
    }

    .cart-item-quantity,
    .cart-item-subtotal {
        grid-column: span 2;
    }
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.cart-item-category {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--gray-500);
    letter-spacing: 0.05em;
}

.cart-item-name {
    font-size: 16px;
    font-weight: 600;
    margin: 4px 0 8px;
}

.cart-item-price {
    font-size: 14px;
    color: var(--gray-700);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: var(--gray-200);
}

.qty-input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-subtotal {
    text-align: right;
}

.subtotal-label {
    font-size: 12px;
    color: var(--gray-500);
    display: block;
}

.subtotal-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
}

.cart-item-remove {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.cart-item-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Cart Summary */
.summary-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: sticky;
    top: 100px;
}

.summary-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.summary-row.summary-total {
    font-size: 20px;
    font-weight: 700;
}

.free-shipping {
    color: #16a34a;
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 8px 0;
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    background: var(--black);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    margin-top: 24px;
    transition: var(--transition-base);
}

.btn-checkout:hover {
    background: var(--gray-800);
    color: var(--white);
}

.btn-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: transparent;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-top: 12px;
    transition: var(--transition-base);
}

.btn-continue:hover {
    border-color: var(--gray-400);
    color: var(--black);
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    margin-top: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--gray-600);
}

.secure-badge i {
    color: #16a34a;
}

/* ========================================
   CHECKOUT PAGE
   ======================================== */

.checkout-form {
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.checkout-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 24px;
}

.checkout-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.checkout-card h3 i {
    color: var(--primary);
}

.form-row {
    margin-bottom: 16px;
}

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

@media (max-width: 576px) {
    .form-row.two-col {
        grid-template-columns: 1fr;
    }
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

/* Summary Items */
.summary-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.summary-item-image {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-item-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.summary-item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
}

.summary-item-details {
    flex: 1;
}

.summary-item-details h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.summary-item-details p {
    font-size: 12px;
    color: var(--gray-500);
    margin: 0;
}

.summary-item-price {
    font-size: 14px;
    font-weight: 600;
}

.btn-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    margin-top: 24px;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-pay:hover {
    background: var(--primary-dark);
}

.payment-methods {
    text-align: center;
    margin-top: 20px;
}

.payment-methods p {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 28px;
    color: var(--gray-400);
}

/* ========================================
   ORDER RESULT PAGES
   ======================================== */

.order-result-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.order-result {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.result-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.order-result.success .result-icon {
    background: #dcfce7;
}

.order-result.success .result-icon i {
    font-size: 48px;
    color: #16a34a;
}

.order-result.failure .result-icon {
    background: #fee2e2;
}

.order-result.failure .result-icon i {
    font-size: 48px;
    color: #dc2626;
}

.order-result h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.result-message {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.order-details-card {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 24px;
}

.order-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.order-detail:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: var(--gray-600);
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
}

.detail-value.highlight {
    font-size: 18px;
    color: #16a34a;
}

.detail-value.error-text {
    color: #dc2626;
}

.confirmation-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.confirmation-note i {
    color: var(--primary);
}

.failure-reasons {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.failure-reasons h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.failure-reasons ul {
    margin: 0;
    padding-left: 20px;
}

.failure-reasons li {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.result-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.support-info {
    padding: 24px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.support-info p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.support-info a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

/* ========================================
   AUTHENTICATION PAGES
   ======================================== */

.auth-container {
    max-width: 480px;
    margin: 0 auto;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
}

.auth-icon i {
    font-size: 32px;
    color: var(--white);
}

.auth-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--gray-600);
    font-size: 15px;
}

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

.auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i:first-child {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 16px;
}

.input-with-icon .form-control {
    padding-left: 48px;
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px 8px;
}

.password-toggle:hover {
    color: var(--gray-600);
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 6px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-600);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary);
    font-weight: 500;
}

.forgot-link {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

.btn-auth {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.auth-footer p {
    font-size: 14px;
    color: var(--gray-600);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* Social Login Buttons */
.social-login-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-social-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-700);
    transition: var(--transition-base);
    cursor: pointer;
}

.btn-social-login:hover {
    border-color: var(--gray-400);
    background: var(--gray-50);
    color: var(--gray-800);
}

.btn-social-login.google:hover {
    border-color: #4285F4;
    background: rgba(66, 133, 244, 0.05);
}

.btn-social-login.phone {
    background: var(--gray-100);
}

.btn-social-login.phone:hover {
    border-color: var(--primary);
    background: rgba(20, 40, 160, 0.05);
    color: var(--primary);
}

.btn-social-login i {
    font-size: 18px;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    padding: 0 16px;
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Back to Email Button */
.btn-back-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    margin-top: 16px;
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-back-email:hover {
    color: var(--primary);
}

/* Reset Password Tabs */
.reset-method-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.reset-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    background: var(--gray-100);
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-lg);
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition-fast);
}

.reset-tab:hover {
    background: var(--gray-200);
    border-color: var(--gray-200);
}

.reset-tab.active {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
}

.reset-info {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #eff6ff;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.reset-info i {
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.reset-info p {
    font-size: 14px;
    color: var(--gray-700);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 32px 24px;
    }

    .form-options {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
}

/* ========================================
   ACCOUNT PAGE
   ======================================== */

.account-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
}

.account-sidebar {
    position: sticky;
    top: 100px;
}

.account-user-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    margin-bottom: 16px;
}

.user-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
}

.user-avatar i {
    font-size: 32px;
    color: var(--white);
}

.account-user-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.account-user-card p {
    font-size: 14px;
    color: var(--gray-500);
}

.account-nav {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition-fast);
}

.account-nav a:last-child {
    border-bottom: none;
}

.account-nav a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.account-nav a.active {
    background: rgba(20, 40, 160, 0.05);
    color: var(--primary);
    border-left: 3px solid var(--primary);
}

.account-nav a i {
    width: 20px;
    font-size: 16px;
}

.account-nav .logout-link {
    color: #dc2626;
}

.account-nav .logout-link:hover {
    background: #fef2f2;
}

.account-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 24px;
}

.account-card-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.account-card-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    margin: 0;
}

.account-card-header h3 i {
    color: var(--primary);
}

.account-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
}

.status-active {
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 576px) {
    .account-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   LEGAL PAGES (Privacy Policy, Terms)
   ======================================== */

.legal-content {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.legal-content .last-updated {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-200);
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--black);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.legal-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 24px;
}

.legal-content ul li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.legal-content .contact-info-box {
    background: var(--gray-100);
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-top: 24px;
}

.legal-content .contact-info-box p {
    margin-bottom: 8px;
}

.legal-content .contact-info-box p:last-child {
    margin-bottom: 0;
}

.legal-content .contact-info-box i {
    color: var(--primary);
    margin-right: 8px;
    width: 16px;
}

.legal-content .contact-info-box a {
    color: var(--primary);
    font-weight: 500;
}

.legal-content .contact-info-box a:hover {
    text-decoration: underline;
}

.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 32px 24px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}
