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

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --background: #f6f9ff;
    --card-background: rgba(255, 255, 255, 0.65);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: rgba(226, 232, 240, 0.6);
    --shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04), 0 1px 3px 0 rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 30px 60px -12px rgba(0, 0, 0, 0.12), 0 12px 24px -6px rgba(0, 0, 0, 0.06);
    --radius: 24px;
    --radius-lg: 32px;
    --max-width: 1400px;
    --header-bg: rgba(255, 255, 255, 0.5);
    --header-border: rgba(148, 163, 184, 0.15);
    --glow: 0 0 0 1px rgba(37, 99, 235, 0.08), 0 8px 32px rgba(37, 99, 235, 0.12);
    --glow-strong: 0 0 0 1px rgba(37, 99, 235, 0.15), 0 20px 60px rgba(37, 99, 235, 0.20);
    --spot-1: radial-gradient(900px 450px at 12% -10%, rgba(37, 99, 235, 0.26), transparent 60%);
    --spot-2: radial-gradient(800px 520px at 92% 0%, rgba(6, 182, 212, 0.22), transparent 55%);
    --spot-3: radial-gradient(700px 520px at 50% 115%, rgba(37, 99, 235, 0.16), transparent 60%);
    --stripe: linear-gradient(90deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.06), rgba(37, 99, 235, 0.08));
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background:
        var(--spot-1),
        var(--spot-2),
        var(--spot-3),
        linear-gradient(180deg, #f7fbff 0%, #f6f9ff 40%, #f8fafc 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

/* Modern abstract blue background layers */
body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* First layer: abstract flowing shapes */
body::before {
    background:
        /* Top left flowing shape */
        linear-gradient(135deg, 
            rgba(37, 99, 235, 0.12) 0%,
            transparent 40%,
            rgba(6, 182, 212, 0.10) 60%,
            transparent 100%
        ),
        /* Center right flowing shape */
        linear-gradient(225deg,
            transparent 0%,
            rgba(37, 99, 235, 0.14) 30%,
            rgba(6, 182, 212, 0.12) 50%,
            transparent 80%
        ),
        /* Bottom left flowing shape */
        linear-gradient(45deg,
            transparent 0%,
            rgba(6, 182, 212, 0.10) 40%,
            rgba(37, 99, 235, 0.08) 60%,
            transparent 100%
        );
    background-size: 60% 50%, 50% 60%, 55% 45%;
    background-position: -10% -5%, 110% 40%, -5% 105%;
    background-repeat: no-repeat;
    opacity: 0.9;
    filter: blur(40px);
    animation: flowShape1 25s ease-in-out infinite;
}

/* Second layer: subtle diagonal waves */
body::after {
    background:
        /* Diagonal wave top */
        linear-gradient(120deg,
            transparent 0%,
            rgba(37, 99, 235, 0.08) 20%,
            rgba(6, 182, 212, 0.10) 40%,
            rgba(37, 99, 235, 0.06) 60%,
            transparent 80%
        ),
        /* Diagonal wave bottom */
        linear-gradient(60deg,
            transparent 0%,
            rgba(6, 182, 212, 0.08) 25%,
            rgba(37, 99, 235, 0.10) 45%,
            rgba(6, 182, 212, 0.06) 65%,
            transparent 85%
        );
    background-size: 100% 35%, 100% 40%;
    background-position: 0% -10%, 0% 110%;
    background-repeat: no-repeat;
    opacity: 0.7;
    filter: blur(30px);
    animation: flowShape2 30s ease-in-out infinite;
}

@keyframes flowShape1 {
    0%   { 
        background-position: -10% -5%, 110% 40%, -5% 105%;
        opacity: 0.85;
    }
    33%  { 
        background-position: -8% -3%, 108% 42%, -3% 103%;
        opacity: 0.95;
    }
    66%  { 
        background-position: -12% -7%, 112% 38%, -7% 107%;
        opacity: 0.88;
    }
    100% { 
        background-position: -10% -5%, 110% 40%, -5% 105%;
        opacity: 0.85;
    }
}

@keyframes flowShape2 {
    0%   { 
        background-position: 0% -10%, 0% 110%;
        opacity: 0.65;
    }
    50%  { 
        background-position: 2% -8%, -2% 108%;
        opacity: 0.75;
    }
    100% { 
        background-position: 0% -10%, 0% 110%;
        opacity: 0.65;
    }
}

/* Page-specific variations */
body.theme-home::before {
    background:
        linear-gradient(150deg, 
            rgba(37, 99, 235, 0.14) 0%,
            transparent 35%,
            rgba(6, 182, 212, 0.12) 55%,
            transparent 100%
        ),
        linear-gradient(210deg,
            transparent 0%,
            rgba(37, 99, 235, 0.16) 28%,
            rgba(6, 182, 212, 0.14) 48%,
            transparent 75%
        ),
        linear-gradient(30deg,
            transparent 0%,
            rgba(6, 182, 212, 0.12) 38%,
            rgba(37, 99, 235, 0.10) 58%,
            transparent 100%
        );
    background-size: 65% 55%, 55% 65%, 60% 50%;
    background-position: -8% -3%, 108% 45%, -3% 102%;
}

body.theme-device::before {
    background:
        linear-gradient(120deg, 
            rgba(6, 182, 212, 0.12) 0%,
            transparent 38%,
            rgba(37, 99, 235, 0.14) 58%,
            transparent 100%
        ),
        linear-gradient(240deg,
            transparent 0%,
            rgba(37, 99, 235, 0.16) 32%,
            rgba(6, 182, 212, 0.12) 52%,
            transparent 78%
        ),
        linear-gradient(15deg,
            transparent 0%,
            rgba(37, 99, 235, 0.10) 42%,
            rgba(6, 182, 212, 0.08) 62%,
            transparent 100%
        );
    background-size: 58% 52%, 52% 62%, 58% 48%;
    background-position: -12% -7%, 112% 38%, -5% 105%;
}

body.theme-content::before {
    background:
        linear-gradient(140deg, 
            rgba(37, 99, 235, 0.10) 0%,
            transparent 40%,
            rgba(6, 182, 212, 0.12) 60%,
            transparent 100%
        ),
        linear-gradient(220deg,
            transparent 0%,
            rgba(6, 182, 212, 0.10) 30%,
            rgba(37, 99, 235, 0.12) 50%,
            transparent 80%
        );
    background-size: 60% 50%, 55% 60%;
    background-position: -10% -5%, 110% 40%;
    opacity: 0.75;
}

/* Soft "blue stripe" accents - DISABLED */
.bg-stripes {
    position: relative;
    overflow: hidden;
}

.bg-stripes::before {
    display: none; /* Removed blue stripe at top */
}

.bg-stripes::after {
    display: none; /* Removed blue stripe at bottom */
}

.container,
.container-narrow {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1rem;
}

.container-narrow {
    max-width: 980px;
}

/* Global header / footer slots */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#site-header-slot {
    position: relative;
    z-index: 50;
    height: 64px; /* Reserve space for fixed header */
}

main {
    flex: 1;
}

main {
    flex: 1;
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--header-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--header-border);
    transition: box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1), background 400ms cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    will-change: transform;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-lg);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, rgba(37,99,235,0.0), rgba(37,99,235,0.55), rgba(6,182,212,0.55), rgba(37,99,235,0.0));
    opacity: 0.85;
    pointer-events: none;
}

.site-header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    user-select: none;
}

.brand__mark {
    width: 14px;
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color), #06b6d4);
    box-shadow: var(--glow);
}

.brand__logo {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.brand__name {
    font-weight: 800;
    letter-spacing: 0.2px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 0.85rem;
    border-radius: 16px;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), background 400ms cubic-bezier(0.4, 0, 0.2, 1), color 400ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.35rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #06b6d4);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
    border-radius: 999px;
    opacity: 0.9;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link:active {
    transform: translateY(0);
}

.nav-link.is-active {
    color: var(--text-primary);
    background: rgba(37, 99, 235, 0.10);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.18);
}

.nav-link--cta {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), #06b6d4);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link--cta:hover {
    color: white;
    background: linear-gradient(135deg, var(--primary-hover), #0891b2);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
}

.nav-link--cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 0.6rem 0.7rem;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.nav-toggle:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    border-color: rgba(37, 99, 235, 0.35);
}

.nav-toggle:active {
    transform: translateY(0);
}

.nav-toggle__text {
    display: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-right: 0.5rem;
}

.nav-toggle__bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 999px;
    opacity: 0.9;
}

/* Hero header inside pages */
.page-hero {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: -18px -10px auto -10px;
    height: 140px;
    background: radial-gradient(closest-side at 50% 50%, rgba(37,99,235,0.22), transparent 70%);
    filter: blur(6px);
    z-index: -1;
    opacity: 0.9;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
    align-items: center;
    padding: 1rem 0;
}

.breadcrumb-item {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.breadcrumb-item:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 600;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.08));
    border-color: rgba(37, 99, 235, 0.3);
}

.breadcrumb-item::after {
    content: '→';
    margin-left: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.5;
    font-weight: normal;
}

.breadcrumb-item:last-child::after {
    content: '';
}

/* Device Repair Page Specific Styles */
.device-repair-main {
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: hidden;
    width: 100%;
}

.device-repair-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.device-repair-hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.device-repair-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* On-location service badge in hero */
.on-location-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    background: var(--card-background);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    margin-top: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.on-location-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.4);
}

.badge-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.badge-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.25rem;
    width: 100%;
}

.badge-content strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    display: block;
    width: 100%;
}

.badge-content span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.3;
    display: block;
    width: 100%;
}

/* On-location info card above form */
.on-location-info-card {
    background: var(--card-background);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.on-location-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #06b6d4);
    opacity: 0.8;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.info-card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.info-card-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.info-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.info-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), #06b6d4);
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    flex-shrink: 0;
}

.info-benefits li span:last-child {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* View Management */
.view {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInSlide 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.view-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
    padding: 0 1rem;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.03));
    opacity: 0;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.4);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:active,
.subcategory-card:active,
.model-card:active {
    transform: translateY(-4px) scale(1.01);
}

.category-card,
.subcategory-card,
.model-card,
.btn-primary,
.btn-secondary,
.back-btn,
.content-card,
.site-header {
    will-change: transform, opacity;
}

.category-icon {
    font-size: 4.5rem;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.2));
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.2));
}

.category-card:hover .category-icon-img {
    transform: scale(1.1) rotate(5deg);
}

.category-card h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Subcategories & Models Grid */
.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    justify-items: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    width: 100%;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    justify-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
}

.subcategory-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}

.model-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.subcategory-card::before,
.model-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.05));
    opacity: 0;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.subcategory-card:hover,
.model-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.4);
}

.subcategory-card:hover::before,
.model-card:hover::before {
    opacity: 1;
}

.subcategory-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.subcategory-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 1.25rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.subcategory-card:hover .subcategory-logo,
.subcategory-card:hover .subcategory-logo-img {
    transform: scale(1.2) rotate(8deg);
}

.subcategory-card h3,
.model-card h3 {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.model-image {
    width: 120px;
    height: 150px;
    margin: 0 auto 0.75rem;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

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

/* Buttons */
.back-btn {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.85rem 2rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2rem;
    box-shadow: var(--shadow);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

/* Form Styles */
.selected-device-info {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.selected-device-info p {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.selected-device-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.repair-form {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 650px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #06b6d4);
    color: white;
    border: none;
    padding: 0.85rem 2.25rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1), background 400ms cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 150px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, var(--primary-hover), #0891b2);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active,
.btn-secondary:active,
.back-btn:active {
    transform: translateY(1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.85rem 2.25rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1), background 400ms cubic-bezier(0.4, 0, 0.2, 1), border-color 400ms cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 150px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Model Detail View */
.model-detail-top-container {
    display: grid;
    grid-template-columns: 1.3fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.model-detail-left-block {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.model-detail-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.model-detail-img {
    width: 320px;
    height: 396px;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15));
}

.model-detail-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.model-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.model-detail-model-number {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.model-detail-release {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Repair Options Section */
.repair-options-section {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    width: 534.98px;
    min-width: 534.98px;
    max-width: 534.98px;
    box-sizing: border-box;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.repair-options-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-height: 0;
}

.repair-option-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow);
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 60px;
}

.repair-option-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.repair-option-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.repair-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.repair-option-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    cursor: pointer;
}

.repair-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.repair-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.repair-option-parts {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 400ms cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 300ms cubic-bezier(0.4, 0, 0.2, 1),
                margin-top 300ms cubic-bezier(0.4, 0, 0.2, 1),
                padding-top 300ms cubic-bezier(0.4, 0, 0.2, 1),
                border-top 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.repair-option-parts.show {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.part-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.part-option:hover {
    background: rgba(255, 255, 255, 0.6);
}

.part-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
    margin-top: 2px;
    flex-shrink: 0;
}

.part-option label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    cursor: pointer;
}

.part-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.part-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.part-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

/* On Location Info Section */
.on-location-info-section {
    margin-bottom: 2rem;
    width: 100%;
}

/* Overview View */
.overview-container {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.overview-section {
    margin-bottom: 2.5rem;
}

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

.overview-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.overview-section p {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.overview-repair-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.repair-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.repair-info strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.part-type {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.price-item.total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 1rem;
    border-top: 2px solid rgba(226, 232, 240, 0.6);
    margin-top: 0.5rem;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    font-style: italic;
}

/* Success Message */
.success-message {
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 4rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 550px;
    margin: 0 auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin: 0 auto 2rem;
    font-weight: bold;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    animation: successPulse 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes successPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-message h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.success-info {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.success-info p {
    margin: 0.5rem 0;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1rem;
}

.success-info p:first-child {
    margin-top: 0;
    font-weight: 600;
    color: var(--primary-color);
}

.success-info p:last-child {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .device-repair-main {
        padding: 1.5rem 1rem;
    }

    .device-repair-hero {
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .category-card {
        padding: 2rem 1.5rem;
    }

    .category-icon-img {
        width: 70px;
        height: 70px;
    }

    .subcategories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        overflow-x: hidden;
        width: 100%;
    }
    
    .subcategory-card {
        width: 100%;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .subcategory-card h3 {
        font-size: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        text-align: center;
    }
    
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    .model-card {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .subcategory-card,
    .model-card {
        padding: 1.75rem 1.25rem;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .subcategory-card {
        min-height: 140px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .subcategory-card h3 {
        font-size: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .repair-form {
        padding: 2rem 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .breadcrumb {
        margin-bottom: 2rem;
    }
    
    .on-location-badge {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .badge-content {
        align-items: center;
        text-align: center;
    }
    
    .on-location-info-card {
        padding: 1.5rem;
    }
    
    .info-card-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .info-benefits {
        grid-template-columns: 1fr;
    }
    
    .model-detail-top-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }
    
    .model-detail-left-block {
        padding: 2rem;
    }
    
    .model-detail-img {
        width: 250px;
        height: 310px;
    }
    
    .model-detail-title {
        font-size: 1.75rem;
    }
    
    .repair-options-section {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .overview-container {
        padding: 2rem 1.5rem;
    }
    
    .overview-section h3 {
        font-size: 1.25rem;
    }
    
    .overview-repair-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .price-item.total {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .device-repair-main {
        padding: 1rem 0.75rem;
    }

    .device-repair-hero {
        margin-bottom: 1.5rem;
        padding: 1rem 0;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .subcategories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .subcategory-card {
        min-height: 130px;
    }
    
    .subcategory-card h3 {
        font-size: 0.95rem;
    }
    
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    .model-card {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .category-card {
        padding: 2rem 1.5rem;
    }
    
    .category-icon-img {
        width: 60px;
        height: 60px;
    }
    
    .subcategory-card,
    .model-card {
        padding: 1.5rem 1.25rem;
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .subcategory-card {
        min-height: 130px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .subcategory-card h3 {
        font-size: 0.95rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .repair-form {
        padding: 1.75rem 1.25rem;
    }
    
    .breadcrumb {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .model-detail-top-container {
        gap: 1.5rem;
    }
    
    .model-detail-left-block {
        padding: 1.25rem;
    }
    
    .model-detail-img {
        width: 200px;
        height: 248px;
    }
    
    .model-detail-title {
        font-size: 1.5rem;
    }
    
    .model-detail-model-number,
    .model-detail-release {
        font-size: 0.95rem;
    }
    
    .repair-options-section {
        padding: 1.25rem;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .repair-option-card {
        padding: 0.75rem;
    }
    
    .repair-name {
        font-size: 0.9rem;
    }
    
    .repair-price {
        font-size: 0.85rem;
    }
    
    .overview-container {
        padding: 1.5rem 1rem;
    }
    
    .overview-section h3 {
        font-size: 1.1rem;
    }
    
    .price-breakdown {
        padding: 1rem;
    }
    
    .price-item {
        font-size: 1rem;
    }
    
    .price-item.total {
        font-size: 1.15rem;
    }
    
    .breadcrumb-item {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }
}

/* Large screens and TVs */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }

    .subcategories-grid,
    .models-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 2rem;
    }

    .category-card {
        padding: 3rem 2rem;
    }

    .category-icon {
        font-size: 5rem;
    }
}

/* Touch-friendly for tablets and phones */
@media (hover: none) and (pointer: coarse) {
    .category-card,
    .subcategory-card,
    .model-card {
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .btn-primary,
    .btn-secondary,
    .back-btn {
        min-height: 48px;
        font-size: 1.1rem;
    }
}

/* Mobile nav */
@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.6rem 1rem;
    }
    
    .nav-toggle__text {
        display: block;
    }

    .site-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 64px;
        padding: 0.75rem;
        background: rgba(248, 250, 252, 0.9);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--header-border);
        display: grid;
        gap: 0.5rem;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: transform 220ms ease, opacity 220ms ease;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    body.nav-open {
        overflow: hidden;
    }

    .nav-link {
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(226, 232, 240, 0.9);
        padding: 0.85rem 0.9rem;
        font-size: 1rem;
    }
    
    .nav-link--cta {
        color: white !important;
        background: linear-gradient(135deg, var(--primary-color), #06b6d4) !important;
        box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .nav-link::after {
        display: none;
    }
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: relative;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.3), rgba(6, 182, 212, 0.3), transparent);
}

.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-brand__name {
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: 1rem;
}

.footer-brand__meta {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

.footer-info strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-right: 0.25rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    font-size: 0.85rem;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), background 400ms cubic-bezier(0.4, 0, 0.2, 1), color 400ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.footer-link:active {
    transform: translateY(0) scale(1);
}

@media (max-width: 900px) {
    .site-footer__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem 1rem;
    }

    .footer-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-links {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Legal / content pages */
.content-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: clamp(1.2rem, 2vw, 2rem);
    position: relative;
    overflow: hidden;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1), border-color 400ms cubic-bezier(0.4, 0, 0.2, 1);
    isolation: isolate;
}

.content-card > * {
    position: relative;
    z-index: 1;
    filter: none !important;
    -webkit-filter: none !important;
}

.content-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.content-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.5);
}

.content-card:hover::before {
    opacity: 1;
}

.content-card:hover > * {
    filter: none !important;
    -webkit-filter: none !important;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms cubic-bezier(0.4, 0, 0.2, 1), transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal.reveal-left {
    transform: translateX(-14px);
}

.reveal.reveal-right {
    transform: translateX(14px);
}

.reveal.reveal-left.is-visible,
.reveal.reveal-right.is-visible {
    transform: translateX(0);
}

/* Hover animations that work with reveal transforms - combine both transforms */
.service-card.reveal-left.is-visible:hover,
.service-card.reveal-right.is-visible:hover,
.service-card.reveal.is-visible:hover {
    transform: translateY(-3px) translateX(0) !important;
}

.feature-card.reveal-left.is-visible:hover,
.feature-card.reveal-right.is-visible:hover,
.feature-card.reveal.is-visible:hover {
    transform: translateY(-3px) translateX(0) !important;
}

/* Page Transition Overlay */
#page-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity;
    /* Hardware acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

#page-transition-overlay.transition-out {
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#page-transition-overlay.transition-in {
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s;
}

/* Swoosh gradient effect */
#page-transition-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.95) 0%,
        rgba(6, 182, 212, 0.92) 50%,
        rgba(37, 99, 235, 0.95) 100%
    );
    transform: translateX(-100%) skewX(-12deg) translateZ(0);
    -webkit-transform: translateX(-100%) skewX(-12deg) translateZ(0);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 120%;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

#page-transition-overlay.transition-out::before {
    transform: translateX(0%) skewX(-12deg) translateZ(0);
    -webkit-transform: translateX(0%) skewX(-12deg) translateZ(0);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#page-transition-overlay.transition-in::before {
    transform: translateX(100%) skewX(-12deg) translateZ(0);
    -webkit-transform: translateX(100%) skewX(-12deg) translateZ(0);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Blur overlay */
#page-transition-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity;
}

#page-transition-overlay.transition-out::after {
    opacity: 1;
}

/* Page transitioning state */
body.page-transitioning {
    overflow: hidden;
}

body.page-transitioning main {
    filter: blur(2px);
    transition: filter 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: filter;
}

/* Ensure content pages don't have blur on hover */
.content-card {
    filter: none !important;
}

.content-card:hover {
    filter: none !important;
}

/* Ensure content is always visible after transitions */
body:not(.page-transitioning) main {
    filter: none !important;
}

/* Safety: ensure overlay doesn't block content permanently, but allow transitions */
#page-transition-overlay:not(.transition-out):not(.transition-in) {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .category-card,
    .subcategory-card,
    .model-card,
    .btn-primary,
    .btn-secondary,
    .back-btn,
    .nav-link {
        transition: none !important;
    }
    #page-transition-overlay,
    #page-transition-overlay::before,
    #page-transition-overlay::after,
    body.page-transitioning main {
        transition: none !important;
        animation: none !important;
    }
    #page-transition-overlay.transition-out,
    #page-transition-overlay.transition-in {
        opacity: 0 !important;
    }

    body::before,
    body::after {
        animation: none !important;
    }
}

/* Photo sections */
.section {
    margin: 2.25rem 0;
}

.section-title {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    margin-bottom: 0.75rem;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: center;
}

.photo-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1), border-color 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-card {
    position: relative;
}

.photo-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.5);
}

.photo-card::after {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(closest-side at 30% 30%, rgba(37,99,235,0.22), transparent 60%);
    filter: blur(18px);
    opacity: 0.9;
    pointer-events: none;
}

.photo-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.01);
    transition: transform 320ms ease, filter 320ms ease;
    position: relative;
    z-index: 1;
}

.photo-card:hover img {
    transform: scale(1.03);
    filter: saturate(1.08) contrast(1.04);
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.badge {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(30,41,59,0.88);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Homepage hero */
.hero {
    position: relative;
    margin-top: 0.75rem;
    margin-bottom: 2.25rem;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.75rem;
    align-items: center;
}

.hero__copy {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
    position: relative;
    overflow: hidden;
}

.hero__copy::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(37,99,235,0.34), rgba(6,182,212,0.24), rgba(37,99,235,0.14));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.95;
}

.hero__kicker {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: rgba(37, 99, 235, 0.95);
    margin-bottom: 0.6rem;
}

.hero__title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.hero__lead {
    color: var(--text-secondary);
    font-size: clamp(1.02rem, 1.5vw, 1.15rem);
    max-width: 62ch;
}

.hero__cta {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    justify-content: center;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.1rem;
}

.hero__media {
    position: relative;
}

.hero__photo img {
    aspect-ratio: 16 / 12;
}

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

/* Section headings */
.section-head {
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Service cards */
.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.service-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1), border-color 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.5);
}

.service-card__photo img {
    aspect-ratio: 16 / 10;
}

.service-card__body {
    padding: 1.1rem 1.1rem 1.25rem 1.1rem;
}

.service-card__body h3 {
    margin-bottom: 0.35rem;
}

.service-card__body p {
    color: var(--text-secondary);
}

@media (max-width: 1100px) {
    .service-cards {
        grid-template-columns: 1fr;
    }
}

/* Feature grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem 1.5rem 1.75rem 1.5rem;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1), border-color 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.5);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    margin-bottom: 0.35rem;
}

.feature-card p {
    color: var(--text-secondary);
}

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

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

.page-hero__lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Services overview page */
.services-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-detail-card {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(226,232,240,0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow);
    border-color: rgba(37,99,235,0.28);
}

.service-detail-card__icon {
    font-size: 2.5rem;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37,99,235,0.16), rgba(6,182,212,0.12));
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(226,232,240,0.9);
    flex-shrink: 0;
}

.service-detail-card__content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.service-detail-card__intro {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(37,99,235,0.8);
    font-weight: 600;
}

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

/* CTA Section */
.cta-section {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.cta-card {
    background: linear-gradient(135deg, rgba(37,99,235,0.10), rgba(6,182,212,0.08));
    border: 1px solid rgba(226,232,240,0.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(closest-side at 30% 30%, rgba(37,99,235,0.22), transparent 60%);
    filter: blur(18px);
    pointer-events: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 1rem;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1), transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cookie-banner--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cookie-banner__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-banner__content {
    flex: 1;
    min-width: 280px;
}

.cookie-banner__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cookie-banner__text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-banner__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-banner__actions .cookie-banner__btn {
        width: 100%;
        white-space: normal;
    }
}

/* Bij uitgebreide instellingen: knoppen onder elkaar */
.cookie-banner__actions--settings {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
}

.cookie-banner__actions--settings .cookie-banner__btn {
    width: 100% !important;
    justify-content: center;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0.75rem 1.5rem;
    min-width: 0;
}

.cookie-banner__btn {
    white-space: normal;
    min-width: auto;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    text-align: center;
}

.cookie-banner__content--expanded {
    width: 100%;
    max-width: 100%;
}

.cookie-banner__settings {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner__category {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 1rem;
}

.cookie-banner__category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.cookie-banner__category-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.cookie-banner__category-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner__required {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.2rem 0.4rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 4px;
    display: inline-block;
    margin-top: 0.25rem;
}

.cookie-toggle--small {
    width: 44px;
    height: 24px;
}

.cookie-toggle--small .cookie-toggle__slider {
    display: flex;
    align-items: center;
}

.cookie-toggle--small .cookie-toggle__slider:before {
    height: 18px;
    width: 18px;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-toggle--small input:checked + .cookie-toggle__slider:before {
    transform: translateY(-50%) translateX(20px);
}

@media (max-width: 640px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner__actions {
        width: 100%;
    }

    .cookie-banner__btn {
        flex: 1;
        min-width: 0;
    }

    .cookie-banner__category-header {
        flex-wrap: wrap;
    }
}

/* Cookie Settings */
.cookie-settings {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.cookie-settings__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cookie-category {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-category:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cookie-category__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.cookie-category__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.cookie-category__description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-category__required {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 6px;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(226, 232, 240, 0.8);
    transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-toggle__slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background: linear-gradient(135deg, var(--primary-color), #06b6d4);
    border-color: rgba(255, 255, 255, 0.4);
}

.cookie-toggle input:checked + .cookie-toggle__slider:before {
    transform: translateY(-50%) translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle__slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-toggle input:focus + .cookie-toggle__slider {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.cookie-settings__save {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-settings__message {
    padding: 1rem 1.25rem;
    background: rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: var(--radius);
    color: var(--success-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1), transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-settings__message::before {
    content: "✓";
    font-size: 1.2rem;
    font-weight: 700;
}

.cookie-settings__message--visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-card h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}

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

/* About page styles */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 500;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-main {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: start;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 3rem;
}

.about-main__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-main__text-section {
    margin: 0;
}

.about-rune__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.about-rune__text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-rune__text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-main__photo {
    position: sticky;
    top: 80px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
}

.about-rune__photo-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 3 / 4;
}

.about-rune__photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-quote {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem;
    width: 100%;
    max-width: 320px;
}

.about-quote__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(37, 99, 235, 0.9);
    margin-bottom: 0.75rem;
}

.about-quote__text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

@media (max-width: 900px) {
    .about-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-left: 0;
    }

    .about-main__photo {
        position: relative;
        top: 0;
        order: -1;
        justify-content: center;
    }

    .about-rune__photo-card {
        max-width: 300px;
        margin: 0 auto;
    }
}

.content-card h1 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 0.5rem;
}

.content-card h2 {
    font-size: 1.15rem;
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
}

.content-card p,
.content-card li {
    color: var(--text-secondary);
}

.content-card ul {
    padding-left: 1.1rem;
    margin-top: 0.5rem;
}

/* FAQ Page Styles */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1),
                border-color 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.5);
}

.faq-item__question {
    padding: 1.5rem 1.75rem;
    cursor: pointer;
    transition: background 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover .faq-item__question {
    background: rgba(255, 255, 255, 0.2);
}

.faq-item__question h2 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-item__question h2::before {
    content: "❓";
    font-size: 1.2rem;
    flex-shrink: 0;
    opacity: 0.8;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover .faq-item__question h2::before {
    transform: scale(1.1);
}

.faq-item__answer {
    padding: 0 1.75rem 1.5rem 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: -0.5rem;
    padding-top: 1.5rem;
}

.faq-item__answer p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-container {
        gap: 1rem;
    }
    
    .faq-item__question {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-item__answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
        padding-top: 1.25rem;
    }
    
    .faq-item__question h2 {
        font-size: 1.1rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9998;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #06b6d4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3), 0 0 0 1px rgba(37, 99, 235, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 400ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1),
                background 400ms cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.scroll-to-top--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, var(--primary-hover), #0891b2);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4), 0 0 0 1px rgba(37, 99, 235, 0.2);
    transform: translateY(-4px) scale(1.05);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.02);
}

.scroll-to-top:focus {
    outline: none;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4),
                0 0 0 3px rgba(37, 99, 235, 0.3),
                0 0 0 1px rgba(37, 99, 235, 0.2);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 52px;
        height: 52px;
    }
    
    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-to-top {
        transition: opacity 200ms ease, transform 200ms ease;
    }
    
    .scroll-to-top:hover {
        transform: translateY(0) scale(1);
    }
    
    .scroll-to-top svg {
        transition: none;
    }
}

/* Contact Page Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info,
.contact-form {
    width: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-detail-item strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-detail-item span,
.contact-detail-item address {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    font-style: normal;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.contact-link:hover {
    color: var(--primary-hover);
    transform: translateX(2px);
    text-decoration: underline;
}

.contact-form__intro {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.contact-form__form {
    margin-top: 1.5rem;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 300ms cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.8);
}

.form-success {
    text-align: center;
    padding: 2rem;
    background: rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius);
    margin-top: 1.5rem;
    animation: fadeInUp 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

.form-success__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--success-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.form-success h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-success p {
    color: var(--text-secondary);
    margin: 0;
}

.map-container {
    margin-top: 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.map-intro {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.map-link {
    margin-top: 1rem;
    text-align: center;
}

.map-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.map-link a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-details {
        gap: 1.25rem;
    }
}
