/* ===== CSS Variables ===== */
:root {
    /* Colors - Light Premium Theme */
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fc;
    --color-bg-dark: #0f172a;
    --color-text: #1e293b;
    --color-text-light: #64748b;
    --color-text-muted: #94a3b8;
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-primary-light: #3b82f6;
    --color-secondary: #7c3aed;
    --color-accent: #06b6d4;
    --color-success: #10b981;

    /* Cyberpunk/Neon Colors (for cybersecurity theme) */
    --color-neon-cyan: #00FFFF;
    --color-neon-green: #00FF88;
    --color-neon-purple: #BF00FF;
    --neon-glow-cyan: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 40px rgba(0, 255, 255, 0.3);
    --neon-glow-green: 0 0 20px rgba(0, 255, 136, 0.5), 0 0 40px rgba(0, 255, 136, 0.3);

    /* Z-Index Scale (UI/UX Pro Max recommendation) */
    --z-base: 1;
    --z-dropdown: 10;
    --z-sticky: 20;
    --z-fixed: 30;
    --z-modal: 40;
    --z-popover: 50;
    --z-tooltip: 60;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-light: rgba(255, 255, 255, 0.5);
    --glass-bg-dark: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    --glass-blur: blur(16px);
    --glass-blur-heavy: blur(24px);

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-primary: 0 10px 40px -10px rgba(37, 99, 235, 0.4);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
}

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

html {
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Smooth native scroll */
@supports (scroll-behavior: smooth) {
    html {
        scroll-behavior: smooth;
    }
}

::selection {
    background: var(--color-primary);
    color: white;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

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

/* ===== Custom Cursor ===== */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    will-change: transform;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    transition: opacity 0.3s ease;
}

.cursor-outline {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(37, 99, 235, 0.5);
    transition: opacity 0.3s ease, border-color 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-outline.hover {
    border-color: var(--color-secondary);
}

@media (max-width: 1024px) {
    .cursor-dot, .cursor-outline { display: none !important; }
}

/* ===== Text Animation ===== */
.title-line {
    display: block;
    overflow: hidden;
}

.title-line .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-80deg);
    transform-origin: center bottom;
}

.title-line.animate .char {
    animation: charReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes charReveal {
    0% {
        opacity: 0;
        transform: translateY(100%) rotateX(-80deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* Revealed state */
.revealed {
    opacity: 1 !important;
    transform: none !important;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-progress {
    width: 120px;
    height: 3px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    margin-top: 24px;
    overflow: hidden;
}

.preloader-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-full);
    animation: loadingBar 1.8s ease forwards;
}

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

@keyframes loadingBar {
    to { width: 100%; }
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                padding 0.3s ease,
                box-shadow 0.3s ease;
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    box-shadow: var(--glass-shadow);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: var(--radius-md);
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-text);
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-light);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--color-text);
}

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

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--color-text);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.header-cta:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.header-cta svg {
    transition: transform var(--transition);
}

.header-cta:hover svg {
    transform: translateX(4px);
}

/* Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition);
    transform-origin: center;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(2px, 6px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(2px, -6px);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-list {
    text-align: center;
}

.mobile-nav-list li {
    margin: 16px 0;
}

.mobile-nav-list a {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
}

.mobile-nav-list a:hover {
    color: var(--color-primary);
}

.mobile-cta {
    display: inline-block;
    margin-top: 24px;
    padding: 16px 32px;
    background: var(--color-primary);
    color: white !important;
    border-radius: var(--radius-full);
    font-size: 1rem !important;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 10px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    margin-bottom: 24px;
    box-shadow: var(--glass-shadow);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.title-highlight {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-subtitle strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Hero CTA */
.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-text);
    color: white;
}

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

.btn-primary svg {
    transition: transform var(--transition);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    background: white;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

.btn-outline:hover {
    background: var(--color-text);
    color: white;
}

.btn-white {
    background: white;
    color: var(--color-text);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

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

/* Hero Proof */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 16px;
}

.proof-avatars {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    border: 2px solid white;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.proof-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.proof-rating {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.proof-text > span:last-child {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image-main {
    position: relative;
    width: 100%;
    padding-bottom: 110%;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-border-light) 100%);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.hero-avatar {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

/* Floating Cards - Glassmorphism */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    animation: float 6s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

.floating-card-1 {
    top: 10%;
    left: -20%;
    animation-delay: 0s;
}

.floating-card-2 {
    top: 40%;
    right: -15%;
    animation-delay: -2s;
}

.floating-card-3 {
    bottom: 15%;
    left: -10%;
    animation-delay: -4s;
}

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

.floating-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-success), #34d399);
    border-radius: var(--radius-md);
}

.floating-icon.blue {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.floating-icon.purple {
    background: linear-gradient(135deg, var(--color-secondary), #a78bfa);
}

.floating-icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.floating-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
}

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}

.hero-decoration-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    top: -50px;
    right: -50px;
}

.hero-decoration-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    bottom: -30px;
    left: -30px;
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero-scroll span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

/* ===== Marquee Section ===== */
.marquee-section {
    padding: 30px 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    overflow: hidden;
}

.marquee-track {
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 40px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.marquee-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.marquee-dot {
    color: var(--color-primary);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Section Styles ===== */
section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    margin-top: 16px;
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== About Section ===== */
.about {
    background: var(--color-bg);
}

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

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

.about-image {
    position: relative;
    background: linear-gradient(135deg, var(--color-bg-alt), var(--color-border-light));
    border-radius: var(--radius-2xl);
    padding-bottom: 120%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-avatar {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-primary);
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.85rem;
    opacity: 0.9;
}

.about-content-col .section-label {
    display: inline-block;
}

.about-content-col .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    margin-bottom: 32px;
}

.about-text .text-large {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--color-text-light);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===== Services Section ===== */
.services {
    background: var(--color-bg-alt);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.service-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 50px rgba(31, 38, 135, 0.15);
    transform: translateY(-8px);
    background: var(--glass-bg-dark);
}

.service-card.featured {
    border-color: rgba(37, 99, 235, 0.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.service-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-lg);
    transition: transform var(--transition);
}

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

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.service-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-border);
    line-height: 1;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.service-list li {
    padding: 6px 14px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

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

.service-link svg {
    transition: transform var(--transition);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ===== Work/Portfolio Section ===== */
.work {
    background: var(--color-bg);
}

.work-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--glass-bg-light);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--color-text-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover {
    background: var(--glass-bg-dark);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--glass-shadow);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.work-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover {
    box-shadow: 0 25px 50px rgba(31, 38, 135, 0.18);
    transform: translateY(-10px);
    border-color: rgba(37, 99, 235, 0.3);
}

.work-card-large {
    grid-column: span 2;
}

.work-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.work-card-large .work-image {
    aspect-ratio: 21/10;
}

.work-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-alt), var(--color-border-light));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}

.work-card:hover .work-placeholder {
    transform: scale(1.05);
}

.work-placeholder svg {
    width: 60px;
    height: 60px;
    stroke: var(--color-text-muted);
    opacity: 0.3;
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(124, 58, 237, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: white;
    color: var(--color-text);
    font-weight: 600;
    border-radius: var(--radius-full);
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition);
}

.work-card:hover .work-link {
    transform: translateY(0);
    opacity: 1;
}

.work-info {
    padding: 24px;
}

.work-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.work-tags span {
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.work-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.work-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.work-cta {
    text-align: center;
    margin-top: 48px;
}

/* ===== Stats Section ===== */
.stats {
    background: var(--color-bg-alt);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: var(--color-bg);
}

.testimonials-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-slider {
    position: relative;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.testimonial-card {
    padding: 48px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    text-align: center;
    box-shadow: var(--glass-shadow);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 24px;
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 32px;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testimonial-author .author-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-weight: 700;
    border-radius: 50%;
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--color-text);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-arrow:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.nav-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--color-border);
    border-radius: 50%;
    transition: all var(--transition);
}

.dot:hover,
.dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* ===== Process Section ===== */
.process {
    background: var(--color-bg-alt);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.process-step {
    position: relative;
    padding: 32px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.12);
    transform: translateY(-8px);
    background: var(--glass-bg-dark);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: var(--color-bg);
}

.cta-card {
    position: relative;
    padding: 80px;
    background: linear-gradient(135deg, var(--color-text) 0%, #1e293b 100%);
    border-radius: var(--radius-2xl);
    text-align: center;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-decoration {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-circle:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
}

.cta-circle:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
}

.cta-circle:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
}

/* ===== Contact Section ===== */
.contact {
    background: var(--color-bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info .section-label {
    display: inline-block;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-text {
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-method:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--glass-shadow);
    transform: translateX(8px);
    background: var(--glass-bg-dark);
}

.method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: var(--radius-md);
}

.method-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-primary);
}

.method-content {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.method-value {
    font-weight: 600;
    color: var(--color-text);
}

.contact-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-light);
    transition: all var(--transition);
}

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

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--glass-bg-dark);
    backdrop-filter: var(--glass-blur-heavy);
    -webkit-backdrop-filter: var(--glass-blur-heavy);
    padding: 48px;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-dark);
    color: white;
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a,
.footer-col span {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
        margin-bottom: 40px;
    }

    .hero-image-wrapper {
        max-width: 350px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-proof {
        justify-content: center;
    }

    .floating-card {
        display: none;
    }

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

    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-content-col .section-title {
        text-align: center;
    }

    .about-content-col .section-label {
        display: block;
        text-align: center;
    }

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

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

    .work-card-large {
        grid-column: span 2;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-info .section-title {
        text-align: center;
    }

    .contact-info .section-label {
        text-align: center;
        display: block;
    }

    .contact-text {
        text-align: center;
    }

    .contact-social {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav,
    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-group .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-scroll {
        display: none;
    }

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

    .work-card-large {
        grid-column: span 1;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

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

    .section-title {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 28px;
    }

    .testimonial-card {
        padding: 32px 24px;
    }

    .testimonial-quote {
        font-size: 1.1rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== 3D Scroll Effects ===== */

/* Perspective Container */
.perspective-container {
    perspective: 1000px;
    perspective-origin: center;
}

/* 3D Card Transform on Scroll */
.scroll-3d {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

/* Parallax Layers */
.parallax-layer {
    will-change: transform;
    transition: transform 0.1s linear;
}

.parallax-slow { --parallax-speed: 0.3; }
.parallax-medium { --parallax-speed: 0.5; }
.parallax-fast { --parallax-speed: 0.8; }

/* 3D Floating Elements */
.float-3d {
    transform-style: preserve-3d;
    animation: float3d 8s ease-in-out infinite;
}

@keyframes float3d {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    }
    50% {
        transform: translateY(-10px) rotateX(-3deg) rotateY(-3deg);
    }
    75% {
        transform: translateY(-25px) rotateX(3deg) rotateY(-5deg);
    }
}

/* Scroll Reveal 3D Effects */
.reveal-3d {
    opacity: 0;
    transform: perspective(1000px) rotateX(10deg) translateY(80px) scale(0.95);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-3d.active {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
}

.reveal-3d-left {
    opacity: 0;
    transform: perspective(1000px) rotateY(15deg) translateX(-100px) scale(0.9);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-3d-left.active {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) translateX(0) scale(1);
}

.reveal-3d-right {
    opacity: 0;
    transform: perspective(1000px) rotateY(-15deg) translateX(100px) scale(0.9);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-3d-right.active {
    opacity: 1;
    transform: perspective(1000px) rotateY(0deg) translateX(0) scale(1);
}

/* 3D Tilt on Scroll */
.tilt-scroll {
    transform-style: preserve-3d;
    transition: transform 0.3s ease-out;
}

/* Depth Layers */
.depth-1 { transform: translateZ(50px); }
.depth-2 { transform: translateZ(100px); }
.depth-3 { transform: translateZ(150px); }

/* 3D Text Effect */
.text-3d {
    transform-style: preserve-3d;
    display: inline-block;
}

.text-3d span {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero Enhancements */
.hero {
    overflow: visible;
    position: relative;
}

.hero-content {
    will-change: transform, opacity;
}

.hero-image-wrapper {
    will-change: transform;
}

/* Enhanced Floating Cards - JS controlled */
.floating-card {
    will-change: transform;
}

/* Service Card Enhancement - Works with TiltEffect */
.service-card {
    will-change: transform;
    transition: box-shadow 0.4s ease-out;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.15) 100%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.service-card:hover {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 12px 24px rgba(37, 99, 235, 0.08);
}

.service-icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Work Card Enhancement - Works with TiltEffect */
.work-card {
    will-change: transform;
    transition: box-shadow 0.4s ease-out;
}

.work-card:hover {
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 15px 30px rgba(37, 99, 235, 0.08);
}

.work-image {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Process Step */
.process-step {
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.process-step.revealed:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(37, 99, 235, 0.06);
}

.step-number {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-step:hover .step-number {
    transform: scale(1.15);
}

/* Testimonial Card */
.testimonial-card {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.testimonial-slide.active .testimonial-card {
    animation: testimonialFade 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes testimonialFade {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stats Effect */
.stat-item {
    transition: transform 0.4s ease-out;
}

.stat-item.revealed:hover {
    transform: translateY(-6px);
}

.stat-number {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.08);
    color: var(--color-primary);
}

/* Section Headers */
.section-header {
    will-change: transform, opacity;
}

/* CTA Card */
.cta-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

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

.cta-circle {
    animation: rotateSphere 30s linear infinite;
}

.cta-circle:nth-child(2) {
    animation-duration: 35s;
    animation-direction: reverse;
}

.cta-circle:nth-child(3) {
    animation-duration: 40s;
}

@keyframes rotateSphere {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contact Method */
.contact-method {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, background 0.3s ease;
}

.contact-method:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    background: var(--color-bg);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform-origin: left;
    transform: scaleX(0);
    z-index: 10001;
    transition: transform 0.1s linear;
}

/* Mouse Follower 3D - Disabled for performance */

/* Smooth Scroll Container */
.smooth-scroll {
    overflow: hidden;
}

/* 3D Grid Background */
.grid-3d {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    opacity: 0.5;
    pointer-events: none;
}

/* Glassmorphism 3D */
.glass-3d {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* ===== Advanced 3D Typography Effects ===== */
.char-3d {
    display: inline-block;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.char-3d:hover {
    transform: translateZ(30px) rotateY(15deg);
    color: var(--color-primary);
}

/* 3D Wave Text Animation */
.wave-3d .char-3d {
    animation: wave3D 2s ease-in-out infinite;
    animation-delay: calc(var(--char-index) * 0.05s);
}

@keyframes wave3D {
    0%, 100% { transform: translateY(0) rotateX(0deg) translateZ(0); }
    25% { transform: translateY(-15px) rotateX(-20deg) translateZ(20px); }
    50% { transform: translateY(0) rotateX(0deg) translateZ(0); }
    75% { transform: translateY(5px) rotateX(10deg) translateZ(-10px); }
}

/* 3D Morphing Background */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    animation: morphBg 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes morphBg {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.1); }
    50% { transform: rotate(-3deg) scale(0.95); }
    75% { transform: rotate(3deg) scale(1.05); }
}

/* 3D Geometric Shapes */
.geo-shape {
    position: absolute;
    transform-style: preserve-3d;
    animation: floatGeo 15s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.1;
}

.geo-cube {
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-primary);
    animation: rotateCube 20s linear infinite;
}

.geo-pyramid {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid var(--color-secondary);
    animation: rotatePyramid 25s linear infinite;
}

@keyframes floatGeo {
    0%, 100% { transform: translateY(0) translateZ(0); }
    50% { transform: translateY(-40px) translateZ(50px); }
}

@keyframes rotateCube {
    from { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

@keyframes rotatePyramid {
    from { transform: rotateY(0deg) rotateZ(0deg); }
    to { transform: rotateY(360deg) rotateZ(180deg); }
}

/* 3D Card Stack Effect */
.card-stack {
    perspective: 2000px;
    transform-style: preserve-3d;
}

.card-stack-item {
    transform-style: preserve-3d;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-stack-item:nth-child(1) {
    transform: translateZ(60px);
    z-index: 3;
}

.card-stack-item:nth-child(2) {
    transform: translateZ(30px) translateY(20px) scale(0.95);
    z-index: 2;
    opacity: 0.7;
}

.card-stack-item:nth-child(3) {
    transform: translateZ(0) translateY(40px) scale(0.9);
    z-index: 1;
    opacity: 0.4;
}

/* 3D Ribbon/Banner Effect */
.ribbon-3d {
    position: relative;
    transform-style: preserve-3d;
}

.ribbon-3d::before,
.ribbon-3d::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.ribbon-3d::before {
    left: -20px;
    transform: perspective(100px) rotateY(-45deg);
    transform-origin: right center;
}

.ribbon-3d::after {
    right: -20px;
    transform: perspective(100px) rotateY(45deg);
    transform-origin: left center;
}

/* Enhanced Marquee 3D */
.marquee {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.marquee-content {
    transform-style: preserve-3d;
}

.marquee-item {
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.marquee-item:hover {
    transform: translateZ(30px) scale(1.1);
    color: var(--color-primary);
}

/* 3D Depth Shadow */
.depth-shadow {
    position: relative;
    transform-style: preserve-3d;
}

.depth-shadow::before {
    content: '';
    position: absolute;
    inset: 20px;
    background: inherit;
    filter: blur(30px);
    opacity: 0.3;
    transform: translateZ(-30px);
    z-index: -1;
}

/* 3D Fold Animation */
@keyframes fold3D {
    0% {
        transform: perspective(1000px) rotateX(-90deg);
        transform-origin: top center;
        opacity: 0;
    }
    50% {
        transform: perspective(1000px) rotateX(20deg);
        opacity: 1;
    }
    100% {
        transform: perspective(1000px) rotateX(0deg);
        opacity: 1;
    }
}

.fold-in {
    animation: fold3D 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 3D Door Open Effect */
@keyframes doorOpen3D {
    0% {
        transform: perspective(1500px) rotateY(-90deg);
        transform-origin: left center;
        opacity: 0;
    }
    100% {
        transform: perspective(1500px) rotateY(0deg);
        opacity: 1;
    }
}

.door-open {
    animation: doorOpen3D 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 3D Spiral In Effect */
@keyframes spiral3D {
    0% {
        transform: perspective(1000px) rotateY(180deg) rotateZ(90deg) scale(0);
        opacity: 0;
    }
    100% {
        transform: perspective(1000px) rotateY(0deg) rotateZ(0deg) scale(1);
        opacity: 1;
    }
}

.spiral-in {
    animation: spiral3D 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 3D Bounce Pop */
@keyframes bouncePop3D {
    0% {
        transform: perspective(500px) translateZ(-200px) scale(0);
        opacity: 0;
    }
    60% {
        transform: perspective(500px) translateZ(50px) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: perspective(500px) translateZ(0) scale(1);
    }
}

.bounce-pop-3d {
    animation: bouncePop3D 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 3D Glitch Effect */
.glitch-3d {
    position: relative;
    transform-style: preserve-3d;
}

.glitch-3d::before,
.glitch-3d::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.glitch-3d::before {
    color: rgba(37, 99, 235, 0.8);
    transform: translateZ(5px) translateX(-2px);
    animation: glitch3D-1 3s infinite;
}

.glitch-3d::after {
    color: rgba(124, 58, 237, 0.8);
    transform: translateZ(-5px) translateX(2px);
    animation: glitch3D-2 3s infinite;
}

@keyframes glitch3D-1 {
    0%, 90%, 100% { transform: translateZ(5px) translateX(-2px); opacity: 0; }
    92%, 94%, 96%, 98% { transform: translateZ(5px) translateX(-8px); opacity: 0.8; }
}

@keyframes glitch3D-2 {
    0%, 90%, 100% { transform: translateZ(-5px) translateX(2px); opacity: 0; }
    91%, 93%, 95%, 97%, 99% { transform: translateZ(-5px) translateX(8px); opacity: 0.8; }
}

/* Parallax Depth Layers for Sections */
.section-depth {
    position: relative;
    transform-style: preserve-3d;
}

.section-depth .layer-back {
    transform: translateZ(-100px) scale(1.2);
}

.section-depth .layer-mid {
    transform: translateZ(-50px) scale(1.1);
}

.section-depth .layer-front {
    transform: translateZ(0);
}

/* 3D Hover Lift */
.lift-3d {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lift-3d:hover {
    transform: perspective(1000px) translateY(-20px) translateZ(40px) rotateX(-5deg);
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.15),
        0 30px 60px -30px rgba(37, 99, 235, 0.2);
}

/* ===== Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Scroll-triggered animations */
@keyframes scaleIn3D {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateX(20deg) scale(0.8) translateY(100px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateX(0deg) scale(1) translateY(0);
    }
}

@keyframes slideIn3DLeft {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(25deg) translateX(-150px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) translateX(0);
    }
}

@keyframes slideIn3DRight {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-25deg) translateX(150px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) translateX(0);
    }
}

@keyframes flipIn {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateX(-90deg);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateX(0deg);
    }
}

/* Horizontal scroll section */
.horizontal-scroll-section {
    overflow: hidden;
}

.horizontal-scroll-container {
    display: flex;
    gap: 30px;
    transition: transform 0.1s linear;
}

/* Pinned section effect */
.pinned-section {
    position: relative;
    min-height: 300vh;
}

.pinned-content {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Performance Optimizations ===== */

/* GPU Acceleration Hints - Simplified for smooth scroll */
.hero-content,
.hero-image-wrapper,
.floating-card,
.section-header {
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Cards get GPU acceleration only during animation */
.service-card,
.work-card,
.process-step,
.stat-item {
    backface-visibility: hidden;
}

/* Optimized Transforms - Force GPU Layer */
.gpu-accelerated {
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

/* Contain Paint for Better Performance */
.contain-paint {
    contain: paint;
}

.contain-layout {
    contain: layout;
}

.contain-strict {
    contain: strict;
}

/* Reduce Layout Thrashing */
section {
    contain: layout style;
}

.service-card,
.work-card,
.process-step {
    contain: layout style paint;
}

/* Optimized Scroll Containers */
.smooth-scroll-container {
    overflow-x: hidden;
    overscroll-behavior: contain;
}

/* Passive Touch Events Optimization */
body {
    touch-action: pan-y;
}

/* Reduced Motion - Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .floating-card,
    .geo-shape,
    .particles-3d-container,
    .mouse-follower-3d {
        display: none !important;
    }

    .hero::before {
        animation: none !important;
    }

    .service-card:hover,
    .work-card:hover,
    .process-step:hover {
        transform: translateY(-5px) !important;
    }
}

/* Low Performance Mode - For Older Devices */
@media (hover: none) {
    .tilt-effect,
    .magnetic-effect {
        transform: none !important;
    }

    .cursor-dot,
    .cursor-outline,
    .mouse-follower-3d {
        display: none !important;
    }
}

/* Battery Saving Mode */
@media (prefers-reduced-motion: reduce), (update: slow) {
    .particles-3d-container {
        display: none;
    }

    .floating-card {
        animation: none;
    }

    .cta-circle {
        animation: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --color-primary: #0047ab;
        --color-secondary: #6200ee;
        --color-text: #000000;
        --color-bg: #ffffff;
    }

    .service-card,
    .work-card,
    .testimonial-card,
    .process-step {
        border: 2px solid var(--color-text);
    }
}

/* Print Styles - Hide Interactive Elements */
@media print {
    .cursor-dot,
    .cursor-outline,
    .mouse-follower-3d,
    .particles-3d-container,
    .scroll-progress,
    .scroll-progress-3d,
    .floating-card,
    .preloader {
        display: none !important;
    }

    .hero,
    section {
        transform: none !important;
        opacity: 1 !important;
    }

    body {
        background: white !important;
    }
}

/* Optimize Font Rendering */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Image Rendering Optimization */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Lazy Load Placeholder */
img[data-src] {
    background: linear-gradient(
        90deg,
        var(--color-bg-alt) 0%,
        var(--color-border-light) 50%,
        var(--color-bg-alt) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

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

/* Smooth Scrollbar - WebKit */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
    border-radius: 4px;
}

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

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-alt);
}

/* Selection Styling */
::selection {
    background: var(--color-primary);
    color: white;
}

::-moz-selection {
    background: var(--color-primary);
    color: white;
}

/* Focus Visible for Keyboard Navigation */
*:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Skip to Content Link for Accessibility */
.skip-link {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    z-index: 100000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 10px;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-text);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-primary);
}

.back-to-top svg:first-child {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

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

.back-to-top .progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.back-to-top .progress-ring-circle {
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 2;
    stroke-dasharray: 138.23;
    stroke-dashoffset: 138.23;
    transition: stroke-dashoffset 0.1s linear;
}

/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    transform: translateX(120%);
    opacity: 0;
    animation: toastSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border-left: 4px solid var(--color-success);
    max-width: 350px;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.toast.info {
    border-left-color: var(--color-primary);
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.toast-close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
}

.toast-close:hover {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

.toast.removing {
    animation: toastSlideOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastSlideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* ===== Active Navigation Indicator ===== */
.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    width: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

/* ===== Enhanced Button Micro-interactions ===== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::after {
    transform: translateX(100%);
}

/* ===== Enhanced Social Links Hover ===== */
.social-link {
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.2) rotate(5deg);
    color: white;
}

/* Tooltip for social links */
.social-link[aria-label]::after {
    content: attr(aria-label);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 6px 12px;
    background: var(--color-text);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.social-link:hover[aria-label]::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

/* ===== Form Input Enhancements ===== */
.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    position: relative;
    z-index: 1;
}

.form-group.focused label {
    color: var(--color-primary);
}

.form-group.has-value input,
.form-group.has-value select,
.form-group.has-value textarea {
    border-color: var(--color-success);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.form-group .error-message {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 0.75rem;
    color: #ef4444;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.form-group.error .error-message {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Typing Effect Cursor ===== */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    margin-left: 4px;
    animation: blink 1s infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===== Enhanced Loading States ===== */
.btn.loading {
    pointer-events: none;
    position: relative;
}

.btn.loading span {
    opacity: 0;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ===== Skeleton Loading ===== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--color-bg-alt) 0%,
        var(--color-border-light) 50%,
        var(--color-bg-alt) 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== Enhanced Work Card Hover ===== */
.work-card .work-info {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-info {
    transform: translateY(-5px);
}

.work-tags span {
    transition: all 0.3s ease;
}

.work-card:hover .work-tags span {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
}

/* ===== Improved Focus States ===== */
.btn:focus-visible,
.nav-link:focus-visible,
.filter-btn:focus-visible,
.social-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* ===== Mobile Enhancements ===== */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    .toast-container {
        left: 20px;
        right: 20px;
        bottom: 80px;
    }

    .toast {
        max-width: 100%;
    }
}

/* ===== Advanced Micro-interactions ===== */

/* Magnetic hover effect for icons */
.service-icon,
.method-icon,
.floating-icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Glow effect on primary elements */
.btn-primary:hover,
.header-cta:hover {
    box-shadow:
        0 10px 40px -10px rgba(37, 99, 235, 0.5),
        0 0 20px rgba(37, 99, 235, 0.2);
}

/* Gradient border animation */
@keyframes gradientBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.service-card.featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        90deg,
        var(--color-primary),
        var(--color-secondary),
        var(--color-accent),
        var(--color-secondary),
        var(--color-primary)
    );
    background-size: 300% 100%;
    border-radius: inherit;
    z-index: -1;
    animation: gradientBorder 4s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card.featured:hover::before {
    opacity: 1;
}

/* Text reveal animation */
.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.text-reveal.revealed span {
    transform: translateY(0);
    opacity: 1;
}

/* Card shine effect */
.work-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.7s ease;
    z-index: 10;
    pointer-events: none;
}

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

/* Pulse animation for availability badge */
.status-dot {
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--color-success);
    opacity: 0;
    animation: pulse-ring 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Staggered card reveal */
.work-card:nth-child(1) { transition-delay: 0s; }
.work-card:nth-child(2) { transition-delay: 0.1s; }
.work-card:nth-child(3) { transition-delay: 0.2s; }
.work-card:nth-child(4) { transition-delay: 0.3s; }
.work-card:nth-child(5) { transition-delay: 0.4s; }
.work-card:nth-child(6) { transition-delay: 0.5s; }

.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.1s; }
.service-card:nth-child(3) { transition-delay: 0.2s; }
.service-card:nth-child(4) { transition-delay: 0.3s; }

.process-step:nth-child(1) { transition-delay: 0s; }
.process-step:nth-child(2) { transition-delay: 0.1s; }
.process-step:nth-child(3) { transition-delay: 0.2s; }
.process-step:nth-child(4) { transition-delay: 0.3s; }
.process-step:nth-child(5) { transition-delay: 0.4s; }
.process-step:nth-child(6) { transition-delay: 0.5s; }

/* ===== Accessibility Enhancements ===== */

/* Skip to content link */
.skip-to-content {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    z-index: 100000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 20px;
}

/* Enhanced focus indicators */
*:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.15);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .work-card,
    .process-step,
    .testimonial-card,
    .contact-method {
        border-width: 2px;
        border-color: var(--color-text);
    }

    .btn-primary {
        border: 2px solid white;
    }
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Advanced Glassmorphism Effects ===== */

/* Layered glass effect for hero */
.hero-image-main {
    position: relative;
    overflow: hidden;
}

.hero-image-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.1) 0%,
        rgba(124, 58, 237, 0.1) 50%,
        rgba(6, 182, 212, 0.1) 100%
    );
    z-index: 1;
}

/* Frosted glass overlay on images */
.work-placeholder {
    position: relative;
}

.work-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    pointer-events: none;
}

/* Glass morphism on buttons secondary */
.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg-dark);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--glass-shadow);
}

/* Neon glow effect for featured elements */
.service-card.featured:hover {
    box-shadow:
        0 0 30px rgba(37, 99, 235, 0.2),
        0 0 60px rgba(124, 58, 237, 0.1),
        var(--glass-shadow);
}

/* Animated gradient background for stats */
.stats {
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(37, 99, 235, 0.05) 0%,
        transparent 50%
    );
    animation: statsGlow 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes statsGlow {
    0%, 100% { transform: translate(-25%, -25%); }
    50% { transform: translate(25%, 25%); }
}

/* Interactive card tilt preview */
.work-card,
.service-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Hover state indicator line */
.nav-link {
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* CTA section glass overlay */
.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.02) 100%
    );
    border-radius: inherit;
    pointer-events: none;
}

/* Mobile glass optimizations */
@media (max-width: 768px) {
    .service-card,
    .work-card,
    .process-step,
    .contact-method,
    .testimonial-card {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

/* ===== Cyberpunk/Neon Effects for Cybersecurity Theme ===== */

/* Neon glow on security-related elements */
.service-card:nth-child(3) .service-icon,
.floating-card-1 .floating-icon {
    position: relative;
}

.service-card:nth-child(3):hover .service-icon svg {
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.6));
}

.floating-card-1:hover {
    box-shadow: var(--glass-shadow), var(--neon-glow-green);
}

/* Subtle scan line effect on security cards */
.service-card:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--color-neon-green),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:nth-child(3):hover::after {
    opacity: 0.5;
    animation: scanLine 2s linear infinite;
}

@keyframes scanLine {
    0% { transform: translateY(0); }
    100% { transform: translateY(200px); }
}

/* Terminal-style text on security badge */
.work-card[data-category="security"] .work-tags span {
    font-family: 'SF Mono', 'Consolas', monospace;
    letter-spacing: 0.5px;
}

.work-card[data-category="security"]:hover .work-tags span {
    background: linear-gradient(135deg, #0D0D0D, #1a1a2e);
    color: var(--color-neon-green);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Cyber grid background on security work cards */
.work-card[data-category="security"] .work-placeholder {
    background:
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(135deg, #0f172a, #1e293b);
    background-size: 20px 20px, 20px 20px, 100% 100%;
}

.work-card[data-category="security"]:hover .work-placeholder svg {
    stroke: var(--color-neon-green);
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
}

/* Glitch effect on hover for cybersecurity title */
.service-card:nth-child(3) .service-title {
    position: relative;
}

.service-card:nth-child(3):hover .service-title {
    animation: subtle-glitch 0.3s ease;
}

@keyframes subtle-glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, -1px); }
    60% { transform: translate(-1px, -1px); }
    80% { transform: translate(1px, 1px); }
}

/* Enhanced cursor-pointer for all interactive elements */
.service-card,
.work-card,
.process-step,
.filter-btn,
.nav-link,
.btn,
.social-link,
.contact-method,
.floating-card,
.testimonial-card,
.nav-arrow,
.dot {
    cursor: pointer;
}

/* ===== Reduced Motion Support (Accessibility) ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .floating-card {
        animation: none;
    }

    .preloader {
        display: none;
    }

    .parallax,
    .hero-content,
    .hero-image-wrapper {
        transform: none !important;
    }

    .marquee-content {
        animation: none;
    }

    .status-dot::after {
        animation: none;
    }
}
