/* Custom Design System & Utilities */

:root {
  /* Colors */
  --color-dark: #07090E; /* Deep Navy/Slate */
  --color-light: #F8FAFC;
  --color-cyan: #00F0FF;
  --color-indigo: #7000FF;
}

body {
    background-color: var(--color-dark);
}

/* Tailwind-ish utility emulation structure, usually handled by a framework 
   but since we are using plain CSS, we'll write specific classes. */

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

button {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    outline: none;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
.font-inter { font-family: 'Inter', sans-serif; }
.font-outfit { font-family: 'Outfit', sans-serif; }

/* Colors Utility */
.bg-brand-dark { background-color: var(--color-dark); }
.text-brand-dark { color: var(--color-dark); }
.text-gray-light { color: var(--color-light); }
.text-accent-cyan { color: var(--color-cyan); }
.text-accent-indigo { color: var(--color-indigo); }
.bg-accent-cyan { background-color: var(--color-cyan); }
.bg-accent-indigo { background-color: var(--color-indigo); }

/* Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--color-cyan), var(--color-indigo)); }
.to-accent-indigo { --tw-gradient-to: var(--color-indigo); }
.from-accent-cyan { --tw-gradient-from: var(--color-cyan); }
.from-brand-dark { --tw-gradient-from: var(--color-dark); }

/* Tailwind Classes Polyfill (Subset required for the design) */
.max-w-7xl { max-width: 80rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.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-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-20 { padding-top: 5rem; }
.pt-28 { padding-top: 7rem; }
.pt-32 { padding-top: 8rem; }
.pt-40 { padding-top: 10rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-32 { padding-bottom: 8rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

/* Spacing Utilities */
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-16 { gap: 4rem; }
.gap-y-3 { row-gap: 0.75rem; }
.gap-x-6 { column-gap: 1.5rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:w-auto { width: auto; }
    .sm\:flex-row { flex-direction: row; }
}
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:col-span-1 { grid-column: span 1 / span 1; }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:flex-row { flex-direction: row; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:h-10 { height: 2.5rem; }
}
@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\:p-12 { padding: 3rem; }

/* Custom ROAS Utilities */
.text-red-400 { color: #f87171; }
.border-red-500\/30 { border-color: rgba(239, 68, 68, 0.3); }
.bg-red-500\/5 { background-color: rgba(239, 68, 68, 0.05); }

    .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .lg\:pt-48 { padding-top: 12rem; }
    .lg\:pb-16 { padding-bottom: 4rem; }
    .lg\:pb-24 { padding-bottom: 6rem; }
    .lg\:pb-32 { padding-bottom: 8rem; }
}

.text-white { color: #ffffff; }
.text-gray-200 { color: #e5e7eb; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-transparent { color: transparent; }
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }

.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-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tight { letter-spacing: -0.025em; }
.uppercase { text-transform: uppercase; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.text-center { text-align: center; }

.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.min-h-\[100svh\] { min-height: 100svh; }
.max-w-\[150px\] { max-width: 150px; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }

.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }

.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }
.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); }

.bg-white { background-color: #ffffff; }
.bg-white\/5 { background-color: rgba(255,255,255,0.05); }
.bg-white\/20 { background-color: rgba(255,255,255,0.2); }
.bg-white\/\[0\.02\] { background-color: rgba(255,255,255,0.02); }
.bg-black\/50 { background-color: rgba(0,0,0,0.5); } /* Added background overlay class */

.opacity-0 { opacity: 0; }
.opacity-20 { opacity: 0.2; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-100 { opacity: 1; }

.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.blur-\[80px\] { filter: blur(80px); }
.blur-\[120px\] { filter: blur(120px); }
.blur-\[150px\] { filter: blur(150px); }
.mix-blend-screen { mix-blend-mode: screen; }
.grayscale { filter: grayscale(100%); }

.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

.translate-x-full { transform: translateX(100%); }
.translate-y-full { transform: translateY(100%); }
.-translate-y-1 { transform: translateY(-0.25rem); }

/* Shadows */
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-glow { box-shadow: 0 0 20px rgba(0,240,255,0.2); }

/* Animation Utility Classes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.1); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(-25%) translateX(-50%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; transform: translateX(-50%); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Translate -50% because the content is duplicated exactly once */
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}
.marquee-container:hover .animate-marquee {
    animation-play-state: paused;
}

.section-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Base utility for hover */
.hover\:text-white:hover { color: #ffffff; }
.hover\:bg-white\/5:hover { background-color: rgba(255,255,255,0.05); }
.hover\:bg-accent-cyan\/10:hover { background-color: rgba(0, 240, 255, 0.1); }
.hover\:border-accent-cyan\/50:hover { border-color: rgba(0, 240, 255, 0.5); }
.hover\:border-accent-indigo\/50:hover { border-color: rgba(112, 0, 255, 0.5); }
.hover\:grayscale-0:hover { filter: grayscale(0%); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:translate-y-0 { transform: translateY(0); }
.group:hover .group-hover\:-translate-y-1 { transform: translateY(-0.25rem); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:opacity-50 { opacity: 0.5; }
.group:hover .group-hover\:duration-200 { transition-duration: 200ms; }
.hover\:shadow-glow-lg:hover { box-shadow: 0 0 30px rgba(0,240,255,0.4); }

/* Custom Form Styles */
input[type="text"], input[type="email"], textarea {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    width: 100%;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Inter', sans-serif;
}

input[type="text"]::placeholder, input[type="email"]::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.5); /* Accent Cyan */
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

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

/* Custom Checkbox */
.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    color: #d1d5db; /* gray-300 */
    transition: color 0.3s ease;
}

.custom-checkbox:hover {
    color: #ffffff;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.5);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--color-cyan);
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}
.group:hover .group-hover\:opacity-50 { opacity: 0.5; }
.group:hover .group-hover\:duration-200 { transition-duration: 200ms; }

/* Missing Display Utilities */
.hidden { display: none; }
@media (min-width: 768px) {
    .md\:flex.hidden, .md\:flex { display: flex !important; }
}
@media (min-width: 1024px) {
    .center-bottom-grid {
        max-width: calc(66.666667% - 0.666667rem);
    }
}
.opacity-50 { opacity: 0.5; }

/* Dynamic CTA Components */
.cta-card {
    padding: 1.25rem;
    border-radius: 1rem;
    border-width: 1px;
    border-style: solid;
    text-align: left;
}
.cta-heading {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
}
.cta-paragraph {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.625;
    letter-spacing: 0.025em;
    font-family: 'Inter', sans-serif;
}
.cta-button {
    width: 100%;
    padding: 0.625rem 0;
    border-radius: 0.75rem;
    border-width: 1px;
    border-style: solid;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 300ms ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

/* Warnings (Orange) */
.cta-card.warning {
    background-color: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.2);
}
.cta-card.warning .cta-heading { color: #fb923c; }
.cta-card.warning .cta-paragraph { color: rgba(254, 215, 170, 0.8); }
.cta-card.warning .cta-button {
    background-color: rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.3);
    color: #fb923c;
}
.cta-card.warning .cta-button:hover { background-color: rgba(249, 115, 22, 0.3); }

/* Success Cyan */
.cta-card.success-cyan {
    background-color: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.2);
}
.cta-card.success-cyan .cta-heading { color: var(--color-cyan); }
.cta-card.success-cyan .cta-paragraph { color: rgba(0, 240, 255, 0.8); }
.cta-card.success-cyan .cta-button {
    background-color: rgba(0, 240, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.3);
    color: var(--color-cyan);
}
.cta-card.success-cyan .cta-button:hover { background-color: rgba(0, 240, 255, 0.3); }

/* Success Indigo */
.cta-card.success-indigo {
    background-color: rgba(112, 0, 255, 0.1);
    border-color: rgba(112, 0, 255, 0.2);
}
.cta-card.success-indigo .cta-heading { color: var(--color-indigo); }
.cta-card.success-indigo .cta-paragraph { color: rgba(112, 0, 255, 0.8); }
.cta-card.success-indigo .cta-button {
    background-color: rgba(112, 0, 255, 0.2);
    border-color: rgba(112, 0, 255, 0.3);
    color: var(--color-indigo);
}
.cta-card.success-indigo .cta-button:hover { background-color: rgba(112, 0, 255, 0.3); }

/* Default / Neutral */
.cta-card.neutral {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}
.cta-card.neutral .cta-heading { color: #ffffff; }
.cta-card.neutral .cta-paragraph { color: rgba(156, 163, 175, 1); }
.cta-card.neutral .cta-button {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.cta-card.neutral .cta-button:hover { background-color: rgba(255, 255, 255, 0.2); }
