/* Platoo Terms & Privacy - Styles based on app theme */

:root {
    /* Colors from app theme */
    --color-background: #1a2332;
    --color-card: #1f2937;
    --color-primary: #dcb46f;
    --color-text-primary: #f2f2f2;
    --color-text-secondary: #cccccc;
    --color-text-muted: #b3b3b3;
    --color-border: #334155;
    --color-secondary: #293548;
    --color-muted: #252f3f;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-background);
    color: var(--color-text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 16px;
}

.app-name {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

/* Content */
.content {
    flex: 1;
}

.section {
    background-color: var(--color-card);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--color-border);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.term-item {
    margin-bottom: 1.5rem;
}

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

.term-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.term-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.footer-text-muted {
    font-size: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .logo {
        width: 64px;
        height: 64px;
    }

    .app-name {
        font-size: 2rem;
    }

    .section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .term-title {
        font-size: 1rem;
    }

    .term-text {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 0.75rem;
    }

    .section {
        padding: 1.25rem;
        border-radius: 8px;
    }

    .section-title {
        font-size: 1.25rem;
    }
}

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

    .header {
        border-bottom: 2px solid #000;
    }

    .section {
        background-color: white;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

    .footer {
        border-top: 2px solid #000;
    }
}

