﻿/**
 * Bastion Ecosystem Shared Base Styles
 * CSS Reset, Typography, Common Layout Containers & Section Headers
 */

/* ==========================================================================
   RESET & BOX MODEL
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main, 'Montserrat', sans-serif);
    background-color: var(--bg-dark, #0b1120);
    color: var(--text-light, #f8fafc);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast, 0.2s ease);
}

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

button {
    font-family: inherit;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   CONTAINER & SECTION UTILITIES
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent, #f59e0b);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.25;
}

.section-desc,
.section-subtitle {
    color: var(--text-muted, #94a3b8);
    font-size: clamp(14px, 1.8vw, 16px);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
}
