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

:root {
    --primary-color: #a855f7;
    --primary-dark: #9333ea;
    --secondary-color: #22d3ee;
    --accent-color: #fbbf24;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --bg-dark: #020617;
    --border-color: #475569;
    --border-light: #64748b;
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    --gradient-secondary: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%);
    --gradient-ai: linear-gradient(135deg, #a855f7 0%, #22d3ee 50%, #fbbf24 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6), 0 8px 10px -6px rgb(0 0 0 / 0.5);
    --shadow-purple: 0 10px 25px rgba(168, 85, 247, 0.4);
    --shadow-glow: 0 0 20px rgba(168, 85, 247, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    cursor: none;
}


/* Custom Cursor */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: var(--bg-glass);
    border: 2px solid var(--border-glass);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: all var(--timing-fast) var(--easing-smooth);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-glow);
    opacity: 1;
}

.cursor.hover {
    width: 20px;
    height: 20px;
    background: var(--bg-glass-hover);
    border-color: var(--primary-color);
    animation: cursorPulse 1s ease-in-out infinite;
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
}

.cursor-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #666666;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
}

/* Cursor hover effects */
.cursor.hover {
    transform: translate(-50%, -50%) scale(1.2);
    background: rgba(128, 128, 128, 0.3);
    border-color: #999999;
}

.cursor.hover .cursor-inner {
    width: 6px;
    height: 6px;
    background: #777777;
}

/* Hide cursor on touch devices */
@media (hover: none) {
    .cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Better touch targets */
    .btn-primary, .btn-secondary {
        min-height: 44px;
        min-width: 44px;
    }
    
    .social-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Disable animations on reduced motion preference */
    @media (prefers-reduced-motion: reduce) {
        .shape, .orb, .brand-frame, .loader-title {
            animation: none;
        }
    }
}

/* Loading Screen */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.loader-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    transform: translateX(0);
    transition: all 1.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
}

.loader-screen:hover {
    background: linear-gradient(135deg, #020617 0%, #1e293b 100%);
}

.loader-screen:hover .scroll-text {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.loader-screen:hover .scroll-arrow {
    color: var(--primary-color);
    transform: translateX(5px);
}

.loader-screen.slide-out {
    transform: translateX(100%);
}

.loader-screen.slide-in {
    transform: translateX(0);
}

/* Completely disable loader once content is shown */
.main-content.show ~ .loader-wrapper {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Loader Content */
.loader-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.loader-logo {
    margin-bottom: 40px;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border: 3px solid #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.loader-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.loader-subtitle {
    font-size: 1.2rem;
    color: #9ca3af;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0;
}

/* Enhanced Pulse Animation */
.loader-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid transparent;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.6), rgba(16, 185, 129, 0.6));
    background-clip: padding-box;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: modernPulse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    filter: blur(0.5px);
}

.pulse-ring::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.8), rgba(16, 185, 129, 0.8));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
}

.pulse-ring-delay-1 {
    animation-delay: 1s;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(16, 185, 129, 0.4));
}

.pulse-ring-delay-1::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.6), rgba(16, 185, 129, 0.6));
}

.pulse-ring-delay-2 {
    animation-delay: 2s;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(16, 185, 129, 0.2));
}

.pulse-ring-delay-2::before {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(16, 185, 129, 0.4));
}

/* Modern fade-in animations for sections */
.hero, .services, .about, .portfolio, .contact {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero {
    animation-delay: 0.2s;
}

.services {
    animation-delay: 0.4s;
}

.about {
    animation-delay: 0.6s;
}

.portfolio {
    animation-delay: 0.8s;
}

.contact {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modernPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.7) rotate(0deg);
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
        opacity: 0.8;
        filter: blur(1px);
    }
    100% {
        transform: translate(-50%, -50%) scale(2.8) rotate(360deg);
        opacity: 0;
        filter: blur(2px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    animation: fadeInOut 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: swipeRight 2s ease-in-out infinite;
    display: inline-block;
}

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

@keyframes swipeRight {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(15px);
    }
    60% {
        transform: translateX(8px);
    }
}

/* Dynamic Background Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 10%;
    right: 30%;
    animation-delay: 6s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    bottom: 20%;
    right: 40%;
    animation-delay: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(15px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-60px) translateX(-10px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) translateX(-20px) rotate(270deg);
        opacity: 0.6;
    }
}

/* Gradient Orbs */
.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: orbMove 20s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    bottom: 10%;
    right: -15%;
    animation-delay: 7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

.orb-4 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    top: 20%;
    right: 10%;
    animation-delay: 5s;
}

.orb-5 {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.25) 0%, transparent 70%);
    bottom: 30%;
    left: 15%;
    animation-delay: 10s;
}

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

/* Aura Particles */
.aura-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    animation: particleFloat 8s linear infinite;
}

.particle-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle-2 {
    top: 70%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.particle-3 {
    top: 30%;
    left: 60%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.particle-4 {
    top: 80%;
    left: 30%;
    animation-delay: 6s;
    animation-duration: 14s;
}

.particle-5 {
    top: 40%;
    left: 10%;
    animation-delay: 8s;
    animation-duration: 11s;
}

.particle-6 {
    top: 60%;
    left: 90%;
    animation-delay: 10s;
    animation-duration: 13s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        transform: translateY(-10px) translateX(5px) scale(1);
        opacity: 1;
    }
    90% {
        transform: translateY(-100px) translateX(-20px) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-120px) translateX(-30px) scale(0);
        opacity: 0;
    }
}

/* Enhanced Brand Frame */
.brand-frame {
    position: relative;
    padding: 40px 60px;
    margin: 20px 0;
}

.frame-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 20px;
    background: var(--gradient-ai);
    background-size: 400% 400%;
    animation: borderGlow 6s ease-in-out infinite;
    z-index: 1;
    box-shadow: var(--shadow-purple);
}

.frame-border::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.95));
    border-radius: 18px;
    z-index: 2;
}

.brand-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.loader-title {
    background: linear-gradient(45deg, #ffffff, #e5e7eb, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    text-shadow: none;
    margin-bottom: 10px;
}

.glow-text {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    animation: textGlow 2s ease-in-out infinite alternate;
    color: #9ca3af;
}

@keyframes borderGlow {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1) blur(0px);
    }
    25% {
        background-position: 100% 50%;
        filter: brightness(1.2) blur(1px);
    }
    50% {
        background-position: 200% 50%;
        filter: brightness(1.5) blur(2px);
    }
    75% {
        background-position: 300% 50%;
        filter: brightness(1.2) blur(1px);
    }
}

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

@keyframes textGlow {
    0% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Landing Page Mobile */
    .loader-title {
        font-size: 2.5rem;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .logo-text {
        font-size: 2rem;
    }
    
    .loader-subtitle {
        font-size: 1rem;
    }
    
    .pulse-ring {
        width: 80px;
        height: 80px;
    }
    
    /* Brand Frame Mobile */
    .brand-frame {
        padding: 30px 40px;
        margin: 15px 0;
    }
    
    /* Background Animations Mobile - Reduce for performance */
    .shape {
        display: none;
    }
    
    .orb {
        filter: blur(20px);
    }
    
    .orb-1, .orb-2 {
        width: 200px;
        height: 200px;
    }
    
    .orb-3 {
        width: 150px;
        height: 150px;
    }
    
    /* Touch-friendly scroll indicator */
    .scroll-indicator {
        bottom: 30px;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
}

/* Content initially hidden behind black screen */
.main-content {
    opacity: 0;
    transition: opacity 0.8s ease 0.5s;
}

.main-content.show {
    opacity: 1;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1em;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gradient-primary);
    color: white !important;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        var(--shadow-lg),
        0 0 30px rgba(168, 85, 247, 0.6),
        0 0 60px rgba(168, 85, 247, 0.3);
    color: white !important;
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 
            var(--shadow-lg),
            0 0 30px rgba(168, 85, 247, 0.6),
            0 0 60px rgba(168, 85, 247, 0.3);
    }
    50% {
        box-shadow: 
            var(--shadow-xl),
            0 0 40px rgba(168, 85, 247, 0.8),
            0 0 80px rgba(168, 85, 247, 0.5);
    }
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 14px 28px;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    transition: all 0.3s ease;
}

.navbar:hover {
    background: rgba(15, 23, 42, 0.1);
    border-bottom: 1px solid rgba(168, 85, 247, 0.4);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-shadow: 
        0 0 10px rgba(168, 85, 247, 0.5),
        0 0 20px rgba(168, 85, 247, 0.3),
        0 0 30px rgba(168, 85, 247, 0.2);
    transition: all 0.3s ease;
}

.nav-brand:hover {
    text-shadow: 
        0 0 15px rgba(168, 85, 247, 0.8),
        0 0 30px rgba(168, 85, 247, 0.6),
        0 0 45px rgba(168, 85, 247, 0.4);
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Override for primary button in navigation */
.navbar .nav-links a.btn-primary {
    color: white !important;
    background: var(--gradient-primary) !important;
}

.navbar .nav-links a.btn-primary:hover {
    color: white !important;
    background: var(--gradient-primary) !important;
}

.navbar .nav-links a.btn-primary:visited {
    color: white !important;
}

.navbar .nav-links a.btn-primary:active {
    color: white !important;
}

.navbar .nav-links a.btn-primary:link {
    color: white !important;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e7eb" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

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

.hero-title {
    margin-bottom: 30px;
    color: var(--text-primary);
    text-shadow: 
        0 0 20px rgba(168, 85, 247, 0.6),
        0 0 40px rgba(168, 85, 247, 0.4),
        0 0 60px rgba(168, 85, 247, 0.3);
    animation: titleAura 4s ease-in-out infinite;
}

@keyframes titleAura {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(168, 85, 247, 0.6),
            0 0 40px rgba(168, 85, 247, 0.4),
            0 0 60px rgba(168, 85, 247, 0.3);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(168, 85, 247, 0.8),
            0 0 60px rgba(168, 85, 247, 0.6),
            0 0 90px rgba(168, 85, 247, 0.4);
    }
}

.highlight {
    background: var(--gradient-ai);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    position: relative;
}

.highlight::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--gradient-ai);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(10px);
    opacity: 0.7;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Vision & Mission Section */
.vision-mission {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.vision h2, .mission h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.mission li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

.mission li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
    position: relative;
    text-shadow: 
        0 0 15px rgba(168, 85, 247, 0.4),
        0 0 30px rgba(168, 85, 247, 0.2);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-ai);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
    animation: underlineGlow 3s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
    }
    50% {
        box-shadow: 0 0 25px rgba(168, 85, 247, 0.9);
    }
}

/* Values Section */
.values {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.value-item {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-color);
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background: var(--bg-primary);
}

.features-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background: var(--bg-secondary);
}

.feature-icon {
    background: var(--gradient-primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item p {
    margin: 0;
    font-size: 1.1rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
    animation: atmosphericMove 20s linear infinite;
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

@keyframes atmosphericMove {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Pricing Sections */
.pricing, .seo-pricing {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.pricing::before, .seo-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top left, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(34, 211, 238, 0.06) 0%, transparent 50%);
    z-index: 1;
}

.pricing .container, .seo-pricing .container {
    position: relative;
    z-index: 2;
}

.seo-pricing {
    background: var(--bg-secondary);
}

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

.pricing-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-color);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.pricing-card h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

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

.pricing-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.pricing-footer p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* SEO Pricing Card Colors */
.seo-pricing .pricing-card {
    background: var(--bg-secondary);
}

.seo-starter .pricing-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.seo-growth .pricing-badge {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.seo-advanced .pricing-badge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

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

.service-item {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 
        var(--shadow-xl), 
        var(--shadow-glow),
        0 0 40px rgba(168, 85, 247, 0.3),
        inset 0 0 20px rgba(168, 85, 247, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.8));
    transform: scale(1.1);
}

.service-item h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-item p {
    color: var(--text-secondary);
    margin: 0;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--bg-primary);
}

.portfolio-placeholder {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 2px dashed var(--border-color);
}

.portfolio-placeholder p {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.contact-item {
    margin-bottom: 40px;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    padding: 10px 20px;
    background: var(--bg-tertiary);
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

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

.social-link:hover svg {
    color: white;
    fill: white;
}

/* Contact Form */
.contact-form {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

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

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

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-left p {
    color: #9ca3af;
    margin-top: 10px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    margin: 0;
}

/* Main Content Responsive Design */
@media (max-width: 768px) {
    /* Navigation Mobile */
    .navbar {
        padding: 12px 0;
    }
    
    .nav-brand {
        font-size: 1.3rem;
    }
    
    .nav-links {
        display: none;
    }
    
    /* Add mobile menu button */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-primary);
        cursor: pointer;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 120px 0 80px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Grid Layouts Mobile */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .values-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Service Items Mobile */
    .service-item {
        padding: 30px 20px;
    }
    
    .value-item {
        padding: 30px 20px;
    }
    
    /* Contact Form Mobile */
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Social Links Mobile */
    .social-links {
        justify-content: center;
        gap: 15px;
    }
    
    .social-link {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    /* Typography Mobile */
    .section-title {
        font-size: 2rem;
        padding: 0 20px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Landing Page Small Mobile */
    .loader-title {
        font-size: 2rem;
    }
    
    .brand-frame {
        padding: 20px 30px;
        margin: 10px 0;
    }
    
    .loader-subtitle {
        font-size: 0.9rem;
    }
    
    /* Main Content Small Mobile */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        padding: 0 10px;
    }
    
    .hero-description {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding: 0 15px;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .service-item,
    .value-item {
        padding: 25px 15px;
    }
    
    .feature-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    /* Section Spacing Small Mobile */
    .values,
    .services,
    .vision-mission,
    .why-choose,
    .portfolio,
    .contact {
        padding: 50px 0;
    }
    
    .values-grid,
    .services-grid {
        gap: 15px;
    }
    
    /* Social Links Small Mobile */
    .social-link {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    /* Background animations - Further reduce for performance */
    .orb-1, .orb-2, .orb-3 {
        display: none;
    }
    
    .bg-animation {
        display: none;
    }
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-xl);
        border-top: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
        text-align: center;
        color: var(--text-secondary);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
        margin-top: 10px;
    }
    
    .nav-links a.btn-primary {
        margin: 10px 0 0 0;
        padding: 14px 28px;
        border-radius: 50px;
        border-bottom: none;
    }
}

/* FINAL OVERRIDE - Force white text on navigation button */
nav .nav-links a.btn-primary,
.navbar .nav-links a.btn-primary,
header .nav-links a.btn-primary,
a.btn-primary {
    color: #ffffff !important;
    background: var(--gradient-primary) !important;
    -webkit-text-fill-color: #ffffff !important;
}

nav .nav-links a.btn-primary:hover,
.navbar .nav-links a.btn-primary:hover,
header .nav-links a.btn-primary:hover,
a.btn-primary:hover {
    color: #ffffff !important;
    background: var(--gradient-primary) !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Ultra specific override for all states */
body nav .nav-links a.btn-primary,
body .navbar .nav-links a.btn-primary,
body header .nav-links a.btn-primary {
    color: #ffffff !important;
    text-decoration: none !important;
    -webkit-text-fill-color: #ffffff !important;
    background: var(--gradient-primary) !important;
}

body nav .nav-links a.btn-primary:hover,
body .navbar .nav-links a.btn-primary:hover,
body header .nav-links a.btn-primary:hover {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Force transparent navbar - highest specificity */
html body .navbar,
html body .navbar.scrolled,
html body nav.navbar,
html body header.navbar {
    background: transparent !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2) !important;
}