﻿/* ═══════════════════════════════════════════════════════════════
   PERFECTTIO PROFESSIONAL CSS SYSTEM v2.0 - COMPLETE
   Brand Colors: Orange #FF6B35 | Black #1a1a1a | White/Gray
   Created:  2025 | by rihardmens
   INCLUDES: Logo Fix + CAD Window + All Sections
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* 🧡 PERFECTTIO ORANGE - Primary Brand Color */
    --perfecttio-orange-50: #fff5f0;
    --perfecttio-orange-100: #ffe6d9;
    --perfecttio-orange-200: #ffc9ad;
    --perfecttio-orange-300: #ffa680;
    --perfecttio-orange-400: #ff8554;
    --perfecttio-orange-500: #FF6B35; /* Main Brand Color */
    --perfecttio-orange-600: #e65a28;
    --perfecttio-orange-700: #cc4a1c;
    --perfecttio-orange-800: #b33a11;
    --perfecttio-orange-900: #992a05;
    /* ⚫ PERFECTTIO BLACK - Professional Dark */
    --perfecttio-black-50: #f5f5f5;
    --perfecttio-black-100: #e8e8e8;
    --perfecttio-black-200: #d1d1d1;
    --perfecttio-black-300: #b0b0b0;
    --perfecttio-black-400: #888888;
    --perfecttio-black-500: #666666;
    --perfecttio-black-600: #4a4a4a;
    --perfecttio-black-700: #2d2d2d;
    --perfecttio-black-800: #1a1a1a; /* Main Dark Color */
    --perfecttio-black-900: #0d0d0d;
    /* ⚪ PERFECTTIO NEUTRAL - Professional Grays */
    --perfecttio-gray-50: #fafafa;
    --perfecttio-gray-100: #f4f4f5;
    --perfecttio-gray-200: #e4e4e7;
    --perfecttio-gray-300: #d4d4d8;
    --perfecttio-gray-400: #a1a1aa;
    --perfecttio-gray-500: #71717a;
    --perfecttio-gray-600: #52525b;
    --perfecttio-gray-700: #3f3f46;
    --perfecttio-gray-800: #27272a;
    --perfecttio-gray-900: #18181b;
    /* 🔥 PERFECTTIO GRADIENTS */
    --gradient-perfecttio: linear-gradient(135deg, #FF6B35 0%, #ff8554 50%, #ffa680 100%);
    --gradient-perfecttio-dark: linear-gradient(135deg, #e65a28 0%, #FF6B35 100%);
    --gradient-perfecttio-soft: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 133, 84, 0.1) 100%);
    --gradient-text: linear-gradient(135deg, #FF6B35 0%, #ffa680 100%);
    /* 🌟 BACKGROUND GRADIENTS */
    --bg-hero: radial-gradient(ellipse at top, rgba(255, 107, 53, 0.15) 0%, transparent 70%), linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    --bg-section: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    --bg-card: rgba(42, 42, 42, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.05);
    /* 📊 STATUS COLORS */
    --success-500: #10b981;
    --success-600: #059669;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    --error-500: #ef4444;
    --error-600: #dc2626;
    /* 🎨 PROFESSIONAL TYPOGRAPHY */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    /* 📐 SPACING SCALE */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-28: 7rem;
    --space-32: 8rem;
    /* 🔲 BORDER RADIUS */
    --radius-sm: 0.25rem;
    --radius: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;
    /* 🌑 SHADOWS */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.45);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-2xl: 0 35px 60px -12px rgba(0, 0, 0, 0.6);
    /* 🧡 PERFECTTIO ORANGE SHADOWS */
    --shadow-perfecttio: 0 4px 14px 0 rgba(255, 107, 53, 0.4);
    --shadow-perfecttio-lg: 0 10px 25px -3px rgba(255, 107, 53, 0.5);
    --shadow-perfecttio-xl: 0 20px 40px -8px rgba(255, 107, 53, 0.6);
    /* ⚡ TRANSITIONS */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    /* 🌫️ BLUR EFFECTS */
    --blur-sm: 4px;
    --blur: 8px;
    --blur-md: 12px;
    --blur-lg: 16px;
    --blur-xl: 24px;
    --blur-2xl: 40px;
    --blur-3xl: 64px;
    /* 📚 Z-INDEX SCALE */
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1050;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-primary);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--perfecttio-gray-200);
    background: var(--perfecttio-black-800);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.professional-system-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--bg-hero);
    position: relative;
    color: #f4f4f5 !important;
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    color: var(--perfecttio-gray-50);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: var(--space-4);
}

h1 {
    font-size: clamp(2.25rem, 5vw, 4. 5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 3.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-4);
    line-height: 1.75;
    color: var(--perfecttio-gray-300);
}

strong {
    font-weight: 600;
    color: var(--perfecttio-gray-100);
}

a {
    color: var(--perfecttio-orange-400);
    text-decoration: none;
    transition: var(--transition-fast);
}

    a:hover {
        color: var(--perfecttio-orange-300);
    }

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════════════
   PROFESSIONAL HEADER
   ═══════════════════════════════════════════════════════════════ */

.professional-header {
    position: sticky !important;
    top: 0 !important;
    z-index: var(--z-sticky) !important;
    background: rgba(26, 26, 26, 0.9) !important;
    backdrop-filter: blur(var(--blur-xl));
    -webkit-backdrop-filter: blur(var(--blur-xl));
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

    .professional-header.scrolled {
        background: rgba(26, 26, 26, 0.95) !important;
        border-bottom-color: rgba(255, 107, 53, 0.2);
        box-shadow: var(--shadow-xl), var(--shadow-perfecttio);
    }

.header-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 53, 0.05) 50%, transparent 100%);
    opacity: 0;
    transition: var(--transition-slow);
}

.professional-header:hover .header-backdrop {
    opacity: 1;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════════
   PERFECTTIO BRAND & LOGO - FIXED SIZE (50px ALWAYS!)
   ═══════════════════════════════════════════════════════════════ */

.brand-professional {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--perfecttio-gray-50);
    text-decoration: none;
    transition: var(--transition-normal);
    padding: var(--space-2);
    border-radius: var(--radius-xl);
}

    .brand-link:hover {
        transform: translateY(-2px);
        color: var(--perfecttio-gray-50);
    }

.brand-logo-wrapper {
    position: relative;
    height: 50px !important;
    display: flex;
    align-items: center;
}

/* ✅ PERFECTTIO LOGO - REAL IMAGE - FORCED 50PX */
.brand-logo-perfecttio {
    height: 50px !important;
    max-height: 50px !important;
    min-height: 50px !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    padding: var(--space-1);
    background: transparent;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    position: relative;
}

.perfecttio-logo-image {
    height: 50px !important;
    max-height: 50px !important;
    min-height: 50px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    transition: var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.brand-link:hover .brand-logo-perfecttio {
    background: rgba(255, 107, 53, 0.05);
    transform: translateY(-1px);
}

.brand-link:hover .perfecttio-logo-image {
    filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.4));
    transform: scale(1.02);
}
/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.navigation-professional {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-2);
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-lg));
    padding: var(--space-2);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

    .nav-list::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 53, 0.05) 50%, transparent 100%);
        opacity: 0;
        transition: var(--transition-slow);
    }

    .nav-list:hover::before {
        opacity: 1;
    }

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    color: var(--perfecttio-gray-300);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

    .nav-link::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-perfecttio);
        opacity: 0;
        transition: var(--transition-normal);
        border-radius: var(--radius-lg);
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        opacity: 0.15;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--perfecttio-gray-50);
        transform: translateY(-1px);
        box-shadow: var(--shadow-perfecttio);
    }

.nav-icon {
    font-size: 1rem;
    transition: var(--transition-normal);
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    transform: scale(1.1);
    color: var(--perfecttio-orange-400);
}

.nav-text {
    position: relative;
    z-index: 2;
}

.nav-indicator {
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-perfecttio);
    border-radius: var(--radius-full);
    transform: translateX(-50%);
    transition: var(--transition-normal);
}

.nav-link.active .nav-indicator {
    width: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   USER ACTIONS & CART
   ═══════════════════════════════════════════════════════════════ */

.user-actions-professional {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.cart-professional {
    position: relative;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3);
    background: var(--bg-glass);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-xl);
    color: var(--perfecttio-gray-300);
    font-size: 1.3rem;
    transition: var(--transition-normal);
    text-decoration: none;
    backdrop-filter: blur(var(--blur-lg));
    overflow: hidden;
}

    .cart-link::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-perfecttio);
        opacity: 0;
        transition: var(--transition-normal);
        border-radius: var(--radius-xl);
    }

    .cart-link:hover::before {
        opacity: 0.1;
    }

    .cart-link:hover {
        color: var(--perfecttio-gray-50);
        transform: translateY(-2px);
        box-shadow: var(--shadow-perfecttio);
        border-color: var(--perfecttio-orange-400);
    }

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gradient-perfecttio);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: var(--radius-full);
    min-width: 20px;
    text-align: center;
    line-height: 1.2;
    box-shadow: var(--shadow-perfecttio);
    border: 2px solid var(--perfecttio-black-800);
    animation: perfecttioBadgePulse 3s ease-in-out infinite;
}

@keyframes perfecttioBadgePulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        box-shadow: var(--shadow-perfecttio-lg);
    }
}

.cart-pulse {
    position: absolute;
    inset: -3px;
    border: 2px solid var(--perfecttio-orange-400);
    border-radius: var(--radius-xl);
    opacity: 0;
    animation: cartPulse 2s ease-in-out infinite;
}

@keyframes cartPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PROFESSIONAL BUTTONS
   ═══════════════════════════════════════════════════════════════ */

.user-menu-professional {
    display: flex;
    gap: var(--space-3);
}

.btn-professional {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    backdrop-filter: blur(var(--blur-lg));
}

    .btn-professional::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
        transform: translateX(-100%);
        transition: transform 0.6s;
    }

    .btn-professional:hover::before {
        transform: translateX(100%);
    }

.btn-login {
    background: var(--bg-glass);
    color: var(--perfecttio-gray-300);
    border-color: rgba(255, 107, 53, 0.2);
}

    .btn-login:hover {
        color: var(--perfecttio-gray-50);
        background: var(--bg-card);
        border-color: var(--perfecttio-orange-400);
        transform: translateY(-1px);
    }

.btn-register {
    background: var(--gradient-perfecttio);
    color: white;
    box-shadow: var(--shadow-perfecttio);
    border-color: var(--perfecttio-orange-600);
}

    .btn-register:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-perfecttio-lg);
        color: white;
    }

.btn-content {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    position: relative;
    z-index: 2;
}

.btn-icon {
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.btn-text {
    font-weight: 600;
}

.btn-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-perfecttio);
    border-radius: var(--radius-2xl);
    opacity: 0;
    filter: blur(8px);
    transition: var(--transition-normal);
    z-index: -1;
}

.btn-primary {
    background: var(--gradient-perfecttio);
    color: white;
    box-shadow: var(--shadow-perfecttio);
    border: 1px solid rgba(255, 107, 53, 0.5);
}

    .btn-primary:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: var(--shadow-perfecttio-lg);
        color: white;
    }

        .btn-primary:hover .btn-glow {
            opacity: 0.6;
        }

        .btn-primary:hover .btn-icon {
            transform: scale(1.1) rotate(10deg);
        }

.btn-secondary {
    background: var(--bg-glass);
    color: var(--perfecttio-orange-400);
    border: 2px solid var(--perfecttio-orange-500);
    backdrop-filter: blur(var(--blur-lg));
}

    .btn-secondary:hover {
        background: var(--perfecttio-orange-500);
        color: white;
        transform: translateY(-2px);
        box-shadow: var(--shadow-perfecttio);
    }

/* ═══════════════════════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════════════════════ */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(var(--blur-lg));
}

.toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 2;
}

.toggle-line {
    width: 20px;
    height: 2px;
    background: var(--perfecttio-gray-300);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.mobile-menu-toggle:hover {
    background: var(--bg-card);
    border-color: var(--perfecttio-orange-400);
    transform: translateY(-1px);
}

    .mobile-menu-toggle:hover .toggle-line {
        background: var(--perfecttio-orange-400);
    }

.mobile-menu-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--perfecttio-orange-400);
}

.mobile-menu-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--perfecttio-orange-400);
}

.mobile-navigation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(var(--blur-3xl));
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

    .mobile-navigation-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.mobile-nav-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: var(--space-6);
    max-width: 400px;
    margin: 0 auto;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

    .mobile-brand .brand-logo-perfecttio {
        height: 45px !important;
        max-height: 45px !important;
        min-height: 45px !important;
    }

    .mobile-brand .perfecttio-logo-image {
        height: 45px !important;
        max-height: 45px !important;
        min-height: 45px !important;
    }

.mobile-nav-close {
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-lg);
    color: var(--perfecttio-gray-300);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(var(--blur-lg));
}

    .mobile-nav-close:hover {
        background: var(--error-500);
        color: white;
        border-color: var(--error-500);
    }

.mobile-nav-menu {
    flex: 1;
    margin-bottom: var(--space-8);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    list-style: none;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    color: var(--perfecttio-gray-300);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: var(--radius-xl);
    border: 1px solid transparent;
    transition: var(--transition-normal);
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-lg));
}

    .mobile-nav-link:hover {
        color: var(--perfecttio-gray-50);
        background: var(--bg-card);
        border-color: var(--perfecttio-orange-400);
        transform: translateX(4px);
    }

    .mobile-nav-link i {
        font-size: 1.2rem;
        color: var(--perfecttio-orange-400);
        width: 24px;
        text-align: center;
    }

.mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.btn-professional.mobile {
    width: 100%;
    justify-content: center;
    padding: var(--space-4) var(--space-6);
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════════ */

.main-content-professional {
    flex: 1;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.hero-professional {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-24) 0 var(--space-16);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.1) 0%, transparent 50%), radial-gradient(circle at 75% 75%, rgba(255, 133, 84, 0.1) 0%, transparent 50%);
    opacity: 0.4;
}

.hero-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    transform: translateX(-50%);
    filter: blur(80px);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: var(--space-20);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-xl));
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-full);
    padding: var(--space-3) var(--space-6);
    margin-bottom: var(--space-8);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-perfecttio);
}

.badge-icon {
    color: var(--perfecttio-orange-400);
    font-size: 1.1rem;
}

.badge-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--perfecttio-gray-100);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 90%, 100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(100%);
    }
}
/* ═══════════════════════════════════════════════════════════════
   HERO CONTENT CONTINUED
   ═══════════════════════════════════════════════════════════════ */

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-8);
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    color: var(--perfecttio-gray-400);
    font-size: 0.35em;
    font-weight: 600;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.title-main {
    display: block;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--perfecttio-gray-200);
    margin-bottom: var(--space-8);
    line-height: 1.6;
    font-weight: 500;
}

.hero-description p {
    font-size: 1.2rem;
    color: var(--perfecttio-gray-300);
    line-height: 1.8;
}

.hero-values {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-xl));
    padding: var(--space-6);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-left: 4px solid var(--perfecttio-orange-500);
    margin: var(--space-6) 0 var(--space-10);
    box-shadow: var(--shadow);
}

.values-icon {
    color: var(--perfecttio-orange-400);
    font-size: 1.5rem;
    margin-top: var(--space-1);
}

.values-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--perfecttio-gray-100);
    margin-bottom: var(--space-2);
}

.values-content p {
    color: var(--perfecttio-gray-200);
    margin: 0;
    font-style: italic;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.stat-item {
    text-align: center;
    padding: var(--space-6);
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-lg));
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: var(--transition-normal);
}

    .stat-item:hover {
        transform: translateY(-4px);
        border-color: var(--perfecttio-orange-400);
        box-shadow: var(--shadow-perfecttio);
    }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--perfecttio-orange-400);
    font-family: var(--font-mono);
    margin-bottom: var(--space-2);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--perfecttio-gray-300);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════════
   CAD SHOWCASE WINDOW - RESTORED WITH ORANGE THEME
   ═══════════════════════════════════════════════════════════════ */

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.cad-showcase {
    width: 100%;
    max-width: 480px;
    transition: var(--transition-slow);
}

    .cad-showcase:hover {
        transform: translateY(-8px) rotateY(5deg);
    }

.cad-window {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-xl));
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl), var(--shadow-perfecttio);
    position: relative;
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-xl));
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.window-controls {
    display: flex;
    gap: var(--space-2);
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

    .control.red {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    }

    .control.yellow {
        background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    }

    .control.green {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    }

.window-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--perfecttio-orange-400);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
}

.window-status {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8rem;
    color: var(--success-500);
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-500);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.cad-viewport {
    height: 320px;
    background: linear-gradient(135deg, var(--perfecttio-gray-800) 0%, var(--perfecttio-gray-900) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.viewport-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 107, 53, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 107, 53, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.model-display {
    position: relative;
    width: 160px;
    height: 160px;
    transform-style: preserve-3d;
    animation: modelRotate 20s linear infinite;
}

@keyframes modelRotate {
    from {
        transform: rotateX(10deg) rotateY(0deg);
    }

    to {
        transform: rotateX(10deg) rotateY(360deg);
    }
}

.model-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.model-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-perfecttio);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    box-shadow: var(--shadow-perfecttio);
}

    .model-face.front {
        transform: translateZ(80px);
    }

    .model-face.back {
        transform: rotateY(180deg) translateZ(80px);
        background: var(--gradient-perfecttio-dark);
    }

    .model-face.left {
        transform: rotateY(-90deg) translateZ(80px);
        background: var(--gradient-perfecttio-soft);
    }

    .model-face.right {
        transform: rotateY(90deg) translateZ(80px);
        background: var(--gradient-perfecttio-soft);
    }

    .model-face.top {
        transform: rotateX(90deg) translateZ(80px);
        background: var(--gradient-perfecttio-dark);
    }

    .model-face.bottom {
        transform: rotateX(-90deg) translateZ(80px);
        background: var(--gradient-perfecttio-dark);
    }

.tech-annotations {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.annotation {
    position: absolute;
    color: var(--perfecttio-orange-400);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

    .annotation.top-left {
        top: 20%;
        left: 15%;
    }

    .annotation.bottom-right {
        bottom: 20%;
        right: 15%;
    }

.annotation-line {
    width: 40px;
    height: 1px;
    background: var(--perfecttio-orange-400);
    margin-bottom: var(--space-1);
}

.annotation-label {
    padding: var(--space-1) var(--space-2);
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius);
    border: 1px solid var(--perfecttio-orange-400);
}

.viewport-tools {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.tool-item {
    width: 36px;
    height: 36px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-lg));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--perfecttio-gray-300);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

    .tool-item:hover,
    .tool-item.active {
        background: var(--perfecttio-orange-500);
        color: white;
        border-color: var(--perfecttio-orange-400);
        transform: scale(1.1);
    }

.properties-panel {
    background: var(--bg-card);
    backdrop-filter: blur(var(--blur-lg));
    padding: var(--space-6);
    border-top: 1px solid rgba(255, 107, 53, 0.2);
}

.property-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.property-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--bg-glass);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: var(--transition-normal);
}

    .property-item:hover {
        border-color: var(--perfecttio-orange-400);
        transform: translateY(-2px);
    }

.property-icon {
    color: var(--perfecttio-orange-400);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.property-info {
    flex: 1;
}

.property-label {
    display: block;
    font-size: 0.7rem;
    color: var(--perfecttio-gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.property-value {
    display: block;
    font-size: 0.9rem;
    color: var(--perfecttio-gray-100);
    font-weight: 600;
    font-family: var(--font-mono);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════════════ */

.services-professional {
    padding: var(--space-32) 0;
    position: relative;
    background: var(--bg-section);
}

.section-background {
    position: absolute;
    inset: 0;
}

.section-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 30% 40%, rgba(255, 107, 53, 0.05) 0%, transparent 50%), radial-gradient(circle at 70% 60%, rgba(255, 133, 84, 0.05) 0%, transparent 50%);
}

.services-container,
.partnership-container,
.gallery-container,
.testimonials-container,
.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-20);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-xl));
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-full);
    padding: var(--space-2) var(--space-4);
    margin-bottom: var(--space-6);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--perfecttio-orange-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    margin-bottom: var(--space-6);
    color: var(--perfecttio-gray-50);
    text-align: center;
}

.section-divider {
    width: 100px;
    height: 3px;
    background: var(--gradient-perfecttio);
    margin: var(--space-6) auto;
    border-radius: var(--radius-full);
}

.section-description {
    font-size: 1.2rem;
    color: var(--perfecttio-gray-400);
    text-align: center;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: var(--space-12);
}

.service-card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-xl));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-3xl);
    padding: var(--space-10);
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-lg);
}

    .service-card:hover {
        transform: translateY(-10px) scale(1.02);
        border-color: var(--perfecttio-orange-400);
        box-shadow: var(--shadow-2xl), var(--shadow-perfecttio-lg);
    }

.card-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-perfecttio);
    border-radius: var(--radius-3xl);
    opacity: 0;
    filter: blur(20px);
    transition: var(--transition-slow);
    z-index: -1;
}

.service-card:hover .card-glow {
    opacity: 0.3;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
}

.service-icon {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-2xl);
    color: white;
    font-size: 2rem;
    transition: var(--transition-slow);
}

.icon-background {
    position: absolute;
    inset: 0;
    background: var(--gradient-perfecttio);
    box-shadow: var(--shadow-perfecttio);
    border-radius: var(--radius-2xl);
    transition: var(--transition-slow);
}

.service-icon i {
    position: relative;
    z-index: 2;
    transition: var(--transition-normal);
}

.icon-glow {
    position: absolute;
    inset: -4px;
    background: var(--gradient-perfecttio);
    border-radius: var(--radius-2xl);
    filter: blur(12px);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: -1;
}

.service-card:hover .icon-glow {
    opacity: 0.6;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotateY(15deg);
}

.service-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .service-badge.premium {
        background: var(--gradient-perfecttio);
        color: white;
        box-shadow: var(--shadow-perfecttio);
    }

.service-content {
    margin-bottom: var(--space-8);
}

.service-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--perfecttio-gray-50);
    margin-bottom: var(--space-6);
    line-height: 1.3;
}

.service-description p {
    color: var(--perfecttio-gray-300);
    line-height: 1.8;
    font-size: 1.1rem;
}

.service-highlight {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-lg));
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-left: 4px solid var(--perfecttio-orange-500);
    margin: var(--space-6) 0;
}

.highlight-icon {
    color: var(--perfecttio-orange-400);
    font-size: 1.25rem;
    margin-top: var(--space-1);
}

.highlight-content p {
    margin: 0;
    color: var(--perfecttio-gray-200);
    font-weight: 500;
    line-height: 1.7;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--perfecttio-gray-300);
    font-weight: 500;
    transition: var(--transition-normal);
    padding: var(--space-2) 0;
}

    .feature-item:hover {
        color: var(--perfecttio-gray-200);
        transform: translateX(4px);
    }

    .feature-item i {
        color: var(--perfecttio-orange-400);
        font-size: 1.125rem;
    }

.service-footer {
    border-top: 1px solid rgba(255, 107, 53, 0.1);
    padding-top: var(--space-6);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--perfecttio-orange-400);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-normal);
    text-decoration: none;
}

    .service-link:hover {
        color: var(--perfecttio-orange-300);
        transform: translateX(6px);
    }

    .service-link i {
        transition: var(--transition-normal);
    }

    .service-link:hover i {
        transform: translateX(4px);
    }
/* ═══════════════════════════════════════════════════════════════
   PARTNERSHIP SECTION - ORANGE THEME
   ═══════════════════════════════════════════════════════════════ */

.partnership-professional {
    padding: var(--space-32) 0;
    position: relative;
    background: var(--perfecttio-black-900);
}

.section-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.08) 0%, transparent 70%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-10);
    margin-top: var(--space-16);
}

.benefit-card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-xl));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-3xl);
    padding: var(--space-8) var(--space-8) var(--space-10);
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-lg);
}

    .benefit-card:hover {
        transform: translateY(-8px) scale(1.02);
        border-color: var(--perfecttio-orange-400);
        box-shadow: var(--shadow-2xl), var(--shadow-perfecttio-lg);
    }

.benefit-icon {
    margin-bottom: var(--space-6);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    transition: var(--transition-slow);
    background: var(--gradient-perfecttio);
    box-shadow: var(--shadow-perfecttio);
}

    .icon-wrapper .icon-glow {
        position: absolute;
        inset: -6px;
        background: var(--gradient-perfecttio);
        border-radius: var(--radius-2xl);
        filter: blur(12px);
        opacity: 0;
        transition: var(--transition-normal);
        z-index: -1;
    }

.benefit-card:hover .icon-glow {
    opacity: 0.6;
}

.benefit-card:hover .icon-wrapper {
    transform: scale(1.1) rotateY(15deg);
}

.benefit-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--perfecttio-gray-50);
    margin-bottom: var(--space-5);
    line-height: 1.3;
}

.benefit-content p {
    color: var(--perfecttio-gray-300);
    line-height: 1.8;
    margin: 0;
    font-size: 1.1rem;
}

.benefit-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-perfecttio);
    opacity: 0;
    transition: var(--transition-slow);
    border-radius: var(--radius-3xl);
    filter: blur(40px);
    z-index: -1;
}

.benefit-card:hover .benefit-glow {
    opacity: 0.1;
}

/* ═══════════════════════════════════════════════════════════════
   GALLERY SECTION - ORANGE NOT BLUE! 
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   GALLERY SECTION - PERFECTTIO ORANGE (NOT BLUE!)
   ═══════════════════════════════════════════════════════════════ */

.gallery-professional {
    padding: var(--space-32) 0;
    background: var(--perfecttio-black-900); /* MELNS, NEVIS ZILS!  */
    position: relative;
    overflow: hidden;
}

    .gallery-professional::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        /* ✅ ORANGE GRADIENT - NEVIS BLUE! */
        background: radial-gradient(circle at 30% 40%, rgba(255, 107, 53, 0.08) 0%, transparent 50%), radial-gradient(circle at 70% 60%, rgba(255, 133, 84, 0.06) 0%, transparent 50%);
        animation: galaxyRotate 30s linear infinite;
        pointer-events: none;
    }

@keyframes galaxyRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
    z-index: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: var(--space-16);
}

.gallery-item {
    /* ✅ PELĒKS FONS - NEVIS ZILS! */
    background: linear-gradient(145deg, var(--perfecttio-gray-800) 0%, var(--perfecttio-black-800) 100%);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 107, 53, 0.15);
    box-shadow: var(--shadow-lg);
}

    .gallery-item::before {
        content: '';
        position: absolute;
        inset: -2px;
        /* ✅ ORANGE GLOW!  */
        background: linear-gradient(135deg, rgba(255, 107, 53, 0) 0%, rgba(255, 107, 53, 0.4) 50%, rgba(255, 133, 84, 0.4) 100%);
        border-radius: var(--radius-3xl);
        opacity: 0;
        transition: opacity 0.5s ease;
        z-index: -1;
        filter: blur(20px);
    }

    .gallery-item:hover::before {
        opacity: 1;
    }

    .gallery-item:hover {
        transform: translateY(-12px) scale(1.01);
        border-color: var(--perfecttio-orange-400);
        box-shadow: var(--shadow-2xl), var(--shadow-perfecttio-lg);
    }

.gallery-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    /* ✅ PELĒKS FONS - NEVIS ZILS! */
    background: linear-gradient(135deg, var(--perfecttio-gray-700) 0%, var(--perfecttio-gray-800) 100%);
}

    .gallery-image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.95) 100%);
        pointer-events: none;
        z-index: 1;
    }

    .gallery-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
        filter: brightness(0.9);
    }

.gallery-item:hover .gallery-image img {
    transform: scale(1.08);
    filter: brightness(1);
}

/* Image Placeholder */
.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-perfecttio);
    color: white;
    font-size: 4rem;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.8) 100%);
    z-index: 1;
}

.image-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: white;
    opacity: 0.3;
    z-index: 2;
    transition: var(--transition-normal);
}

.gallery-item:hover .image-icon {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0.5rem 1rem;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(var(--blur-xl));
    border: 1px solid var(--perfecttio-orange-400);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--perfecttio-orange-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 5;
    box-shadow: var(--shadow-perfecttio);
    transition: all 0.3s ease;
}

.gallery-item:hover .project-badge {
    background: var(--perfecttio-orange-500);
    color: white;
    border-color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-perfecttio-lg);
}

.gallery-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

    .project-title,
    .project-header h4 {
        font-size: 1.35rem;
        font-weight: 700;
        color: var(--perfecttio-gray-50);
        line-height: 1.3;
        margin: 0;
        transition: var(--transition-normal);
    }

.gallery-item:hover .project-title,
.gallery-item:hover .project-header h4 {
    color: var(--perfecttio-orange-300);
}

.project-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Gallery Content Description */
.gallery-content > p,
.gallery-content .project-description {
    color: var(--perfecttio-gray-300);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Badges Section */
.badges-section {
    margin-bottom: 1rem;
}

.badges-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--perfecttio-gray-400);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .badges-label i {
        color: var(--perfecttio-orange-400);
        font-size: 0.9rem;
    }

.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge,
.material-badge {
    padding: 0.3rem 0.75rem;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--perfecttio-orange-300);
    transition: var(--transition-normal);
}

    .tech-badge:hover,
    .material-badge:hover {
        background: rgba(255, 107, 53, 0.2);
        border-color: var(--perfecttio-orange-400);
        color: var(--perfecttio-orange-200);
    }

/* Project Footer Meta */
.project-footer,
.project-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--perfecttio-gray-400);
    font-weight: 500;
}

    .meta-item i {
        color: var(--perfecttio-orange-400);
        font-size: 1rem;
    }

.click-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--perfecttio-orange-400);
    font-weight: 600;
    margin-left: auto;
    opacity: 0;
    transition: var(--transition-normal);
}

.gallery-item:hover .click-hint {
    opacity: 1;
}

/* Empty Gallery State */
.empty-gallery {
    text-align: center;
    padding: var(--space-24) var(--space-6);
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-xl));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-3xl);
    max-width: 600px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    color: var(--perfecttio-orange-400);
    margin-bottom: var(--space-6);
}

    .empty-icon i {
        opacity: 0.5;
    }

.empty-gallery h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--perfecttio-gray-200);
    margin-bottom: var(--space-4);
}

.empty-gallery p {
    color: var(--perfecttio-gray-400);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Gallery CTA */
.gallery-cta {
    text-align: center;
    margin-top: var(--space-16);
}

/* Responsive Gallery */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-image {
        height: 250px;
    }

    .project-footer,
    .project-meta {
        gap: 1rem;
    }

    .click-hint {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION - RESTORED & ORANGE
   ═══════════════════════════════════════════════════════════════ */

.testimonials-professional {
    padding: var(--space-32) 0;
    position: relative;
    background: var(--perfecttio-black-900);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-10);
    margin-top: var(--space-16);
}

.testimonial-card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-xl));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-3xl);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-lg);
}

    .testimonial-card:hover {
        transform: translateY(-6px) scale(1.01);
        border-color: var(--perfecttio-orange-400);
        box-shadow: var(--shadow-2xl), var(--shadow-perfecttio-lg);
    }

.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
}

.client-avatar {
    width: 64px;
    height: 64px;
    background: var(--gradient-perfecttio);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: var(--shadow-perfecttio);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    color: #fbbf24;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.testimonial-content {
    position: relative;
    margin-bottom: var(--space-8);
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: -15px;
    color: var(--perfecttio-orange-400);
    font-size: 2.5rem;
    opacity: 0.3;
}

.testimonial-content p {
    color: var(--perfecttio-gray-200);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0;
    padding-left: var(--space-8);
    position: relative;
    z-index: 2;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
    padding-top: var(--space-6);
}

.client-info strong {
    color: var(--perfecttio-gray-50);
    font-weight: 600;
    font-size: 1.15rem;
    display: block;
    margin-bottom: var(--space-1);
}

.client-info small {
    color: var(--perfecttio-gray-400);
    font-size: 0.95rem;
    display: block;
}

.company-logo {
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--perfecttio-orange-400);
    font-size: 1.2rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: var(--transition-normal);
}

.testimonial-card:hover .company-logo {
    background: var(--perfecttio-orange-500);
    color: white;
    border-color: var(--perfecttio-orange-400);
    transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════════ */

.contact-professional {
    padding: var(--space-32) 0;
    position: relative;
    background: var(--bg-section);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    margin-top: var(--space-16);
}

.contact-card,
.form-card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-xl));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-3xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-lg);
}

.contact-header h3,
.form-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--perfecttio-gray-50);
    margin-bottom: var(--space-4);
}

.contact-header p,
.form-header p {
    color: var(--perfecttio-gray-300);
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    margin: var(--space-10) 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-6);
    transition: var(--transition-normal);
    padding: var(--space-4);
    border-radius: var(--radius-xl);
}

    .contact-method:hover {
        background: var(--bg-glass);
        transform: translateX(4px);
    }

.method-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-perfecttio);
    box-shadow: var(--shadow-perfecttio);
    color: white;
    font-size: 1.75rem;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.contact-method:hover .method-icon {
    transform: scale(1.1) rotateY(15deg);
}

.method-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--perfecttio-gray-50);
    margin-bottom: var(--space-3);
}

.method-info a {
    color: var(--perfecttio-orange-400);
    font-weight: 500;
    font-size: 1.15rem;
}

.method-info span {
    color: var(--perfecttio-gray-300);
    font-size: 1.15rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.form-group {
    margin-bottom: var(--space-6);
}

    .form-group label {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        color: var(--perfecttio-gray-200);
        font-weight: 600;
        margin-bottom: var(--space-3);
        font-size: 1rem;
    }

        .form-group label i {
            color: var(--perfecttio-orange-400);
        }

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-lg));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-xl);
    color: var(--perfecttio-gray-100);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-normal);
}

    .input-wrapper input:focus,
    .input-wrapper textarea:focus,
    .input-wrapper select:focus {
        outline: none;
        border-color: var(--perfecttio-orange-400);
        background: var(--bg-card);
        box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
        transform: translateY(-2px);
    }

.btn-submit {
    background: var(--gradient-perfecttio);
    color: white;
    border: none;
    border-radius: var(--radius-2xl);
    padding: var(--space-5) var(--space-10);
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    min-height: 64px;
    box-shadow: var(--shadow-perfecttio-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}

    .btn-submit:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: var(--shadow-perfecttio-xl);
    }
/* ═══════════════════════════════════════════════════════════════
   FOOTER - ORANGE THEME
   ═══════════════════════════════════════════════════════════════ */

.professional-footer {
    background: var(--perfecttio-black-900);
    color: var(--perfecttio-gray-300);
    padding: var(--space-24) 0 var(--space-12);
    position: relative;
    border-top: 1px solid rgba(255, 107, 53, 0.1);
}

.footer-background {
    position: absolute;
    inset: 0;
}

.footer-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* ✅ FOOTER LOGO - PERFECTTIO - 55PX */
.footer-logo-perfecttio {
    height: 55px !important;
    max-height: 55px !important;
    min-height: 55px !important;
    display: flex;
    align-items: center;
    margin-bottom: var(--space-3);
}

    .footer-logo-perfecttio .perfecttio-logo-image {
        height: 55px !important;
        max-height: 55px !important;
        min-height: 55px !important;
        width: auto !important;
        object-fit: contain !important;
        opacity: 0.9;
        transition: var(--transition-normal);
    }

    .footer-logo-perfecttio:hover .perfecttio-logo-image {
        opacity: 1;
        filter: drop-shadow(0 4px 8px rgba(255, 107, 53, 0.3));
    }

.footer-description {
    color: var(--perfecttio-gray-400);
    line-height: 1.7;
    margin-bottom: var(--space-8);
    font-size: 1rem;
}

.footer-stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

    .footer-stats .stat-item {
        display: flex;
        align-items: center;
        gap: var(--space-3);
        color: var(--perfecttio-gray-300);
        font-weight: 500;
        font-size: 0.95rem;
        padding: 0;
        background: none;
        border: none;
        text-align: left;
    }

        .footer-stats .stat-item:hover {
            transform: none;
        }

        .footer-stats .stat-item i {
            color: var(--perfecttio-orange-400);
            font-size: 1rem;
            width: 20px;
            text-align: center;
        }

.footer-section-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--perfecttio-gray-50);
    margin-bottom: var(--space-6);
    font-size: 1.2rem;
    font-weight: 600;
}

    .footer-section-title i {
        color: var(--perfecttio-orange-400);
        font-size: 1.1rem;
    }

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    list-style: none;
}

    .footer-links a {
        display: flex;
        align-items: center;
        gap: var(--space-2);
        color: var(--perfecttio-gray-400);
        transition: var(--transition-normal);
        font-weight: 400;
        text-decoration: none;
        padding: var(--space-2) 0;
        font-size: 0.95rem;
    }

        .footer-links a:hover {
            color: var(--perfecttio-gray-200);
            transform: translateX(4px);
        }

        .footer-links a i {
            color: var(--perfecttio-orange-400);
            font-size: 0.9rem;
            width: 16px;
            text-align: center;
        }

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

    .contact-item i {
        color: var(--perfecttio-orange-400);
        font-size: 1.1rem;
        margin-top: 2px;
        width: 20px;
        text-align: center;
    }

.contact-details a {
    color: var(--perfecttio-orange-400);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-normal);
    display: block;
    margin-bottom: var(--space-1);
}

    .contact-details a:hover {
        color: var(--perfecttio-orange-300);
    }

.contact-details span {
    color: var(--perfecttio-gray-300);
    display: block;
    margin-bottom: var(--space-1);
}

.contact-details small {
    color: var(--perfecttio-gray-500);
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 107, 53, 0.1);
    padding-top: var(--space-10);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-8);
}

.footer-copyright p {
    color: var(--perfecttio-gray-500);
    margin-bottom: var(--space-3);
    font-size: 0.95rem;
}

.footer-legal-links {
    display: flex;
    gap: var(--space-4);
}

    .footer-legal-links a {
        color: var(--perfecttio-gray-500);
        font-size: 0.9rem;
        text-decoration: none;
        transition: var(--transition-normal);
    }

        .footer-legal-links a:hover {
            color: var(--perfecttio-gray-300);
        }

.footer-social-and-dev {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-4);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-lg));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--perfecttio-gray-400);
    font-size: 1.2rem;
    transition: var(--transition-normal);
    text-decoration: none;
}

    .social-link:hover {
        background: var(--perfecttio-orange-500);
        color: white;
        border-color: var(--perfecttio-orange-400);
        transform: translateY(-3px);
        box-shadow: var(--shadow-perfecttio);
    }

.footer-developer {
    text-align: right;
    color: var(--perfecttio-gray-500);
}

    .footer-developer p {
        margin-bottom: var(--space-1);
        font-size: 0.9rem;
    }

    .footer-developer i {
        color: #ef4444;
        margin: 0 var(--space-1);
    }

    .footer-developer small {
        font-size: 0.8rem;
        color: var(--perfecttio-gray-600);
    }

/* ═══════════════════════════════════════════════════════════════
   UI COMPONENTS
   ═══════════════════════════════════════════════════════════════ */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 107, 53, 0.1);
    z-index: var(--z-tooltip);
    pointer-events: none;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-perfecttio);
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 56px;
    height: 56px;
    background: var(--gradient-perfecttio);
    color: white;
    border: none;
    border-radius: var(--radius-2xl);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-perfecttio);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    overflow: hidden;
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        transform: translateY(-3px) scale(1.1);
        box-shadow: var(--shadow-perfecttio-lg);
    }

    .back-to-top .btn-glow {
        position: absolute;
        inset: -3px;
        background: var(--gradient-perfecttio);
        border-radius: var(--radius-2xl);
        filter: blur(8px);
        opacity: 0;
        transition: var(--transition-normal);
        z-index: -1;
    }

    .back-to-top:hover .btn-glow {
        opacity: 0.6;
    }

/* ✅ LOADING OVERLAY - PERFECTTIO LOGO */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: var(--perfecttio-black-900);
    z-index: var(--z-toast);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: var(--transition-slow);
}

    .loading-overlay.hidden {
        opacity: 0;
        visibility: hidden;
    }

.loading-content {
    text-align: center;
    color: var(--perfecttio-gray-200);
}

.loading-logo-perfecttio {
    height: 80px !important;
    max-height: 80px !important;
    min-height: 80px !important;
    margin: 0 auto var(--space-4);
    animation: loadingLogoPulse 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .loading-logo-perfecttio .perfecttio-logo-image {
        height: 80px !important;
        max-height: 80px !important;
        min-height: 80px !important;
        width: auto !important;
    }

@keyframes loadingLogoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-spinner {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
}

.spinner-ring {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--perfecttio-orange-500);
    animation: spinnerBounce 1.4s ease-in-out infinite;
}

    .spinner-ring:nth-child(2) {
        animation-delay: 0.2s;
    }

    .spinner-ring:nth-child(3) {
        animation-delay: 0.4s;
    }

@keyframes spinnerBounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr 420px;
        gap: var(--space-16);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .navigation-professional {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-content-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand-section {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 var(--space-4);
        height: 80px;
    }

    /* ✅ MOBILE LOGO SIZE - 40PX */
    .brand-logo-wrapper,
    .brand-logo-perfecttio {
        height: 40px !important;
        max-height: 40px !important;
        min-height: 40px !important;
    }

    .perfecttio-logo-image {
        height: 40px !important;
        max-height: 40px !important;
        min-height: 40px !important;
    }

    .mobile-brand .brand-logo-perfecttio {
        height: 45px !important;
        max-height: 45px !important;
        min-height: 45px !important;
    }

    .mobile-brand .perfecttio-logo-image {
        height: 45px !important;
        max-height: 45px !important;
        min-height: 45px !important;
    }

    .footer-logo-perfecttio {
        height: 45px !important;
        max-height: 45px !important;
        min-height: 45px !important;
    }

        .footer-logo-perfecttio .perfecttio-logo-image {
            height: 45px !important;
            max-height: 45px !important;
            min-height: 45px !important;
        }

    .user-menu-professional {
        display: none;
    }

    .hero-professional,
    .services-professional,
    .partnership-professional,
    .gallery-professional,
    .testimonials-professional,
    .contact-professional {
        padding: var(--space-24) 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-professional {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-logo-perfecttio {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-social-and-dev {
        align-items: center;
    }

    .footer-developer {
        text-align: center;
    }

    .back-to-top {
        bottom: var(--space-4);
        right: var(--space-4);
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        display: none;
    }

    .service-card,
    .benefit-card,
    .gallery-item,
    .testimonial-card,
    .contact-card,
    .form-card {
        padding: var(--space-6);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-image {
        height: 260px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PERFORMANCE OPTIMIZATIONS
   ═══════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PERFECTTIO SIGNATURE
   ═══════════════════════════════════════════════════════════════ */

.professional-system-body::after {
    content: 'Perfecttio Professional CSS v2.0 COMPLETE | Created by rihardmens | 2025 | Orange #FF6B35 | Black #1a1a1a | Logo:  50px Desktop, 40px Mobile, 45px Mobile Nav, 55px Footer';
    position: fixed;
    bottom: 0;
    right: 0;
    font-size: 0;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

/* ═══════════════════════════════════════════════════════════════
   END OF PERFECTTIO COMPLETE CSS SYSTEM v2.0
   ═══════════════════════════════════════════════════════════════ */
.footer-button-link {
    background: none; /* bez pogas fona */
    border: none; /* bez pogas robežas */
    padding: 0; /* bez padding */
    color: #007bff; /* linka krāsa */
    text-decoration: underline; /* vizuāli kā link */
    cursor: pointer; /* rāda rociņu hover */
    font: inherit; /* saglabā footer fontu */
    display: inline; /* lai nebūtu kā bloka līmeņa */
}
/* Footer linki – vizuāli sakārtoti un klikšķināmi */
.footer-legal-links a,
.footer-links a,
.footer-contact-info a {
    color: inherit; /* ņem no teksta krāsas footer */
    text-decoration: none; /* noņem underline, ja nevēlies */
    cursor: pointer; /* rāda rociņu */
    pointer-events: auto; /* obligāti, lai klikšķi strādātu */
    font-weight: 500; /* var padarīt nedaudz treknākus, lai izceltos */
    transition: color 0.3s; /* gluds hover efekts */
}

    /* Hover efekts – nedaudz izceļas */
    .footer-legal-links a:hover,
    .footer-links a:hover,
    .footer-contact-info a:hover {
        color: #ffffff; /* piemēram, balta hover krāsa */
        text-decoration: underline; /* vai vari atstāt bez underline, ja vajag */
    }

/* Ja kāds overlay bloķēja klikšķus */
.footer-bottom-content,
.footer-bottom,
.footer-container {
    position: relative;
    z-index: 1;
}
