/* stylesPrivacy.css - Based on stylesIndex.css */
:root {
    --primary: #7C3AED;       /* Новый основной цвет - фиолетовый */
    --primary-dark: #6D28D9;
    --primary-light: #8B5CF6;
    --accent: #F59E0B;        /* Акцентный цвет - оранжевый */
    --accent-dark: #D97706;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border: #E5E7EB;
    --success: #10B981;
    --error: #EF4444;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header - Minimalist */
.header {
    padding: 1.5rem 0;
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

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

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

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

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Privacy Page Content */
.privacy-content {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.privacy-date {
    color: var(--text-light);
    font-size: 1rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.privacy-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 0.5rem 0;
}

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

.privacy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-section li::marker {
    color: var(--primary);
}

/* Back to Home Button */
.back-to-home {
    text-align: center;
    margin: 3rem 0 2rem;
}

.secondary-btn {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid var(--primary);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #9CA3AF;
    font-size: 0.8rem;
    margin-top: 1rem;
    text-align: center;
}

/* Terms Page Specific Styles */
.terms-hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.last-updated, .version {
    background: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

/* Quick Navigation */
.quick-nav {
    padding: 3rem 0;
    background: var(--bg-white);
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.nav-item:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.1);
    border-color: var(--primary);
}

.nav-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.nav-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Terms Content */
.terms-content {
    padding: 4rem 0;
    background: var(--bg-white);
}

.terms-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.terms-intro h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.terms-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.terms-section {
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.section-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.content-card:hover {
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.content-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* Responsibility List */
.responsibility-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.responsibility-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.responsibility-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.responsibility-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.responsibility-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rights-column {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.rights-column h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.rights-column ul {
    list-style: none;
    padding: 0;
}

.rights-column li {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.rights-column li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Legal Cards */
.legal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.legal-card:hover {
    background: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light);
}

.legal-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

/* Policy Info */
.policy-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.policy-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.policy-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 4rem 0;
    text-align: center;
}

.contact-content h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
}

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

.contact-details {
    text-align: left;
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-details small {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header {
        padding: 1rem 0;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 0.75rem 1.5rem;
        width: 100%;
    }

    .nav-links li {
        flex: 1 1 auto;
        text-align: center;
    }

    .nav-links a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    /* Privacy page mobile styles */
    .privacy-content {
        padding: 2rem 0;
    }

    .privacy-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .privacy-date {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .privacy-section {
        margin-bottom: 2rem;
    }

    .privacy-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .privacy-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .privacy-section p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .privacy-section ul, .privacy-section ol {
        margin-bottom: 1rem;
    }

    .privacy-section li {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }

    .back-to-home {
        margin-top: 3rem;
        text-align: center;
        padding: 2rem 0;
    }

    .back-link {
        font-size: 1rem;
        padding: 0.75rem 2rem;
    }

    .terms-hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-meta-item {
        font-size: 0.9rem;
    }

    .quick-nav {
        padding: 2rem 0;
    }

    .nav-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-item {
        padding: 1.25rem;
        text-align: center;
    }

    .nav-icon {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .nav-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .nav-item p {
        font-size: 0.9rem;
    }

    .content-grid,
    .rights-grid,
    .legal-cards,
    .policy-info,
    .responsibility-list {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-details {
        text-align: center;
    }

    .terms-content {
        padding: 2rem 0;
    }

    .terms-intro {
        margin-bottom: 2rem;
        text-align: center;
    }

    .terms-intro h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .terms-intro p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .terms-section {
        margin-bottom: 2.5rem;
    }

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

    .section-header h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .content-card {
        padding: 1.25rem;
    }

    .content-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .content-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .responsibility-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .responsibility-item {
        padding: 1rem;
        text-align: center;
    }

    .responsibility-icon {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .responsibility-content h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .responsibility-content p {
        font-size: 0.9rem;
    }

    .rights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rights-column h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .rights-column ul {
        margin-bottom: 1rem;
    }

    .rights-column li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .legal-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .legal-card {
        padding: 1.25rem;
        text-align: center;
    }

    .legal-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .legal-card p {
        font-size: 0.9rem;
    }

    .policy-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .policy-item {
        padding: 1rem;
    }

    .policy-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .policy-item p {
        font-size: 0.9rem;
    }

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

/* Desktop Enhancements */
@media (min-width: 769px) {
    .footer-links {
        justify-content: space-between;
        max-width: 800px;
        margin: 0 auto;
    }
}
