/* 
 * CLARO EU - Premium Styles
 * Modern CSS Reset & Variables
 */

:root {
    /* Color Palette */
    --primary: #0056b3; /* Deep Royal Blue */
    --primary-light: #3b82f6;
    --primary-dark: #003d82;
    --secondary: #facc15; /* Golden Yellow */
    --accent: #ef4444; /* Alert Red */
    
    /* Neutrals */
    --bg-body: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.5);
    
    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
ul { list-style: none; }

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

.text-primary { color: var(--primary); }
.text-white { color: white; }
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-light { background-color: #f1f5f9; }
.bg-blue { background-color: #dbeafe; color: #1e40af; }
.bg-green { background-color: #dcfce7; color: #166534; }
.bg-purple { background-color: #f3e8ff; color: #6b21a8; }

.section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-title { font-size: 2.25rem; margin-bottom: 1rem; }
.section-desc { font-size: 1.125rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

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

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

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

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

.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-full { width: 100%; }

.shadow-glow { box-shadow: var(--shadow-glow); }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo-symbol { font-size: 1.75rem; }

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

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu-overlay.active { transform: translateY(0); }

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--border-light) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.5;
    z-index: -1;
}

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

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #eff6ff;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--border-light);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Form Card (Glassmorphism) */
.form-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.form-header { margin-bottom: 1.5rem; text-align: center; }
.form-header h3 { font-size: 1.5rem; }

.input-group { margin-bottom: 1rem; }
.input-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
    background-color: white;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-privacy {
    font-size: 0.75rem;
    text-align: center;
    margin-top: 1rem;
    color: var(--text-muted);
}

/* Trust Bar */
.trust-bar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 0;
    text-align: center;
}

.trust-bar p { margin-bottom: 1rem; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.flags-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-weight: 500;
    color: var(--text-muted);
}

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

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-light);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

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

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

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

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    z-index: 1;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary);
    color: var(--text-main);
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header { text-align: center; margin-bottom: 2rem; }
.price { font-size: 3rem; font-weight: 800; color: var(--text-main); margin: 0.5rem 0; }

.pricing-features { margin-bottom: 2rem; }
.pricing-features li { margin-bottom: 0.75rem; font-size: 0.95rem; }

/* FAQ Accordion */
.accordion { max-width: 800px; margin: 0 auto; }

.accordion-item {
    border-bottom: 1px solid var(--border-light);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s;
}

.accordion-header.active::after { transform: rotate(45deg); }

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-body p { padding-bottom: 1.5rem; }

/* Footer */
.footer {
    background-color: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-brand p { color: #94a3b8; max-width: 300px; }
.footer-links h4 { color: white; margin-bottom: 1.5rem; }
.footer-links a { display: block; color: #94a3b8; margin-bottom: 0.75rem; }
.footer-links a:hover { color: white; }

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

/* Comparison Section */
.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    align-items: center;
}

.comp-bad, .comp-good {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.comp-bad { color: var(--text-muted); }
.comp-good { color: var(--text-main); }

.cross { color: var(--accent); font-size: 1.25rem; }
.check { color: #10b981; font-size: 1.25rem; }

/* Alert Box */
.alert-box {
    background-color: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
    display: inline-block;
}

/* Pricing Updates */
.pricing-grid.two-cols {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.price-sub {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

.pricing-excludes {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-light);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pricing-excludes ul { margin-top: 0.5rem; }
.pricing-excludes li { margin-bottom: 0.25rem; }

/* Additional Services */
.additional-services {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

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

.service-item {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    text-align: center;
}

.service-item h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.service-price { font-weight: 700; color: var(--primary); }

/* Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-light);
    position: relative;
    transition: transform 0.2s;
}

.resource-card:hover { transform: translateY(-3px); }

.resource-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #dbeafe;
    color: var(--primary);
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-weight: 700;
}

.resource-badge.bg-purple { background: #f3e8ff; color: #6b21a8; }

.resource-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.resource-card p { font-size: 0.875rem; margin-bottom: 1.5rem; }

/* Brevo Form Overrides */
#sib-form-container { padding: 0; }
#sib-container { padding: 0 !important; }
#sib-form { padding: 0; }

#sib-container .entry__label {
    font-family: var(--font-sans) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: var(--text-main) !important;
    margin-bottom: 0.4rem;
}

#sib-container .input {
    font-family: var(--font-sans) !important;
    font-size: 0.95rem !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 0.5rem !important;
    padding: 0.65rem 0.75rem !important;
    color: var(--text-main) !important;
    background-color: white !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

#sib-container .input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
}

.brevo-submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: var(--primary) !important;
    color: white !important;
    font-family: var(--font-sans) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 0.5rem !important;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-glow);
}

.brevo-submit-btn:hover {
    background-color: var(--primary-dark) !important;
    box-shadow: var(--shadow-md) !important;
    transform: translateY(-1px);
}

.brevo-submit-btn:active { transform: translateY(0); }

#sib-container .entry__error {
    border-radius: 6px !important;
    font-family: var(--font-sans) !important;
    font-size: 0.8rem !important;
}

#sib-container .sib-form-message-panel {
    max-width: 100% !important;
    border-radius: 8px !important;
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 968px) {
    .comparison-item { grid-template-columns: 1fr; gap: 1rem; }
    .pricing-grid.two-cols { grid-template-columns: 1fr; }

    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-stats { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .timeline::before { left: 50%; transform: translateX(-50%); }
    .timeline-item { flex-direction: column; align-items: center; text-align: center; }
    .timeline-number { margin-bottom: 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-brand p { margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: flex; }
    .pricing-card.popular { transform: scale(1); }
    h1 { font-size: 2rem; }
}

/* Brevo Form Overrides */
.sib-form {
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
}

#sib-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.sib-form input.input,
.sib-form select.input {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 0.5rem !important;
    font-size: 1rem !important;
    font-family: var(--font-sans) !important;
    background-color: white !important;
    box-sizing: border-box !important;
    color: var(--text-main) !important;
}

.sib-form .entry__label {
    font-family: var(--font-sans) !important;
    color: var(--text-main) !important;
    font-size: 0.875rem !important;
    margin-bottom: 0.5rem !important;
}

.sib-form .sib-form-block {
    padding: 0 !important;
}

.sib-form .sib-form-block__button {
    background-color: var(--primary) !important;
    color: white !important;
    border-radius: 0.5rem !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: background-color 0.2s, box-shadow 0.2s !important;
}

.sib-form .sib-form-block__button:hover {
    background-color: var(--primary-dark) !important;
    box-shadow: var(--shadow-md) !important;
}
