:root {
    /* Gradient Colors - Enhanced for Dark Mode */
    --purple-400: #a78bfa;
    --purple-500: #8b5cf6;
    --purple-600: #7c3aed;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --pink-600: #db2777;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    
    /* Dark Mode Colors */
    --black: #000000;
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --white: #ffffff;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--gray-900);
    color: var(--gray-100);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.layer {
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.number {
    background: linear-gradient(135deg, var(--blue-400) 0%, var(--cyan-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-600) 100%);
    color: var(--white) !important;
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.6);
}

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--purple-400);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

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

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

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

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

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    z-index: 0;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.gradient-text {
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-400) 50%, var(--orange-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 8s ease infinite;
    background-size: 200% auto;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--pink-600) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.6);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.7);
}

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

.btn-outline:hover {
    background: var(--purple-600);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--purple-600);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--pink-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-400);
    font-weight: 600;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.5) 50%, transparent 100%);
}

/* Services Section */
.services {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-800) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--space-sm);
    color: var(--white);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--gray-800);
    padding: var(--space-xl);
    border-radius: 24px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.gradient-border-purple::before {
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
}

.gradient-border-blue::before {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--cyan-500) 100%);
}

.gradient-border-pink::before {
    background: linear-gradient(135deg, var(--pink-500) 0%, var(--orange-500) 100%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    background: var(--gray-700);
}

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

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.gradient-border-purple .service-icon {
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--pink-500) 100%);
    color: var(--white);
}

.gradient-border-blue .service-icon {
    background: linear-gradient(135deg, var(--blue-500) 0%, var(--cyan-500) 100%);
    color: var(--white);
}

.gradient-border-pink .service-icon {
    background: linear-gradient(135deg, var(--pink-500) 0%, var(--orange-500) 100%);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.service-card p {
    color: var(--gray-400);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    color: var(--gray-300);
    font-size: 0.95rem;
}

.checkmark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* About Section */
.about {
    padding: var(--space-3xl) 0;
    background: var(--gray-900);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-content p {
    color: var(--gray-400);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.value-cards {
    display: grid;
    gap: var(--space-md);
}

.value-card {
    padding: var(--space-xl);
    border-radius: 20px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    border: 1px solid;
}

.gradient-bg-purple {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
}

.gradient-bg-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
}

.gradient-bg-pink {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(249, 115, 22, 0.15) 100%);
    border-color: rgba(236, 72, 153, 0.3);
    backdrop-filter: blur(10px);
}

.value-emoji {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.value-card p {
    opacity: 0.95;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--gray-800) 0%, var(--black) 100%);
    padding: var(--space-3xl) 0 var(--space-lg);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-xl);
}

.footer-brand p {
    margin-top: var(--space-sm);
    color: var(--gray-400);
}

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

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: var(--space-xs);
}

.footer-column a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--purple-400);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: var(--space-sm);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(30, 41, 59, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: var(--space-md);
        transition: right 0.3s ease;
        border-left: 2px solid var(--purple-500);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.8);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
    }
    
    .nav-cta {
        text-align: center;
        padding: 1rem var(--space-md) !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .stat-divider {
        width: 100px;
        height: 2px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
