@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
    --primary: #00e5a3;
    --primary-hover: #00c289;
    --primary-glow: rgba(0, 229, 163, 0.15);
    --bg-dark: #07090e;
    --bg-card: rgba(13, 19, 31, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 229, 163, 0.25);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --white: #ffffff;
    
    --grad-primary: linear-gradient(135deg, #00ae86 0%, #00e5a3 100%);
    --grad-dark: linear-gradient(180deg, #090c15 0%, #05070a 100%);
    --grad-glow: radial-gradient(circle, rgba(0, 229, 163, 0.08) 0%, rgba(0, 0, 0, 0) 70%);

    --blob-size: 500px;
    --blob-blur: 100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-dark);
    background-image: var(--grad-dark);
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Blobs */
.glow-blob {
    position: absolute;
    width: var(--blob-size);
    height: var(--blob-size);
    border-radius: 50%;
    background: var(--grad-glow);
    filter: blur(var(--blob-blur));
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

.blob-1 {
    top: -100px;
    right: -100px;
}

.blob-2 {
    bottom: 10%;
    left: -200px;
    background: radial-gradient(circle, rgba(0, 174, 134, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.65rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 400;
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.nav-links a:hover {
    color: var(--primary);
    opacity: 1;
}

/* Open Source Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 229, 163, 0.08);
    border: 1px solid var(--border-hover);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
    padding: 9rem 0 6rem;
    position: relative;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 229, 163, 0.03) 0%, transparent 60%);
}

.hero h1 {
    font-size: 4.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero h1 span {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* Buttons */
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: var(--grad-primary);
    color: #05070a;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -5px var(--primary-glow);
    background: linear-gradient(135deg, #00d0a2 0%, #00ffd5 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Features */
.features {
    padding: 6rem 0;
    position: relative;
}

.features h2, .tiers h2, .showcase-section h2, .stepper-section h2, .faq-section h2, .stats-section h2, .docs-header h1 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 229, 163, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px rgba(0, 229, 163, 0.03);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 229, 163, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.35rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: rgba(13, 19, 31, 0.3);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Stepper (Vertical Timeline) Section */
.stepper-section {
    padding: 6rem 0;
}

.stepper-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.stepper-container::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.step-item {
    position: relative;
    margin-bottom: 3.5rem;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 2;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--border-hover);
}

.step-card h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Discord Showcase Section */
.showcase-section {
    padding: 6rem 0;
    background: rgba(5, 7, 12, 0.4);
    position: relative;
}

.discord-app {
    max-width: 1000px;
    margin: 0 auto;
    background: #313338;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.45);
    display: flex;
    height: 520px;
}

/* Discord Left Server Bar */
.discord-servers {
    width: 72px;
    background: #1e1f22;
    padding: 0.75rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.server-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2b2d31;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dbdee1;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.server-icon:hover, .server-icon.active {
    border-radius: 16px;
    background: var(--primary);
    color: #07090e;
}

.server-separator {
    width: 32px;
    height: 2px;
    background: #35363c;
    margin: 0.25rem 0;
}

/* Discord Channel Sidebar */
.discord-sidebar {
    width: 240px;
    background: #2b2d31;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    height: 48px;
    border-bottom: 1px solid #1f2023;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
}

.sidebar-channels {
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    overflow-y: auto;
}

.channel-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.5rem;
    border-radius: 4px;
    color: #949ba4;
    font-size: 0.9rem;
    font-weight: 500;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: all 0.15s ease;
}

.channel-btn:hover {
    background: #35373c;
    color: #dbdee1;
}

.channel-btn.active {
    background: #404249;
    color: #ffffff;
}

.channel-btn svg {
    flex-shrink: 0;
}

/* Discord Chat View */
.discord-chat {
    flex: 1;
    background: #313338;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chat-header {
    height: 48px;
    border-bottom: 1px solid #282a2e;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-weight: 600;
    color: #ffffff;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

/* Discord Message Styling */
.discord-message {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    display: none;
}

.discord-message.active {
    display: flex;
    animation: messageReveal 0.3s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes messageReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.discord-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: var(--grad-primary);
    color: #07090e;
    font-size: 1rem;
    user-select: none;
}

.discord-avatar.user-avatar {
    background: #5865f2;
    color: #fff;
}

.discord-msg-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.discord-username {
    font-weight: 500;
    color: #f2f3f5;
    font-size: 0.95rem;
}

.discord-username.bot-name {
    color: #00e5a3;
}

.discord-bot-badge {
    background: #5865f2;
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
    text-transform: uppercase;
}

.discord-time {
    color: #949ba4;
    font-size: 0.75rem;
}

.discord-text {
    color: #dbdee1;
    font-size: 0.95rem;
}

.discord-text code {
    background: #1e1f22;
    padding: 0.15rem 0.3rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.85rem;
    color: #e3e5e8;
}

.discord-embed {
    background: #2b2d31;
    border-left: 4px solid #00e5a3;
    border-radius: 4px;
    padding: 1rem;
    margin-top: 0.5rem;
    max-width: 520px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.discord-embed-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #dbdee1;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.discord-embed-author-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.discord-embed-title {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.discord-embed-desc {
    color: #dbdee1;
    font-size: 0.875rem;
    line-height: 1.45;
}

.discord-embed-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.discord-embed-field {
    font-size: 0.875rem;
}

.discord-embed-field-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.15rem;
}

.discord-embed-field-val {
    color: #dbdee1;
}

.discord-embed-footer {
    color: #949ba4;
    font-size: 0.75rem;
    margin-top: 0.75rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: rgba(13, 19, 31, 0.15);
}

.faq-container {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    text-align: left;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Access Tiers */
.tiers {
    padding: 6rem 0;
    position: relative;
}

.tier-grid {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.tier-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3.5rem 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    width: 370px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tier-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 15px 30px rgba(0, 229, 163, 0.03);
}

.tier-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    box-shadow: 0 12px 30px var(--primary-glow);
    background: linear-gradient(180deg, rgba(13, 19, 31, 0.85) 0%, rgba(8, 12, 21, 0.95) 100%);
}

.tier-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--grad-primary);
    color: #05070a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.tier-card h3 {
    font-size: 1.65rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.tier-card p.desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--primary);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price span.subtext {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
}

.tier-card ul {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tier-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.tier-card li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    font-size: 1.05rem;
}

.tier-card .btn {
    margin-top: auto;
    width: 100%;
}

/* Extra Policy Page Styles */
.policy-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 4rem 3rem;
    margin: 4rem auto;
    max-width: 800px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.policy-card h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.policy-card .meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.policy-card h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.policy-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* --- Dedicated Documentation Page Layout (`docs.html`) --- */
.docs-header {
    background: radial-gradient(circle at center, rgba(0, 229, 163, 0.04) 0%, transparent 60%);
    padding: 5rem 0 3rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.docs-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0.5rem auto 0;
}

.docs-container {
    display: flex;
    gap: 3rem;
    padding: 4rem 0;
}

.docs-sidebar {
    width: 260px;
    position: sticky;
    top: 100px;
    height: calc(100vh - 140px);
    overflow-y: auto;
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.docs-sidebar::-webkit-scrollbar {
    width: 4px;
}

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

.docs-nav-group {
    margin-bottom: 2rem;
}

.docs-nav-title {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    padding-left: 1rem;
}

.docs-nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-muted);
    text-decoration: none;
    border-left: 2px solid var(--border-color);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.docs-nav-link:hover {
    color: var(--white);
    border-left-color: var(--border-hover);
}

.docs-nav-link.active {
    color: var(--primary);
    border-left-color: var(--primary);
    font-weight: 600;
    background: rgba(0, 229, 163, 0.02);
}

.docs-content {
    flex: 1;
    min-width: 0;
}

.docs-section {
    margin-bottom: 4.5rem;
    scroll-margin-top: 110px;
}

.docs-section h2 {
    font-size: 1.85rem;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.docs-section h3 {
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.docs-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.docs-section ul, .docs-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.docs-section li {
    margin-bottom: 0.5rem;
}

.docs-section li strong {
    color: var(--white);
}

.docs-section pre {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.docs-section pre code {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.85rem;
    color: #e3e5e8;
    line-height: 1.5;
}

.docs-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.docs-section th, .docs-section td {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
    font-size: 0.9rem;
}

.docs-section th {
    background: rgba(255, 255, 255, 0.02);
    color: var(--white);
    font-weight: 600;
}

.docs-section td {
    color: var(--text-muted);
}

.docs-section td code {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--primary);
}

.docs-note {
    background: rgba(0, 229, 163, 0.03);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
    margin: 2rem 0;
}

.docs-note p {
    margin-bottom: 0 !important;
    color: var(--text-main) !important;
    font-size: 0.95rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    background: rgba(5, 7, 12, 0.95);
    color: var(--text-muted);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    z-index: 10;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.25s;
}

footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

.palestine-banner {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 0.75rem;
    font-weight: bold;
    border-bottom: 2px solid #00e5a3;
    font-size: 0.9rem;
}

.palestine-link a {
    color: #ef4444 !important;
    font-weight: bold;
}

footer p.copyright {
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 900px) {
    .docs-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .docs-sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 2rem;
    }
    
    .docs-nav-group {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 7rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .tier-card {
        width: 100%;
        max-width: 370px;
    }
    
    .tier-card.featured {
        transform: none;
    }
    
    .discord-app {
        height: auto;
        flex-direction: column;
    }
    
    .discord-servers {
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: center;
        padding: 0 1rem;
    }
    
    .server-icon {
        width: 36px;
        height: 36px;
    }
    
    .server-separator {
        width: 2px;
        height: 24px;
        margin: 0 0.5rem;
    }
    
    .discord-sidebar {
        width: 100%;
        height: 150px;
    }
    
    .sidebar-channels {
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0.5rem;
    }
    
    .channel-btn {
        width: auto;
        display: inline-flex;
    }
    
    .discord-chat {
        height: 350px;
    }
    
    .stepper-container {
        padding-left: 2rem;
    }
    
    .stepper-container::before {
        left: 9px;
    }
    
    .step-number {
        left: -2rem;
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .policy-card {
        padding: 2.5rem 1.5rem;
        margin: 2rem auto;
    }
    
    .policy-card h1 {
        font-size: 2.15rem;
    }
}
