/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6B4CE6;
    --primary-dark: #5438B8;
    --secondary-color: #FFB6C1;
    --accent-color: #FFA07A;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #6B4CE6 0%, #9B7CE8 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--primary-dark);
}

/* Header */
header {
    background: var(--gradient);
    color: var(--white);
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white) !important;
    white-space: nowrap;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    color: var(--white) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
    color: var(--white) !important;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 3rem 1.5rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
    line-height: 1.5;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Content Section */
.content-section {
    padding: 3rem 1.5rem;
}

.content-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.content-section h3 {
    font-size: 1.35rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.content-section h4 {
    font-size: 1.1rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.content-section ul, .content-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Card */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

/* Button */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    background: var(--primary-color);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(107, 76, 230, 0.3);
    background: var(--primary-dark);
    color: var(--white) !important;
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-dark) !important;
}

.btn-secondary:hover {
    background: #FF9EB0;
    color: var(--text-dark) !important;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2.5rem 1.5rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 0.75rem;
    color: var(--white);
    font-size: 1rem;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.35rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8) !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Privacy Policy Specific Styles */
.privacy-section {
    margin-bottom: 1.5rem;
}

.privacy-section h2 {
    font-size: 1.5rem;
}

.privacy-section h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.privacy-section h4 {
    font-size: 1.05rem;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.last-updated {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 1.5rem auto;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Product hero card */
.product-hero-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.product-hero-card .product-emoji {
    font-size: 60px;
    line-height: 1;
}

/* CTA section */
.cta-section {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-top: 3rem;
}

.cta-section h2 {
    margin-bottom: 0.75rem;
}

.cta-section p {
    margin-bottom: 1.5rem;
}

/* Tablet - 600px+ */
@media (min-width: 600px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .card {
        padding: 2rem;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop - 900px+ */
@media (min-width: 900px) {
    header {
        padding: 1rem 0;
    }

    .hero {
        padding: 4rem 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .content-section {
        padding: 4rem 2rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }

    .card {
        padding: 2rem;
    }

    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .contact-form {
        max-width: 600px;
    }
}

/* Mobile nav - under 768px */
@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }

    nav ul.open {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    nav ul li a:hover {
        background: rgba(255,255,255,0.1);
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .product-hero-card {
        flex-direction: column;
        text-align: center;
    }

    .product-hero-card .product-emoji {
        font-size: 50px;
    }

    .btn {
        display: block;
        text-align: center;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn + .btn {
        margin-top: 0.75rem;
    }
}

/* Sensitive Data Notice */
.sensitive-data-notice {
    background-color: #fff8e1;
    border-left: 4px solid #f9a825;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.sensitive-data-notice h4 {
    color: #e65100;
    margin-bottom: 0.75rem;
}

/* Legal Basis Table */
.legal-basis-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

.legal-basis-table th,
.legal-basis-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.legal-basis-table thead th {
    background: var(--gradient);
    color: white;
    font-weight: 600;
}

.legal-basis-table tbody tr:hover {
    background-color: var(--bg-light);
}

@media (max-width: 768px) {
    .legal-basis-table {
        font-size: 0.85rem;
    }
    .legal-basis-table th,
    .legal-basis-table td {
        padding: 0.5rem 0.6rem;
    }
}
