:root {
    /* Colors */
    --on-tertiary-fixed: #2c0051;
    --primary-fixed-dim: #c6c6c6;
    --inverse-primary: #5e5e5e;
    --surface-dim: #0f1418;
    --surface-container-low: #171c20;
    --surface-container-lowest: #0a0f13;
    --surface-container-high: #262a2f;
    --primary-container: #000000;
    --secondary-fixed-dim: #adc6ff;
    --inverse-surface: #dfe3e9;
    --surface-container: #1b2025;
    --on-tertiary-container: #9c49eb;
    --background: #0f1418;
    --on-error-container: #ffdad6;
    --outline-variant: #4c4546;
    --tertiary-container: #000000;
    --on-secondary-container: #e6ecff;
    --on-primary-fixed: #1b1b1b;
    --surface-bright: #353a3e;
    --secondary: #adc6ff;
    --on-secondary-fixed: #001a42;
    --error-container: #93000a;
    --inverse-on-surface: #2c3136;
    --tertiary-fixed: #f0dbff;
    --primary-fixed: #e2e2e2;
    --on-tertiary-fixed-variant: #6900b3;
    --on-secondary-fixed-variant: #004395;
    --on-primary-fixed-variant: #474747;
    --error: #ffb4ab;
    --on-surface-variant: #cfc4c5;
    --on-surface: #dfe3e9;
    --surface-container-highest: #31353a;
    --secondary-container: #0566d9;
    --surface-variant: #31353a;
    --outline: #988e90;
    --on-error: #690005;
    --tertiary-fixed-dim: #ddb7ff;
    --on-background: #dfe3e9;
    --surface-tint: #c6c6c6;
    --primary: #c6c6c6;
    --on-tertiary: #490080;
    --secondary-fixed: #d8e2ff;
    --on-primary-container: #757575;
    --on-primary: #303030;
    --on-secondary: #002e6a;
    --surface: #0f1418;
    --tertiary: #ddb7ff;

    /* Border Radius */
    --radius-default: 0.25rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-base: 8px;
    --spacing-sm: 16px;
    --spacing-md: 32px;
    --spacing-lg: 64px;
    --spacing-xl: 140px;
    --spacing-2xl: 200px;
}

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

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

body {
    background-color: var(--background);
    color: var(--on-surface);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* Typography */
.font-h1 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; }
.font-h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; }
.font-h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.4; }
.font-body-lg { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 16px; line-height: 1.6; }
.font-body-md { font-family: 'Inter', sans-serif; font-weight: 400; font-size: 14px; line-height: 1.6; }
.font-label-caps { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 10px; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; }

/* Custom Components from <style> tags */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.primary-gradient {
    background: #ffffff;
    color: #000000 !important;
}

.primary-gradient span {
    color: #000000 !important;
}

.ambient-glow {
    filter: blur(80px);
    opacity: 0.1;
    background: #adc6ff;
    will-change: transform;
}

section[id] {
    scroll-margin-top: 80px;
}

.bg-grid {
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    transform: translateZ(0);
}

.blob {
    position: absolute;
    width: 800px;
    height: 800px;
    background: linear-gradient(135deg, rgba(5,102,217,0.15) 0%, rgba(156,73,235,0.15) 100%);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(60px, -80px, 0) scale(1.2); }
    66% { transform: translate3d(-40px, 40px, 0) scale(0.8); }
}

@keyframes roaming {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    25% { transform: translate3d(30vw, 30vh, 0) scale(1.3); }
    50% { transform: translate3d(-10vw, 50vh, 0) scale(0.8); }
    75% { transform: translate3d(-25vw, 15vh, 0) scale(1.2); }
}

.animate-roaming { animation: roaming 20s infinite ease-in-out; }
.animate-float { animation: float 10s infinite ease-in-out; }
.animate-float-delayed { animation: float 12s infinite ease-in-out -3s; }
.animate-float-slow { animation: float 15s infinite ease-in-out -5s; }

.animate-roaming, .animate-float, .animate-float-delayed, .animate-float-slow {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Mobile Layout & Utility Classes (Simplified) */
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.opacity-0 { opacity: 0; }
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

.blur-3xl { filter: blur(64px); }
.blur-\[60px\] { filter: blur(60px); }
.blur-\[80px\] { filter: blur(80px); }
.blur-\[120px\] { filter: blur(120px); }
.blur-\[160px\] { filter: blur(160px); }
.blur-\[200px\] { filter: blur(200px); }

.grayscale { filter: grayscale(100%); }
.group:hover .group-hover\:grayscale-0 { filter: grayscale(0); }

.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }

.max-w-\[1280px\] { max-width: 1280px; margin-left: auto; margin-right: auto; }
 .max-w-xl { max-width: 36rem; }
 .max-w-2xl { max-width: 42rem; }
 .max-w-3xl { max-width: 48rem; }
 .mx-auto { margin-left: auto; margin-right: auto; }

 .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; }
 .px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }

 .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-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
 .py-8 { padding-top: 2rem; padding-bottom: 2rem; }
 .py-12 { padding-top: 3rem; padding-bottom: 3rem; }
 .py-16 { padding-top: 4rem; padding-bottom: 4rem; }
 .py-xl { padding-top: 2rem; padding-bottom: 2rem; }
 .py-2xl { padding-top: 3rem; padding-bottom: 3rem; }

 .pt-8 { padding-top: 2rem; }
 .pt-16 { padding-top: 4rem; }
 .pt-24 { padding-top: 6rem; }
 .pb-8 { padding-bottom: 2rem; }
 .pb-16 { padding-bottom: 4rem; }

 .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; }
 .mb-10 { margin-bottom: 2.5rem; }
 .mb-12 { margin-bottom: 3rem; }
 .mb-16 { margin-bottom: 4rem; }
 .mb-20 { margin-bottom: 5rem; }
 .mb-24 { margin-bottom: 6rem; }

 .ml-1 { margin-left: 0.25rem; }
 .ml-4 { margin-left: 1rem; }
 .mr-4 { margin-right: 1rem; }
 .mt-2 { margin-top: 0.5rem; }
 .mt-4 { margin-top: 1rem; }
 .mt-8 { margin-top: 2rem; }

 .flex { display: flex; }
 .flex-col { flex-direction: column; }
 .flex-row { flex-direction: row; }
 .flex-wrap { flex-wrap: wrap; }
 .flex-grow { flex-grow: 1; }
 .items-center { align-items: center; }
 .items-start { align-items: flex-start; }
 .justify-center { justify-content: center; }
 .justify-between { justify-content: space-between; }
 .gap-2 { gap: 0.5rem; }
 .gap-3 { gap: 0.75rem; }
 .gap-4 { gap: 1rem; }
 .gap-6 { gap: 1.5rem; }
 .gap-8 { gap: 2rem; }
 .gap-12 { gap: 3rem; }
 .gap-16 { gap: 4rem; }
 .gap-20 { gap: 5rem; }
 .gap-24 { gap: 6rem; }

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

 .relative { position: relative; }
 .absolute { position: absolute; }
 .fixed { position: fixed; }
 .inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
 .top-0 { top: 0; }
 .bottom-0 { bottom: 0; }
 .left-0 { left: 0; }
 .right-0 { right: 0; }
 .z-0 { z-index: 0; }
 .z-10 { z-index: 10; }
 .z-20 { z-index: 20; }
 .z-50 { z-index: 50; }
 .z-100 { z-index: 100; }

 .w-full { width: 100%; }
 .h-full { height: 100%; }
 .w-8 { width: 2rem; }
 .h-8 { height: 2rem; }
 .w-10 { width: 2.5rem; }
 .h-10 { height: 2.5rem; }
 .w-16 { width: 4rem; }
 .h-1 { height: 0.25rem; }
 .w-20 { width: 5rem; }
 .h-20 { height: 5rem; }
 .w-24 { width: 6rem; }
 .h-24 { height: 6rem; }
 .w-28 { width: 7rem; }
 .h-28 { height: 7rem; }
 .w-32 { width: 8rem; }
 .h-32 { height: 8rem; }

 .text-white { color: #ffffff; }
 .text-secondary { color: var(--secondary); }
 .text-on-surface-variant { color: var(--on-surface-variant); }
 .text-zinc-500 { color: #71717a; }
 .text-zinc-600 { color: #52525b; }
 .text-black { color: #000000; }
 .text-center { text-align: center; }

.bg-black { background-color: #000000; }
.font-\[\'Space_Grotesk\'\] { font-family: 'Space Grotesk', sans-serif; }
 .font-inter { font-family: 'Inter', sans-serif; }

 .active\:scale-95:active { transform: scale(0.95); }
 .hover\:scale-105:hover { transform: scale(1.05); }
 .hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
 .group:hover .group-hover\:scale-110 { transform: scale(1.1); }
 .group:hover .group-hover\:translate-x-2 { transform: translateX(0.5rem); }
 .hover\:translate-x-1:hover { transform: translateX(0.25rem); }

 .transform { transform: translateZ(0); }
 .transition-transform { transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
 .transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
 .transition-all { transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }

 .shadow-\[0_0_20px_rgba\(59\,130\,246\,0\.05\)\] { box-shadow: 0 0 20px rgba(59, 130, 246, 0.05); }
 .shadow-\[0_20px_50px_rgba\(0\,0\,0\,0\.5\)\] { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
 .shadow-\[0_0_30px_rgba\(173\,198\,255\,0\.2\)\] { box-shadow: 0 0 30px rgba(173, 198, 255, 0.2); }

 .bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
 .bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
 .bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
 .bg-secondary\/5 { background-color: rgba(173, 198, 255, 0.05); }
 .bg-secondary\/10 { background-color: rgba(173, 198, 255, 0.1); }
 .bg-secondary\/50 { background-color: rgba(173, 198, 255, 0.5); }
 .bg-secondary-container\/10 { background-color: rgba(5, 102, 217, 0.1); }
 .bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
 .from-secondary\/5 { --tw-gradient-from: rgba(173, 198, 255, 0.05); --tw-gradient-to: rgba(173, 198, 255, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
 .to-transparent { --tw-gradient-to: transparent; }

 .bg-\[\#121212\] { background-color: #121212; }
  .bg-white { background-color: #ffffff; }

  .border-b { border-bottom: 1px solid currentColor; }
  .border-t { border-top: 1px solid currentColor; }
  .border-2 { border-width: 2px; }
  .border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
  .border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
  .border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
  .focus\:border-secondary\/50:focus { border-color: rgba(173, 198, 255, 0.5); }
  .hover\:border-white\/20:hover { border-color: rgba(255, 255, 255, 0.2); }
  .hover\:border-secondary\/30:hover { border-color: rgba(173, 198, 255, 0.3); }

  .placeholder\:text-zinc-600::placeholder { color: #52525b; }
  .resize-none { resize: none; }
  .focus\:outline-none:focus { outline: none; }
  .outline-none { outline: none; }

 .translate-y-\[150\%\] { transform: translateY(150%); }
.group:hover .group-hover\:translate-y-0 { transform: translateY(0); }
.-translate-y-2 { transform: translateY(-0.5rem); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-1\/2 { transform: translateY(50%); }

.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: var(--radius-3xl); }
.rounded-full { border-radius: var(--radius-full); }

.border { border: 1px solid currentColor; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }

.overflow-hidden { overflow: hidden; }
.pointer-events-none { pointer-events: none; }
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }

.backdrop-blur-xl { backdrop-filter: blur(24px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

.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-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

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

.object-cover { object-fit: cover; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-square { aspect-ratio: 1 / 1; }

.selection\:bg-secondary::selection { background-color: var(--secondary); }
.selection\:text-on-secondary::selection { color: var(--on-secondary); }

/* Header & Nav */
header {
    height: 64px;
}

/* Specific component overrides from index.html */
.text-h1 { font-size: 32px; }
.text-h2 { font-size: 26px; }
.text-h3 { font-size: 20px; }
.text-body-lg { font-size: 16px; }
.text-body-md { font-size: 14px; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

.pt-16 { padding-top: 4rem; }
.pt-24 { padding-top: 6rem; }
.pb-8 { padding-bottom: 2rem; }

/* Custom select from contactus.html */
.custom-select-container {
    position: relative;
    user-select: none;
}
.option-item {
    padding: 1rem 1.25rem;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.option-item:last-child {
    border-bottom: none;
}
.option-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Privacy & Terms styles */
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.px-0\! { padding-left: 0 !important; padding-right: 0 !important; }
.lg\:px-0\! { padding-left: 0 !important; padding-right: 0 !important; }

select option {
    background-color: #1b2025;
    color: white;
}
#custom-select-trigger {
    -webkit-tap-highlight-color: transparent;
}

.animate-in { animation-duration: 200ms; animation-fill-mode: both; }
.fade-in { animation-name: fadeIn; }
.slide-in-from-top-2 { animation-name: slideInFromTop; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInFromTop { from { transform: translateY(-0.5rem); } to { transform: translateY(0); } }

/* Hide desktop-only elements on mobile if any */
.hidden { display: none; }
.sm\:block { display: none; }
.md\:block { display: none; }
.lg\:block { display: none; }

/* Media query helpers for mobile.css (mostly to handle the transition) */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:text-left { text-align: left; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:mx-0 { margin-left: 0; margin-right: 0; }
}

@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\:w-1\/2 { width: 50%; }
    .md\:order-1 { order: 1; }
    .md\:order-2 { order: 2; }
    .md\:text-left { text-align: left; }
}
