:root {
    color-scheme: dark light;
    color: #0f172a;
    background: #f8fafc;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

img {
    max-width: 100%;
    display: block;
}

button,
a {
    font: inherit;
}

body {
    background: #f1f5f9;
    color: #0f172a;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(15,23,42,0.08);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
}

.brand img {
    width: 48px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav ul li a:hover {
    color: #2563eb;
}

.hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 58%, #38bdf8 100%);
    color: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2rem;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.9);
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.02;
}

.hero-copy p {
    max-width: 38rem;
    margin: 1.5rem 0;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.7rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 16px 40px rgba(15,23,42,0.12);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.9);
    color: #ffffff;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: min(320px, 100%);
    border-radius: 1.5rem;
    box-shadow: 0 32px 70px rgba(15,23,42,0.24);
    background: rgba(255,255,255,0.12);
    padding: 1rem;
}

.stats-section {
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 12px 30px rgba(15,23,42,0.08);
}

.stat-card h3 {
    margin: 0 0 1rem;
    font-size: 2rem;
    color: #2563eb;
}

.section-heading {
    text-align: center;
    padding: 0 0 1rem;
}

.section-label {
    display: inline-flex;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #2563eb;
    margin-bottom: 0.75rem;
}

.section-heading h2,
.about-section h2,
.contact-section h2 {
    margin: 0.5rem 0 0;
    font-size: clamp(2rem, 2.6vw, 2.8rem);
    line-height: 1.05;
}

.servis-grid,
.serveis-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.servei {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(15,23,42,0.06);
    box-shadow: 0 16px 40px rgba(15,23,42,0.05);
}

.servei h3 {
    margin-top: 0;
    color: #0f172a;
}

.about-section {
    padding: 3rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.about-grid p {
    max-width: 38rem;
}

.about-grid ul {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.about-grid li {
    position: relative;
    padding-left: 1.5rem;
}

.about-grid li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.6rem;
    height: 0.6rem;
    background: #2563eb;
    border-radius: 50%;
}

.about-image {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15,23,42,0.12);
}

.about-image svg {
    display: block;
    width: 100%;
    height: auto;
}

.contact-section {
    padding: 3rem 0 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    align-items: start;
}

.contact-info {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 18px 48px rgba(15,23,42,0.08);
}

.contact-info ul {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.contact-info li strong {
    display: inline-block;
    width: 5.5rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
    background: #ffffff;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 18px 48px rgba(15,23,42,0.08);
}

label {
    font-weight: 600;
    color: #0f172a;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(15,23,42,0.16);
    border-radius: 0.95rem;
    padding: 1rem;
    background: #f8fafc;
    color: #0f172a;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.12);
}

footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 2rem 0;
}

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

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    background: rgba(15, 23, 42, 0.96);
    color: #f8fafc;
    transform: translateY(110%);
    transition: transform 0.25s ease, opacity 0.25s ease;
    visibility: hidden;
    opacity: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.cookie-banner.show {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

.cookie-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.cookie-banner strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.cookie-banner p {
    margin: 0;
    max-width: 40rem;
    color: #d1d5db;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-banner .btn {
    min-width: 4.75rem;
}

.cookie-decline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    color: #ffffff;
}

.cookie-decline:hover {
    background: rgba(255,255,255,0.1);
}

.btn-link {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    color: #ffffff;
}

.btn-link:hover {
    background: rgba(255,255,255,0.08);
}

.checkbox-label {
    display: grid;
    gap: 0.5rem;
    font-weight: 500;
    color: #0f172a;
}

.checkbox-label input {
    width: auto;
    margin-right: 0.5rem;
}

.form-note {
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
}

.cookie-link {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.85);
    color: #ffffff;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    text-decoration: none;
}

.cookie-link:hover {
    background: rgba(255,255,255,0.08);
}

/* Cookies Page */
.cookies-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: #ffffff;
    text-align: center;
}

.cookies-hero h1 {
    font-size: 2.8rem;
    margin: 1rem 0;
    font-weight: 700;
}

.cookies-hero .lead {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 0;
    opacity: 0.95;
    line-height: 1.8;
}

.cookies-hero .section-label {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
}

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

.cookie-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(15,23,42,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(15,23,42,0.06);
}

.cookie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}

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

.cookie-card h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #0f172a;
}

.cookie-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cookies-detail-section {
    padding: 3rem 0;
    background: #ffffff;
}

.cookies-content {
    margin-bottom: 4rem;
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 1.25rem;
    border-left: 4px solid #2563eb;
}

.cookies-content h2 {
    color: #0f172a;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.cookies-content > p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 1rem;
    margin-top: 1.5rem;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15,23,42,0.08);
}

.cookies-table thead {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
}

.cookies-table th {
    padding: 0.85rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    letter-spacing: 0.5px;
}

.cookies-table td {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgba(15,23,42,0.06);
    color: #0f172a;
    font-size: 0.9rem;
}

.cookies-table .cookie-name {
    font-family: 'Monaco', 'Courier New', monospace;
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2563eb;
}

.cookies-table .duration {
    background: #e0e7ff;
    color: #2563eb;
    padding: 0.25rem 0.5rem;
    border-radius: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.cookies-table .badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.cookies-table .badge.analytics {
    background: #dbeafe;
    color: #0c4a6e;
}

.cookies-table .badge.other {
    background: #fecdd3;
    color: #831843;
}

.cookies-table tbody tr:last-child td {
    border-bottom: none;
}

.cookies-table tbody tr:hover {
    background: #f0f9ff;
}

.cookies-faq {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(15,23,42,0.08);
}

.cookies-faq h2 {
    color: #0f172a;
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 2rem;
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(15,23,42,0.08);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    color: #2563eb;
    font-size: 1.05rem;
    margin: 0 0 0.75rem 0;
    font-weight: 600;
}

.faq-item p {
    color: #475569;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 900px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookies-hero h1 {
        font-size: 2.2rem;
    }

    .cookies-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .cookies-content,
    .cookies-faq {
        padding: 1.5rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .about-grid,
    .contact-grid,
    .stats-grid,
    .serveis-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 3rem;
    }
}

@media (max-width: 680px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

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

    .cookies-hero h1 {
        font-size: 1.8rem;
    }

    .cookies-hero .lead {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookies-grid {
        grid-template-columns: 1fr;
    }

    .table-wrapper {
        font-size: 0.8rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .cookies-table .cookie-name {
        font-size: 0.7rem;
        padding: 0.2rem 0.3rem;
    }
}

@media (max-width: 520px) {
    .container {
        width: calc(100% - 1.5rem);
    }

    .btn {
        width: 100%;
    }

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

    .cookies-hero h1 {
        font-size: 1.5rem;
    }
}
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .about-grid,
    .contact-grid,
    .stats-grid,
    .serveis-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 3rem;
    }
}

@media (max-width: 680px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 520px) {
    .container {
        width: calc(100% - 1.5rem);
    }

    .btn {
        width: 100%;
    }
}

/* Enhanced Legal and Privacy Styles */
.legal-hero,
.privacy-hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.legal-hero::before,
.privacy-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.5;
}

.legal-hero h1,
.privacy-hero h1 {
    font-size: 3.5rem;
    margin: 1rem 0;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.legal-hero .lead,
.privacy-hero .lead {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 1.5rem auto 0;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 300;
}

.legal-hero .section-label,
.privacy-hero .section-label {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.info-cards-grid,
.privacy-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.info-card,
.privacy-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 3rem 2rem;
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(15,23,42,0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(15,23,42,0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.info-card::before,
.privacy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #60a5fa);
}

.info-card:hover,
.privacy-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 32px 80px rgba(15,23,42,0.15);
}

.info-card .card-icon,
.privacy-card .card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.info-card h3,
.privacy-card h3 {
    font-size: 1.4rem;
    margin: 0.5rem 0 1rem;
    color: #0f172a;
    font-weight: 700;
}

.info-card p,
.privacy-card p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.legal-details-section,
.privacy-details-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.legal-content,
.privacy-content {
    margin-bottom: 5rem;
    background: #ffffff;
    padding: 4rem;
    border-radius: 2rem;
    box-shadow: 0 25px 80px rgba(15,23,42,0.12);
    border-left: 6px solid #2563eb;
    position: relative;
}

.legal-content::after,
.privacy-content::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 2.2rem;
    z-index: -1;
    opacity: 0.05;
}

.legal-content h2,
.privacy-content h2 {
    color: #0f172a;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 2rem;
    border-bottom: 3px solid #2563eb;
    padding-bottom: 1rem;
    font-weight: 700;
}

.legal-content > p,
.privacy-content > p {
    color: #475569;
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.info-block {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 2.5rem;
    border-radius: 1.5rem;
    margin: 2rem 0;
    border: 1px solid #cbd5e1;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row strong {
    color: #0f172a;
    font-weight: 700;
    font-size: 1.05rem;
}

.info-row span {
    color: #475569;
    font-size: 1.05rem;
}

.data-categories {
    margin: 3rem 0;
}

.category-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
    transition: all 0.3s ease;
}

.category-item:hover {
    border-color: #2563eb;
    box-shadow: 0 12px 32px rgba(37,99,235,0.1);
}

.category-item strong {
    color: #2563eb;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.category-item p {
    margin: 0.5rem 0 0;
    color: #475569;
    line-height: 1.7;
    font-size: 1rem;
}

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

.right-item {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 5px solid #2563eb;
    transition: all 0.3s ease;
}

.right-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(37,99,235,0.15);
}

.right-item strong {
    color: #0f172a;
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.legal-faq,
.privacy-faq {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 4rem;
    border-radius: 2rem;
    box-shadow: 0 25px 80px rgba(15,23,42,0.12);
    border: 1px solid rgba(15,23,42,0.08);
    position: relative;
}

.legal-faq::before,
.privacy-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

.legal-faq h2,
.privacy-faq h2 {
    color: #0f172a;
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
}

.faq-item {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid rgba(15,23,42,0.08);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    color: #2563eb;
    font-size: 1.3rem;
    margin: 0 0 1.5rem 0;
    font-weight: 700;
}

.faq-item p {
    color: #475569;
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
}

.faq-item ul {
    margin: 1.5rem 0 0;
    padding-left: 2rem;
}

.faq-item li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

/* Responsive enhancements */
@media (max-width: 900px) {
    .legal-hero h1,
    .privacy-hero h1 {
        font-size: 2.8rem;
    }

    .legal-hero .lead,
    .privacy-hero .lead {
        font-size: 1.15rem;
    }

    .info-cards-grid,
    .privacy-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .legal-content,
    .privacy-content,
    .legal-faq,
    .privacy-faq {
        padding: 2.5rem;
    }

    .rights-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 680px) {
    .legal-hero,
    .privacy-hero {
        padding: 4rem 0;
    }

    .legal-hero h1,
    .privacy-hero h1 {
        font-size: 2.2rem;
    }

    .info-cards-grid,
    .privacy-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .info-block {
        padding: 2rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .legal-content h2,
    .privacy-content h2,
    .legal-faq h2,
    .privacy-faq h2 {
        font-size: 2rem;
    }
}

/* Legal and Privacy Pages Styles */
.legal-hero,
.privacy-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: #ffffff;
    text-align: center;
}

.legal-hero h1,
.privacy-hero h1 {
    font-size: 3rem;
    margin: 1rem 0;
    font-weight: 700;
}

.legal-hero .lead,
.privacy-hero .lead {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 0;
    opacity: 0.95;
    line-height: 1.8;
}

.legal-hero .section-label,
.privacy-hero .section-label {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
}

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

.info-card,
.privacy-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 12px 32px rgba(15,23,42,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(15,23,42,0.06);
    text-align: center;
}

.info-card:hover,
.privacy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(15,23,42,0.12);
}

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

.info-card h3,
.privacy-card h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
    color: #0f172a;
}

.info-card p,
.privacy-card p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.legal-details-section,
.privacy-details-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.legal-content,
.privacy-content {
    margin-bottom: 4rem;
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 16px 40px rgba(15,23,42,0.08);
    border-left: 5px solid #2563eb;
}

.legal-content h2,
.privacy-content h2 {
    color: #0f172a;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.legal-content > p,
.privacy-content > p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.info-block {
    background: #f1f5f9;
    padding: 2rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row strong {
    color: #0f172a;
    font-weight: 600;
}

.info-row span {
    color: #475569;
}

.data-categories {
    margin: 2rem 0;
}

.category-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15,23,42,0.04);
}

.category-item strong {
    color: #2563eb;
    font-size: 1.1rem;
}

.category-item p {
    margin: 0.5rem 0 0;
    color: #475569;
    line-height: 1.6;
}

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

.right-item {
    background: #f0f9ff;
    padding: 1rem;
    border-radius: 0.75rem;
    border-left: 4px solid #2563eb;
}

.right-item strong {
    color: #0f172a;
    display: block;
    margin-bottom: 0.5rem;
}

.legal-faq,
.privacy-faq {
    background: #ffffff;
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 16px 40px rgba(15,23,42,0.08);
    border: 1px solid rgba(15,23,42,0.08);
}

.legal-faq h2,
.privacy-faq h2 {
    color: #0f172a;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(15,23,42,0.08);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    color: #2563eb;
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.faq-item p {
    color: #475569;
    line-height: 1.8;
    margin: 0;
}

.faq-item ul {
    margin: 1rem 0 0;
    padding-left: 1.5rem;
}

.faq-item li {
    margin-bottom: 0.5rem;
}

/* Responsive for legal and privacy */
@media (max-width: 900px) {
    .legal-hero h1,
    .privacy-hero h1 {
        font-size: 2.5rem;
    }

    .legal-hero .lead,
    .privacy-hero .lead {
        font-size: 1.1rem;
    }

    .info-cards-grid,
    .privacy-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .legal-content,
    .privacy-content,
    .legal-faq,
    .privacy-faq {
        padding: 2rem;
    }

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

@media (max-width: 680px) {
    .legal-hero,
    .privacy-hero {
        padding: 3rem 0;
    }

    .legal-hero h1,
    .privacy-hero h1 {
        font-size: 2rem;
    }

    .info-cards-grid,
    .privacy-cards-grid {
        grid-template-columns: 1fr;
    }

    .info-block {
        padding: 1.5rem;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}
