/* --- Global Resets & Basic Styling --- */
:root {
    --primary-color: #0D0D2B; /* Dark blue - main background */
    --secondary-color: #1A1A3D; /* Slightly lighter dark blue */
    --accent-color: #00FFFF; /* Cyan - for highlights, buttons */
    --glow-color: rgba(0, 255, 255, 0.7);
    --text-color: #E0E0E0; /* Light grey/white for text */
    --text-light: #E0E0E0;
    --text-muted: #9CA3AF;
    --primary-bg: #0D0D2B;
    --secondary-bg: #1A1A3D;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 5px var(--glow-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--glow-color);
}

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

/* --- Header --- */
header {
    background-color: transparent;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: var(--secondary-bg);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.1);
}

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

.bg-accent {
    background-color: var(--accent-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-primary-bg {
    color: var(--primary-bg);
}

.text-white {
    color: #fff;
}

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

.text-text-muted {
    color: var(--text-muted);
}

.bg-primary-bg\/80 {
    background-color: rgba(13, 13, 43, 0.8);
}

.bg-secondary-bg\/70 {
    background-color: rgba(26, 26, 61, 0.7);
}

.bg-primary-bg\/50 {
    background-color: rgba(13, 13, 43, 0.5);
}

.bg-secondary-bg\/50 {
    background-color: rgba(26, 26, 61, 0.5);
}

.bg-accent\/20 {
    background-color: rgba(0, 255, 255, 0.2);
}

.bg-accent\/30 {
    background-color: rgba(0, 255, 255, 0.3);
}

.bg-accent\/10 {
    background-color: rgba(0, 255, 255, 0.1);
}

.bg-accent\/40 {
    background-color: rgba(0, 255, 255, 0.4);
}

.bg-accent\/80 {
    background-color: rgba(0, 255, 255, 0.8);
}

.border {
    border-width: 1px;
    border-style: solid;
}

.border-2 {
    border-width: 2px;
    border-style: solid;
}

.border-accent {
    border-color: var(--accent-color);
}

.border-accent\/20 {
    border-color: rgba(0, 255, 255, 0.2);
}

.border-accent\/30 {
    border-color: rgba(0, 255, 255, 0.3);
}

.border-accent\/40 {
    border-color: rgba(0, 255, 255, 0.4);
}

.border-t {
    border-top-width: 1px;
    border-top-style: solid;
}

.border-b {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-accent\/10 {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.shadow-accent\/20 {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.shadow-accent\/30 {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.shadow-accent\/40 {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.shadow-accent\/50 {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

.font-bold {
    font-weight: 700;
}

.font-medium {
    font-weight: 500;
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* --- Navigation --- */
.lg\:flex {
    display: flex;
}

@media (max-width: 1023px) {
    .lg\:flex {
        display: none;
    }
    
    .lg\:hidden {
        display: block;
    }
}

@media (min-width: 1024px) {
    .lg\:hidden {
        display: none;
    }
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-1 {
    flex: 1 1 0%;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-wrap {
    flex-wrap: wrap;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.w-2 {
    width: 0.5rem;
}

.h-2 {
    height: 0.5rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.h-10 {
    height: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.w-32 {
    width: 8rem;
}

.h-32 {
    height: 8rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.my-auto {
    margin-top: auto;
    margin-bottom: auto;
}

.mt-auto {
    margin-top: auto;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mt-20 {
    margin-top: 5rem;
}

.mt-24 {
    margin-top: 6rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.ml-auto {
    margin-left: auto;
}

.max-w-xs {
    max-width: 20rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-\[80\%\] {
    max-width: 80%;
}

.min-h-screen {
    min-height: 100vh;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-32 {
    padding-top: 8rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.pb-28 {
    padding-bottom: 7rem;
}

.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-10 {
    padding: 2.5rem;
}

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

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-tl-none {
    border-top-left-radius: 0;
}

.rounded-tr-none {
    border-top-right-radius: 0;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.top-20 {
    top: 5rem;
}

.top-40 {
    top: 10rem;
}

.left-0 {
    left: 0;
}

.left-10 {
    left: 2.5rem;
}

.left-1\/2 {
    left: 50%;
}

.right-0 {
    right: 0;
}

.right-10 {
    right: 2.5rem;
}

.bottom-20 {
    bottom: 5rem;
}

.bottom-5 {
    bottom: 1.25rem;
}

.-bottom-5 {
    bottom: -1.25rem;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.opacity-10 {
    opacity: 0.1;
}

.opacity-15 {
    opacity: 0.15;
}

.opacity-35 {
    opacity: 0.35;
}

.opacity-50 {
    opacity: 0.5;
}

.blur-3xl {
    filter: blur(64px);
}

.object-cover {
    object-fit: cover;
}

.whitespace-nowrap {
    white-space: nowrap;
}

/* Flexible Layout */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .sm\:flex-row {
        flex-direction: row;
    }
    
    .sm\:gap-6 {
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:col-span-1 {
        grid-column: span 1 / span 1;
    }
    
    .md\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    
    .md\:col-span-3 {
        grid-column: span 3 / span 3;
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:mt-0 {
        margin-top: 0;
    }
    
    .md\:gap-10 {
        gap: 2.5rem;
    }
    
    .md\:p-10 {
        padding: 2.5rem;
    }
    
    .md\:pt-40 {
        padding-top: 10rem;
    }
    
    .md\:py-28 {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    .md\:text-5xl {
        font-size: 3rem;
        line-height: 1;
    }
    
    .md\:text-xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .lg\:col-span-1 {
        grid-column: span 1 / span 1;
    }
    
    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    
    .lg\:col-span-3 {
        grid-column: span 3 / span 3;
    }
    
    .lg\:gap-10 {
        gap: 2.5rem;
    }
    
    .lg\:gap-16 {
        gap: 4rem;
    }
    
    .lg\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
}

/* Animation */
.animate-glow {
    animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
    0% { text-shadow: 0 0 5px rgba(0, 255, 255, 0.5); }
    100% { text-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.5); }
}

.card-glow {
    transition: all 0.3s ease-in-out;
}

.card-glow:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

.transform {
    transform: translateY(0);
}

.hover\:-translate-y-1:hover {
    transform: translateY(-5px);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:bg-white:hover {
    background-color: white;
}

.hover\:bg-accent:hover {
    background-color: var(--accent-color);
}

.hover\:bg-accent\/10:hover {
    background-color: rgba(0, 255, 255, 0.1);
}

.hover\:bg-accent\/40:hover {
    background-color: rgba(0, 255, 255, 0.4);
}

.hover\:text-accent:hover {
    color: var(--accent-color);
}

.hover\:text-primary-bg:hover {
    color: var(--primary-bg);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hover\:shadow-accent\/20:hover {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.hover\:shadow-accent\/40:hover {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.hover\:shadow-accent\/50:hover {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.hover\:border-accent:hover {
    border-color: var(--accent-color);
}

/* Custom Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.2s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.4s forwards;
}

.fade-in-delay-3 {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

.fade-in-delay-4 {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
}

.fade-in-delay-5 {
    opacity: 0;
    animation: fadeIn 1s ease-out 1s forwards;
}

.fade-in-delay-6 {
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.fade-in-delay-7 {
    opacity: 0;
    animation: fadeIn 1s ease-out 1.4s forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out forwards;
}

.slide-in-left-delay {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form Elements */
input, textarea, button {
    font-family: 'Inter', sans-serif;
}

input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.5);
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
