/**
 * ENHANCED MOBILE-FIRST UX & BEAUTIFUL DESIGN SYSTEM
 * =================================================
 * Natural, human-centered design with smooth animations,
 * perfect mobile responsiveness, and delightful interactions
 */

/* =====================================================
   🎨 ENHANCED COLOR PALETTE - Natural & Warm
   ===================================================== */
:root {
    color-scheme: light;
    /* Warm, natural primary colors */
    --color-primary-soft: #5B8DEE;
    --color-primary-light: #E8F1FF;
    --color-accent-warm: #FF8C42;
    --color-accent-soft: #FFE5D4;
    
    /* Natural greens */
    --color-success-soft: #4ECB71;
    --color-success-light: #E8F8ED;
    
    /* Gradients - smooth and natural */
    --gradient-warm: linear-gradient(135deg, #FF8C42 0%, #FFA07A 50%, #FFB997 100%);
    --gradient-cool: linear-gradient(135deg, #5B8DEE 0%, #7BA8F7 50%, #A0C5FF 100%);
    --gradient-nature: linear-gradient(135deg, #4ECB71 0%, #6DD98E 50%, #8EE7AB 100%);
    --gradient-sunset: linear-gradient(135deg, #FFB997 0%, #FFA07A 30%, #FF8C42 60%, #5B8DEE 100%);
    
    /* Soft shadows - more natural depth */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 16px 48px rgba(0, 0, 0, 0.10);
    --shadow-floating: 0 20px 60px rgba(0, 0, 0, 0.12);
    
    /* Smooth transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
    
    /* Spacing harmony - golden ratio inspired */
    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 0.75rem;  /* 12px */
    --space-md: 1rem;     /* 16px */
    --space-lg: 1.5rem;   /* 24px */
    --space-xl: 2rem;     /* 32px */
    --space-2xl: 3rem;    /* 48px */
    --space-3xl: 4rem;    /* 64px */
    
    /* Improved radius - more organic */
    --radius-soft: 16px;
    --radius-medium: 20px;
    --radius-large: 28px;
    --radius-xl: 36px;
}

/* =====================================================
   📱 MOBILE-FIRST TYPOGRAPHY - Beautiful & Readable
   ===================================================== */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* Perfect for mobile reading */
        line-height: 1.7;
        letter-spacing: -0.011em;
    }
    
    h1, .h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.15;
        letter-spacing: -0.025em;
        font-weight: 700;
        margin-bottom: var(--space-md);
    }
    
    h2, .h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        line-height: 1.25;
        letter-spacing: -0.02em;
        font-weight: 600;
        margin-bottom: var(--space-sm);
    }
    
    h3, .h3 {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        line-height: 1.35;
        letter-spacing: -0.015em;
        font-weight: 600;
        margin-bottom: var(--space-sm);
    }
    
    p, .body {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: var(--space-md);
        color: rgba(26, 26, 26, 0.85);
    }
    
    .lead {
        font-size: 1.125rem;
        line-height: 1.65;
        color: rgba(26, 26, 26, 0.75);
    }
    
    small, .text-small {
        font-size: 0.875rem;
        line-height: 1.5;
    }
}

/* =====================================================
   🎯 ENHANCED BUTTONS - Tap-Friendly & Beautiful
   ===================================================== */
.btn {
    /* Perfect tap target size for mobile */
    min-height: 48px;
    min-width: 120px;
    padding: 14px 24px;
    
    /* Beautiful rounded corners */
    border-radius: var(--radius-medium);
    
    /* Typography */
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    
    /* Layout */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    
    /* Interaction */
    border: none;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
    
    /* Smooth transitions */
    transition: all 0.3s var(--transition-smooth);
    
    /* Remove tap highlight on mobile */
    -webkit-tap-highlight-color: transparent;
    
    /* Prevent double-tap zoom */
    touch-action: manipulation;
}

.btn-primary {
    background: var(--gradient-cool);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-soft);
}

.btn-accent {
    background: var(--gradient-warm);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-success {
    background: var(--gradient-nature);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-outline {
    background: white;
    color: var(--color-text);
    border: 2px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--color-border);
}

/* Icon in button */
.btn i {
    font-size: 1.1em;
    transition: transform 0.3s var(--transition-smooth);
}

.btn:hover i {
    transform: translateX(2px);
}

/* Mobile: Full-width buttons */
@media (max-width: 640px) {
    .btn-mobile-full {
        width: 100%;
    }
    
    .hero__cta .btn,
    .cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}

/* =====================================================
   💳 ENHANCED CARDS - Beautiful Shadows & Hover
   ===================================================== */
.plan-card,
.experience-card,
.trust-card,
.card {
    background: white;
    border-radius: var(--radius-large);
    padding: var(--space-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--transition-smooth);
    overflow: hidden;
}

.plan-card:hover,
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-large);
    border-color: rgba(91, 141, 238, 0.2);
}

/* Card media */
.plan-card__media,
.card__media {
    border-radius: var(--radius-medium);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #f7f8ff 0%, #e8f1ff 100%);
    margin-bottom: var(--space-md);
}

.plan-card__media img,
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.plan-card:hover .plan-card__media img,
.card:hover .card__media img {
    transform: scale(1.08);
}

/* Card content */
.plan-card__content,
.card__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.plan-card__title,
.card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-text);
    line-height: 1.3;
}

.plan-card__description,
.card__description {
    font-size: 0.938rem;
    line-height: 1.6;
    color: rgba(26, 26, 26, 0.7);
    margin: 0;
}

/* =====================================================
   📐 MOBILE-FRIENDLY SPACING & LAYOUT
   ===================================================== */
.shell,
.container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

@media (min-width: 640px) {
    .shell,
    .container {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .shell,
    .container {
        padding-left: var(--space-2xl);
        padding-right: var(--space-2xl);
    }
}

/* Section spacing - breathable */
.section {
    padding-top: clamp(2.5rem, 6vw, 5rem);
    padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

/* =====================================================
   🎭 SMOOTH ANIMATIONS & MICROINTERACTIONS
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animations */
.reveal {
    animation: fadeInUp 0.8s var(--transition-smooth) both;
}

.reveal:nth-child(1) { animation-delay: 0.1s; }
.reveal:nth-child(2) { animation-delay: 0.2s; }
.reveal:nth-child(3) { animation-delay: 0.3s; }
.reveal:nth-child(4) { animation-delay: 0.4s; }
.reveal:nth-child(5) { animation-delay: 0.5s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =====================================================
   📱 ENHANCED MOBILE NAVIGATION
   ===================================================== */
@media (max-width: 959px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }
    
    .site-header__inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-md);
        gap: var(--space-md);
    }
    
    /* Mobile navigation toggle */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 48px;
        height: 48px;
        padding: 0;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(0, 0, 0, 0.08);
        cursor: pointer;
        z-index: 1001;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        border-radius: var(--radius-medium);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

    .nav-toggle:active {
        transform: scale(0.98);
    }
    
    .nav-toggle__icon,
    .nav-toggle__icon::before,
    .nav-toggle__icon::after {
        content: '';
        display: block;
        width: 24px;
        height: 2px;
        background: #1a1a1a;
        border-radius: 2px;
        transition: all 0.3s var(--transition-smooth);
    }
    
    .nav-toggle__icon {
        position: relative;
    }
    
    .nav-toggle__icon::before {
        position: absolute;
        top: -8px;
    }
    
    .nav-toggle__icon::after {
        position: absolute;
        top: 8px;
    }
    
    /* Animated hamburger to X */
    .nav-toggle[aria-expanded="true"] .nav-toggle__icon {
        background: transparent;
    }
    
    .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    /* Slide-in mobile menu */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(85vw, 380px);
        height: 100vh;
        background: white;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        padding: 80px var(--space-lg) var(--space-2xl);
        overflow-y: auto;
        transition: right 0.4s var(--transition-smooth);
        z-index: 1000;
        color: #1a1a1a; /* Force dark text */
    }
    
    /* Force dark text color for all nav children */
    .nav * {
        color: #1a1a1a;
    }
    
    /* Specific overrides for links and headings */
    .nav a,
    .nav span,
    .nav label,
    .nav option {
        color: #1a1a1a !important;
    }
    
    .nav.is-open {
        right: 0;
    }
    
    /* Overlay */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }
    
    /* Navigation links */
    .nav-link {
        display: flex;
        align-items: center;
        gap: var(--space-md);
        padding: var(--space-md);
        border-radius: var(--radius-medium);
        color: #1a1a1a;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s var(--transition-smooth);
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-link i {
        font-size: 1.25rem;
        color: var(--color-primary);
        width: 24px;
        text-align: center;
    }
    
    .nav-link:active {
        background: rgba(91, 141, 238, 0.08);
        transform: scale(0.98);
    }
    
    .nav-link.is-active {
        background: linear-gradient(135deg, rgba(91, 141, 238, 0.1), rgba(91, 141, 238, 0.05));
        color: var(--color-primary);
        font-weight: 600;
    }
    
    .nav__group {
        margin-bottom: var(--space-xl);
    }
    
    .nav__heading {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #666666;
        margin-bottom: var(--space-sm);
        padding-left: var(--space-md);
    }
    
    .nav__stack {
        display: flex;
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    /* Mobile-specific Tools section styling */
    .nav__select {
        background: rgba(91, 141, 238, 0.08);
        border-radius: var(--radius-medium);
        padding: var(--space-md);
        margin-bottom: var(--space-xs);
    }
    
    .nav__select i {
        color: var(--color-primary);
        font-size: 1.25rem;
    }
    
    .nav__select-label {
        color: #1a1a1a;
        font-weight: 600;
    }
    
    .nav__select-control {
        color: #1a1a1a;
        background: white;
        border: 2px solid rgba(91, 141, 238, 0.2);
        padding: var(--space-sm);
        border-radius: var(--radius-soft);
        font-size: 1rem;
        font-weight: 500;
        width: 100%;
        margin-top: var(--space-xs);
    }
    
    .nav__select-control option {
        color: #1a1a1a;
        background: white;
        padding: var(--space-sm);
    }
    
    /* Mobile tools links styling */
    .nav__tools-links {
        display: flex;
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    /* Nav CTA section */
    .nav__cta {
        padding-top: var(--space-lg);
        margin-top: var(--space-lg);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav__cta .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: var(--space-md);
        color: white !important; /* Buttons should have white text */
    }
    
    .nav__cta .btn * {
        color: white !important; /* All button children too */
    }
    
    .nav__contact {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        padding: var(--space-md);
        background: rgba(78, 203, 113, 0.08);
        border-radius: var(--radius-medium);
        color: #1a1a1a !important;
        text-decoration: none;
        font-size: 0.938rem;
        font-weight: 500;
    }
    
    .nav__contact * {
        color: #1a1a1a !important;
    }
    
    .nav__contact i {
        color: var(--color-success-soft) !important;
        font-size: 1.125rem;
    }
}

/* =====================================================
   🖼️ ENHANCED IMAGE GALLERIES
   ===================================================== */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

@media (max-width: 640px) {
    .image-gallery {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

.image-gallery__item {
    position: relative;
    border-radius: var(--radius-large);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #f7f8ff 0%, #e8f1ff 100%);
    cursor: pointer;
}

.image-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.image-gallery__item:hover img {
    transform: scale(1.1);
}

/* =====================================================
   🎨 ENHANCED FORMS - Beautiful & Accessible
   ===================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="password"],
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
    color: var(--color-text);
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-medium);
    transition: all 0.3s var(--transition-smooth);
    -webkit-appearance: none;
    appearance: none;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary-soft);
    box-shadow: 0 0 0 4px rgba(91, 141, 238, 0.1);
}

/* Placeholder styling */
::placeholder {
    color: rgba(26, 26, 26, 0.4);
    opacity: 1;
}

/* Label styling */
label {
    display: block;
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

/* Form groups */
.form-group {
    margin-bottom: var(--space-lg);
}

/* =====================================================
   🎯 ENHANCED BADGES & TAGS
   ===================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.2s var(--transition-smooth);
}

.badge--primary {
    background: var(--color-primary-light);
    color: var(--color-primary-soft);
}

.badge--success {
    background: var(--color-success-light);
    color: var(--color-success-soft);
}

.badge--accent {
    background: var(--color-accent-soft);
    color: var(--color-accent-warm);
}

.badge--ghost {
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-muted);
}

/* =====================================================
   ⚡ LOADING & SKELETON STATES
   ===================================================== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.06) 0%,
        rgba(0, 0, 0, 0.08) 50%,
        rgba(0, 0, 0, 0.06) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
    border-radius: var(--radius-medium);
}

.skeleton-text {
    height: 1em;
    margin-bottom: var(--space-xs);
}

.skeleton-title {
    height: 2em;
    margin-bottom: var(--space-sm);
}

.skeleton-card {
    height: 300px;
}

/* =====================================================
   🌈 ENHANCED TOAST NOTIFICATIONS
   ===================================================== */
.toast-container {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 420px;
}

@media (max-width: 640px) {
    .toast-container {
        top: var(--space-md);
        right: var(--space-md);
        left: var(--space-md);
        max-width: none;
    }
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-large);
    border-left: 4px solid;
    animation: slideInRight 0.4s var(--transition-bounce);
}

.toast--success {
    border-left-color: var(--color-success-soft);
}

.toast--danger,
.toast--error {
    border-left-color: var(--color-danger);
}

.toast--warning {
    border-left-color: var(--color-accent-warm);
}

.toast--info {
    border-left-color: var(--color-primary-soft);
}

.toast__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast--success .toast__icon {
    color: var(--color-success-soft);
}

.toast--danger .toast__icon,
.toast--error .toast__icon {
    color: var(--color-danger);
}

.toast--warning .toast__icon {
    color: var(--color-accent-warm);
}

.toast--info .toast__icon {
    color: var(--color-primary-soft);
}

.toast__body {
    flex: 1;
    font-size: 0.938rem;
    line-height: 1.5;
    color: var(--color-text);
}

.toast__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s var(--transition-smooth);
}

.toast__close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.6);
}

/* =====================================================
   🎨 FLOATING ACTION BUTTON (FAB)
   ===================================================== */
.fab {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-cool);
    color: white;
    border: none;
    box-shadow: var(--shadow-floating);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 998;
    transition: all 0.3s var(--transition-smooth);
}

.fab:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: var(--shadow-floating), 0 0 0 8px rgba(91, 141, 238, 0.2);
}

.fab:active {
    transform: scale(1.05) rotate(90deg);
}

@media (max-width: 640px) {
    .fab {
        bottom: var(--space-md);
        right: var(--space-md);
    }
}

/* =====================================================
   ✨ TOUCH-FRIENDLY INTERACTIVE ELEMENTS
   ===================================================== */
.interactive {
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.interactive:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* Ripple effect for touch */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* =====================================================
   313 DARK MODE
   =====================================================
   Disabled for now: the base theme is light-only, and auto-detect dark mode
   can produce low-contrast (white-on-white) text on mobile.

   If you want a full dark mode later, we can implement it consistently across
   all surfaces (header, cards, forms, filters, footers) and add a user toggle.
*/

/* =====================================================
   📐 IMPROVED GRID LAYOUTS
   ===================================================== */
.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: var(--space-lg);
}

@media (max-width: 640px) {
    .grid-auto {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

/* =====================================================
   🎭 UTILITY CLASSES
   ===================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.p-0 { padding: 0; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-center { 
    display: flex;
    align-items: center;
    justify-content: center;
}
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.hidden { display: none; }
.invisible { visibility: hidden; }

/* Responsive utilities */
@media (max-width: 640px) {
    .hide-mobile { display: none !important; }
    .show-mobile { display: block !important; }
}

@media (min-width: 641px) {
    .hide-desktop { display: none !important; }
    .show-desktop { display: block !important; }
}
