/* ===================================
   PCWerk Studio - Modern CSS
   =================================== */

/* ===== CSS Variables ===== */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #434343 0%, #000000 100%);

    --font-primary: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Gradient Text ===== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
    }
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.back-to-top:active {
    transform: translateY(-3px);
}

/* ===== Cookie Consent Banner ===== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 40px;
    color: var(--primary-color);
    animation: cookieBounce 2s ease-in-out infinite;
}

@keyframes cookieBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-10deg);
    }
    75% {
        transform: translateY(-5px) rotate(10deg);
    }
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.cookie-decline {
    background: white;
    color: var(--gray-color);
    border: 2px solid #e2e8f0;
}

.cookie-decline:hover {
    background: #f8fafc;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo i {
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo strong {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: #fbbf24;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #ec4899;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.shape-3 {
    width: 350px;
    height: 350px;
    background: #8b5cf6;
    bottom: 10%;
    left: 20%;
    animation-delay: 6s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: #10b981;
    top: 30%;
    right: 20%;
    animation-delay: 9s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, -50px) scale(1.1);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }
    75% {
        transform: translate(30px, 50px) scale(1.05);
    }
}

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

.hero-text {
    color: white;
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.8;
}

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

.btn-hero-campaign {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
    font-weight: 800;
    position: relative;
    overflow: hidden;
}

.btn-hero-campaign::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 60%);
    transform: skewX(-20deg);
    animation: shine 2.4s infinite;
}

@keyframes shine {
    0% { left: -120%; }
    50% { left: 120%; }
    100% { left: 120%; }
}

.btn-whatsapp-hero {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
    font-weight: 700;
}

.btn-whatsapp-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.55);
}

.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: cardFloat 6s infinite ease-in-out;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.floating-card:hover {
    transform: translateY(-10px) scale(1.08) rotateY(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    animation-play-state: paused;
}

.floating-card i {
    font-size: 28px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-card:hover i {
    transform: rotate(360deg) scale(1.2);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
}

.floating-card p {
    font-weight: 600;
    color: var(--dark-color);
}

/* Different colors for each floating card */
.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-left: 4px solid #6366f1;
}

.card-1 i {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.card-1:hover {
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.4), 0 0 40px rgba(139, 92, 246, 0.3);
}

.card-1:hover i {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.8);
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(239, 68, 68, 0.15) 100%);
    border-left: 4px solid #ec4899;
}

.card-2 i {
    background: linear-gradient(135deg, #ec4899 0%, #ef4444 100%);
    color: white;
}

.card-2:hover {
    box-shadow: 0 20px 50px rgba(236, 72, 153, 0.4), 0 0 40px rgba(239, 68, 68, 0.3);
}

.card-2:hover i {
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.8);
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    border-left: 4px solid #10b981;
}

.card-3 i {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.card-3:hover {
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.4), 0 0 40px rgba(5, 150, 105, 0.3);
}

.card-3:hover i {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--gray-color);
    font-weight: 500;
}

/* ===== Services Section ===== */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Colorful service cards & icons */
.services-grid .service-card:nth-child(1) .service-icon { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.services-grid .service-card:nth-child(1)::before { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }

.services-grid .service-card:nth-child(2) .service-icon { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.services-grid .service-card:nth-child(2)::before { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }

.services-grid .service-card:nth-child(3) .service-icon { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.services-grid .service-card:nth-child(3)::before { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

.services-grid .service-card:nth-child(4) .service-icon { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }
.services-grid .service-card:nth-child(4)::before { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }

.services-grid .service-card:nth-child(5) .service-icon { background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%); }
.services-grid .service-card:nth-child(5)::before { background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%); }

.services-grid .service-card:nth-child(6) .service-icon { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.services-grid .service-card:nth-child(6)::before { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-bottom: 25px;
}

.service-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-description {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-color);
}

.service-features i {
    color: var(--success-color);
    font-size: 14px;
}

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

.service-link:hover {
    gap: 15px;
}

/* ===== About Section ===== */
.about-section {
    padding: 100px 0;
    background: white;
}

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

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    border-radius: 20px;
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-badge i {
    font-size: 24px;
    color: var(--warning-color);
}

.about-badge span {
    font-weight: 600;
    color: var(--dark-color);
}

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

.about-features {
    margin: 40px 0;
}

.about-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.feature-content p {
    color: var(--gray-color);
    font-size: 14px;
}

/* ===== References Section ===== */
.references-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.reference-card {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.reference-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.reference-card:hover::before {
    opacity: 0.05;
}

.reference-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.reference-card > * {
    position: relative;
    z-index: 1;
}

.reference-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.reference-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.reference-description {
    color: var(--gray-color);
    margin-bottom: 25px;
    line-height: 1.8;
}

.reference-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.reference-link:hover {
    gap: 15px;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 100px 0;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.contact-details a {
    color: var(--gray-color);
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
}

.contact-form-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 50px;
    border-radius: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--font-primary);
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 15px;
    color: var(--gray-color);
    pointer-events: none;
    transition: var(--transition);
    background: white;
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: var(--primary-color);
}

.form-group i {
    position: absolute;
    right: 20px;
    top: 18px;
    color: var(--gray-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    opacity: 0;
}

.btn-submit {
    width: 100%;
    justify-content: center;
}

/* ===== Footer ===== */
.footer {
    background: var(--gradient-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 32px;
    color: var(--primary-color);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    line-height: 1.8;
}

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

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 18px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-image {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 50px 0;
        box-shadow: var(--shadow-xl);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .references-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 80px;
        right: 20px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-icon {
        font-size: 32px;
    }

    .cookie-text h4 {
        font-size: 16px;
    }

    .cookie-text p {
        font-size: 13px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        min-width: 120px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* ===== Animation Classes ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== Scroll Progress Indicator ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.5);
}

/* ===== Page Loader ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-logo {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loader-text {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    min-height: 27px;
    transition: opacity 0.2s ease;
}

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

/* ===== Smooth Scrollbar ===== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ===== Floating Particles (Optional) ===== */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: floatParticle 20s linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== Modern Card Styles ===== */
.modern-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-card::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;
}

.modern-card:hover::before {
    left: 100%;
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Gradient Borders ===== */
.gradient-border {
    position: relative;
    background: white;
    border-radius: 15px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* ===== Glowing Effect ===== */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.glow-effect:hover::after {
    opacity: 0.3;
}

/* ===== Text Gradient Animation ===== */
.animated-gradient-text {
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* ===== Language Switcher ===== */
.language-switcher {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.lang-current:hover {
    background: #f8fafc;
}

.lang-flag {
    font-size: 20px;
}

.lang-code {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 14px;
}

.lang-current i {
    font-size: 12px;
    color: var(--gray-color);
    transition: transform 0.3s ease;
}

.language-switcher:hover .lang-current i {
    transform: rotate(180deg);
}

.lang-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.language-switcher:hover .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    transition: var(--transition);
    border-bottom: 1px solid #f1f1f1;
    text-decoration: none;
    color: var(--dark-color);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: #f8fafc;
    text-decoration: none;
}

.lang-option.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--primary-color);
    font-weight: 600;
}

.lang-option .lang-flag {
    font-size: 20px;
}

.lang-option span:last-child {
    font-size: 14px;
    color: var(--dark-color);
    font-weight: 500;
}

.lang-option.active span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== Logo in Navigation ===== */
.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: inline-block;
}

.footer-logo-img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    display: inline-block;
    filter: brightness(0) invert(1);
}

.about-logo-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

/* ===== Improved Hero Buttons (Better Contrast) ===== */
.btn-hero {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    font-weight: 700;
}

.btn-hero:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
    transform: translateY(-3px);
}

.btn-hero-secondary {
    background: #fbbf24;
    color: #1f2937;
    border: 2px solid #fbbf24;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.btn-hero-secondary:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
}

/* ===== Additional Floating Cards (4, 5, 6) ===== */
.card-4 {
    top: 35%;
    left: 5%;
    animation-delay: 1s;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%);
    border-left: 4px solid #f59e0b;
}

.card-4 i {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.card-4:hover {
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.4), 0 0 40px rgba(217, 119, 6, 0.3);
}

.card-4:hover i {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.8);
}

.card-5 {
    top: 75%;
    right: 0;
    animation-delay: 1.5s;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-left: 4px solid #0ea5e9;
}

.card-5 i {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
}

.card-5:hover {
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.4), 0 0 40px rgba(6, 182, 212, 0.3);
}

.card-5:hover i {
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.8);
}

.card-6 {
    top: 60%;
    left: 35%;
    animation-delay: 2s;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(126, 34, 206, 0.15) 100%);
    border-left: 4px solid #a855f7;
}

.card-6 i {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    color: white;
}

.card-6:hover {
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.4), 0 0 40px rgba(126, 34, 206, 0.3);
}

.card-6:hover i {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.8);
}

/* ===== Summary Cards Section (New) ===== */
.summary-cards-section {
    padding: 60px 0;
    background: white;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.summary-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.summary-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Colorful Summary Cards */
.summary-card-1 .summary-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}
.summary-card-1:hover {
    border-bottom: 4px solid #6366f1;
}

.summary-card-2 .summary-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}
.summary-card-2:hover {
    border-bottom: 4px solid #10b981;
}

.summary-card-3 .summary-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}
.summary-card-3:hover {
    border-bottom: 4px solid #f59e0b;
}

.summary-card-4 .summary-icon {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
}
.summary-card-4:hover {
    border-bottom: 4px solid #ec4899;
}

.summary-card::before {
    display: none; /* Remove old effect */
}

.summary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.summary-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: var(--transition);
}

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

.summary-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.summary-card p {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.6;
}

/* ===== References Grid Update for 4 items ===== */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ===== Mobile Responsive Updates ===== */
@media (max-width: 768px) {
    .language-switcher {
        top: 80px;
        right: 15px;
        font-size: 14px;
    }

    .lang-current {
        padding: 8px 15px;
    }

    .lang-flag {
        font-size: 18px;
    }

    .summary-cards-section {
        padding: 40px 0;
    }

    .summary-card {
        padding: 25px 20px;
    }

    .summary-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .floating-card.card-4,
    .floating-card.card-5,
    .floating-card.card-6 {
        display: none;
    }
}

@media (max-width: 480px) {
    .language-switcher {
        right: 10px;
        top: 75px;
    }

    .summary-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== Enhanced Animations ===== */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.logo-img,
.footer-logo-img {
    animation: bounce 3s ease-in-out infinite;
}

.logo-img:hover,
.footer-logo-img:hover {
    animation: none;
    transform: scale(1.1);
}

/* ===== Tech Background Patterns ===== */
.tech-pattern-bg {
    position: relative;
    overflow: hidden;
}

.tech-pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

.tech-pattern-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* Tech dots pattern for sections */
.tech-dots-bg {
    position: relative;
}

.tech-dots-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

/* Binary code background */
.binary-bg {
    position: relative;
    overflow: hidden;
}

.binary-bg::before {
    content: '01010011 01101111 01100110 01110100 01110111 01100001 01110010 01100101 00100000 01000100 01100101 01110110 01100101 01101100 01101111 01110000 01101101 01100101 01101110 01110100';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(99, 102, 241, 0.05);
    white-space: nowrap;
    animation: scrollBinary 60s linear infinite;
    pointer-events: none;
}

@keyframes scrollBinary {
    from {
        transform: translateY(-50%) translateX(0);
    }
    to {
        transform: translateY(-50%) translateX(-50%);
    }
}

/* Circuit pattern */
.circuit-pattern {
    position: relative;
}

.circuit-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, transparent 0%, transparent 49%, rgba(99, 102, 241, 0.1) 49%, rgba(99, 102, 241, 0.1) 51%, transparent 51%, transparent 100%),
        linear-gradient(0deg, transparent 0%, transparent 49%, rgba(99, 102, 241, 0.1) 49%, rgba(99, 102, 241, 0.1) 51%, transparent 51%, transparent 100%);
    background-size: 100px 100px;
    opacity: 0.3;
    pointer-events: none;
}

/* Apply patterns to sections */
.stats-section {
    background: white;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.08) 2px, transparent 0);
    background-size: 50px 50px;
    opacity: 0.5;
    pointer-events: none;
}

.services-section {
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.about-section {
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(99, 102, 241, 0.03) 2px, transparent 2px);
    background-size: 40px 40px;
    pointer-events: none;
}

.contact-section {
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(99, 102, 241, 0.02) 48%, rgba(99, 102, 241, 0.02) 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(99, 102, 241, 0.02) 48%, rgba(99, 102, 241, 0.02) 52%, transparent 52%);
    background-size: 80px 80px;
    pointer-events: none;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 60px;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    background: white;
    transition: all 0.3s ease;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover .faq-question::before,
.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

.faq-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-toggle i {
    font-size: 16px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: var(--gradient-primary);
    transform: rotate(45deg);
}

.faq-item.active .faq-toggle i {
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
    background: linear-gradient(135deg, #f8fafc 0%, white 100%);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 25px 30px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.faq-answer p {
    margin: 0;
    color: var(--gray-color);
    font-size: 16px;
    line-height: 1.8;
}

/* FAQ Item Alternating Colors */
.faq-item:nth-child(odd):hover .faq-question::before {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.faq-item:nth-child(even):hover .faq-question::before {
    background: linear-gradient(135deg, #ec4899 0%, #ef4444 100%);
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-container {
        margin-top: 40px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 20px;
    }

    .faq-toggle {
        width: 35px;
        height: 35px;
    }

    .faq-toggle i {
        font-size: 14px;
    }
}

/* ===== Campaigns Page ===== */
.page-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.page-hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.page-hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-hero-content p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Angebote page red emphasis */
.campaigns-section,
.campaign-card h3,
.campaign-description,
.campaign-pricing,
.campaign-card .campaign-meta,
.campaign-card .campaign-actions {
    color: #b91c1c;
}

.campaign-card h3 {
    color: #b91c1c;
}

.campaign-description {
    color: #991b1b;
}

.campaigns-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.campaigns-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.08) 2px, transparent 0);
    background-size: 50px 50px;
    pointer-events: none;
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
}

.campaign-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.campaign-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.campaign-card.featured {
    border: 3px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, white 100%);
}

.campaign-card.featured:hover {
    border-color: #d97706;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.3);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 8px 45px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.discount-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    z-index: 2;
}

.campaign-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    transition: all 0.4s ease;
}

.campaign-card:hover .campaign-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
}

.campaign-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.campaign-description {
    color: var(--gray-color);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.campaign-pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
}

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

.discounted-price {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.savings {
    font-size: 14px;
    color: #10b981;
    font-weight: 600;
}

.campaign-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.validity {
    font-size: 13px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.validity i {
    color: var(--primary-color);
}

.btn-campaign {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-campaign:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.4);
}

.btn-campaign i {
    transition: transform 0.3s ease;
}

.btn-campaign:hover i {
    transform: translateX(5px);
}

.no-campaigns {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-campaigns p {
    font-size: 18px;
    color: var(--gray-color);
}

/* Campaign Widget for Homepage */
.campaign-widget {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    border: 3px solid #f59e0b;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.campaign-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.campaign-widget-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 30px;
}

.campaign-widget-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.campaign-widget-text {
    flex: 1;
}

.campaign-widget-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.campaign-widget-text p {
    font-size: 16px;
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.campaign-widget-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 15px;
}

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

.widget-discounted-price {
    font-size: 32px;
    font-weight: 800;
    color: #d97706;
}

.campaign-widget-actions {
    display: flex;
    gap: 15px;
}

/* Campaign Badge Styles */
.campaign-badge {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.badge-featured,
.badge-discount {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-featured {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.badge-discount {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.campaign-content {
    position: relative;
}

.campaign-savings {
    font-size: 14px;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 15px;
}

.campaign-validity {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.campaign-validity i {
    color: var(--primary-color);
}

.btn-campaign {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-campaign:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.no-campaigns {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-color);
}

.no-campaigns i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary-color);
    opacity: 0.5;
}

.no-campaigns p {
    font-size: 18px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 60px;
    }

    .page-hero-content h1 {
        font-size: 32px;
    }

    .page-hero-content p {
        font-size: 16px;
    }

    .campaigns-section {
        padding: 60px 0;
    }

    .campaigns-grid {
        grid-template-columns: 1fr;
    }

    .campaign-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .campaign-widget-content {
        flex-direction: column;
        text-align: center;
    }

    .campaign-widget-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-campaign {
        width: 100%;
        justify-content: center;
    }
}


/* ===== Page-Specific Background Patterns ===== */

/* Home Page - Circuit Pattern */
body.page-home .hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Contact Page - Dots Pattern */
body.page-contact .page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

/* FAQ Page - Hexagon Pattern */
body.page-faq .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, rgba(99, 102, 241, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(99, 102, 241, 0.03) 87.5%, rgba(99, 102, 241, 0.03)),
        linear-gradient(150deg, rgba(99, 102, 241, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(99, 102, 241, 0.03) 87.5%, rgba(99, 102, 241, 0.03)),
        linear-gradient(30deg, rgba(99, 102, 241, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(99, 102, 241, 0.03) 87.5%, rgba(99, 102, 241, 0.03)),
        linear-gradient(150deg, rgba(99, 102, 241, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(99, 102, 241, 0.03) 87.5%, rgba(99, 102, 241, 0.03));
    background-size: 80px 140px;
    background-position: 0 0, 40px 70px, 0 0, 40px 70px;
    pointer-events: none;
}

/* About Page - Wave Pattern */
body.page-about .page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 10px);
    pointer-events: none;
    z-index: 1;
}

/* Services Page - Grid Pattern */
body.page-services .page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* Angebote Page - Diamond Pattern */
body.page-angebote .page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 0, 30px -30px, 0px 30px;
    pointer-events: none;
    z-index: 1;
}

/* ===== New Horizontal Language Switcher ===== */
.language-switcher-horizontal {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: white;
    padding: 8px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-color);
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
}

.lang-btn:hover {
    background: #f8fafc;
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.lang-btn .lang-flag {
    font-size: 18px;
}

.lang-btn .lang-code {
    font-size: 13px;
    text-transform: uppercase;
}

/* Hide old language switcher */
.language-switcher {
    display: none !important;
}

@media (max-width: 768px) {
    .language-switcher-horizontal {
        top: 80px;
        right: 15px;
        padding: 6px 10px;
        gap: 5px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .lang-btn .lang-flag {
        font-size: 16px;
    }

    .lang-btn .lang-code {
        display: none;
    }
}

/* ===== Red Angebote Menu Link ===== */
.nav-link-angebote {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

.nav-link-angebote:hover {
    color: #b91c1c !important;
}

.nav-link-angebote::after {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

/* ===== Updated Floating Cards for New Services ===== */
.floating-card.card-system-update i { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.floating-card.card-antivirus i { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.floating-card.card-hardware i { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.floating-card.card-screen i { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.floating-card.card-repair i { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.floating-card.card-logo i { background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); }


/* References Page - Cross Pattern */
body.page-references .page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.03) 75%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 0, 20px -20px, 0px 20px;
    pointer-events: none;
    z-index: 1;
}


/* ===== Enhanced Floating Cards (9 cards) ===== */
.card-4 {
    top: 35%;
    left: 5%;
    animation-delay: 1s;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%);
    border-left: 4px solid #f59e0b;
}

.card-4 i {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.card-5 {
    top: 75%;
    right: 0;
    animation-delay: 1.5s;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    border-left: 4px solid #ef4444;
}

.card-5 i {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.card-6 {
    top: 60%;
    left: 35%;
    animation-delay: 2s;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(126, 34, 206, 0.15) 100%);
    border-left: 4px solid #a855f7;
}

.card-6 i {
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    color: white;
}

.card-7 {
    top: 25%;
    right: 5%;
    animation-delay: 2.5s;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(14, 165, 233, 0.15) 100%);
    border-left: 4px solid #06b6d4;
}

.card-7 i {
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
    color: white;
}

.card-8 {
    top: 85%;
    left: 5%;
    animation-delay: 3s;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(22, 163, 74, 0.15) 100%);
    border-left: 4px solid #22c55e;
}

.card-8 i {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.card-9 {
    top: 5%;
    right: 25%;
    animation-delay: 3.5s;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.15) 0%, rgba(234, 88, 12, 0.15) 100%);
    border-left: 4px solid #fb923c;
}

.card-9 i {
    background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);
    color: white;
}

/* ===== Global Page Background Patterns ===== */

/* Pattern for all page headers */
.page-header::after,
.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

/* Home Page - Circuit Pattern */
body.page-home .hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Contact Page - Dots Pattern */
body.page-contact .page-header::after {
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 30px 30px;
}

/* FAQ Page - Hexagon Pattern */
body.page-faq .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(30deg, rgba(99, 102, 241, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(99, 102, 241, 0.03) 87.5%),
        linear-gradient(150deg, rgba(99, 102, 241, 0.03) 12%, transparent 12.5%, transparent 87%, rgba(99, 102, 241, 0.03) 87.5%);
    background-size: 80px 140px;
    pointer-events: none;
}

/* About Page - Wave Pattern */
body.page-about .page-header::after {
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 10px);
}

/* Services Page - Grid Pattern */
body.page-services .page-header::after {
    background-image:
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Angebote Page - Diamond Pattern */
body.page-angebote .page-hero::after {
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.05) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 30px 0, 30px -30px, 0px 30px;
}

/* References Page - Cross Pattern */
body.page-references .page-header::after {
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%);
    background-size: 40px 40px;
}

/* ===== Section Background Patterns ===== */
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.services-section {
    position: relative;
}

.references-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.references-section {
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(99, 102, 241, 0.03) 2px, transparent 2px);
    background-size: 50px 50px;
    pointer-events: none;
}

.about-section {
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(99, 102, 241, 0.02) 48%, rgba(99, 102, 241, 0.02) 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(99, 102, 241, 0.02) 48%, rgba(99, 102, 241, 0.02) 52%, transparent 52%);
    background-size: 80px 80px;
    pointer-events: none;
}

.contact-section {
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(99, 102, 241, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(99, 102, 241, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.faq-section {
    position: relative;
    overflow: hidden;
}

/* ===== New Horizontal Language Switcher ===== */
.language-switcher-horizontal {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: white;
    padding: 8px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-color);
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
}

.lang-btn:hover {
    background: #f8fafc;
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.lang-btn .lang-flag {
    font-size: 18px;
}

.lang-btn .lang-code {
    font-size: 13px;
    text-transform: uppercase;
}

/* Hide old language switcher */
.language-switcher {
    display: none !important;
}

/* ===== Red Angebote Menu Link ===== */
.nav-link-angebote {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

.nav-link-angebote:hover {
    color: #b91c1c !important;
}

.nav-link-angebote::after {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

/* ===== Responsive for Language Switcher ===== */
@media (max-width: 768px) {
    .language-switcher-horizontal {
        top: 80px;
        right: 15px;
        padding: 6px 10px;
        gap: 5px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .lang-btn .lang-flag {
        font-size: 16px;
    }

    .lang-btn .lang-code {
        display: none;
    }
    
    /* Hide extra floating cards on mobile */
    .floating-card.card-7,
    .floating-card.card-8,
    .floating-card.card-9 {
        display: none;
    }
}

/* ===== Testimonials Slider (New Feature) ===== */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    color: rgba(99, 102, 241, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.testimonial-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-info p {
    font-size: 14px;
    color: var(--gray-color);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 20px;
}

/* ===== Tech Stack Section (New Feature) ===== */
.tech-stack-section {
    padding: 60px 0;
    background: white;
}

.tech-stack-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-radius: 15px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.tech-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.tech-item i {
    font-size: 40px;
    color: var(--primary-color);
}

.tech-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-color);
}

/* ===== Process Steps (New Feature) ===== */
.process-section {
    padding: 100px 0;
    background: white;
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 40px 30px;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 2;
}

.process-step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.process-step p {
    color: var(--gray-color);
    line-height: 1.8;
}

/* ===== CTA Banner (New Feature) ===== */
.cta-banner {
    background: var(--gradient-primary);
    padding: 60px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.cta-banner h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

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