/* ============================================
   IPPO Bot - Design System (main.css)
   ============================================ */

:root {
    --orange: #FF8C00;
    --orange-hover: #E07B00;
    --green: #2E7D32;
    --green-light: #388E3C;
    --gold: #F5A623;
    --dark: #2B2D31;
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #1a1a24;
    --bg-card-hover: #222230;
    --bg-navbar: rgba(10, 10, 15, 0.85);
    --bg-sidebar: #0f0f16;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b80;
    --border: #2a2a3a;
    --border-hover: #3a3a4a;
    --accent: var(--orange);
    --accent-glow: rgba(255, 140, 0, 0.3);
    --accent-glow-strong: rgba(255, 140, 0, 0.5);
    --navbar-height: 64px;
    --sidebar-width: 260px;
    --max-width: 1200px;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   Reset & Base
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--orange);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

code {
    background: rgba(255, 140, 0, 0.1);
    color: var(--orange);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    color: inherit;
}

::selection {
    background: var(--accent-glow);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* ============================================
   Typography
   ============================================ */

h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   Layout
   ============================================ */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.4;
}

.btn:hover {
    color: inherit;
    transform: translateY(-2px);
}

/* CTA Button - Orange */
.btn-cta {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-cta:hover {
    background: var(--orange-hover);
    border-color: var(--orange-hover);
    color: #fff;
    box-shadow: 0 6px 25px var(--accent-glow-strong);
}

.btn-cta:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px var(--accent-glow);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--orange);
    border-color: var(--orange);
}

.btn-outline:hover {
    background: rgba(255, 140, 0, 0.1);
    color: var(--orange);
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: transparent;
    padding: 10px 16px;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Button Sizes */
.btn-sm {
    padding: 6px 16px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Utility Classes
   ============================================ */

.text-orange { color: var(--orange); }
.text-green { color: var(--green); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.flex { display: flex; }
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ============================================
   Responsive Base
   ============================================ */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.1rem; }

    .container {
        padding: 0 16px;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}