/**
 * ============================================================================
 * LUNAR BROWSER - MAIN STYLESHEET
 * ============================================================================
 * File: new_styles.css (compiled from Tailwind CSS)
 * Purpose: All styles for the Lunar Browser website
 *
 * IMPORTANT: This file is compiled from Tailwind CSS utility classes.
 * To modify styles, edit the source Astro/CSS files and recompile.
 * Direct edits here will work but may be overwritten on rebuild.
 *
 * CONTENTS:
 * 1. CSS Reset & Base Styles
 * 2. Tailwind CSS Variables
 * 3. Typography & Body Styles
 * 4. Custom Scrollbar Styles
 * 5. Container Classes
 * 6. Component Classes (buttons, cards, headings)
 * 7. Layout Utilities
 * 8. Spacing Utilities
 * 9. Color Utilities
 * 10. Animation Utilities
 * 11. Responsive Breakpoints
 *
 * COLOR PALETTE:
 * - lunar-400: #94a3b8 (silver gray)
 * - lunar-500: #64748b
 * - lunar-600: #475569
 * - lunar-900: #334155 (dark silver)
 * - dark-700: #334155 (borders)
 * - dark-800: #1e293b (cards, footer)
 * - dark-900: #0f172a (background)
 * ============================================================================
 */


/* ==========================================================================
   1. CSS RESET & TAILWIND BASE
   ==========================================================================
   Standard CSS reset plus Tailwind CSS variable initialization.
   This ensures consistent rendering across browsers.
   ========================================================================== */

*,
:before,
:after {
    /* Tailwind CSS custom properties for transforms, shadows, etc. */
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style:
}

/* Backdrop pseudo-element variables */
::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style:
}

/* Box sizing reset */
*,
:before,
:after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb
}

/* Pseudo-element content reset */
:before,
:after {
    --tw-content: ""
}


/* ==========================================================================
   2. HTML & BODY BASE STYLES
   ==========================================================================
   Core document styling including font family and text rendering.
   ========================================================================== */

html,
:host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    font-family: Inter, system-ui, sans-serif;  /* Inter is our primary font */
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent
}

body {
    margin: 0;
    line-height: inherit
}


/* ==========================================================================
   3. ELEMENT RESETS
   ==========================================================================
   Reset default browser styles for common elements.
   ========================================================================== */

hr {
    height: 0;
    color: inherit;
    border-top-width: 1px
}

abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit
}

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

b, strong {
    font-weight: bolder
}

code, kbd, samp, pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    font-feature-settings: normal;
    font-variation-settings: normal;
    font-size: 1em
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse
}


/* ==========================================================================
   4. FORM ELEMENT RESETS
   ==========================================================================
   Consistent styling for form controls across browsers.
   ========================================================================== */

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    font-size: 100%;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    padding: 0
}

button, select {
    text-transform: none
}

button,
input:where([type=button]),
input:where([type=reset]),
input:where([type=submit]) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none
}

:-moz-focusring {
    outline: auto
}

:-moz-ui-invalid {
    box-shadow: none
}

progress {
    vertical-align: baseline
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

summary {
    display: list-item
}


/* ==========================================================================
   5. SPACING & MARGIN RESETS
   ==========================================================================
   Remove default margins from common elements.
   ========================================================================== */

blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
    margin: 0
}

fieldset {
    margin: 0;
    padding: 0
}

legend {
    padding: 0
}

ol, ul, menu {
    list-style: none;
    margin: 0;
    padding: 0
}

dialog {
    padding: 0
}

textarea {
    resize: vertical
}


/* ==========================================================================
   6. PLACEHOLDER STYLES
   ==========================================================================
   Consistent placeholder text styling.
   ========================================================================== */

input::-moz-placeholder,
textarea::-moz-placeholder {
    opacity: 1;
    color: #9ca3af
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: #9ca3af
}


/* ==========================================================================
   7. INTERACTIVE ELEMENT STYLES
   ==========================================================================
   Cursor styles for interactive elements.
   ========================================================================== */

button,
[role=button] {
    cursor: pointer
}

:disabled {
    cursor: default
}


/* ==========================================================================
   8. MEDIA ELEMENT RESETS
   ==========================================================================
   Consistent display for images, videos, and other media.
   ========================================================================== */

img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle
}

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

[hidden]:where(:not([hidden=until-found])) {
    display: none
}


/* ==========================================================================
   9. CUSTOM GLOBAL STYLES
   ==========================================================================
   Site-specific global styles added on top of Tailwind reset.
   ========================================================================== */

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth
}

/* Ensure body fills viewport */
body {
    min-height: 100vh
}


/* ==========================================================================
   10. CUSTOM SCROLLBAR
   ==========================================================================
   Dark-themed scrollbar matching site design.
   Only affects WebKit browsers (Chrome, Safari, Edge).
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    --tw-bg-opacity: 1;
    background-color: rgb(15 23 42 / var(--tw-bg-opacity, 1))  /* dark-900 */
}

::-webkit-scrollbar-thumb {
    border-radius: 9999px;
    --tw-bg-opacity: 1;
    background-color: rgb(51 65 85 / var(--tw-bg-opacity, 1))  /* dark-700 */
}

::-webkit-scrollbar-thumb:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(71 85 105 / var(--tw-bg-opacity, 1))  /* dark-600 */
}


/* ==========================================================================
   11. CONTAINER
   ==========================================================================
   Responsive container with max-width breakpoints.
   Centers content and adds responsive max-widths.
   ========================================================================== */

.container {
    width: 100%
}

@media (min-width: 640px) {
    .container { max-width: 640px }
}

@media (min-width: 768px) {
    .container { max-width: 768px }
}

@media (min-width: 1024px) {
    .container { max-width: 1024px }
}

@media (min-width: 1280px) {
    .container { max-width: 1280px }
}

@media (min-width: 1536px) {
    .container { max-width: 1536px }
}


/* ==========================================================================
   12. BUTTON COMPONENTS
   ==========================================================================
   Reusable button styles used throughout the site.

   .btn-primary  - Green background, white text (main CTA)
   .btn-secondary - Dark background with border (secondary action)
   ========================================================================== */

/* Primary Button - Used for main calls-to-action (Download, etc.) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: .5rem;
    --tw-bg-opacity: 1;
    background-color: rgb(71 85 105 / var(--tw-bg-opacity, 1));  /* lunar-600 */
    padding: .75rem 1.5rem;
    font-weight: 500;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .2s
}

.btn-primary:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(100 116 139 / var(--tw-bg-opacity, 1))  /* lunar-500 */
}

/* Secondary Button - Used for secondary actions (Learn More, etc.) */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border-radius: .5rem;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(71 85 105 / var(--tw-border-opacity, 1));  /* dark-600 */
    --tw-bg-opacity: 1;
    background-color: rgb(51 65 85 / var(--tw-bg-opacity, 1));  /* dark-700 */
    padding: .75rem 1.5rem;
    font-weight: 500;
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .2s
}

.btn-secondary:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(71 85 105 / var(--tw-bg-opacity, 1))  /* dark-600 */
}


/* ==========================================================================
   13. TYPOGRAPHY COMPONENTS
   ==========================================================================
   Reusable text styles for section headings and subheadings.
   ========================================================================== */

/* Section Heading - Used for main section titles */
.section-heading {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 2.25rem;
        line-height: 2.5rem
    }
}

/* Section Subheading - Used for section descriptions */
.section-subheading {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
    max-width: 42rem;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.75rem;
    --tw-text-opacity: 1;
    color: rgb(156 163 175 / var(--tw-text-opacity, 1))  /* gray-400 */
}


/* ==========================================================================
   14. FEATURE CARD COMPONENT
   ==========================================================================
   Card style used for feature items on homepage and features page.
   ========================================================================== */

.feature-card {
    border-radius: 1rem;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(51 65 85 / var(--tw-border-opacity, 1));  /* dark-700 */
    --tw-bg-opacity: 1;
    background-color: rgb(30 41 59 / var(--tw-bg-opacity, 1));  /* dark-800 */
    padding: 1.5rem;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s
}

/* Hover state adds lunar silver border highlight */
.feature-card:hover {
    border-color: #47556980  /* lunar-600 at 50% opacity */
}


/* ==========================================================================
   15. GRADIENT TEXT
   ==========================================================================
   Creates a green gradient effect on text.
   Used for emphasis on headings like "Ad-Free & Private".
   ========================================================================== */

.gradient-text {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
    --tw-gradient-from: #94a3b8 var(--tw-gradient-from-position);  /* lunar-400 */
    --tw-gradient-to: rgb(148 163 184 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
    --tw-gradient-to: #475569 var(--tw-gradient-to-position);  /* lunar-600 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}


/* ==========================================================================
   16. POSITIONING UTILITIES
   ========================================================================== */

.pointer-events-none { pointer-events: none }
.fixed { position: fixed }
.absolute { position: absolute }
.relative { position: relative }
.inset-0 { inset: 0 }
.left-0 { left: 0 }
.right-0 { right: 0 }
.top-0 { top: 0 }
.z-50 { z-index: 50 }


/* ==========================================================================
   17. MARGIN UTILITIES
   ========================================================================== */

.mx-auto { margin-left: auto; margin-right: auto }
.mb-1 { margin-bottom: .25rem }
.mb-12 { margin-bottom: 3rem }
.mb-16 { margin-bottom: 4rem }
.mb-2 { margin-bottom: .5rem }
.mb-4 { margin-bottom: 1rem }
.mb-6 { margin-bottom: 1.5rem }
.mb-8 { margin-bottom: 2rem }
.mt-0\.5 { margin-top: .125rem }
.mt-1 { margin-top: .25rem }
.mt-12 { margin-top: 3rem }
.mt-16 { margin-top: 4rem }
.mt-20 { margin-top: 5rem }
.mt-4 { margin-top: 1rem }
.mt-8 { margin-top: 2rem }


/* ==========================================================================
   18. DISPLAY UTILITIES
   ========================================================================== */

.block { display: block }
.flex { display: flex }
.inline-flex { display: inline-flex }
.grid { display: grid }
.hidden { display: none }


/* ==========================================================================
   19. SIZING UTILITIES
   ========================================================================== */

/* Heights */
.h-10 { height: 2.5rem }
.h-12 { height: 3rem }
.h-16 { height: 4rem }
.h-2 { height: .5rem }
.h-4 { height: 1rem }
.h-5 { height: 1.25rem }
.h-6 { height: 1.5rem }
.h-8 { height: 2rem }
.h-auto { height: auto }

/* Widths */
.w-10 { width: 2.5rem }
.w-12 { width: 3rem }
.w-16 { width: 4rem }
.w-2 { width: .5rem }
.w-4 { width: 1rem }
.w-5 { width: 1.25rem }
.w-6 { width: 1.5rem }
.w-8 { width: 2rem }
.w-auto { width: auto }
.w-full { width: 100% }

/* Max Widths */
.max-w-2xl { max-width: 42rem }
.max-w-3xl { max-width: 48rem }
.max-w-4xl { max-width: 56rem }
.max-w-md { max-width: 28rem }
.max-w-none { max-width: none }
.max-w-xs { max-width: 20rem }


/* ==========================================================================
   20. FLEXBOX UTILITIES
   ========================================================================== */

.flex-1 { flex: 1 1 0% }
.flex-shrink-0 { flex-shrink: 0 }
.flex-col { flex-direction: column }
.items-start { align-items: flex-start }
.items-center { align-items: center }
.justify-center { justify-content: center }
.justify-between { justify-content: space-between }
.gap-1 { gap: .25rem }
.gap-2 { gap: .5rem }
.gap-3 { gap: .75rem }
.gap-4 { gap: 1rem }
.gap-6 { gap: 1.5rem }
.gap-8 { gap: 2rem }


/* ==========================================================================
   21. ANIMATIONS
   ========================================================================== */

/* Pulse animation - used for the "available" indicator dot */
@keyframes pulse {
    50% { opacity: .5 }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite
}

/* Spin animation - used for loading indicators */
@keyframes spin {
    to { transform: rotate(360deg) }
}

.animate-spin {
    animation: spin 1s linear infinite
}


/* ==========================================================================
   22. FORM & INTERACTION UTILITIES
   ========================================================================== */

.cursor-pointer { cursor: pointer }
.resize-none { resize: none }
.list-none { list-style-type: none }


/* ==========================================================================
   23. GRID UTILITIES
   ========================================================================== */

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


/* ==========================================================================
   24. SPACING (space-y) UTILITIES
   ==========================================================================
   Adds vertical spacing between child elements.
   ========================================================================== */

.space-y-1 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(.25rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(.25rem * var(--tw-space-y-reverse))
}

.space-y-12 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(3rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(3rem * var(--tw-space-y-reverse))
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(.5rem * var(--tw-space-y-reverse))
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(.75rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(.75rem * var(--tw-space-y-reverse))
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1rem * var(--tw-space-y-reverse))
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(1.5rem * var(--tw-space-y-reverse))
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(2rem * var(--tw-space-y-reverse))
}


/* ==========================================================================
   25. OVERFLOW & BORDER RADIUS
   ========================================================================== */

.overflow-hidden { overflow: hidden }
.rounded-2xl { border-radius: 1rem }
.rounded-3xl { border-radius: 1.5rem }
.rounded-full { border-radius: 9999px }
.rounded-lg { border-radius: .5rem }
.rounded-xl { border-radius: .75rem }


/* ==========================================================================
   26. BORDER UTILITIES
   ========================================================================== */

.border { border-width: 1px }
.border-b { border-bottom-width: 1px }
.border-t { border-top-width: 1px }

/* Border Colors */
.border-dark-600 { --tw-border-opacity: 1; border-color: rgb(71 85 105 / var(--tw-border-opacity, 1)) }
.border-dark-700 { --tw-border-opacity: 1; border-color: rgb(51 65 85 / var(--tw-border-opacity, 1)) }
.border-lunar-600\/50 { border-color: #47556980 }
.border-lunar-700\/50 { border-color: #47556980 }
.border-lunar-800\/30 { border-color: #3341554d }
.border-lunar-800\/50 { border-color: #33415580 }


/* ==========================================================================
   27. BACKGROUND UTILITIES
   ========================================================================== */

/* Solid Backgrounds */
.bg-dark-700 { --tw-bg-opacity: 1; background-color: rgb(51 65 85 / var(--tw-bg-opacity, 1)) }
.bg-dark-800 { --tw-bg-opacity: 1; background-color: rgb(30 41 59 / var(--tw-bg-opacity, 1)) }
.bg-dark-800\/50 { background-color: #1e293b80 }
.bg-dark-900 { --tw-bg-opacity: 1; background-color: rgb(15 23 42 / var(--tw-bg-opacity, 1)) }
.bg-dark-900\/95 { background-color: #0f172af2 }
.bg-lunar-400 { --tw-bg-opacity: 1; background-color: rgb(148 163 184 / var(--tw-bg-opacity, 1)) }
.bg-lunar-600 { --tw-bg-opacity: 1; background-color: rgb(71 85 105 / var(--tw-bg-opacity, 1)) }
.bg-lunar-900 { --tw-bg-opacity: 1; background-color: rgb(51 65 85 / var(--tw-bg-opacity, 1)) }
.bg-lunar-900\/20 { background-color: #33415533 }
.bg-lunar-900\/30 { background-color: #3341554d }
.bg-lunar-900\/50 { background-color: #33415580 }
.bg-red-900\/50 { background-color: #7f1d1d80 }

/* Gradient Backgrounds */
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)) }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)) }

/* Gradient Stops */
.from-lunar-900\/20 {
    --tw-gradient-from: rgb(51 65 85 / .2) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(51 65 85 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)
}

.from-lunar-900\/50 {
    --tw-gradient-from: rgb(51 65 85 / .5) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(51 65 85 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)
}

.to-dark-800 { --tw-gradient-to: #1e293b var(--tw-gradient-to-position) }
.to-transparent { --tw-gradient-to: transparent var(--tw-gradient-to-position) }


/* ==========================================================================
   28. PADDING UTILITIES
   ========================================================================== */

.p-2 { padding: .5rem }
.p-4 { padding: 1rem }
.p-6 { padding: 1.5rem }
.p-8 { padding: 2rem }
.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 }
.py-12 { padding-top: 3rem; padding-bottom: 3rem }
.py-2 { padding-top: .5rem; padding-bottom: .5rem }
.py-20 { padding-top: 5rem; padding-bottom: 5rem }
.py-3 { padding-top: .75rem; padding-bottom: .75rem }
.py-4 { padding-top: 1rem; padding-bottom: 1rem }
.py-8 { padding-top: 2rem; padding-bottom: 2rem }
.pb-6 { padding-bottom: 1.5rem }
.pr-4 { padding-right: 1rem }
.pt-20 { padding-top: 5rem }
.pt-8 { padding-top: 2rem }


/* ==========================================================================
   29. TEXT UTILITIES
   ========================================================================== */

/* Text Alignment */
.text-left { text-align: left }
.text-center { text-align: center }

/* Font Sizes */
.text-2xl { font-size: 1.5rem; line-height: 2rem }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem }
.text-lg { font-size: 1.125rem; line-height: 1.75rem }
.text-sm { font-size: .875rem; line-height: 1.25rem }
.text-xl { font-size: 1.25rem; line-height: 1.75rem }
.text-xs { font-size: .75rem; line-height: 1rem }

/* Font Weights */
.font-bold { font-weight: 700 }
.font-medium { font-weight: 500 }
.font-semibold { font-weight: 600 }

/* Line Heights */
.leading-relaxed { line-height: 1.625 }
.leading-tight { line-height: 1.25 }


/* ==========================================================================
   30. TEXT COLOR UTILITIES
   ========================================================================== */

.text-gray-300 { --tw-text-opacity: 1; color: rgb(209 213 219 / var(--tw-text-opacity, 1)) }
.text-gray-400 { --tw-text-opacity: 1; color: rgb(156 163 175 / var(--tw-text-opacity, 1)) }
.text-gray-500 { --tw-text-opacity: 1; color: rgb(107 114 128 / var(--tw-text-opacity, 1)) }
.text-lunar-300 { --tw-text-opacity: 1; color: rgb(203 213 225 / var(--tw-text-opacity, 1)) }
.text-lunar-400 { --tw-text-opacity: 1; color: rgb(148 163 184 / var(--tw-text-opacity, 1)) }
.text-red-400 { --tw-text-opacity: 1; color: rgb(248 113 113 / var(--tw-text-opacity, 1)) }
.text-white { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity, 1)) }
.text-yellow-400 { --tw-text-opacity: 1; color: rgb(250 204 21 / var(--tw-text-opacity, 1)) }

/* Font Smoothing */
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}


/* ==========================================================================
   31. PLACEHOLDER COLOR
   ========================================================================== */

.placeholder-gray-400::-moz-placeholder {
    --tw-placeholder-opacity: 1;
    color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1))
}

.placeholder-gray-400::placeholder {
    --tw-placeholder-opacity: 1;
    color: rgb(156 163 175 / var(--tw-placeholder-opacity, 1))
}


/* ==========================================================================
   32. OPACITY & SHADOW
   ========================================================================== */

.opacity-25 { opacity: .25 }
.opacity-75 { opacity: .75 }

.shadow-2xl {
    --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
    --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)
}


/* ==========================================================================
   33. BACKDROP BLUR
   ========================================================================== */

.backdrop-blur-sm {
    --tw-backdrop-blur: blur(4px);
    backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)
}


/* ==========================================================================
   34. TRANSITION UTILITIES
   ========================================================================== */

.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s
}


/* ==========================================================================
   35. CONTAINER MAX WIDTH OVERRIDE
   ========================================================================== */

.container {
    max-width: 72rem  /* 1152px - slightly narrower than default for better readability */
}


/* ==========================================================================
   36. HOVER STATE UTILITIES
   ========================================================================== */

.hover\:border-lunar-600:hover {
    --tw-border-opacity: 1;
    border-color: rgb(71 85 105 / var(--tw-border-opacity, 1))
}

.hover\:bg-dark-600:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(71 85 105 / var(--tw-bg-opacity, 1))
}

.hover\:bg-lunar-500:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(100 116 139 / var(--tw-bg-opacity, 1))
}

.hover\:text-lunar-400:hover {
    --tw-text-opacity: 1;
    color: rgb(148 163 184 / var(--tw-text-opacity, 1))
}

.hover\:underline:hover {
    text-decoration-line: underline
}


/* ==========================================================================
   37. FOCUS STATE UTILITIES
   ========================================================================== */

.focus\:border-lunar-500:focus {
    --tw-border-opacity: 1;
    border-color: rgb(100 116 139 / var(--tw-border-opacity, 1))
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px
}


/* ==========================================================================
   38. GROUP STATE UTILITIES
   ==========================================================================
   Used for parent-child hover/state relationships.
   Example: FAQ chevron rotates when parent <details> is open.
   ========================================================================== */

/* Rotate icon when parent group (details element) is open */
.group[open] .group-open\:rotate-180 {
    --tw-rotate: 180deg;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

/* Change text color when parent group is hovered */
.group:hover .group-hover\:text-lunar-400 {
    --tw-text-opacity: 1;
    color: rgb(148 163 184 / var(--tw-text-opacity, 1))
}


/* ==========================================================================
   39. RESPONSIVE BREAKPOINTS - SMALL (640px+)
   ========================================================================== */

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row }
}


/* ==========================================================================
   40. RESPONSIVE BREAKPOINTS - MEDIUM (768px+)
   ==========================================================================
   Tablet and larger screens.
   ========================================================================== */

@media (min-width: 768px) {
    .md\:mb-0 { margin-bottom: 0 }
    .md\:flex { display: flex }
    .md\:hidden { display: none }
    .md\:w-48 { width: 12rem }
    .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\:items-center { align-items: center }
    .md\:p-12 { padding: 3rem }
    .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem }
    .md\:text-2xl { font-size: 1.5rem; line-height: 2rem }
    .md\:text-5xl { font-size: 3rem; line-height: 1 }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1 }
}


/* ==========================================================================
   41. RESPONSIVE BREAKPOINTS - LARGE (1024px+)
   ==========================================================================
   Desktop screens.
   ========================================================================== */

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
    .lg\:text-7xl { font-size: 4.5rem; line-height: 1 }
}
