/**
 * ROBINHOOD-INSPIRED DESIGN SYSTEM
 * Premium, Minimal, Professional Fintech UI
 * v2.0 - Full Redesign
 */

/* ═══════════════════════════════════════════════════════════════
   FONTS
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════════
   CSS VARIABLES - DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
    /* === CORE PALETTE === */
    --rh-black: #000000;
    --rh-white: #ffffff;
    
    /* Blues (Success/Gains) */
    --rh-green: #0084FF;
    --rh-green-light: #4DA3FF;
    --rh-green-dark: #0066CC;
    --rh-green-subtle: rgba(0, 132, 255, 0.08);
    --rh-green-glow: rgba(0, 132, 255, 0.25);
    
    /* Reds (Loss/Danger) */
    --rh-red: #FF5000;
    --rh-red-light: #FF7043;
    --rh-red-dark: #E64500;
    --rh-red-subtle: rgba(255, 80, 0, 0.08);
    
    /* Neutrals */
    --rh-gray-50: #FAFAFA;
    --rh-gray-100: #F5F5F5;
    --rh-gray-200: #EEEEEE;
    --rh-gray-300: #E0E0E0;
    --rh-gray-400: #BDBDBD;
    --rh-gray-500: #9E9E9E;
    --rh-gray-600: #757575;
    --rh-gray-700: #616161;
    --rh-gray-800: #424242;
    --rh-gray-900: #212121;
    
    /* Dark Mode Colors */
    --rh-bg-primary: #000000;
    --rh-bg-secondary: #0D0D0D;
    --rh-bg-tertiary: #141414;
    --rh-bg-elevated: #1A1A1A;
    --rh-bg-card: #1E1E1E;
    --rh-bg-input: #252525;
    --rh-bg-hover: #2A2A2A;
    
    /* Text Colors */
    --rh-text-primary: #FFFFFF;
    --rh-text-secondary: #9AA0A6;
    --rh-text-tertiary: #6B7280;
    --rh-text-muted: #4B5563;
    
    /* Borders */
    --rh-border-default: #2D2D2D;
    --rh-border-subtle: #1F1F1F;
    --rh-border-focus: #0084FF;
    
    /* Shadows */
    --rh-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.25);
    --rh-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
    --rh-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.45);
    --rh-shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.55);
    --rh-shadow-glow: 0 0 30px rgba(0, 132, 255, 0.15);
    
    /* Spacing */
    --rh-space-xs: 4px;
    --rh-space-sm: 8px;
    --rh-space-md: 16px;
    --rh-space-lg: 24px;
    --rh-space-xl: 32px;
    --rh-space-2xl: 48px;
    --rh-space-3xl: 64px;
    
    /* Radius */
    --rh-radius-sm: 6px;
    --rh-radius-md: 10px;
    --rh-radius-lg: 14px;
    --rh-radius-xl: 20px;
    --rh-radius-full: 9999px;
    
    /* Typography */
    --rh-font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --rh-font-display: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Transitions */
    --rh-transition-fast: 0.15s ease;
    --rh-transition-normal: 0.25s ease;
    --rh-transition-slow: 0.4s ease;
    --rh-transition-bounce: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--rh-font-primary);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--rh-text-primary);
    background: var(--rh-bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════════ */
.rh-heading-1 {
    font-family: var(--rh-font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.rh-heading-2 {
    font-family: var(--rh-font-display);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.rh-heading-3 {
    font-family: var(--rh-font-display);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.rh-heading-4 {
    font-family: var(--rh-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.rh-body-lg {
    font-size: 1.125rem;
    line-height: 1.6;
}

.rh-body {
    font-size: 1rem;
    line-height: 1.5;
}

.rh-body-sm {
    font-size: 0.875rem;
    line-height: 1.5;
}

.rh-caption {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--rh-text-secondary);
}

.rh-overline {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rh-text-tertiary);
}

/* Money Display */
.rh-money {
    font-family: var(--rh-font-display);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.rh-money-lg {
    font-size: 2.5rem;
}

.rh-money-md {
    font-size: 1.5rem;
}

.rh-money-sm {
    font-size: 1rem;
}

.rh-positive {
    color: var(--rh-green);
}

.rh-negative {
    color: var(--rh-red);
}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.rh-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--rh-space-md);
}

.rh-container-sm {
    max-width: 480px;
}

.rh-container-md {
    max-width: 720px;
}

.rh-section {
    padding: var(--rh-space-2xl) 0;
}

.rh-flex {
    display: flex;
}

.rh-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rh-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rh-grid {
    display: grid;
    gap: var(--rh-space-md);
}

.rh-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.rh-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.rh-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .rh-grid-2,
    .rh-grid-3,
    .rh-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════ */
.rh-card {
    background: var(--rh-bg-card);
    border: 1px solid var(--rh-border-subtle);
    border-radius: var(--rh-radius-lg);
    padding: var(--rh-space-lg);
    transition: all var(--rh-transition-normal);
}

.rh-card:hover {
    border-color: var(--rh-border-default);
    box-shadow: var(--rh-shadow-md);
}

.rh-card-interactive {
    cursor: pointer;
}

.rh-card-interactive:hover {
    transform: translateY(-2px);
    box-shadow: var(--rh-shadow-lg);
}

.rh-card-glow {
    position: relative;
}

.rh-card-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: var(--rh-shadow-glow);
    opacity: 0;
    transition: opacity var(--rh-transition-normal);
    pointer-events: none;
}

.rh-card-glow:hover::after {
    opacity: 1;
}

/* Glass Card */
.rh-card-glass {
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.rh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--rh-space-sm);
    padding: 14px 28px;
    font-family: var(--rh-font-primary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--rh-radius-full);
    cursor: pointer;
    transition: all var(--rh-transition-fast);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.rh-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Primary Button - Blue */
.rh-btn-primary {
    background: var(--rh-green);
    color: var(--rh-black);
}

.rh-btn-primary:hover:not(:disabled) {
    background: var(--rh-green-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 132, 255, 0.35);
}

.rh-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

/* Secondary Button - Outline */
.rh-btn-secondary {
    background: transparent;
    color: var(--rh-text-primary);
    border: 2px solid var(--rh-border-default);
}

.rh-btn-secondary:hover:not(:disabled) {
    border-color: var(--rh-green);
    color: var(--rh-green);
    background: var(--rh-green-subtle);
}

/* Ghost Button */
.rh-btn-ghost {
    background: transparent;
    color: var(--rh-text-primary);
}

.rh-btn-ghost:hover:not(:disabled) {
    background: var(--rh-bg-hover);
}

/* Danger Button */
.rh-btn-danger {
    background: var(--rh-red);
    color: var(--rh-white);
}

.rh-btn-danger:hover:not(:disabled) {
    background: var(--rh-red-light);
}

/* Button Sizes */
.rh-btn-sm {
    padding: 10px 18px;
    font-size: 0.875rem;
}

.rh-btn-lg {
    padding: 18px 36px;
    font-size: 1.125rem;
}

.rh-btn-block {
    width: 100%;
}

/* Button Loading State */
.rh-btn-loading {
    pointer-events: none;
    color: transparent !important;
}

.rh-btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: rh-spin 0.6s linear infinite;
}

.rh-btn-primary.rh-btn-loading::after {
    border-color: var(--rh-black);
    border-top-color: transparent;
}

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

/* Icon Button */
.rh-btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--rh-radius-md);
}

.rh-btn-icon.rh-btn-sm {
    width: 36px;
    height: 36px;
}

.rh-btn-icon.rh-btn-lg {
    width: 52px;
    height: 52px;
}

/* ═══════════════════════════════════════════════════════════════
   INPUTS
   ═══════════════════════════════════════════════════════════════ */
.rh-input-group {
    display: flex;
    flex-direction: column;
    gap: var(--rh-space-sm);
}

.rh-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--rh-text-secondary);
}

.rh-input {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--rh-font-primary);
    font-size: 1rem;
    color: var(--rh-text-primary);
    background: var(--rh-bg-input);
    border: 2px solid transparent;
    border-radius: var(--rh-radius-md);
    outline: none;
    transition: all var(--rh-transition-fast);
}

.rh-input::placeholder {
    color: var(--rh-text-tertiary);
}

.rh-input:hover {
    background: var(--rh-bg-hover);
}

.rh-input:focus {
    background: var(--rh-bg-elevated);
    border-color: var(--rh-green);
    box-shadow: 0 0 0 4px var(--rh-green-subtle);
}

.rh-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Input with Icon */
.rh-input-wrapper {
    position: relative;
}

.rh-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rh-text-tertiary);
    pointer-events: none;
    font-size: 1.25rem;
}

.rh-input-wrapper .rh-input {
    padding-left: 52px;
}

/* Input Error State */
.rh-input-error {
    border-color: var(--rh-red) !important;
}

.rh-input-error:focus {
    box-shadow: 0 0 0 4px var(--rh-red-subtle) !important;
}

.rh-error-text {
    font-size: 0.75rem;
    color: var(--rh-red);
    margin-top: var(--rh-space-xs);
}

/* ═══════════════════════════════════════════════════════════════
   STATS / METRICS
   ═══════════════════════════════════════════════════════════════ */
.rh-stat {
    display: flex;
    flex-direction: column;
    gap: var(--rh-space-xs);
}

.rh-stat-value {
    font-family: var(--rh-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rh-text-primary);
}

.rh-stat-label {
    font-size: 0.875rem;
    color: var(--rh-text-secondary);
}

.rh-stat-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 600;
}

.rh-stat-change.positive {
    color: var(--rh-green);
}

.rh-stat-change.negative {
    color: var(--rh-red);
}

/* ═══════════════════════════════════════════════════════════════
   BADGES / TAGS
   ═══════════════════════════════════════════════════════════════ */
.rh-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--rh-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.rh-badge-success {
    background: var(--rh-green-subtle);
    color: var(--rh-green);
}

.rh-badge-danger {
    background: var(--rh-red-subtle);
    color: var(--rh-red);
}

.rh-badge-neutral {
    background: var(--rh-bg-elevated);
    color: var(--rh-text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   ALERTS / NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════ */
.rh-alert {
    display: flex;
    align-items: flex-start;
    gap: var(--rh-space-md);
    padding: var(--rh-space-md) var(--rh-space-lg);
    border-radius: var(--rh-radius-md);
    font-size: 0.9375rem;
}

.rh-alert-success {
    background: var(--rh-green-subtle);
    border-left: 4px solid var(--rh-green);
    color: var(--rh-green);
}

.rh-alert-error {
    background: var(--rh-red-subtle);
    border-left: 4px solid var(--rh-red);
    color: var(--rh-red);
}

.rh-alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #FFC107;
    color: #FFC107;
}

.rh-alert-info {
    background: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196F3;
    color: #2196F3;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.rh-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rh-border-subtle);
    padding: var(--rh-space-md) 0;
}

.rh-navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--rh-space-xl);
}

.rh-logo {
    font-family: var(--rh-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rh-text-primary);
    text-decoration: none;
}

.rh-nav-links {
    display: flex;
    align-items: center;
    gap: var(--rh-space-lg);
    list-style: none;
}

.rh-nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--rh-text-secondary);
    text-decoration: none;
    padding: var(--rh-space-sm) var(--rh-space-md);
    border-radius: var(--rh-radius-md);
    transition: all var(--rh-transition-fast);
}

.rh-nav-link:hover,
.rh-nav-link.active {
    color: var(--rh-text-primary);
    background: var(--rh-bg-hover);
}

/* Tabbar (Bottom Navigation) */
.rh-tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--rh-bg-secondary);
    border-top: 1px solid var(--rh-border-subtle);
    padding: var(--rh-space-sm) 0 calc(var(--rh-space-sm) + env(safe-area-inset-bottom));
}

.rh-tabbar-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.rh-tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: var(--rh-space-sm) var(--rh-space-md);
    color: var(--rh-text-tertiary);
    text-decoration: none;
    font-size: 0.625rem;
    font-weight: 500;
    transition: all var(--rh-transition-fast);
    border-radius: var(--rh-radius-md);
}

.rh-tabbar-item i {
    font-size: 1.375rem;
}

.rh-tabbar-item:hover,
.rh-tabbar-item.active {
    color: var(--rh-green);
}

.rh-tabbar-item.active {
    background: var(--rh-green-subtle);
}

/* ═══════════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════════ */
.rh-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--rh-space-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--rh-transition-normal);
}

.rh-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.rh-modal {
    background: var(--rh-bg-card);
    border: 1px solid var(--rh-border-subtle);
    border-radius: var(--rh-radius-xl);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform var(--rh-transition-normal);
}

.rh-modal-overlay.visible .rh-modal {
    transform: scale(1) translateY(0);
}

.rh-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--rh-space-lg);
    border-bottom: 1px solid var(--rh-border-subtle);
}

.rh-modal-title {
    font-family: var(--rh-font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.rh-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rh-bg-hover);
    border: none;
    border-radius: var(--rh-radius-md);
    color: var(--rh-text-secondary);
    cursor: pointer;
    transition: all var(--rh-transition-fast);
    font-size: 1.25rem;
}

.rh-modal-close:hover {
    background: var(--rh-bg-input);
    color: var(--rh-text-primary);
}

.rh-modal-body {
    padding: var(--rh-space-lg);
    overflow-y: auto;
}

.rh-modal-footer {
    display: flex;
    gap: var(--rh-space-md);
    padding: var(--rh-space-lg);
    border-top: 1px solid var(--rh-border-subtle);
}

/* ═══════════════════════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════════════════════ */
.rh-table {
    width: 100%;
    border-collapse: collapse;
}

.rh-table th,
.rh-table td {
    padding: var(--rh-space-md);
    text-align: left;
}

.rh-table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--rh-text-tertiary);
    border-bottom: 1px solid var(--rh-border-default);
}

.rh-table td {
    font-size: 0.9375rem;
    color: var(--rh-text-primary);
    border-bottom: 1px solid var(--rh-border-subtle);
}

.rh-table tbody tr {
    transition: background var(--rh-transition-fast);
}

.rh-table tbody tr:hover {
    background: var(--rh-bg-hover);
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
@keyframes rh-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rh-slide-up {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

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

@keyframes rh-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.rh-animate-fade-in {
    animation: rh-fade-in 0.3s ease forwards;
}

.rh-animate-slide-up {
    animation: rh-slide-up 0.4s ease forwards;
}

.rh-animate-scale-in {
    animation: rh-scale-in 0.3s ease forwards;
}

.rh-animate-pulse {
    animation: rh-pulse 1.5s ease-in-out infinite;
}

/* Staggered Animation Delays */
.rh-stagger-1 { animation-delay: 0.05s; }
.rh-stagger-2 { animation-delay: 0.1s; }
.rh-stagger-3 { animation-delay: 0.15s; }
.rh-stagger-4 { animation-delay: 0.2s; }
.rh-stagger-5 { animation-delay: 0.25s; }

/* ═══════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════ */
.rh-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rh-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rh-text-center { text-align: center; }
.rh-text-right { text-align: right; }

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

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

.rh-gap-sm { gap: var(--rh-space-sm); }
.rh-gap-md { gap: var(--rh-space-md); }
.rh-gap-lg { gap: var(--rh-space-lg); }

/* ═══════════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════════ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--rh-bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--rh-gray-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rh-gray-600);
}

/* ═══════════════════════════════════════════════════════════════
   LOADING SKELETON
   ═══════════════════════════════════════════════════════════════ */
.rh-skeleton {
    background: linear-gradient(
        90deg,
        var(--rh-bg-elevated) 25%,
        var(--rh-bg-hover) 50%,
        var(--rh-bg-elevated) 75%
    );
    background-size: 200% 100%;
    animation: rh-skeleton-loading 1.5s ease-in-out infinite;
    border-radius: var(--rh-radius-sm);
}

@keyframes rh-skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .rh-heading-1 {
        font-size: 2.25rem;
    }
    
    .rh-heading-2 {
        font-size: 1.75rem;
    }
    
    .rh-heading-3 {
        font-size: 1.5rem;
    }
    
    .rh-container {
        padding: 0 var(--rh-space-md);
    }
    
    .rh-section {
        padding: var(--rh-space-xl) 0;
    }
    
    .rh-hide-mobile {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .rh-hide-desktop {
        display: none !important;
    }
}

