/* === Zensor Gemini - Base Design System === */
/* Mirrors Tailwind CSS v4 @theme + CSS custom properties from index.css */

/* --- Light Mode (default :root) --- */
:root {
    --navy: #ffffff;
    --cream: #334155;
    --sand: #f8fafc;
    --white: #0f172a;
    --black: #ffffff;
    --earth: #F27D26;
    --earth-dark: #D96B1B;
    --olive: #1E293B;
    --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --font-display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
}

/* --- Dark Mode --- */
.dark {
    --navy: #0B0F19;
    --cream: #F8F9FA;
    --sand: #131A2A;
    --white: #ffffff;
    --black: #000000;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--navy);
    color: var(--white);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.1;
}

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

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

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

input {
    font: inherit;
}

/* --- Layout (Tailwind max-w-7xl = 80rem, max-w-6xl=72rem, max-w-4xl=56rem, max-w-3xl=48rem) --- */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-md {
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-lg {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .container-md {
        padding: 0 2rem;
    }

    .container-lg {
        padding: 0 2rem;
    }

    .container-narrow {
        padding: 0 2rem;
    }
}

/* --- Utilities (matching Tailwind text-xxx classes) --- */
.text-center {
    text-align: center;
}

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

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

.text-green {
    color: #22c55e;
}

.text-amber {
    color: #f59e0b;
}

.text-red {
    color: #ef4444;
}

.font-semibold {
    font-weight: 600;
}

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

/* text-brand-cream/70 → cream at 70% opacity */
.text-muted {
    color: color-mix(in srgb, var(--cream) 90%, transparent);
}

.text-muted-40 {
    color: color-mix(in srgb, var(--white) 40%, transparent);
}

.text-muted-20 {
    color: color-mix(in srgb, var(--white) 20%, transparent);
}

.text-muted-60 {
    color: color-mix(in srgb, var(--cream) 60%, transparent);
}

/* Gradient text: bg-gradient-to-r from-brand-earth to-amber-500 + bg-clip-text */
.text-gradient-earth {
    background: linear-gradient(to right, var(--earth), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons (matching px-6 py-3.5 rounded-xl) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    /* Base size */
    font-weight: 500;
    border-radius: 0.75rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--earth);
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(242, 125, 38, 0.2);
}

.btn-primary:hover {
    background: var(--earth-dark);
}

.btn-ghost {
    background: color-mix(in srgb, var(--white) 5%, transparent);
    color: var(--white);
    border: 1px solid color-mix(in srgb, var(--white) 10%, transparent);
}

.btn-ghost:hover {
    background: color-mix(in srgb, var(--white) 10%, transparent);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    padding: 0.75rem 1rem;
}

@media (min-width: 768px) {
    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
}

/* --- Badge (inline-flex rounded-full px-3 py-1 mb-6) --- */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--earth);
    background: color-mix(in srgb, var(--earth) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--earth) 20%, transparent);
    margin-bottom: 1.5rem;
}

/* --- Section Headers (text-center max-w-3xl mx-auto mb-20) --- */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.section-title-xl {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 1.25rem;
    color: color-mix(in srgb, var(--cream) 70%, transparent);
    line-height: 1.6;
}

.section-subtitle-center {
    font-size: 1.25rem;
    color: color-mix(in srgb, var(--cream) 70%, transparent);
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }

    .section-title-xl {
        font-size: 3.75rem;
    }
}

/* --- Scroll Animations --- */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll[data-animation="fade-up"] {
    transform: translateY(20px);
}

.animate-on-scroll[data-animation="fade-left"] {
    transform: translateX(20px);
}

.animate-on-scroll[data-animation="fade-right"] {
    transform: translateX(-20px);
}

.animate-on-scroll[data-animation="scale-in"] {
    transform: scale(0.95);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}