/* ==============================================
   STABLECOIN.COM DESIGN SYSTEM v2.0
   ==============================================
   
   Standard CSS variables and components for consistent design
   Include this file in all StableCoin.com pages
*/

/* ============== COLOR SYSTEM ============== */
:root {
    /* Primary Brand Colors */
    --sc-blue-primary: #2775CA;
    --sc-blue-dark: #1E5A94;
    --sc-blue-light: #4A90E2;
    --sc-blue-pale: #E8F0FF;
    
    /* Stablecoin Category Colors */
    --sc-usdt-color: #26A17B;
    --sc-usdc-color: #2775CA;
    --sc-dai-color: #F4B731;
    --sc-usde-color: #6B46C1;
    --sc-pyusd-color: #0070BA;
    
    /* Status Colors */
    --sc-green-success: #28A745;
    --sc-green-light: #20C997;
    --sc-yellow-warning: #FFC107;
    --sc-red-danger: #DC3545;
    --sc-blue-info: #17A2B8;
    
    /* Premium Tiers */
    --sc-free-tier: #6C757D;
    --sc-basic-tier: #2775CA;
    --sc-pro-tier: #7B2CBF;
    --sc-enterprise-tier: #D4AF37;
    
    /* Neutral Palette */
    --sc-white: #FFFFFF;
    --sc-gray-50: #F8F9FA;
    --sc-gray-100: #E9ECEF;
    --sc-gray-200: #DEE2E6;
    --sc-gray-300: #CED4DA;
    --sc-gray-400: #ADB5BD;
    --sc-gray-500: #6C757D;
    --sc-gray-600: #495057;
    --sc-gray-700: #343A40;
    --sc-gray-800: #212529;
    --sc-gray-900: #1A1A1A;
    --sc-black: #000000;
    
    /* Gradients */
    --sc-gradient-primary: linear-gradient(135deg, var(--sc-blue-primary) 0%, var(--sc-blue-dark) 100%);
    --sc-gradient-success: linear-gradient(135deg, var(--sc-green-success) 0%, var(--sc-green-light) 100%);
    --sc-gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --sc-gradient-data: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --sc-gradient-premium: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --sc-gradient-intelligence: linear-gradient(135deg, #4A90E2 0%, #2775CA 100%);
    
    /* Typography Scale - Financial Data Optimized */
    --sc-font-size-xs: 0.75rem;      /* 12px - Small labels */
    --sc-font-size-sm: 0.875rem;     /* 14px - Secondary text */
    --sc-font-size-base: 1rem;       /* 16px - Body text */
    --sc-font-size-lg: 1.125rem;     /* 18px - Large body */
    --sc-font-size-xl: 1.25rem;      /* 20px - Subheadings */
    --sc-font-size-2xl: 1.5rem;      /* 24px - Card titles */
    --sc-font-size-3xl: 1.875rem;    /* 30px - Section headers */
    --sc-font-size-4xl: 2.25rem;     /* 36px - Page headers */
    --sc-font-size-5xl: 3rem;        /* 48px - Hero only */
    
    /* Line Heights */
    --sc-line-height-tight: 1.25;    /* Headers */
    --sc-line-height-normal: 1.5;    /* Body text */
    --sc-line-height-relaxed: 1.75;  /* Large text blocks */
    
    /* Shadows */
    --sc-shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --sc-shadow-md: 0 4px 15px rgba(0,0,0,0.10);
    --sc-shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
    --sc-shadow-xl: 0 15px 35px rgba(0,0,0,0.20);
    
    /* Spacing Scale */
    --sc-space-xs: 0.25rem;   /* 4px */
    --sc-space-sm: 0.5rem;    /* 8px */
    --sc-space-md: 1rem;      /* 16px */
    --sc-space-lg: 1.5rem;    /* 24px */
    --sc-space-xl: 2rem;      /* 32px */
    --sc-space-2xl: 3rem;     /* 48px */
    --sc-space-3xl: 4rem;     /* 64px */
    
    /* Border Radius */
    --sc-radius-sm: 6px;
    --sc-radius-md: 10px;
    --sc-radius-lg: 15px;
    --sc-radius-xl: 20px;
    --sc-radius-full: 50%;
    
    /* Typography */
    --sc-font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --sc-font-mono: 'Courier New', monospace;
}

/* ============== TYPOGRAPHY SYSTEM ============== */
.sc-display-1 { font-size: 3.5rem; font-weight: 700; line-height: 1.2; }
.sc-display-2 { font-size: 3rem; font-weight: 700; line-height: 1.2; }
.sc-display-3 { font-size: 2.5rem; font-weight: 700; line-height: 1.3; }
.sc-display-4 { font-size: 2rem; font-weight: 700; line-height: 1.3; }

.sc-heading-1 { font-size: 1.75rem; font-weight: 600; line-height: 1.4; }
.sc-heading-2 { font-size: 1.5rem; font-weight: 600; line-height: 1.4; }
.sc-heading-3 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.sc-heading-4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }

.sc-body-lg { font-size: 1.125rem; line-height: 1.6; }
.sc-body-md { font-size: 1rem; line-height: 1.6; }
.sc-body-sm { font-size: 0.875rem; line-height: 1.5; }

.sc-caption { font-size: 0.75rem; line-height: 1.4; color: var(--sc-gray-600); }

/* ============== COMPONENT LIBRARY ============== */

/* Brand Logo */
.sc-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}
.sc-logo .brand-name { color: var(--sc-blue-primary); }
.sc-logo .domain-ext { color: var(--sc-gray-500); }

/* Navigation Bar */
.sc-navbar {
    background: var(--sc-white);
    border-bottom: 1px solid var(--sc-gray-200);
    box-shadow: var(--sc-shadow-sm);
}

/* Buttons */
.sc-btn {
    border-radius: var(--sc-radius-md);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.sc-btn-primary {
    background: var(--sc-gradient-primary);
    color: var(--sc-white);
}
.sc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--sc-shadow-md);
    color: var(--sc-white);
}

.sc-btn-success {
    background: var(--sc-gradient-success);
    color: var(--sc-white);
}

.sc-btn-outline {
    background: transparent;
    border: 2px solid var(--sc-blue-primary);
    color: var(--sc-blue-primary);
}
.sc-btn-outline:hover {
    background: var(--sc-blue-primary);
    color: var(--sc-white);
}

/* Cards */
.sc-card {
    background: var(--sc-white);
    border-radius: var(--sc-radius-lg);
    padding: var(--sc-space-xl);
    box-shadow: var(--sc-shadow-md);
    border: 1px solid var(--sc-gray-100);
}

.sc-card-hover {
    transition: all 0.3s ease;
}
.sc-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--sc-shadow-lg);
}

/* Hero Sections */
.sc-hero {
    background: var(--sc-gradient-hero);
    color: var(--sc-white);
    padding: var(--sc-space-3xl) 0;
}

.sc-hero-primary {
    background: var(--sc-gradient-primary);
}

.sc-hero-intelligence {
    background: var(--sc-gradient-intelligence);
}

/* Market Data Components */
.sc-market-widget {
    background: var(--sc-white);
    border-radius: var(--sc-radius-md);
    padding: var(--sc-space-lg);
    box-shadow: var(--sc-shadow-sm);
    border-left: 4px solid var(--sc-blue-primary);
}

/* Typography Classes */
.sc-text-hero {
    font-size: var(--sc-font-size-5xl);
    line-height: var(--sc-line-height-tight);
    font-weight: 700;
}

.sc-text-page-header {
    font-size: var(--sc-font-size-4xl);
    line-height: var(--sc-line-height-tight);
    font-weight: 600;
}

.sc-text-section-header {
    font-size: var(--sc-font-size-3xl);
    line-height: var(--sc-line-height-tight);
    font-weight: 600;
}

.sc-text-card-title {
    font-size: var(--sc-font-size-2xl);
    line-height: var(--sc-line-height-tight);
    font-weight: 500;
}

.sc-text-subheading {
    font-size: var(--sc-font-size-xl);
    line-height: var(--sc-line-height-normal);
    font-weight: 500;
}

.sc-text-large {
    font-size: var(--sc-font-size-lg);
    line-height: var(--sc-line-height-relaxed);
}

.sc-text-body {
    font-size: var(--sc-font-size-base);
    line-height: var(--sc-line-height-normal);
}

.sc-text-small {
    font-size: var(--sc-font-size-sm);
    line-height: var(--sc-line-height-normal);
}

.sc-text-label {
    font-size: var(--sc-font-size-xs);
    line-height: var(--sc-line-height-normal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Financial Data Formatting */
.sc-price-large {
    font-size: var(--sc-font-size-3xl);
    font-weight: 700;
    font-feature-settings: "tnum", "lnum";
    color: var(--sc-blue-primary);
}

.sc-price-medium {
    font-size: var(--sc-font-size-xl);
    font-weight: 600;
    font-feature-settings: "tnum", "lnum";
}

.sc-number {
    font-feature-settings: "tnum", "lnum";
    font-variant-numeric: tabular-nums;
}

.sc-change-positive {
    color: var(--sc-green-success);
}

.sc-change-negative {
    color: var(--sc-red-danger);
}

/* Standard body styling */
body {
    font-family: var(--sc-font-family);
    line-height: 1.6;
    color: var(--sc-gray-700);
}