/* TickerMind Legal Pages - Styles */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #137fec;
    --bg-dark: #0B0E14;
    --surface-dark: #1C2127;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #2d3748;
    --warning-bg: #fef3c7;
    --warning-border: #f59e0b;
    --warning-text: #92400e;
    --success-color: #10b981;
    --max-width: 900px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1f2e 100%);
    min-height: 100vh;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(28, 33, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

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

/* Main Content */
main {
    padding: 3rem 0;
}

.content {
    background: rgba(28, 33, 39, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
}

.last-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

section {
    margin-bottom: 2.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

ul, ol {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-secondary);
}

li {
    margin-bottom: 0.5rem;
}

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

/* Warning Boxes */
.warning-box {
    background: var(--warning-bg);
    border-left: 4px solid var(--warning-border);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    color: var(--warning-text);
}

.warning-box.important {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
}

.warning-box h2 {
    color: var(--warning-text);
    margin-top: 0;
    font-size: 1.25rem;
}

.warning-box p {
    color: var(--warning-text);
    margin-bottom: 0.5rem;
}

.warning-box ul {
    color: var(--warning-text);
}

/* Acknowledgment Box */
.acknowledgment-box {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.acknowledgment-box h3 {
    color: var(--success-color);
    margin-top: 0;
}

.acknowledgment-box p {
    color: var(--text-secondary);
}

/* Contact Info */
.contact-info {
    background: rgba(19, 127, 236, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
}

/* Footer Note */
.footer-note {
    background: rgba(100, 116, 139, 0.1);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin: 2rem 0 0;
    border-radius: 8px;
}

.footer-note p {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: rgba(28, 33, 39, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

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

footer p {
    color: var(--text-muted);
    margin: 0;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* Home Page Specific Styles */
.hero {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

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

.legal-card {
    background: rgba(28, 33, 39, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
}

.legal-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(19, 127, 236, 0.2);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.legal-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.legal-card p {
    margin: 0;
    font-size: 0.95rem;
}

.app-info {
    background: rgba(28, 33, 39, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.contact-section {
    background: rgba(28, 33, 39, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

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

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .content {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

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

    .legal-links-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .navbar,
    footer {
        display: none;
    }

    .content {
        background: white;
        border: none;
        padding: 0;
    }

    .warning-box {
        border: 1px solid #000;
        background: #f9f9f9;
    }
}
