/* ===================================
   APEX SERVICES - MODERN WEBSITE
   Premium Business Consulting Design
   =================================== */

/* Google Fonts - Distinctive Typography */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* CSS Variables - Dark Theme with Electric Accents */
:root {
    /* Core Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: rgba(26, 26, 37, 0.6);
    
    /* Accent Colors */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #06b6d4;
    --accent-warm: #f59e0b;
    --accent-success: #10b981;
    --accent-rose: #f43f5e;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);
    --gradient-mesh: radial-gradient(at 40% 20%, rgba(99, 102, 241, 0.3) 0px, transparent 50%),
                     radial-gradient(at 80% 0%, rgba(139, 92, 246, 0.2) 0px, transparent 50%),
                     radial-gradient(at 0% 50%, rgba(6, 182, 212, 0.2) 0px, transparent 50%),
                     radial-gradient(at 80% 50%, rgba(168, 85, 247, 0.15) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.2) 0px, transparent 50%);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --text-muted: rgba(255, 255, 255, 0.4);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);
    
    /* Borders */
    --border-subtle: 1px solid rgba(255, 255, 255, 0.06);
    --border-light: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Spacing */
    --section-padding: clamp(80px, 12vw, 160px);
    --container-max: 1400px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Mesh */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-mesh);
    pointer-events: none;
    z-index: -1;
}

/* Custom Selection */
::selection {
    background: var(--accent-primary);
    color: var(--text-primary);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* ===================================
   CUSTOM CURSOR
   =================================== */
   /*
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-primary);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border 0.3s;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid var(--accent-primary);
    mix-blend-mode: normal;
}

.cursor-follower.hover {
    width: 80px;
    height: 80px;
    opacity: 0.3;
}

@media (max-width: 1024px) {
    .cursor, .cursor-follower {
        display: none;
    }
}
    */

/* ===================================
   LOADING SCREEN
   =================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    transition: opacity 0.5s, visibility 0.5s;
}

/* Hide loader after page loads */
body.loaded .loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* CSS-only fallback: hide loader after 3 seconds even without JS */
@keyframes hideLoader {
    0%, 90% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.loader {
    animation: hideLoader 3s ease-in-out forwards;
}

.loader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo img {
    max-width: 180px;
    height: auto;
    animation: loaderPulse 1.5s ease-in-out infinite;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    opacity: 0;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-subtle);
}

nav {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    z-index: 1001;
}

.logo img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition-base);
}

.logo:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    border-radius: 100px;
    transition: var(--transition-base);
    position: relative;
}

.nav-links li a:hover {
    color: var(--text-primary);
    background: var(--glass-bg);
}

.nav-links li a.active {
    color: var(--text-primary);
    background: var(--glass-bg);
}

/* Navigation Dropdown */
.nav-links li.has-dropdown {
    position: relative;
}

.nav-links li.has-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.nav-links li.has-dropdown:hover > a::after {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 420px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
}

.nav-links li.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius-md);
    transition: all 0.2s ease;
}

.nav-dropdown a:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.nav-dropdown a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    opacity: 0.7;
}

.nav-dropdown a:hover svg {
    opacity: 1;
    fill: var(--accent-primary);
}

/* CTA Button in Nav */
.btn-nav {
    background: var(--gradient-primary) !important;
    color: var(--text-primary) !important;
    padding: 0.75rem 1.75rem !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-md), 0 0 20px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}
/*
.btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-smooth);
}
*/
.btn-nav:hover::before {
    left: 100%;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(99, 102, 241, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===================================
   BUTTONS
   =================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md), 0 0 30px rgba(99, 102, 241, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 50px rgba(99, 102, 241, 0.4);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: var(--border-subtle);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.btn-icon:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px) scale(1.05);
}

.btn-icon svg {
    width: 22px;
    height: 22px;
}

/* Magnetic Button Effect */
.magnetic-wrap {
    display: inline-block;
    position: relative;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 2rem 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-gradient-orb:nth-child(1) {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-gradient-orb:nth-child(2) {
    width: 400px;
    height: 400px;
    background: var(--accent-tertiary);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.hero-gradient-orb:nth-child(3) {
    width: 300px;
    height: 300px;
    background: var(--accent-secondary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

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

.hero-content {
    max-width: 1000px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: var(--glass-bg);
    border: var(--border-subtle);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.hero-badge-icon svg {
    width: 14px;
    height: 14px;
    fill: white;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .line {
    display: block;
    overflow: hidden;
}

/* Allow overflow for lines containing text rotator */
.hero h1 .line:has(.text-rotator) {
    overflow: visible;
}

.hero h1 .line span {
    display: inline-block;
}

/* Text Rotator Animation */
.text-rotator {
    display: block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
    max-width: 90vw;
    margin: 0 auto;
}

.rotating-text {
    display: inline-block;
    text-align: center;
    opacity: 0 !important;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out !important;
    position: absolute;
    left: 50%;
    top: 0;
    white-space: nowrap;
    transform: translateX(-50%) translateY(100%) !important;
    transform-origin: center top;
    /* Gradient text styles */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rotating-text.active {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(0) scale(var(--text-scale, 1)) !important;
}

.rotating-text.exit {
    opacity: 0 !important;
    transform: translateX(-50%) translateY(-100%) !important;
}

/* Responsive text rotator width */
@media (max-width: 768px) {
    .text-rotator {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .text-rotator {
        min-width: 160px;
        display: block;
    }
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding-top: 3rem;
    border-top: var(--border-subtle);
}

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

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-indicator-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--text-primary);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -50%; }
    100% { top: 100%; }
}

/* ===================================
   PAGE HERO (Smaller for inner pages)
   =================================== */
.page-hero {
    padding: 180px 2rem 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   SECTIONS
   =================================== */
section {
    position: relative;
}

.section {
    padding: var(--section-padding) 2rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent-primary);
    opacity: 0.5;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-header h2 .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   CARDS
   =================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-subtle);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: var(--transition-spring);
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    border-radius: 16px;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.card:hover .card-icon {
    /* No transform on hover */
}

.card-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--text-primary);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.card-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.3s;
}

.card-link:hover {
    color: var(--accent-tertiary);
}

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

/* Service Card with Number */
.service-card {
    position: relative;
}

.service-card .card-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   FEATURES GRID
   =================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: var(--border-subtle);
    border-radius: 16px;
    transition: var(--transition-base);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--text-primary);
}

.feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-section {
    padding: var(--section-padding) 2rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border: var(--border-subtle);
    border-radius: 20px;
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-tertiary);
}

/* ===================================
   SERVICES PAGE
   =================================== */

/* Services Navigation */
.services-nav-section {
    background: var(--bg-secondary);
    padding: 1.5rem 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.services-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) transparent;
}

.services-nav::-webkit-scrollbar {
    height: 4px;
}

.services-nav::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

.service-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.service-nav-item:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.service-nav-item.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.service-nav-icon {
    width: 24px;
    height: 24px;
}

.service-nav-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Service Detail Section */
.service-detail {
    padding: 6rem 0;
}

.service-detail.alt-bg {
    background: var(--bg-secondary);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-number {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.service-detail-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.service-lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.service-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.service-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.feature-check svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.service-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.service-buttons .btn-secondary {
    padding: 0.875rem 1.5rem;
}

.service-feature h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.service-feature p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Service Visual Cards */
.service-detail-visual {
    display: flex;
    justify-content: center;
}

.service-visual-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    position: relative;
}

/* Browser Mockup */
.visual-browser {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.browser-dots {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--glass-border);
}

.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
}

.browser-dots span:first-child { background: #f43f5e; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-content {
    padding: 1rem;
}

.mock-nav {
    height: 12px;
    background: var(--glass-border);
    border-radius: 4px;
    margin-bottom: 1rem;
    width: 60%;
}

.mock-hero {
    height: 80px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(139, 92, 246, 0.3));
    border-radius: 8px;
    margin-bottom: 1rem;
}

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

.mock-grid div {
    height: 50px;
    background: var(--glass-border);
    border-radius: 6px;
}

.visual-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-bubble {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.stat-bubble .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-bubble .stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* SEO Chart Visual */
.seo-visual .seo-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 180px;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.chart-bar {
    flex: 1;
    height: var(--height);
    background: linear-gradient(to top, rgba(99, 102, 241, 0.3), rgba(99, 102, 241, 0.1));
    border-radius: 6px 6px 0 0;
    position: relative;
    transition: all 0.3s ease;
}

.chart-bar.highlight-bar {
    background: var(--gradient-primary);
}

.chart-bar span {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

/* POS Visual */
.pos-visual .pos-terminal {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.terminal-screen {
    padding: 1.25rem;
}

.terminal-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1rem;
}

.terminal-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.terminal-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.terminal-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.terminal-buttons {
    display: flex;
    gap: 1px;
    background: var(--glass-border);
}

.terminal-buttons span {
    flex: 1;
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--bg-tertiary);
}

.btn-card {
    background: var(--gradient-primary) !important;
    color: white;
}

/* Social Media Visual */
.social-visual .social-post {
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.post-info {
    display: flex;
    flex-direction: column;
}

.post-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.post-time {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.post-image {
    height: 160px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
}

.post-engagement {
    display: flex;
    gap: 1.5rem;
    padding: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.engagement-growth {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
}

.growth-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.growth-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-success);
}

/* Phone Mockup for Online Ordering */
.ordering-visual .phone-mockup {
    width: 220px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 32px;
    padding: 12px;
    border: 3px solid var(--bg-tertiary);
}

.phone-screen {
    background: var(--bg-secondary);
    border-radius: 24px;
    overflow: hidden;
}

.order-header {
    padding: 1rem;
    font-weight: 600;
    text-align: center;
    background: var(--gradient-primary);
    color: white;
}

.order-items {
    padding: 1rem;
}

.order-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.item-img {
    width: 40px;
    height: 40px;
    background: var(--glass-border);
    border-radius: 8px;
}

.item-info {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}

.item-info span:first-child {
    font-weight: 500;
}

.item-info span:last-child {
    color: var(--text-tertiary);
}

.order-checkout {
    margin: 1rem;
    padding: 0.875rem;
    background: var(--gradient-primary);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

/* CRM Pipeline Visual */
.crm-visual .pipeline-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.pipeline-column {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 0.75rem;
    border: 1px solid var(--glass-border);
}

.col-title {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    text-align: center;
}

.pipeline-card {
    height: 40px;
    background: var(--glass-border);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.pipeline-card.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4));
    border: 1px solid var(--accent-primary);
}

.pipeline-card.won {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(6, 182, 212, 0.4));
    border: 1px solid var(--accent-success);
}

/* Platform Setup Visual */
.platform-logos {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.platform-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
}

.platform-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.platform-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.platform-tag:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.platform-visual .platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform-visual .platform-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.platform-visual .platform-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.platform-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.platform-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.platform-icon .platform-logo {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.platform-icon.toast {
    background: linear-gradient(135deg, #ff6b35 0%, #ff4c00 100%);
}

.platform-icon.doordash {
    background: linear-gradient(135deg, #ff3008 0%, #eb1700 100%);
}

.platform-icon.square {
    background: #000000;
}

.platform-icon.grubhub {
    background: linear-gradient(135deg, #ff6b35 0%, #ff6b35 100%);
}

.platform-visual .platform-card span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.integration-flow {
    position: relative;
    padding: 1rem 0;
}

.flow-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: translateY(-50%);
}

.flow-center {
    position: relative;
    background: var(--gradient-primary);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 180px;
    margin: 0 auto;
    z-index: 1;
}

.flow-center svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.flow-center span {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

/* Pricing Section */
.pricing-section {
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border-color: var(--accent-primary);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 18px;
    height: 18px;
    fill: var(--accent-success);
    flex-shrink: 0;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    justify-content: center;
}

/* Responsive Services Page */
@media (max-width: 1024px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-detail-grid.reverse {
        direction: ltr;
    }
    
    .service-detail-visual {
        order: -1;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .services-nav-section {
        top: 70px;
    }
    
    .services-nav {
        gap: 0.5rem;
    }
    
    .service-nav-item {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
    
    .service-nav-item span {
        display: none;
    }
    
    .service-nav-icon {
        width: 20px;
        height: 20px;
    }
    
    .service-detail {
        padding: 4rem 0;
    }
    
    .service-visual-card {
        max-width: 100%;
    }
    
    .crm-visual .pipeline-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   PORTFOLIO / OUR WORK PAGE
   =================================== */

/* Filter Bar */
.filter-section {
    background: var(--bg-secondary);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.filter-bar {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) transparent;
}

.filter-bar::-webkit-scrollbar {
    height: 4px;
}

.filter-bar::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* Projects Grid */
.projects-section {
    background: var(--bg-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Project Card */
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
}

.project-card.hidden {
    display: none;
}

.project-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

/* Placeholder for missing project images */
.project-image img[src=""],
.project-image img:not([src]),
.project-image img[src*="project-"] {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 100px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-action:hover {
    transform: scale(1.05);
}

.project-action svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-label {
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.label-primary {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-primary);
}

.label-secondary {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-secondary);
}

.label-tertiary {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-tertiary);
}

.label-warm {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-warm);
}

.label-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-success);
}

.label-rose {
    background: rgba(244, 63, 94, 0.15);
    color: var(--accent-rose);
}

/* Stats Banner */
.stats-banner {
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stats-grid .stat-item {
    padding: 2rem;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

/* Project Modal */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.project-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(244, 63, 94, 0.8);
}

.modal-close svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.modal-header {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 2rem;
}

.modal-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.modal-body h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.modal-body > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.modal-section h4 {
    font-size: 1rem;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-section ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.modal-section ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-success);
    border-radius: 50%;
    flex-shrink: 0;
}

.modal-testimonial {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
}

.modal-testimonial blockquote {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Portfolio Responsive */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-bar {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .project-modal {
        padding: 1rem;
    }
    
    .modal-content {
        border-radius: 16px;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: var(--section-padding) 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: var(--border-subtle);
    border-radius: 32px;
    position: relative;
    z-index: 1;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.cta-bg-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--accent-primary);
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
}

.cta-bg-orb:nth-child(1) {
    top: -200px;
    left: -200px;
}

.cta-bg-orb:nth-child(2) {
    bottom: -200px;
    right: -200px;
    background: var(--accent-secondary);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonials-section {
    padding: var(--section-padding) 2rem;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
}

.testimonial-card {
    flex-shrink: 0;
    width: 400px;
    padding: 2.5rem;
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 24px;
    backdrop-filter: blur(20px);
}

.testimonial-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 6rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.testimonial-info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ===================================
   BLOG CARDS
   =================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(20px);
}

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

.blog-image {
    height: 220px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1rem;
}

.blog-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, var(--bg-card));
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
}

.read-more:hover {
    color: var(--accent-tertiary);
    gap: 0.75rem;
}

/* Featured Blog Card */
.blog-featured {
    grid-column: span 2;
}

.blog-featured .blog-image {
    height: 300px;
}

/* ===================================
   CONTACT FORM
   =================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    border: var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-base);
}

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

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

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

/* Cloudflare Turnstile Widget */
.cf-turnstile {
    margin: 0.5rem 0;
}

.cf-turnstile iframe {
    max-width: 100%;
}

/* ===================================
   LEGAL PAGES (Privacy, Terms)
   =================================== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 24px;
    border: var(--border-subtle);
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 1.5rem 0 0.75rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.legal-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-section ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.legal-section ul.contact-list li::before {
    display: none;
}

.legal-section ul.contact-list li {
    padding-left: 0;
}

.legal-section a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

.legal-section a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-info-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 16px;
    transition: var(--transition-base);
}

.contact-info-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--text-primary);
}

.contact-info-content h4 {
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.contact-info-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: var(--border-subtle);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

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

.social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ===================================
   FAQ SECTION
   =================================== */
.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--glass-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    flex-shrink: 0;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    fill: var(--text-primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    background: var(--accent-primary);
}

.faq-item.active .faq-icon svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-answer-content {
    padding: 0 2rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: var(--bg-secondary);
    padding: 5rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.footer-grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: var(--border-subtle);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--accent-primary);
}

/* ===================================
   CAREERS PAGE
   =================================== */
.job-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.job-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.job-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-meta-item svg {
    width: 16px;
    height: 16px;
    fill: var(--accent-primary);
}

.job-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.job-details h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.job-details ul {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    line-height: 2;
}

/* ===================================
   PERKS GRID
   =================================== */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.perk-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.25rem;
    background: var(--glass-bg);
    border: var(--border-subtle);
    border-radius: 12px;
    transition: var(--transition-base);
}

.perk-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.perk-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.perk-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--text-primary);
}

.perk-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.perk-content p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 3;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: var(--border-subtle);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li a {
        font-size: 1.25rem;
        padding: 1rem 2rem;
    }
    
    /* Mobile Dropdown - Hidden on mobile */
    .nav-links li.has-dropdown > a::after {
        display: none;
    }
    
    .nav-dropdown {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-featured {
        grid-column: span 1;
    }
    
    .job-header {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: clamp(60px, 10vw, 100px);
    }
    
    .hero {
        padding: 140px 1.5rem 60px;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-stat {
        flex: 1;
        min-width: 120px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-container {
        padding: 2.5rem 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .card {
        padding: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ===================================
   ANIMATIONS & EFFECTS
   =================================== */

/* Text Reveal Animation - GSAP handles this */
.reveal-text {
    overflow: hidden;
}

/* Fade Up Animation - GSAP will handle the animation */
.fade-up {
    /* Content visible by default, GSAP animates from opacity:0 */
}

/* Stagger Children - GSAP will handle the animation */
.stagger-children > * {
    /* Content visible by default, GSAP animates from opacity:0 */
}

/* Parallax */
.parallax {
    will-change: transform;
}

/* Glow Effect */
.glow {
    position: relative;
}

.glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s;
}

.glow:hover::after {
    opacity: 0.5;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.1) 50%, 
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* Pulse Animation */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.5); }
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Gradient Animation */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animated-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

/* Line Animation */
.animated-line {
    position: relative;
    overflow: hidden;
}

.animated-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.animated-line:hover::after {
    transform: translateX(0);
}

/* Scale on Scroll - GSAP handles this */
.scale-on-scroll {
    transition: transform 0.6s, opacity 0.6s;
}

/* Rotate on Hover */
.rotate-hover {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rotate-hover:hover {
    transform: rotate(5deg) scale(1.05);
}

/* Count Up Number */
.count-up {
    font-variant-numeric: tabular-nums;
}

/* Alert Styles */
.alert {
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-success);
}

.alert-error {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.3);
    color: var(--accent-rose);
}

.alert h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hidden { display: none; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
