/* ORDER Benchmark Landing Page - info.css */
/* Extracted from prototype — CSP compliant (no inline styles) */

:root {
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --text: #1f2937;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --border-muted: #f3f4f6;
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fb923c;
    --secondary: #6b7280;
    --success: #22c55e;
    --danger: #ef4444;
    --info: #3b82f6;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --tertiary: hsl(221 39% 46%);
}

body.dark-mode {
    --bg: #111827;
    --bg-light: #1f2937;
    --text: #f9fafb;
    --text-muted: #9ca3af;
    --border: #374151;
    --border-muted: #4b5563;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 100;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: all 0.2s;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.theme-toggle .icon-sun {
    display: none;
}

body.dark-mode .theme-toggle .icon-sun {
    display: inline;
}

body.dark-mode .theme-toggle .icon-moon {
    display: none;
}

/* Header */
.header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.order-logo {
    display: block;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-image: url('https://res.cloudinary.com/dq0dywoto/image/upload/v1757684782/order-brand-logos/brand_cN0JIdW6SGOIJDw5OTTieQ.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.order-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Main Content */
.main {
    padding: 64px 0 80px;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 64px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--text);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 20px;
    font-size: 0.8125rem;
    color: var(--success);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

body.dark-mode .live-indicator {
    background: rgba(34, 197, 94, 0.15);
}

/* Stats Sections */
.stats-section {
    margin-bottom: 48px;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-label i {
    font-size: 1rem;
    color: var(--primary);
}

.stats-grid {
    display: grid;
    gap: 16px;
}

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

@media (max-width: 640px) {
    .stats-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Stat Card */
.stat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-value .unit {
    font-size: 1.5rem;
    font-weight: 600;
}

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

/* Featured Stat */
.stat-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
}

.stat-card.featured .stat-value,
.stat-card.featured .stat-label {
    color: white;
}

.stat-card.featured .stat-label {
    opacity: 0.9;
}

.stat-card.featured .stars i {
    color: white;
}

/* Rating Stars */
.rating-display {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: var(--warning);
    font-size: 1.125rem;
}

/* What We Do Section */
.what-section {
    margin-bottom: 48px;
}

.what-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text);
}

.what-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.what-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: var(--text);
}

.what-item i {
    color: var(--primary);
    font-size: 1.125rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    margin-top: 64px;
    text-align: center;
    padding: 48px 32px;
    background: var(--bg-light);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.cta-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text);
}

/* Buttons */
.btn-ds {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-weight: 525;
    font-size: 1rem;
    letter-spacing: 0.01em;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary-ds {
    background-color: var(--primary);
    color: white;
}

.btn-primary-ds:hover {
    background-color: var(--primary-dark);
}

body.dark-mode .btn-primary-ds:hover {
    background-color: var(--primary-light);
}

/* Footer */
.footer {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    background: var(--bg);
    text-align: center;
}

.footer p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer i {
    color: var(--success);
}

/* Timestamp */
.timestamp {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 32px;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Mobile adjustments */
@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.875rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .stat-value {
        font-size: 1.875rem;
    }

    .stat-value .unit {
        font-size: 1.25rem;
    }

    .stat-card {
        padding: 20px;
    }

    .main {
        padding: 48px 0 64px;
    }

    .cta-section {
        padding: 32px 20px;
    }

    .cta-section h2 {
        font-size: 1.25rem;
    }
}
