/* ==========================================================================
   Checkout Peak – Main Stylesheet
   Converted from React/Tailwind to WordPress Theme
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    --background: 0 0% 98%;
    --foreground: 0 0% 10%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 10%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 10%;
    --primary: 210 100% 40%;
    --primary-foreground: 0 0% 100%;
    --secondary: 0 0% 95.3%;
    --secondary-foreground: 0 0% 10%;
    --muted: 0 0% 60%;
    --muted-foreground: 0 0% 40%;
    --accent: 0 0% 95.3%;
    --accent-foreground: 0 0% 10%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;
    --border: 0 0% 89.8%;
    --input: 0 0% 89.8%;
    --ring: 210 100% 40%;
    --radius: 0.75rem;
}

.dark {
    --background: 0 0% 0%;
    --foreground: 0 0% 98%;
    --card: 0 0% 10%;
    --card-foreground: 0 0% 98%;
    --popover: 0 0% 10%;
    --popover-foreground: 0 0% 98%;
    --primary: 210 100% 50%;
    --primary-foreground: 0 0% 100%;
    --secondary: 0 0% 15%;
    --secondary-foreground: 0 0% 98%;
    --muted: 0 0% 40%;
    --muted-foreground: 0 0% 60%;
    --accent: 0 0% 15%;
    --accent-foreground: 0 0% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 20%;
    --input: 0 0% 20%;
    --ring: 210 100% 50%;
}

/* --------------------------------------------------------------------------
   Base / Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: hsl(var(--border));
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

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

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

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    text-wrap: balance;
    color: hsl(var(--foreground));
}

h1 {
    font-size: clamp(3.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.3;
}

p {
    line-height: 1.75;
}

/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.block { display: block; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.overflow-hidden { overflow: hidden; }
.overflow-x-clip { overflow-x: clip; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.pointer-events-none { pointer-events: none; }
.text-center { text-align: center; }
.flex-shrink-0 { flex-shrink: 0; }
.mt-auto { margin-top: auto; }

/* Spacing */
.mx-auto { margin-left: auto; margin-right: auto; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.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-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.py-40 { padding-top: 10rem; padding-bottom: 10rem; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.25rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pt-24 { padding-top: 6rem; }
.pt-32 { padding-top: 8rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-32 { padding-bottom: 8rem; }
.mb-1 { margin-bottom: 0.25rem; }
.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-20 { margin-bottom: 5rem; }
.mt-20 { margin-top: 5rem; }
.mr-3 { margin-right: 0.75rem; }
.ml-2 { margin-left: 0.5rem; }
.space-x-2 > :not(:first-child) { margin-left: 0.5rem; }
.space-x-3 > :not(:first-child) { margin-left: 0.75rem; }
.space-x-4 > :not(:first-child) { margin-left: 1rem; }
.space-x-5 > :not(:first-child) { margin-left: 1.25rem; }
.space-x-6 > :not(:first-child) { margin-left: 1.5rem; }
.space-x-8 > :not(:first-child) { margin-left: 2rem; }
.space-y-2 > :not(:first-child) { margin-top: 0.5rem; }
.space-y-3 > :not(:first-child) { margin-top: 0.75rem; }
.space-y-4 > :not(:first-child) { margin-top: 1rem; }
.space-y-5 > :not(:first-child) { margin-top: 1.25rem; }
.space-y-6 > :not(:first-child) { margin-top: 1.5rem; }
.space-y-8 > :not(:first-child) { margin-top: 2rem; }
.space-y-12 > :not(:first-child) { margin-top: 3rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.-mt-20 { margin-top: -5rem; }

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

/* Sizing */
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.w-10 { width: 2.5rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.h-4 { height: 1rem; }
.w-4 { width: 1rem; }
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.h-6 { height: 1.5rem; }
.w-6 { width: 1.5rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.h-10 { height: 2.5rem; }
.w-10 { width: 2.5rem; }
.h-1\.5 { height: 0.375rem; }
.w-1\.5 { width: 0.375rem; }
.max-w-sm { max-width: 24rem; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-none { max-width: none; }
.min-h-\[80px\] { min-height: 80px; }

/* --------------------------------------------------------------------------
   Colors (HSL utility classes)
   -------------------------------------------------------------------------- */
.bg-background { background-color: hsl(var(--background)); }
.bg-foreground { background-color: hsl(var(--foreground)); }
.bg-card { background-color: hsl(var(--card)); }
.bg-primary { background-color: hsl(var(--primary)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-transparent { background-color: transparent; }
.bg-black { background-color: #000; }
.bg-white { background-color: #fff; }
.bg-card\/40 { background-color: hsl(var(--card) / 0.4); }
.bg-card\/60 { background-color: hsl(var(--card) / 0.6); }
.bg-card\/80 { background-color: hsl(var(--card) / 0.8); }
.bg-secondary\/30 { background-color: hsl(var(--secondary) / 0.3); }
.bg-secondary\/50 { background-color: hsl(var(--secondary) / 0.5); }
.bg-background\/20 { background-color: hsl(var(--background) / 0.2); }
.bg-background\/95 { background-color: hsl(var(--background) / 0.95); }
.bg-black\/30 { background-color: rgba(0,0,0,0.3); }
.bg-black\/40 { background-color: rgba(0,0,0,0.4); }
.bg-black\/50 { background-color: rgba(0,0,0,0.5); }
.bg-white\/5 { background-color: rgba(255,255,255,0.05); }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/70 { background-color: rgba(255,255,255,0.7); }

.text-foreground { color: hsl(var(--foreground)); }
.text-background { color: hsl(var(--background)); }
.text-primary { color: hsl(var(--primary)); }
.text-primary-foreground { color: hsl(var(--primary-foreground)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-white { color: #fff; }
.text-white\/80 { color: rgba(255,255,255,0.8); }
.text-white\/90 { color: rgba(255,255,255,0.9); }
.text-black { color: #000; }
.text-foreground\/80 { color: hsl(var(--foreground) / 0.8); }
.text-foreground\/90 { color: hsl(var(--foreground) / 0.9); }
.text-background\/60 { color: hsl(var(--background) / 0.6); }
.text-background\/80 { color: hsl(var(--background) / 0.8); }
.text-background\/90 { color: hsl(var(--background) / 0.9); }

.border-border\/50 { border-color: hsl(var(--border) / 0.5); }
.border-input { border-color: hsl(var(--input)); }
.border-white\/20 { border-color: rgba(255,255,255,0.2); }
.border-white\/30 { border-color: rgba(255,255,255,0.3); }
.border-transparent { border-color: transparent; }
.border-0 { border-width: 0; }
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-l-0 { border-left-width: 0; }

/* --------------------------------------------------------------------------
   Typography Utilities
   -------------------------------------------------------------------------- */
.font-sans { font-family: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.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; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-none { line-height: 1; }
.drop-shadow-lg { filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1)); }
.drop-shadow-md { filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06)); }

/* Selection */
.selection\:bg-primary\/20::selection,
.selection\:bg-primary\/20 ::selection {
    background-color: hsl(var(--primary) / 0.2);
}
.selection\:text-primary::selection,
.selection\:text-primary ::selection {
    color: hsl(var(--primary));
}

/* --------------------------------------------------------------------------
   Rounded Utilities
   -------------------------------------------------------------------------- */
.rounded { border-radius: var(--radius); }
.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-sm { border-radius: calc(var(--radius) - 4px); }
.rounded-lg { border-radius: var(--radius); }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-full { border-radius: 9999px; }

/* --------------------------------------------------------------------------
   Object Fit
   -------------------------------------------------------------------------- */
.object-cover { object-fit: cover; }

/* --------------------------------------------------------------------------
   Transitions
   -------------------------------------------------------------------------- */
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-transform { transition-property: transform; transition-duration: 300ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-all { transition-property: all; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.transition-opacity { transition-property: opacity; transition-duration: 500ms; }

.transition-apple {
    transition-property: all;
    transition-duration: 500ms;
    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; }

/* --------------------------------------------------------------------------
   Opacity
   -------------------------------------------------------------------------- */
.opacity-0 { opacity: 0; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

/* --------------------------------------------------------------------------
   Transforms
   -------------------------------------------------------------------------- */
.scale-105 { transform: scale(1.05); }
.translate-y-4 { transform: translateY(1rem); }
.origin-center { transform-origin: center; }

/* --------------------------------------------------------------------------
   Glassmorphism
   -------------------------------------------------------------------------- */
.apple-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(40px) saturate(1.5);
    -webkit-backdrop-filter: blur(40px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgb(0 0 0 / 0.04);
}

.dark .apple-glass {
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 30px rgb(0 0 0 / 0.2);
}

.apple-glass-card {
    background: hsl(var(--card) / 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid hsl(var(--border) / 0.5);
    box-shadow: 0 4px 24px rgb(0 0 0 / 0.02);
    transition: all 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.apple-glass-card:hover {
    box-shadow: 0 12px 40px rgb(0 0 0 / 0.06);
}

.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.backdrop-blur-2xl { backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); }
.backdrop-saturate-150 { backdrop-filter: saturate(1.5); }

/* --------------------------------------------------------------------------
   Hover Effects
   -------------------------------------------------------------------------- */
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:scale-\[1\.02\]:hover { transform: scale(1.02); }
.hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
.hover\:translate-x-1:hover,
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:translate-x-2 { transform: translateX(0.5rem); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:translate-y-0 { transform: translateY(0); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:opacity-90 { opacity: 0.9; }
.group:hover .group-hover\:bg-primary { background-color: hsl(var(--primary)); }
.group:hover .group-hover\:text-primary-foreground { color: hsl(var(--primary-foreground)); }

.hover\:bg-primary\/90:hover { background-color: hsl(var(--primary) / 0.9); }
.hover\:bg-white\/90:hover { background-color: rgba(255,255,255,0.9); }
.hover\:bg-white\/10:hover { background-color: rgba(255,255,255,0.1); }
.hover\:bg-background\/90:hover { background-color: hsl(var(--background) / 0.9); }
.hover\:bg-secondary:hover { background-color: hsl(var(--secondary)); }
.hover\:bg-foreground:hover { background-color: hsl(var(--foreground)); }
.hover\:text-foreground:hover { color: hsl(var(--foreground)); }
.hover\:text-primary:hover { color: hsl(var(--primary)); }
.hover\:text-primary\/80:hover { color: hsl(var(--primary) / 0.8); }
.hover\:text-background:hover { color: hsl(var(--background)); }
.hover\:no-underline:hover { text-decoration: none; }

.hover\:shadow-\[0_8px_30px_rgba\(0\,102\,204\,0\.4\)\]:hover {
    box-shadow: 0 8px 30px rgba(0,102,204,0.4);
}
.hover\:shadow-\[0_20px_60px_rgba\(0\,0\,0\,0\.12\)\]:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* Shadow */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-\[0_20px_60px_rgba\(0\,0\,0\,0\.1\)\] {
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* --------------------------------------------------------------------------
   Gradients
   -------------------------------------------------------------------------- */
.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent));
}
.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops, rgba(0,0,0,0.6), rgba(0,0,0,0.8)));
}
.from-black\/60 { --tw-gradient-from: rgba(0,0,0,0.6); }
.to-black\/80 { --tw-gradient-to: rgba(0,0,0,0.8); }
.from-black\/80 { --tw-gradient-from: rgba(0,0,0,0.8); }
.via-black\/20 { --tw-gradient-via: rgba(0,0,0,0.2); }

/* Target group card gradient */
.bg-gradient-to-t.from-black\/80.via-black\/20.to-transparent {
    background-image: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2), transparent);
}

/* CTA section gradient */
.bg-gradient-to-b.from-black\/60.to-black\/80 {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

/* --------------------------------------------------------------------------
   Blur & Filter
   -------------------------------------------------------------------------- */
.blur-3xl { filter: blur(64px); }
.mix-blend-overlay { mix-blend-mode: overlay; }

/* --------------------------------------------------------------------------
   Animations (Keyframes)
   -------------------------------------------------------------------------- */
@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.15);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 60px 20px rgba(255, 255, 255, 0.3);
    }
}

@keyframes subtle-rotate {
    0%, 100% {
        transform: scale(1.1) rotate(-2deg);
    }
    50% {
        transform: scale(1.1) rotate(2deg);
    }
}

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

.animate-glow-pulse { animation: glow-pulse 3s ease-in-out infinite; }
.animate-subtle-rotate { animation: subtle-rotate 6s ease-in-out infinite; }
.animate-spin { animation: spin 1s linear infinite; }

/* --------------------------------------------------------------------------
   Form Elements
   -------------------------------------------------------------------------- */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

.ring-offset-background {
    --tw-ring-offset-color: hsl(var(--background));
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring));
}

.disabled\:pointer-events-none:disabled { pointer-events: none; }
.disabled\:opacity-50:disabled { opacity: 0.5; }

/* --------------------------------------------------------------------------
   Navigation – after pseudo-element links
   -------------------------------------------------------------------------- */
a.after\:absolute { position: relative; }

/* --------------------------------------------------------------------------
   Accordion
   -------------------------------------------------------------------------- */
.accordion-item { cursor: pointer; }

.accordion-trigger {
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.open {
    max-height: 500px;
}

.accordion-chevron.rotated {
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Hero Specific
   -------------------------------------------------------------------------- */
.h-\[100dvh\] { height: 100dvh; }
.min-h-\[800px\] { min-height: 800px; }
.h-\[70vh\] { height: 70vh; }
.min-h-\[600px\] { min-height: 600px; }
.h-\[500px\] { height: 500px; }

/* --------------------------------------------------------------------------
   Glow/Size
   -------------------------------------------------------------------------- */
.w-\[60vw\] { width: 60vw; }
.h-\[60vw\] { height: 60vw; }
.max-w-\[800px\] { max-width: 800px; }
.max-h-\[800px\] { max-height: 800px; }

.leading-\[3\.5rem\] { line-height: 3.5rem; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:w-\[400px\] { width: 400px; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .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\:flex-row { flex-direction: row; }
    .md\:space-y-0 > :not(:first-child) { margin-top: 0; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .md\:p-14 { padding: 3.5rem; }
}

@media (min-width: 1024px) {
    .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:col-span-3 { grid-column: span 3 / span 3; }
    .lg\:col-span-4 { grid-column: span 4 / span 4; }
    .lg\:col-span-8 { grid-column: span 8 / span 8; }
    .lg\:gap-8 { gap: 2rem; }
}

/* --------------------------------------------------------------------------
   Header scroll state
   -------------------------------------------------------------------------- */
#site-header.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(40px) saturate(1.5);
    -webkit-backdrop-filter: blur(40px) saturate(1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgb(0 0 0 / 0.04);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.dark #site-header.scrolled {
    background: rgba(0, 0, 0, 0.7);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   Mobile Menu
   -------------------------------------------------------------------------- */
#mobile-menu.active {
    display: block;
}

#mobile-menu-panel.open {
    transform: translateX(0);
}

.transform { transform: translateX(0); }
.translate-x-full { transform: translateX(100%); }

/* --------------------------------------------------------------------------
   Toast / Notification
   -------------------------------------------------------------------------- */
.toast-notification {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 100;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.error {
    border-color: hsl(var(--destructive));
}

.toast-notification .toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.toast-notification .toast-desc {
    color: hsl(var(--muted-foreground));
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Form Message
   -------------------------------------------------------------------------- */
#form-message.success {
    background-color: hsl(120 40% 95%);
    color: hsl(120 40% 30%);
    border: 1px solid hsl(120 40% 80%);
}

#form-message.error {
    background-color: hsl(0 40% 95%);
    color: hsl(0 40% 30%);
    border: 1px solid hsl(0 40% 80%);
}

/* --------------------------------------------------------------------------
   WP Admin Bar Fix
   -------------------------------------------------------------------------- */
.admin-bar #site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar #site-header {
        top: 46px;
    }
}

/* --------------------------------------------------------------------------
   Prose (for page.php content)
   -------------------------------------------------------------------------- */
.prose p { margin-bottom: 1.25em; }
.prose h2 { margin-top: 2em; margin-bottom: 0.75em; }
.prose h3 { margin-top: 1.5em; margin-bottom: 0.5em; }
.prose ul, .prose ol { padding-left: 1.25em; margin-bottom: 1.25em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: hsl(var(--primary)); text-decoration: underline; }
.prose img { border-radius: var(--radius); margin: 2em 0; }

/* --------------------------------------------------------------------------
   List styles
   -------------------------------------------------------------------------- */
ul { list-style: none; }
