/* Legal & Compliance Page Styles - Telemetry1.io */
:root {
    --bg-primary: #0b0f17;
    --bg-card: rgba(15, 23, 42, 0.75);
    --border-subtle: rgba(56, 189, 248, 0.15);
    --border-strong: rgba(56, 189, 248, 0.35);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.15);
    --accent-success: #34d399;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.65;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header & Nav */
.legal-nav {
    background: rgba(11, 15, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 1.5rem;
}

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

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    width: 36px;
    height: 36px;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-domain {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent);
    color: #0b0f17 !important;
    font-weight: 600 !important;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    transition: opacity 0.2s ease;
}

.nav-btn:hover {
    opacity: 0.9;
}

/* Main Container */
.legal-container {
    max-width: 900px;
    margin: 2.5rem auto 4rem auto;
    padding: 0 1.5rem;
    flex: 1;
    width: 100%;
}

.legal-header {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 1.5rem;
}

.legal-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid var(--border-strong);
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.legal-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 0.5rem;
}

.legal-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Content Typography */
.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.legal-card h2 {
    color: #fff;
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.4rem;
}

.legal-card h2:first-of-type {
    margin-top: 0;
}

.legal-card h3 {
    color: var(--accent);
    font-size: 1.05rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.legal-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-card ul, .legal-card ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.legal-card li {
    margin-bottom: 0.4rem;
}

.legal-card strong {
    color: #fff;
}

.legal-card code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.88em;
    color: var(--accent);
}

.info-box {
    background: rgba(56, 189, 248, 0.08);
    border-left: 4px solid var(--accent);
    padding: 1.2rem;
    border-radius: 6px;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-box strong {
    color: var(--accent);
}

/* Contact Details Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.contact-card {
    background: rgba(11, 15, 23, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.25rem;
}

.contact-card h4 {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-card p {
    margin: 0;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.contact-card a {
    color: var(--accent);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pricing-plan {
    background: rgba(11, 15, 23, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.pricing-plan.featured {
    border-color: var(--accent);
    background: rgba(56, 189, 248, 0.05);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.1);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: #0b0f17;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    min-height: 40px;
}

.plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.25rem;
}

.plan-period {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.plan-features {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    margin-bottom: 1.5rem;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
}

.plan-features li svg {
    color: var(--accent-success);
    flex-shrink: 0;
}

/* Footer */
.legal-footer {
    background: rgba(11, 15, 23, 0.95);
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 1.5rem;
    margin-top: auto;
}

.legal-footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

@media (max-width: 640px) {
    .legal-nav-container, .legal-footer-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .legal-card {
        padding: 1.5rem;
    }
    .legal-title {
        font-size: 1.75rem;
    }
}

