:root {
    /* Apple-inspired Color System */
    --primary: #007AFF;
    --primary-dark: #0056CC;
    --secondary: #5856D6;
    --accent: #FF9500;
    --success: #34C759;
    --light: #FFFFFF;
    --dark: #1D1D1F;
    --gray: #86868B;
    --light-gray: #F2F2F7;
    --surface: #FAFAFA;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);

    /* Apple Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Helvetica Neue', Arial, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Apple Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-xxl: 48px;

    /* Apple Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    color: var(--dark);
    line-height: 1.47;
    background-color: var(--surface);
    font-weight: var(--font-weight-regular);
    letter-spacing: -0.003em;
}

/* Apple-style smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Apple-style Card Design System */
.card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 2px 16px var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--shadow-hover);
    border-color: var(--primary);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.card:hover::before {
    opacity: 0.02;
}

.card-elevated {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-highlighted {
    border: 2px solid var(--primary);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.card-gradient {
    background: linear-gradient(135deg, white 0%, #f8fafc 100%);
}

.section-card {
    background: white;
    border-radius: 15px;
    padding: 60px 40px;
    margin: 40px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.card-grid {
    display: grid;
    gap: 25px;
}

@media (min-width: 768px) {
    .card-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.card-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.1);
}

.card-grid {
    display: grid;
    gap: 25px;
}

@media (min-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Apple-style Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    margin-right: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    filter: brightness(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    cursor: pointer;
}

.logo img:hover {
    transform: scale(1.08) rotate(2deg);
    filter: brightness(1.1) drop-shadow(0 4px 16px rgba(0, 122, 255, 0.2));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav li {
    margin-left: 30px;
    position: relative;
    z-index: 1;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: var(--font-weight-medium);
    transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-size: 16px;
    display: block;
    z-index: 2;
}

nav a:hover {
    color: var(--primary);
    background: rgba(0, 122, 255, 0.08);
    transform: translateY(-1px);
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

nav a:hover::before {
    width: 80%;
}

/* Active page indicator */
nav li.active a {
    color: var(--primary);
    font-weight: var(--font-weight-semibold);
}

nav li.active a::before {
    width: 80%;
}

.ticket-btn {
    background: var(--primary) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: var(--radius-md) !important;
    font-weight: var(--font-weight-medium) !important;
    transition: all 0.2s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
    margin-left: var(--spacing-md) !important;
    position: relative;
    overflow: hidden;
    font-size: 16px !important;
    z-index: 10;
    display: inline-block;
}

.ticket-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.ticket-btn:hover {
    background: var(--primary-dark) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.ticket-btn:hover::before {
    left: 100%;
}

.ticket-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 30%, #3b82f6 70%, #10b981 100%);
    color: white;
    padding: 15px 0;
    text-align: center;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        /* Computer monitors with bright glowing screens */
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.8) 2%, rgba(59, 130, 246, 0.3) 4%, transparent 8%),
        radial-gradient(circle at 25% 35%, rgba(16, 185, 129, 0.9) 2.5%, rgba(16, 185, 129, 0.4) 5%, transparent 10%),
        radial-gradient(circle at 75% 25%, rgba(245, 158, 11, 0.8) 2%, rgba(245, 158, 11, 0.3) 4%, transparent 8%),
        radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.9) 2.5%, rgba(59, 130, 246, 0.4) 5%, transparent 10%),

        /* Additional monitor screens */
        radial-gradient(circle at 45% 60%, rgba(16, 185, 129, 0.7) 1.5%, rgba(16, 185, 129, 0.2) 3%, transparent 6%),
        radial-gradient(circle at 65% 40%, rgba(245, 158, 11, 0.7) 1.5%, rgba(245, 158, 11, 0.2) 3%, transparent 6%),

        /* Prominent server racks */
        linear-gradient(90deg, rgba(30, 64, 175, 0.6) 8%, rgba(59, 130, 246, 0.4) 10%, transparent 14%),
        linear-gradient(90deg, rgba(30, 64, 175, 0.6) 86%, rgba(59, 130, 246, 0.4) 88%, transparent 92%),

        /* Enhanced isometric grid pattern */
        repeating-linear-gradient(60deg, rgba(255, 255, 255, 0.08) 0px, transparent 2px, transparent 35px, rgba(255, 255, 255, 0.08) 37px),
        repeating-linear-gradient(-60deg, rgba(255, 255, 255, 0.08) 0px, transparent 2px, transparent 35px, rgba(255, 255, 255, 0.08) 37px);
    animation: techPulse 3s ease-in-out infinite;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.7) 0%, rgba(30, 64, 175, 0.6) 30%, rgba(59, 130, 246, 0.5) 70%, rgba(16, 185, 129, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.tech-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.connection-line {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), rgba(16, 185, 129, 0.8), transparent);
    animation: dataTransfer 3s ease-in-out infinite;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.connection-line:nth-child(1) {
    top: 25%;
    left: 15%;
    width: 35%;
    transform: rotate(15deg);
    animation-delay: 0s;
}

.connection-line:nth-child(2) {
    top: 70%;
    left: 25%;
    width: 45%;
    transform: rotate(-10deg);
    animation-delay: -1s;
}

.connection-line:nth-child(3) {
    top: 45%;
    left: 60%;
    width: 30%;
    transform: rotate(25deg);
    animation-delay: -2s;
}

.connection-line-extra:nth-child(4) {
    top: 35%;
    left: 30%;
    width: 25%;
    height: 3px;
    transform: rotate(-25deg);
    animation-delay: -0.5s;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.7), rgba(59, 130, 246, 0.7), transparent);
}

.connection-line-extra:nth-child(5) {
    top: 55%;
    left: 50%;
    width: 35%;
    height: 3px;
    transform: rotate(5deg);
    animation-delay: -1.5s;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.7), rgba(245, 158, 11, 0.7), transparent);
}

@keyframes dataTransfer {

    0%,
    100% {
        opacity: 0.4;
        box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
        transform: scale(1);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 35px rgba(16, 185, 129, 0.6);
        transform: scale(1.1);
    }
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

/* Large Rotating Gears */
.particle:nth-child(1) {
    width: 40px;
    height: 40px;
    top: 20%;
    left: 10%;
    background: rgba(245, 158, 11, 0.6);
    border: 3px solid rgba(245, 158, 11, 0.8);
    border-radius: 30%;
    animation: gearRotate 6s linear infinite;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

.particle:nth-child(2) {
    width: 50px;
    height: 50px;
    top: 60%;
    left: 20%;
    background: rgba(59, 130, 246, 0.6);
    border: 3px solid rgba(59, 130, 246, 0.8);
    border-radius: 30%;
    animation: gearRotate 8s linear infinite reverse;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
}

/* Prominent Glowing Screens */
.particle:nth-child(3) {
    width: 30px;
    height: 20px;
    top: 40%;
    left: 70%;
    background: rgba(16, 185, 129, 0.7);
    border-radius: 3px;
    animation: screenFlicker 2s ease-in-out infinite;
    border: 2px solid rgba(16, 185, 129, 0.9);
}

.particle:nth-child(4) {
    width: 35px;
    height: 25px;
    top: 10%;
    left: 85%;
    background: rgba(59, 130, 246, 0.7);
    border-radius: 3px;
    animation: screenFlicker 2.5s ease-in-out infinite;
    animation-delay: -1s;
    border: 2px solid rgba(59, 130, 246, 0.9);
}

/* Enhanced Data Packets */
.particle:nth-child(5) {
    width: 16px;
    height: 16px;
    top: 80%;
    left: 50%;
    background: rgba(255, 255, 255, 0.9);
    animation: dataFlow 4s linear infinite;
    animation-delay: -2s;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.particle:nth-child(6) {
    width: 14px;
    height: 14px;
    top: 30%;
    left: 40%;
    background: rgba(16, 185, 129, 0.9);
    animation: dataFlow 5s linear infinite;
    animation-delay: -4s;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.6);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-40px) rotate(180deg);
        opacity: 0.8;
    }

    75% {
        transform: translateY(-20px) rotate(270deg);
        opacity: 0.6;
    }
}

@keyframes techPulse {

    0%,
    100% {
        opacity: 0.8;
        filter: brightness(1.2);
        transform: scale(1);
    }

    25% {
        opacity: 0.95;
        filter: brightness(1.5);
        transform: scale(1.02);
    }

    50% {
        opacity: 1;
        filter: brightness(1.8);
        transform: scale(1.05);
    }

    75% {
        opacity: 0.9;
        filter: brightness(1.3);
        transform: scale(1.02);
    }
}

@keyframes dataFlow {
    0% {
        transform: translateX(-100px) translateY(0px);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(100vw) translateY(-20px);
        opacity: 0;
    }
}

@keyframes gearRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes screenFlicker {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
        opacity: 0.7;
        transform: scale(1);
    }

    25% {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.8), 0 0 35px rgba(16, 185, 129, 0.5);
        opacity: 0.9;
        transform: scale(1.05);
    }

    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 1), 0 0 50px rgba(16, 185, 129, 0.7);
        opacity: 1;
        transform: scale(1.1);
    }

    75% {
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.8), 0 0 40px rgba(245, 158, 11, 0.5);
        opacity: 0.9;
        transform: scale(1.05);
    }
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 1;
    color: white;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid white;
}

.btn:hover {
    background-color: transparent;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: white;
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.hero-feature {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-feature i {
    color: var(--primary);
    font-size: 1.1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 1;
    line-height: 1.7;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Problems Section */
.problems {
    padding: 80px 0;
    background-color: var(--light);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.problem-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 40px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    min-height: 280px;
}

.problem-item:nth-child(1) {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.problem-item:nth-child(2) {
    background: linear-gradient(135deg, #10b981, #047857);
}

.problem-item:nth-child(3) {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.problem-item:hover,
.service:hover,
.feature:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.problem-item:hover::before,
.service:hover::before,
.feature:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: inherit;
}

.problem-item i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.problem-item p {
    font-weight: 500;
    color: var(--dark);
    margin: 0;
}

.problems-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 15px;
    color: white;
}

.problems-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.problems-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 48px;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.025em;
    line-height: 1.08;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 21px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    line-height: 1.47;
    font-weight: var(--font-weight-regular);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: white;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card:nth-child(1) {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.feature-card:nth-child(2) {
    background: linear-gradient(135deg, #10b981, #047857);
}

.feature-card:nth-child(3) {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -100%;
    width: 100%;
    height: 104%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::after {
    left: 100%;
}

.feature-icon {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 25px;
    opacity: 0.9;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.customer-need {
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin: 15px 0 20px 0;
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 0.9rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
}

/* Apple-style Modal System */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    animation: modalBackdropIn 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.modal-content {
    background: var(--light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    animation: modalContentIn 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: var(--light-gray);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
    color: var(--gray);
}

.modal-close:hover {
    background: var(--border);
    color: var(--dark);
    transform: scale(1.1);
}

.modal-header {
    margin-bottom: var(--spacing-lg);
}

.modal-title {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.015em;
}

.modal-subtitle {
    font-size: 17px;
    color: var(--gray);
    font-weight: var(--font-weight-regular);
    line-height: 1.47;
}

.modal-body {
    margin-bottom: var(--spacing-xl);
}

.modal-description {
    font-size: 17px;
    line-height: 1.47;
    color: var(--dark);
    margin-bottom: var(--spacing-lg);
}

.modal-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.modal-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease;
}

.modal-feature:hover {
    background: var(--light-gray);
}

.modal-feature-icon {
    color: var(--primary);
    margin-right: var(--spacing-md);
    margin-top: 2px;
    font-size: 16px;
    flex-shrink: 0;
}

.modal-feature-text {
    font-size: 16px;
    line-height: 1.47;
    color: var(--dark);
}

.modal-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-end;
}

.btn-apple {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.btn-apple:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-apple-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-apple-outline:hover {
    background: var(--primary);
    color: white;
}

@keyframes modalBackdropIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalContentIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Apple-style Interactive Elements */
.feature-card {
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    color: white;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

.feature-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(30px, 30px);
    transition: all 0.4s ease;
}

.feature-card:hover::after {
    transform: translate(20px, 20px) scale(1.2);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 24px;
    color: white;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: var(--spacing-md);
    color: white;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.015em;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    margin-top: var(--spacing-lg);
    transition: all 0.2s ease;
}

.learn-more:hover {
    color: white;
    transform: translateX(4px);
}

.learn-more i {
    margin-left: var(--spacing-sm);
    transition: transform 0.2s ease;
}

.learn-more:hover i {
    transform: translateX(4px);
}

/* Consultation Section */
.consultation {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
}

.consultation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.consultation h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.consultation p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.consultation-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.consultation-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.consultation-feature i {
    color: var(--accent);
    font-size: 1.2rem;
}

.consultation-note {
    font-style: italic;
    margin-bottom: 40px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-img {
    height: 200px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--primary);
    margin-right: 10px;
}

/* Trust Indicators Section */
.trust-indicators {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin: 50px 0;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.trust-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.trust-feature {
    text-align: center;
    padding: 30px 20px;
}

.trust-feature i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.trust-feature h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.trust-feature p {
    color: var(--gray);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 45px 35px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid rgba(30, 64, 175, 0.1);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.05), transparent);
    transition: left 0.5s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-hover), 0 6px 18px rgba(0, 0, 0, 0.12);
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card.featured {
    border: 3px solid var(--accent);
    transform: scale(1.05);
}

.featured-badge {
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-subtitle {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.5;
}

.pricing-features {
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    text-align: left;
}

.feature-item i {
    color: var(--accent);
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--gray);
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--light);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 50px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-item h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.faq-item p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Page Specific Styles */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
}

.breadcrumb li {
    margin: 0 5px;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

/* Services Page */
.services-hero {
    background-color: var(--light);
    padding: 60px 0;
}

.service-detail {
    margin-bottom: 60px;
}

.service-detail h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-detail-img {
    background-color: var(--light-gray);
    height: 300px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary);
}

/* Contact Page */
.contact {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 15px;
    color: var(--primary);
    font-size: 1.2rem;
    width: 20px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #10b981 100%);
}

.contact-form h3 {
    background: linear-gradient(135deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #334155;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
}

.required::after {
    content: '*';
    color: #ef4444;
    margin-left: 5px;
    font-weight: 700;
}

.submit-btn {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.submit-btn:active {
    transform: translateY(-1px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-detail-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Animated Card Effects */
.card-float {
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.card-pulse {
    animation: cardPulse 2s ease-in-out infinite;
}

@keyframes cardPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    50% {
        box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
    }
}

.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.card-shine:hover::after {
    left: 100%;
}

.problem-item,
.service,
.feature {
    position: relative;
    overflow: hidden;
}

.problem-item::after,
.service::after,
.feature::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -100%;
    width: 100%;
    height: 104%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.problem-item:hover::after,
.service:hover::after,
.feature:hover::after {
    left: 100%;
}

@media (max-width: 768px) {
    .header-container {
        padding: 15px 0;
    }

    .card,
    .section-card {
        padding: 20px;
        margin: 20px 0;
    }

    .card-grid {
        gap: 15px;
        grid-template-columns: 1fr;
    }

    .problem-item {
        padding: 20px;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav li {
        margin: 15px 0;
    }

    .ticket-btn {
        margin-left: 0 !important;
        margin-top: 10px !important;
        display: inline-block !important;
        text-align: center !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .btn {
        display: block;
        margin: 10px auto;
        width: 200px;
    }

    .btn-outline {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .modal-content {
        padding: var(--spacing-lg);
        margin: var(--spacing-md);
        max-height: 90vh;
    }

    .modal-title {
        font-size: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .feature-card {
        min-height: 320px;
        padding: var(--spacing-lg);
    }

    .section-title h2 {
        font-size: 36px;
    }

    .section-title p {
        font-size: 19px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 10px 0;
        min-height: 150px;
    }

    .hero-content {
        padding: 15px 10px;
        margin: 0 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 17px;
    }

    .feature-card,
    .service-card {
        padding: var(--spacing-lg);
    }

    .modal-content {
        padding: var(--spacing-md);
        margin: var(--spacing-sm);
    }

    .modal-cta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .btn-apple {
        width: 100%;
    }
}

/* ========================================
   Animated Robot Character
   ======================================== */

.robot-character {
    position: fixed;
    top: 176px;
    right: 78px;
    width: 120px;
    height: 120px;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.robot-character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    animation: robotBounce 3s ease-in-out infinite;
}

.robot-character:hover img {
    animation: robotHover 0.5s ease-in-out infinite alternate;
    transform: scale(1.1);
}

/* Robot Animation Keyframes */
@keyframes robotBounce {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) rotate(2deg);
    }

    50% {
        transform: translateY(-15px) rotate(0deg);
    }

    75% {
        transform: translateY(-8px) rotate(-2deg);
    }
}

@keyframes robotHover {
    0% {
        transform: scale(1.1) rotate(-3deg);
    }

    100% {
        transform: scale(1.15) rotate(3deg);
    }
}

/* Floating Animation Alternative */
.robot-character.floating img {
    animation: robotFloat 4s ease-in-out infinite;
}

@keyframes robotFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-12px) rotate(1deg);
    }

    66% {
        transform: translateY(-6px) rotate(-1deg);
    }
}

/* Pulsing Glow Effect */
.robot-character.glowing img {
    animation: robotBounce 3s ease-in-out infinite, robotGlow 2s ease-in-out infinite alternate;
}

@keyframes robotGlow {
    0% {
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15)) drop-shadow(0 0 20px rgba(0, 122, 255, 0.3));
    }

    100% {
        filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15)) drop-shadow(0 0 30px rgba(0, 122, 255, 0.6));
    }
}

/* Hide Robot on Mobile Devices */
@media (max-width: 768px) {
    .robot-character {
        display: none;
    }
}

/* ========================================
   Cookie Consent Banner
   ======================================== */
.cookie-consent {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-top: 1px solid var(--border);
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    color: var(--dark);
    margin-bottom: 8px;
}

.cookie-consent-text p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border: none;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--primary);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--border);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--border);
}

.cookie-btn-settings:hover {
    background: var(--light-gray);
    border-color: var(--gray);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--border);
}

.cookie-btn-secondary:hover {
    background: var(--light-gray);
    border-color: var(--gray);
}

/* ========================================
   Cookie Settings Modal
   ======================================== */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.active {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: var(--light);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    margin-bottom: 16px;
}

.cookie-modal-header h2 {
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    color: var(--dark);
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gray);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.cookie-modal-close:hover {
    background: var(--light-gray);
    color: var(--dark);
}

.cookie-modal-body {
    padding: 0 24px 24px;
}

.cookie-modal-body p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.cookie-category {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cookie-category-header h3 {
    font-size: 18px;
    font-weight: var(--font-weight-medium);
    color: var(--dark);
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.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: var(--light-gray);
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .cookie-toggle-slider {
    background-color: var(--primary);
}

input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

input:disabled + .cookie-toggle-slider {
    background-color: var(--success);
    cursor: not-allowed;
}

.cookie-category p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 24px 24px;
    border-top: 1px solid var(--border);
    margin-top: 24px;
    padding-top: 24px;
}

@media (max-width: 768px) {
    .cookie-modal-content {
        margin: 10px;
        width: calc(100% - 20px);
    }

    .cookie-modal-header {
        padding: 20px 20px 0;
    }

    .cookie-modal-body {
        padding: 0 20px 20px;
    }

    .cookie-modal-footer {
        padding: 0 20px 20px;
        flex-direction: column;
    }

    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ========================================
   Accessibility Enhancements
   ======================================== */

/* Focus states for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-main:focus {
    top: 0;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border: rgba(0, 0, 0, 0.3);
        --shadow: rgba(0, 0, 0, 0.3);
    }

    .btn,
    .cookie-btn,
    .scroll-to-top {
        border: 2px solid currentColor;
    }
}