/* Styles for Features, Privacy, Security, Terms, Cookies pages */

/* Features Page */
.features-hero {
    background: linear-gradient(135deg, #0967ea 0%, #0052cc 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.features-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.features-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #0967ea;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(9, 103, 234, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    color: #0967ea;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.features-highlight {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.highlight-content {
    max-width: 900px;
    margin: 0 auto;
}

.highlight-content h2 {
    color: #0967ea;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: "✓";
    color: #0967ea;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.3rem;
}

.feature-list li strong {
    color: #0967ea;
    margin-right: 0.5rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
    background: #0967ea;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: #f8f9fa;
}

.check-icon {
    color: #28a745;
    font-weight: bold;
    font-size: 1.3rem;
}

.x-icon {
    color: #dc3545;
    font-weight: bold;
}

/* Privacy, Security, Terms, Cookies Common Styles */
.policy-hero,
.security-hero,
.terms-hero,
.cookies-hero {
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.policy-hero {
    background: linear-gradient(135deg, #0967ea 0%, #0052cc 100%);
}

.security-hero {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.terms-hero {
    background: linear-gradient(135deg, #6f42c1 0%, #5009a6 100%);
}

.cookies-hero {
    background: linear-gradient(135deg, #fd7e14 0%, #e65100 100%);
}

.policy-hero h1,
.security-hero h1,
.terms-hero h1,
.cookies-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.policy-hero p,
.security-hero p,
.terms-hero p,
.cookies-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.policy-container,
.terms-container,
.cookies-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.policy-section,
.terms-section,
.cookies-section,
.section {
    margin-bottom: 2.5rem;
}

.policy-section h2,
.terms-section h2,
.cookies-section h2,
.section h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e0e0e0;
    font-size: 1.5rem;
}

.policy-section h3,
.terms-section h3,
.cookies-section h3,
.section h3 {
    color: #333;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.policy-section p,
.terms-section p,
.cookies-section p,
.section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section ul,
.terms-section ul,
.cookies-section ul,
.section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section li,
.terms-section li,
.cookies-section li,
.section li {
    margin-bottom: 0.8rem;
    color: #555;
    line-height: 1.6;
}

.toc {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.toc h3 {
    color: #0967ea;
    margin-bottom: 1rem;
}

.toc ul {
    list-style: none;
    padding: 0;
}

.toc li {
    padding: 0.5rem 0;
}

.toc a {
    color: #0967ea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.toc a:hover {
    text-decoration: underline;
}

.highlight-box {
    background: #f8f9fa;
    border-left: 4px solid #0967ea;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.highlight-box strong {
    color: #0967ea;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.security-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #28a745;
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(40, 167, 69, 0.15);
}

.security-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.security-card h3 {
    color: #28a745;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.security-card p {
    color: #666;
    line-height: 1.6;
}

.section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section h2 {
    color: #28a745;
    font-size: 1.8rem;
    padding-bottom: 1rem;
}

.section h3 {
    color: #333;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    color: #555;
}

.checklist li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    font-size: 1.3rem;
    margin-right: 0.8rem;
    min-width: 24px;
}

.encryption-diagram {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #28a745;
}

.encryption-diagram p {
    color: #333;
    margin-bottom: 0.5rem;
}

.flow-step {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.step-number {
    background: #28a745;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
    min-width: 40px;
}

.step-content {
    flex: 1;
}

.step-content strong {
    color: #28a745;
}

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.success-box {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 1.5rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.success-box strong {
    color: #155724;
}

.last-updated {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    color: #0967ea;
}

.important-notice {
    background: #ffe0e0;
    border-left: 4px solid #dc3545;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.cookie-type {
    background: #f8f9fa;
    border-left: 4px solid #fd7e14;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.cookie-type h4 {
    color: #fd7e14;
    margin-top: 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie-table th {
    background: #fd7e14;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.cookie-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:nth-child(even) {
    background: #f8f9fa;
}

.toggle-switch {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.toggle-checkbox {
    width: 50px;
    height: 26px;
    background: #ccc;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-checkbox.active {
    background: #fd7e14;
}

.toggle-checkbox::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: 0.3s;
}

.toggle-checkbox.active::after {
    left: 26px;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 4px solid #fd7e14;
}

.faq-item h4 {
    color: #fd7e14;
    margin-top: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.faq-item h4::before {
    content: '▶';
    margin-right: 0.5rem;
    transition: 0.3s;
}

.faq-item.open h4::before {
    transform: rotate(90deg);
}

.faq-item p {
    margin: 0;
    display: none;
}

.faq-item.open p {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-hero h1,
    .policy-hero h1,
    .security-hero h1,
    .terms-hero h1,
    .cookies-hero h1 {
        font-size: 1.8rem;
    }

    .features-hero p,
    .policy-hero p,
    .security-hero p,
    .terms-hero p,
    .cookies-hero p {
        font-size: 1rem;
    }

    .policy-container,
    .terms-container,
    .cookies-container,
    .section {
        padding: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .cookie-table {
        font-size: 0.9rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem;
    }
}
