/* 
  AJS PixelCode Studio - Main Stylesheet 
  Theme: Dark Luxury, Futurism, Glassmorphism
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #050a14;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);

    --primary: #7b2cbf;
    /* Neon Purple */
    --primary-glow: rgba(123, 44, 191, 0.5);

    --secondary: #00f5d4;
    /* Cyan */
    --secondary-glow: rgba(0, 245, 212, 0.5);

    --accent-blue: #3a86ff;

    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dim: rgba(255, 255, 255, 0.3);

    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.2);

    /* Spacing & Layout */
    --container-width: 1280px;
    --header-height: 140px;
    /* Increased for larger logo */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-premium: 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    /* Ultra-smooth corporate feel */
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Logo Styles */
.logo img {
    height: 120px;
    /* significantly larger as requested */
    width: auto;
    transition: var(--transition-medium);
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(123, 44, 191, 0.4));
}

/* Typography Utility */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.heading-xl {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.heading-lg {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.heading-md {
    font-size: 1.5rem;
    font-weight: 600;
}

.text-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Layout Utility */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-col {
    flex-direction: column;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

.grid {
    display: grid;
}

.grid-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Components: Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.8), rgba(58, 134, 255, 0.8));
    border: 1px solid var(--border-glass);
    color: white;
    box-shadow: 0 0 20px rgba(123, 44, 191, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 40px rgba(123, 44, 191, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary-glow);
}

/* Components: Glass Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition-medium);
}

.glass-card:hover {
    border-color: var(--secondary);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-medium);
    padding: 10px 0;
    /* Reduced padding to fit large logo */
}

/* Scrolled state removed to disable sticky behavior */


.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-medium);
    box-shadow: 0 0 10px var(--secondary);
}

.nav-link:hover {
    color: white;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 20%, rgba(123, 44, 191, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 245, 212, 0.1) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

/* Utility Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity var(--transition-premium), transform var(--transition-premium);
    will-change: opacity, transform;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Mobile Responsiveness */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 10, 20, 0.98);
        backdrop-filter: blur(20px);
        transform: translateX(100%);
        transition: var(--transition-medium);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .heading-xl {
        font-size: 2.5rem !important;
    }

    .heading-lg {
        font-size: 2rem !important;
    }

    /* Hide the CTA button in header on mobile to save space, or style it */
    .header .btn-outline {
        display: none;
    }
}