/* Base styles for the text pages (same tokens and components as the home page) */
:root {
    --bg: #12121c;
    --bg-alt: #1a1a2e;
    --card-bg: #232338;
    --primary: #ffb800;
    --primary-hover: #e6a600;
    --secondary: #8a2be2;
    --secondary-hover: #7a25c9;
    --accent: #00d084;
    --text: #d1d1e0;
    --text-light: #ffffff;
    --text-muted: #8e8eab;
    --border: #32324a;
    --font: 'Beaufort Pro', sans-serif;
    --header-height: 72px;
    --container-width: 1280px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--text-light); }

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

h1, h2, h3, h4, h5 {
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-top: 2rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); margin-top: 1.5rem; }

p { margin-bottom: 1.25rem; font-size: 1.05rem; }

ul, ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }

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

/* Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4);
}

/* Header and nav */
header {
    background-color: rgba(18, 18, 28, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo-link { display: flex; align-items: center; z-index: 101; }
.logo { max-height: 48px; object-fit: contain; }

.nav-toggle { display: none; }

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 101;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu { display: flex; align-items: center; gap: 2rem; }

.nav-link {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

/* Sections */
.section-padding { padding: 5rem 0; }
.bg-alt { background-color: var(--bg-alt); }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 184, 0, 0.15);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    border: 1px solid rgba(255, 184, 0, 0.3);
}

.page-intro { padding: 4rem 0 3rem; background-color: var(--bg-alt); }
.page-intro .container { max-width: 900px; }
.page-intro h1 { margin-bottom: 1.5rem; }
.page-intro p { font-size: 1.2rem; margin-bottom: 0; }

.content-block {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.content-block > h2:first-child,
.content-block > h3:first-child { margin-top: 0; }

/* Tables */
.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
    text-align: left;
}

th, td { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }

th {
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

tr:last-child td { border-bottom: none; }
tr:nth-child(even) { background-color: rgba(255, 255, 255, 0.02); }

/* FAQ */
.faq-container { max-width: 900px; margin: 0 auto; }

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    padding: 1.5rem;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.faq-question::before {
    content: 'Q.';
    color: var(--primary);
    margin-right: 0.75rem;
    font-size: 1.5rem;
}

.faq-answer { color: var(--text-muted); padding-left: 2.25rem; }

/* Footer */
footer {
    background-color: #0a0a10;
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    font-weight: bold;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.footer-text { color: var(--text-muted); font-size: 0.875rem; max-width: 800px; }

/* Mobile */
@media (max-width: 768px) {
    .nav-hamburger { display: flex; }

    .nav-menu {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-toggle:checked ~ .nav-menu { display: flex; }

    .nav-toggle:checked ~ .nav-hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-hamburger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .header-actions { display: none; }

    .nav-menu .cta-btn { display: block; width: 100%; text-align: center; margin-top: 1rem; }

    .content-block { padding: 1.5rem; }
    .section-padding { padding: 3.5rem 0; }

    th, td { padding: 1rem; }
}
