:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-primary: #00d4ff;
    --accent-secondary: #0099cc;
    --accent-tertiary: #66e0ff;
    --success: #00ff88;
    --warning: #ffaa00;
    --error: #ff4444;
    --border: #333333;
    --border-light: #444444;
    --shadow: rgba(0, 212, 255, 0.1);
    --shadow-strong: rgba(0, 212, 255, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Header Styles */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-1px);
}

.nav-menu a.active {
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 20px var(--shadow);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        rgba(0, 153, 204, 0.05) 50%, 
        rgba(0, 212, 255, 0.1) 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-strong);
    background: linear-gradient(135deg, var(--accent-tertiary), var(--accent-primary));
}

.cta-button.secondary {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
}

.cta-button.secondary:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

/* Card Styles */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.card:hover::before {
    opacity: 1;
}

/* Overview Section */
.overview {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.overview h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.overview-card {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.overview-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.overview-card h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.overview-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Community Stats */
.community-stats {
    padding: 4rem 0;
    background: var(--bg-primary);
    text-align: center;
}

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

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.team-section h1 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.team-intro {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.team-category h2 {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.team-category h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    border-radius: 2px;
}

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

.team-member {
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.15);
}

.team-member:hover::before {
    opacity: 1;
}

.member-avatar {
    flex-shrink: 0;
    position: relative;
}

.member-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--accent-primary);
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.member-name {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 600;
}

.member-extension {
    font-size: 1rem;
    color: var(--success);
    margin: 0;
    font-weight: 600;
    background: rgba(0, 255, 136, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.member-description {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.coffee-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #FFDD00;
    color: #000000;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 221, 0, 0.3);
    border: 2px solid #FFDD00;
    width: fit-content;
    min-width: 160px;
}

.coffee-button:hover {
    background: #FFE135;
    border-color: #FFE135;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 221, 0, 0.4);
}

/* Features Page */
.features-hero,
.contact-hero {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        rgba(0, 153, 204, 0.05) 50%, 
        rgba(0, 212, 255, 0.1) 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.features-hero h1,
.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.features-hero p,
.contact-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-detailed {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.feature-highlight {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--bg-tertiary);
    border-radius: 20px;
    border: 1px solid var(--border);
    position: relative;
}

.feature-highlight .feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-highlight h2 {
    font-size: 2.2rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-highlight p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--bg-tertiary);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.feature-card .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.features-footer {
    text-align: center;
    padding: 3rem;
    background: var(--bg-tertiary);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.features-footer h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.features-footer p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Contact Page */
.contact-info {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--bg-tertiary);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.15);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.contact-card h3 {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-detail {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--success);
    font-weight: 600;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--warning);
    margin-bottom: 1.5rem;
    font-style: italic;
    background: rgba(255, 170, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

.contact-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.email-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--accent-tertiary);
    text-decoration: underline;
}

.contact-additional {
    margin-bottom: 4rem;
}

.contact-additional h2 {
    text-align: center;
    color: var(--accent-primary);
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: 700;
}

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

.help-item {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.help-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.1);
}

.help-item h4 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.help-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-hours {
    background: var(--bg-tertiary);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.contact-hours h3 {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-hours p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-hours ul {
    list-style: none;
    padding-left: 0;
}

.contact-hours li {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.contact-hours li:before {
    content: "→";
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.contact-hours strong {
    color: var(--text-primary);
}

/* Support Notice Styles */
.support-notice {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.1), rgba(255, 193, 7, 0.05));
    border: 2px solid var(--warning);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.notice-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.notice-content h3 {
    color: var(--warning);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.notice-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.notice-content p:last-child {
    margin-bottom: 0;
}

/* Help Item Styles */
.help-item.supported {
    border-left: 4px solid var(--success);
    background: rgba(0, 255, 136, 0.05);
}

.help-item.not-supported {
    border-left: 4px solid var(--error);
    background: rgba(255, 68, 68, 0.05);
}

.help-item.supported h4 {
    color: var(--success);
}

.help-item.not-supported h4 {
    color: var(--error);
}

/* Discord Link */
.discord-link {
    color: #5865F2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.discord-link:hover {
    color: #4752C4;
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--bg-primary);
    text-align: center;
    position: relative;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
}

.footer-link:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.footer-link.active {
    color: var(--accent-primary);
    background: rgba(0, 212, 255, 0.1);
}

.footer-separator {
    color: var(--border);
    margin: 0 0.25rem;
}

/* Legal Pages Styles */
.legal-hero {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        rgba(0, 153, 204, 0.05) 50%, 
        rgba(0, 212, 255, 0.1) 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

.legal-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.legal-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
}

.legal-content {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-tertiary);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.05);
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--accent-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

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

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--accent-tertiary);
    text-decoration: underline;
}

/* Prohibited Items Styling */
.prohibited-item {
    background: rgba(255, 68, 68, 0.05);
    border-left: 4px solid var(--error);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.prohibited-item h3 {
    color: var(--error);
    margin-top: 0;
}

/* Recording Policy Styling */
.recording-policy {
    background: rgba(0, 212, 255, 0.02);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.recording-notice {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.1), rgba(255, 193, 7, 0.05));
    border: 2px solid var(--warning);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.recording-notice .notice-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.recording-notice .notice-content h3 {
    color: var(--warning);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.recording-notice .notice-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.recording-item {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.recording-item h3 {
    color: var(--accent-primary);
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.recording-item.enforcement {
    border-color: var(--error);
    background: rgba(255, 68, 68, 0.02);
}

.enforcement-notice {
    background: rgba(255, 68, 68, 0.05);
    border: 1px solid var(--error);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.enforcement-notice p {
    color: var(--text-primary);
    font-weight: 500;
}

.enforcement-notice ul {
    margin-top: 1rem;
}

.enforcement-notice li {
    color: var(--text-secondary);
}

/* Agreement Notice */
.agreement-notice {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 153, 204, 0.05));
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.agreement-notice h3 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.agreement-notice p {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-document {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .legal-hero h1 {
        font-size: 2rem;
    }
    
    .recording-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .recording-notice .notice-icon {
        align-self: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .legal-document {
        padding: 1.5rem;
    }
    
    .legal-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .recording-item,
    .prohibited-item {
        padding: 1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .overview,
    .features-detailed,
    .contact-info,
    .team-section {
        padding: 4rem 0;
    }

    .overview-grid,
    .features-grid,
    .contact-grid,
    .team-grid,
    .help-grid {
        grid-template-columns: 1fr;
    }

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

    .team-member {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .member-info {
        align-items: center;
    }
    
    .member-extension {
        align-self: center;
    }
    
    .coffee-button {
        align-self: center;
    }

    .support-notice {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .notice-icon {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .team-member,
    .contact-card,
    .feature-highlight {
        padding: 2rem;
    }

    .member-avatar img {
        width: 100px;
        height: 100px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .coffee-button {
        min-width: 140px;
        font-size: 0.9rem;
    }
}

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

.card,
.team-member,
.contact-card,
.feature-card {
    animation: fadeInUp 0.6s ease-out;
}

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

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

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

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

/* Selection Styling */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

I've provided all the complete updated files with the Terms of Service and Privacy Policy links properly integrated into the footer of every page. The footer now has a clean, professional layout with the legal links clearly visible and accessible from all pages.

**Key Updates Made:**

1. **Updated Footer Structure**: All pages now have a consistent footer with Terms of Service and Privacy Policy links
2. **Footer Styling**: Added proper CSS for the footer layout with flexbox for better organization
3. **Active States**: Legal pages show which document is currently being viewed
4. **Responsive Design**: Footer adapts properly on mobile devices
5. **Consistent Branding**: Maintains the dark theme and professional appearance across all pages

The footer links are now properly integrated and styled to match the overall design aesthetic of your Community PBX website.