/*
Theme Name: RGPD Digital
Theme URI: https://rgpd-digital.com/rgpd-digital
Author: Easy Software
Author URI: https://www.behance.net/marcocruzfit
Description: A professional, high-conversion one-page theme for RGPD compliance services.
Version: 1.01
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rgpd-digital
*/

:root {
    /* Colors */
    --primary: #4F46E5;
    /* Indigo 600 */
    --primary-dark: #4338CA;
    /* Indigo 700 */
    --secondary: #1F2937;
    /* Gray 800 */
    --accent: #EEF2FF;
    /* Indigo 50 */
    --text-main: #374151;
    /* Gray 700 */
    --text-light: #6B7280;
    /* Gray 500 */
    --bg-light: #F9FAFB;
    /* Gray 50 */
    --bg-white: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;

    /* Spacing */
    --container-width: 1100px;
    --section-padding: 5rem 1.5rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
}

h1,
h2,
h3,
h4 {
    color: var(--secondary);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.text-red {
    color: var(--danger);
}

.text-orange {
    color: var(--warning);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    width: 100%;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-large {
    font-size: 1.25rem;
    padding: 1rem 3rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.2s ease;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    background: transparent;
    border: 2px solid var(--primary);
}

.btn-back:hover {
    color: white;
    background: var(--primary);
    transform: translateX(-5px);
}

.legal-page {
    padding: 4rem 0;
}

.legal-page h1 {
    margin-bottom: 2rem;
    color: var(--secondary);
    font-size: 2.5rem;
}

.legal-page h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-size: 1.5rem;
}

.legal-page p,
.legal-page li {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.legal-page ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    list-style: disc;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(to bottom right, #ffffff, #f3f4f6);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Hero Visual - CSS Illustration */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-illustration {
    position: relative;
    width: 100%;
    height: 100%;
}

.shield-icon {
    font-size: 12rem;
    color: var(--primary);
    opacity: 0.1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.floating-card {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.c1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.c2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.c3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Audience Section */
.audience {
    padding: var(--section-padding);
    background-color: var(--bg-white);
}

.audience-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.audience-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 200px;
}

.audience-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    background: var(--accent);
    padding: 1rem;
    border-radius: 50%;
}

.audience-item p {
    font-weight: 500;
}

/* Problem Section */
.problem {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.problem-col {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.problem-col h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.problem-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.problem-list li::before {
    content: "•";
    color: var(--text-light);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.consequences {
    border-left: 4px solid var(--warning);
}

.center-btn {
    text-align: center;
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding);
}

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

.pricing-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price {
    margin: 1.5rem 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.original {
    text-decoration: line-through;
    color: var(--text-light);
}

.tag {
    background: #DCFCE7;
    color: #166534;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.features-list {
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.features-list i {
    color: var(--success);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.full-width {
    width: 100%;
}

/* Process Section */
.process {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step {
    position: relative;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
}

/* Why Me Section */
.why-me {
    padding: var(--section-padding);
    background-color: #F3F4F6;
    /* Light gray as requested */
}

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

.feature {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.feature i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials {
    padding: var(--section-padding);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #f3f4f6;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 3rem;
    height: 3rem;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.info strong {
    display: block;
    color: var(--secondary);
}

.info span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* FAQ */
.faq {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: white;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 3rem;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 400;
}

details[open] summary::after {
    content: "-";
}

details p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    border-top: 1px solid #f3f4f6;
    padding-top: 1rem;
}

/* CTA Final */
.cta-final {
    padding: 6rem 1.5rem;
    background-color: var(--secondary);
    color: white;
    text-align: center;
}

.cta-final h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-final p {
    color: #9CA3AF;
    margin-bottom: 2.5rem;
    font-size: 1.25rem;
}

/* Footer */
footer {
    background-color: #111827;
    color: #9CA3AF;
    padding: 3rem 0;
    font-size: 0.875rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-visual {
        height: 300px;
    }

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

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* RGPD Premium Cookie Banner */
.rgpd-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 380px;
    max-width: calc(100% - 48px);
    z-index: 10000;
    font-family: 'Outfit', sans-serif;
    animation: slideInFloat 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.rgpd-banner.hidden {
    display: none !important;
    pointer-events: none;
}

.rgpd-glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 10px 40px -10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    border-radius: 20px;
    padding: 1.5rem;
}

.rgpd-banner-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.rgpd-icon svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 4px 6px rgba(79, 70, 229, 0.2));
}

.rgpd-text h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.rgpd-text p {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.4;
    margin: 0;
}

.rgpd-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rgpd-main-actions {
    display: flex;
    gap: 0.75rem;
}

.rgpd-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.rgpd-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.rgpd-btn-outline {
    flex: 1;
    background: white;
    border: 1px solid #E5E7EB;
    color: #374151;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.rgpd-btn-outline:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

.rgpd-btn-text {
    background: none;
    border: none;
    color: #6B7280;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
    margin: 0 auto;
}

.rgpd-btn-text:hover {
    color: #4F46E5;
}

/* Modal Styling */
.rgpd-modal {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.rgpd-modal.hidden {
    display: none;
}

.rgpd-modal-content {
    width: 90%;
    max-width: 480px;
    background: white;
    border-radius: 24px;
    padding: 0;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.rgpd-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #F3F4F6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rgpd-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.rgpd-close-btn {
    background: #F3F4F6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    color: #6B7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.rgpd-close-btn:hover {
    background: #E5E7EB;
    color: #111827;
}

.rgpd-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.rgpd-modal-desc {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #6B7280;
}

.rgpd-option-card {
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.rgpd-option-info strong {
    display: block;
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 0.2rem;
}

.rgpd-option-info span {
    font-size: 0.8rem;
    color: #9CA3AF;
}

/* Toggle Switch */
.rgpd-toggle {
    position: relative;
    width: 44px;
    height: 24px;
}

.rgpd-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #E5E7EB;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked+.slider {
    background-color: #4F46E5;
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.rgpd-toggle.disabled .slider {
    background-color: #D1D5DB;
    cursor: not-allowed;
}

.rgpd-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #F3F4F6;
}

@keyframes slideInFloat {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .rgpd-banner {
        bottom: 16px;
        right: 16px;
        left: 16px;
        width: auto;
    }
}