/* ========================================
   mercode - Minimalist Matte Design with Glassmorphism
   ======================================== */

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #ec4899;
    --bg-main: #0f0f11;
    --bg-secondary: #18181b;
    --bg-tertiary: #27272a;
    --glass-bg: rgba(39, 39, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #fafafa;
    --text-secondary: #d4d4d8;
    --text-muted: #a1a1aa;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

/* Light Mode */
[data-theme="light"] {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #ec4899;
    --bg-main: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Custom Cursor - Minimal Dot with Ripple */
.custom-cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-cursor::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: ripple 1.5s ease-out infinite;
    opacity: 0.6;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(3); opacity: 0; }
}

.custom-cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 60%, rgba(99, 102, 241, 0.15) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(2px);
}

.custom-cursor.active {
    opacity: 1;
}

.custom-cursor-follower.active {
    opacity: 1;
}

.custom-cursor.hover {
    transform: scale(1.3);
    background: linear-gradient(135deg, var(--accent), #f59e0b);
}

.custom-cursor.hover::after {
    animation: ripple-fast 0.8s ease-out infinite;
}

@keyframes ripple-fast {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(4); opacity: 0; }
}

.custom-cursor-follower.hover {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, transparent 50%, rgba(236, 72, 153, 0.2) 100%);
    border-color: rgba(236, 72, 153, 0.5);
}

/* Cursor Hover States */
body:hover .custom-cursor,
body:hover .custom-cursor-follower {
    opacity: 1;
}

a:hover ~ .custom-cursor-follower,
button:hover ~ .custom-cursor-follower,
.btn:hover ~ .custom-cursor-follower,
.service-card:hover ~ .custom-cursor-follower {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
    border-width: 3px;
}

a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor,
.btn:hover ~ .custom-cursor,
.service-card:hover ~ .custom-cursor {
    transform: scale(1.5);
    background: var(--accent);
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent !important;
    border: none !important;
    color: var(--text-primary) !important;
    padding: 0.5rem !important;
    transition: transform 0.3s ease, color 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(20deg);
    color: var(--primary-light) !important;
}

.theme-toggle i {
    font-size: 1.2rem;
}

/* Subtle Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(236, 72, 153, 0.03) 0%, transparent 45%);
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

[data-theme="light"] body::before {
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(236, 72, 153, 0.05) 0%, transparent 45%);
}

/* Noise Texture Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.03"/></svg>');
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.brand-code {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
}

/* Navbar */
.navbar {
    padding: 1.25rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .glass-effect {
    background: rgba(248, 250, 252, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

[data-theme="light"] .logo-image {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 0.75rem;
    padding: 0.5rem 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--primary-light) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 80%;
}

.cta-nav {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.6rem 1.75rem !important;
    border-radius: 12px;
    margin-left: 1rem !important;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.cta-nav::after {
    display: none;
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
    background: var(--primary-light);
    color: white !important;
}

.glass-dropdown {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.glass-dropdown .dropdown-item {
    color: var(--text-secondary);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
}

.glass-dropdown .dropdown-item:hover {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

/* Hero Particles - Smaller balls moving in different directions */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-particles .particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary);
    opacity: 0;
}

/* Particle 1 - Small, diagonal up-right */
.hero-particles .particle:nth-child(1) {
    width: 3px;
    height: 3px;
    bottom: 10%;
    left: 15%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation: particle-diagonal-up-right 15s infinite ease-in-out;
    animation-delay: 0s;
}

/* Particle 2 - Medium, straight up */
.hero-particles .particle:nth-child(2) {
    width: 5px;
    height: 5px;
    bottom: 5%;
    left: 30%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent);
    animation: particle-straight-up 18s infinite ease-in-out;
    animation-delay: -2s;
}

/* Particle 3 - Small, diagonal up-left */
.hero-particles .particle:nth-child(3) {
    width: 4px;
    height: 4px;
    bottom: 15%;
    right: 20%;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    box-shadow: 0 0 20px #8b5cf6, 0 0 40px #8b5cf6;
    animation: particle-diagonal-up-left 16s infinite ease-in-out;
    animation-delay: -4s;
}

/* Particle 4 - Medium, horizontal right */
.hero-particles .particle:nth-child(4) {
    width: 4px;
    height: 4px;
    top: 30%;
    left: 5%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    box-shadow: 0 0 20px var(--primary-light), 0 0 40px var(--primary-light);
    animation: particle-horizontal-right 14s infinite ease-in-out;
    animation-delay: -6s;
}

/* Particle 5 - Small, straight up */
.hero-particles .particle:nth-child(5) {
    width: 3px;
    height: 3px;
    bottom: 20%;
    left: 50%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent);
    animation: particle-straight-up 20s infinite ease-in-out;
    animation-delay: -8s;
}

/* Particle 6 - Medium, diagonal down-right */
.hero-particles .particle:nth-child(6) {
    width: 5px;
    height: 5px;
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation: particle-diagonal-down-right 17s infinite ease-in-out;
    animation-delay: -10s;
}

/* Particle 7 - Small, horizontal left */
.hero-particles .particle:nth-child(7) {
    width: 3px;
    height: 3px;
    top: 40%;
    right: 8%;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    box-shadow: 0 0 20px #8b5cf6, 0 0 40px #8b5cf6;
    animation: particle-horizontal-left 15s infinite ease-in-out;
    animation-delay: -12s;
}

/* Particle 8 - Medium, diagonal up-right */
.hero-particles .particle:nth-child(8) {
    width: 4px;
    height: 4px;
    bottom: 25%;
    left: 70%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    box-shadow: 0 0 20px var(--primary-light), 0 0 40px var(--primary-light);
    animation: particle-diagonal-up-right 19s infinite ease-in-out;
    animation-delay: -14s;
}

/* Particle 9 - Small, diagonal down-left */
.hero-particles .particle:nth-child(9) {
    width: 3px;
    height: 3px;
    top: 20%;
    right: 15%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent);
    animation: particle-diagonal-down-left 16s infinite ease-in-out;
    animation-delay: -16s;
}

/* Particle 10 - Medium, straight up */
.hero-particles .particle:nth-child(10) {
    width: 5px;
    height: 5px;
    bottom: 8%;
    right: 35%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation: particle-straight-up 21s infinite ease-in-out;
    animation-delay: -18s;
}

/* Particle 11 - Small, diagonal up-left */
.hero-particles .particle:nth-child(11) {
    width: 4px;
    height: 4px;
    bottom: 30%;
    right: 5%;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    box-shadow: 0 0 20px #8b5cf6, 0 0 40px #8b5cf6;
    animation: particle-diagonal-up-left 18s infinite ease-in-out;
    animation-delay: -20s;
}

/* Particle 12 - Medium, horizontal right */
.hero-particles .particle:nth-child(12) {
    width: 4px;
    height: 4px;
    top: 50%;
    left: 3%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    box-shadow: 0 0 20px var(--primary-light), 0 0 40px var(--primary-light);
    animation: particle-horizontal-right 17s infinite ease-in-out;
    animation-delay: -22s;
}

/* Animation: Straight Up */
@keyframes particle-straight-up {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

/* Animation: Diagonal Up-Right */
@keyframes particle-diagonal-up-right {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translate(40vw, -100vh);
        opacity: 0;
    }
}

/* Animation: Diagonal Up-Left */
@keyframes particle-diagonal-up-left {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translate(-40vw, -100vh);
        opacity: 0;
    }
}

/* Animation: Diagonal Down-Right */
@keyframes particle-diagonal-down-right {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translate(40vw, 100vh);
        opacity: 0;
    }
}

/* Animation: Diagonal Down-Left */
@keyframes particle-diagonal-down-left {
    0% {
        transform: translate(0, 0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translate(-40vw, 100vh);
        opacity: 0;
    }
}

/* Animation: Horizontal Right */
@keyframes particle-horizontal-right {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

/* Animation: Horizontal Left */
@keyframes particle-horizontal-left {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(-100vw);
        opacity: 0;
    }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both;
}

.location-badges {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.badge-pill {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-pill:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.4);
    background: var(--primary-light);
}

.btn-outline-light {
    border: 1.5px solid var(--glass-border);
    color: var(--text-primary);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-light);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.glass-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Service Cards */
.service-card {
    text-align: center;
    height: 100%;
}

.service-icon {
    font-size: 2.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Tech Grid */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

.tech-badge {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
}

.tech-badge:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Case Study Cards */
.case-study-card {
    height: 100%;
}

.case-study-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.metric {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.metric i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Portfolio Cards */
.portfolio-card {
    height: 100%;
}

.portfolio-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Why List */
.why-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
}

.why-item i {
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Team Cards */
.team-card {
    text-align: center;
    height: 100%;
}

.team-avatar {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.team-avatar i {
    font-size: 4rem;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-photo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.team-photo-natalie {
    object-position: center 10% !important;
}

.team-photo-kasim,
.team-photo-marvin {
    object-fit: cover;
    object-position: center 40%;
    transform: scale(1.3);
}

.team-photo-kasim:hover,
.team-photo-marvin:hover {
    transform: scale(1.35);
}

.team-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--dark-bg);
}

.timeline-content {
    margin-left: 1rem;
}

/* Service Detail Cards */
.service-detail-card {
    height: 100%;
}

.service-detail-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-points {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-points li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-secondary);
}

.service-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.service-benefit {
    background: rgba(0, 212, 255, 0.1);
    border-left: 3px solid var(--primary);
    padding: 1rem;
    border-radius: 5px;
    color: var(--text-secondary);
}

/* Forms */
.form-control,
.form-select {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus,
.form-select:focus {
    background: var(--bg-secondary);
    border-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.925rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.form-check-input {
    background-color: var(--bg-tertiary);
    border-color: var(--glass-border);
    border-width: 1.5px;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
}

.form-check-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Accordion */
.accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 0.75rem;
}

.accordion-button {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: 12px !important;
    font-weight: 500;
    padding: 1rem 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-button:not(.collapsed) {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.accordion-button:focus {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
}

.accordion-body {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 1.25rem;
}

/* Offer Page Specific */
.service-checkbox-item {
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-checkbox-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.service-checkbox:checked + label {
    color: var(--primary);
}

.sticky-summary {
    position: sticky;
    top: 100px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

/* Appointment Selection - New Design */
.appointment-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.appointment-container {
    display: flex !important;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
    visibility: visible !important;
    opacity: 1 !important;
}

.appointment-day {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    display: block !important;
    visibility: visible !important;
}

.appointment-day:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-md);
}

.appointment-date-header {
    display: flex !important;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--glass-border);
    visibility: visible !important;
}

.appointment-date-header i {
    font-size: 1.25rem;
}

.appointment-time-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
    visibility: visible !important;
}

.appointment-time-item {
    position: relative;
    display: block !important;
    visibility: visible !important;
}

.appointment-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.appointment-time-label {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1.5px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    visibility: visible !important;
}

.appointment-time-label:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.appointment-radio:checked + .appointment-time-label {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transform: scale(1.05);
}

.appointment-time-label i {
    font-size: 1rem;
}

.btn-check:checked + .btn-outline-primary {
    background: var(--primary);
    color: var(--dark-bg);
    border-color: var(--primary);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    margin: 3rem 0;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(236, 72, 153, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    min-height: auto;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Sections */
.section-padding {
    padding: 5rem 0 3rem 0;
    flex: 1 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.bg-dark-alt {
    background: var(--bg-secondary);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0 2rem;
    margin-top: auto;
    border-top: 1px solid var(--glass-border);
    flex-shrink: 0;
}

.footer h5, .footer h6 {
    color: var(--primary-light);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.footer ul {
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-link:hover {
    color: var(--primary-light);
    transform: translateX(2px);
    display: inline-block;
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: 1px solid;
    backdrop-filter: blur(20px);
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.3);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

.alert-warning {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
    border-color: rgba(251, 146, 60, 0.3);
}

.alert-info {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        min-height: 80vh;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .case-metrics {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        gap: 0.75rem;
    }
    
    .tech-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.value-list {
    list-style: none;
    padding-left: 0;
}

.value-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Cookie Banner */
#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: var(--shadow-xl);
}

#cookieBanner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-banner-text p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cookie-banner-text a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-banner-actions .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cookie-banner-actions .btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.cookie-banner-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cookie-banner-actions .btn-outline-secondary {
    border-color: var(--glass-border);
    color: var(--text-secondary);
    background: transparent;
}

.cookie-banner-actions .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-banner-actions .btn {
        width: 100%;
    }
}
