/* =====================================================
   SCANLIFY - Landing Page Styles
   Modern, Minimal & Professional
   ===================================================== */

/* =====================================================
   1. CSS VARIABLES
   ===================================================== */
:root {
    /* Palette colori - Scanlify */
    --primary: #08384d;
    --primary-light: #08ccad;
    --primary-dark: #062a3a;
    --primary-bg: rgba(8, 204, 173, 0.1);

    /* Colori neutri */
    --gray-50: #F2F2F2;
    --gray-100: #E8E8E8;
    --gray-200: #D1D1D1;
    --gray-300: #B0B0B0;
    --gray-400: #888888;
    --gray-500: #6D6D6D;
    --gray-600: #5D5D5D;
    --gray-700: #4F4F4F;
    --gray-800: #262626;
    --gray-900: #010101;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

/* =====================================================
   2. BASE STYLES
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

p {
    color: var(--gray-600);
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* =====================================================
   3. NAVIGATION
   ===================================================== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.landing-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

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

.nav-logo img {
    height: 40px;
    transition: filter 0.3s ease;
}

.nav-logo svg {
    height: 40px;
}
@media (max-width: 480px) {
  .nav-logo svg {
    height: 30px;
}
}

/* Logo SVG switching */
.nav-logo img {
    transition: opacity 0.3s ease;
}

.nav-logo .logo-dark {
    display: block;
}

.nav-logo .logo-light {
    display: none;
}

/* Logo scrolled - switch to dark version */
.landing-nav.scrolled .nav-logo .logo-dark {
    display: none;
}

.landing-nav.scrolled .nav-logo .logo-light {
    display: block !important;
}

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.landing-nav.scrolled .nav-links a {
    color: var(--gray-600);
}

.nav-links a:hover {
    color: #fff;
}

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

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.language-selector-landing {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-right: 4px;
}

.language-selector-landing .lang-flag {
    opacity: 0.5;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

.language-selector-landing .lang-flag:hover,
.language-selector-landing .lang-flag.active {
    opacity: 1;
}

.nav-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.nav-actions .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.landing-nav.scrolled .nav-actions .btn-outline-light {
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.landing-nav.scrolled .nav-actions .btn-outline-light:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

/* =====================================================
   4. BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.btn-primary {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #06b89b;
    border-color: #06b89b;
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background-color: transparent;
    border-color: var(--gray-300);
    color: var(--gray-700);
}

.btn-outline-light:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-400);
    color: var(--gray-900);
}

.btn .material-symbols-outlined {
    font-size: 20px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

/* =====================================================
   5. HERO SECTION
   ===================================================== */
.hero-section {
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
    min-height: 100vh;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:radial-gradient(circle at 80% 90%, rgba(8, 204, 173, 0.8) 0%, transparent 60%);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(8, 204, 173, 0.2);
    border: 1px solid rgba(8, 204, 173, 0.3);
    border-radius: var(--radius-full, 9999px);
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-light), #5EEAD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Slogan with Animation */
.hero-slogan {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    display: inline-block;
    padding: 0 25px;
}

.slogan-text {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-light), #fff, var(--primary-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slogan-text.shimmer-active {
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

.hero-slogan .quote-mark {
    position: absolute;
    font-size: 2.5rem;
    color: var(--primary);
    font-style: normal;
    line-height: 1;
}

.hero-slogan .quote-open {
    left: 0;
    top: -5px;
}

.hero-slogan .quote-close {
    right: 0;
    bottom: -10px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color:#ffffff;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-cta .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-cta .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Scan Form in Hero */
.scan-form {
    width: 100%;
    max-width: 540px;
}

.scan-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 6px;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.scan-input-group:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(8, 204, 173, 0.15);
}

.scan-input-icon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 22px;
    padding: 0 8px 0 12px;
    flex-shrink: 0;
}

.scan-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    padding: 10px 8px;
    outline: none;
    min-width: 0;
}

.scan-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.scan-btn {
    flex-shrink: 0;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
}

.scan-error {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0 4px;
}

.hero-trial-note {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    margin-top: -1.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    font-size: 0.875rem;
    color: #ffffff;
}

/* Browser Preview with Cookie Banner */
.hero-image {
    padding-left: 2rem;
}

.browser-preview {
    background: #fff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-header {
    padding: 0.75rem 1rem;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.browser-dots {
    display: flex;
    gap: 0.5rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: var(--gray-600);
}

.browser-url .material-symbols-outlined {
    font-size: 14px;
    color: var(--success);
}

.browser-content {
    position: relative;
    min-height: 480px;
    background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
    padding: 1rem;
}

/* Scan Results Mockup */
.scan-results-mockup {
    padding: 0.5rem;
}

.scan-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.scan-mockup-url {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-800);
}

.scan-mockup-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--primary-light);
    background: rgba(8, 204, 173, 0.1);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full, 9999px);
}

.scan-mockup-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scan-mockup-score-area {
    text-align: center;
}

.scan-mockup-gauge {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.25rem;
}

.scan-mockup-gauge .gauge-svg {
    display: block;
    width: 100%;
    max-width: 160px;
}

.gauge-score {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-top: -1.75rem;
}

.gauge-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
}

.scan-mockup-grade {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.grade-letter {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-light);
}

.grade-text {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* AI Visibility Section */
.scan-mockup-ai-section {
    margin-bottom: 0.75rem;
}

.ai-section-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 0.375rem;
}

.scan-mockup-ai-tags {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.ai-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem 0.2rem 0.25rem;
    border-radius: 50px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.ai-tag-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    font-size: 0.45rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    line-height: 1;
}

.ai-tag .material-symbols-outlined {
    font-size: 12px;
}

.ai-tag.visible {
    background: rgba(8, 204, 173, 0.12);
    color: #08ccad;
}

.ai-tag.partial {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.ai-tag.blocked {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.ai-tag.blocked .ai-tag-dot {
    opacity: 0.6;
}

.scan-mockup-criteria {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.criteria-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.criteria-row-left {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    grid-column: 1;
    grid-row: 1;
}

.criteria-row-left .material-symbols-outlined {
    font-size: 15px;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 18;
}

.criteria-row.pass .material-symbols-outlined {
    color: var(--success);
}

.criteria-row.warn .material-symbols-outlined {
    color: var(--warning);
}

.criteria-row.fail .material-symbols-outlined {
    color: var(--danger);
}

.criteria-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-800);
}

.criteria-row-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    grid-column: 2;
    grid-row: 1;
}

.criteria-bar {
    width: 48px;
    height: 5px;
    background: var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.criteria-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.criteria-bar-fill.pass {
    background: var(--success);
}

.criteria-bar-fill.warn {
    background: var(--warning);
}

.criteria-bar-fill.fail {
    background: var(--danger);
}

.criteria-score {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--gray-600);
    min-width: 28px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.criteria-detail {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.6rem;
    color: var(--gray-400);
    padding-left: 1.5rem;
    margin-top: -1px;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    letter-spacing: -0.01em;
}

@media (max-width: 991px) {
    .criteria-detail {
        display: none;
    }
    .browser-content {
        min-height: 380px;
    }
    .scan-mockup-gauge .gauge-svg {
        max-width: 140px;
    }
    .gauge-score {
        font-size: 1.5rem;
        margin-top: -1.5rem;
    }
}

/* Fake Website Elements */
.fake-nav {
    height: 40px;
    background: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.fake-hero {
    text-align: center;
    padding: 1.5rem 0;
}

.fake-title {
    width: 60%;
    height: 24px;
    background: var(--gray-300);
    border-radius: var(--radius-sm);
    margin: 0 auto 0.75rem;
}

.fake-text {
    width: 80%;
    height: 12px;
    background: var(--gray-200);
    border-radius: var(--radius-sm);
    margin: 0 auto 1rem;
}

.fake-btn {
    width: 100px;
    height: 32px;
    background: var(--primary);
    border-radius: var(--radius-md);
    margin: 0 auto;
}

.fake-cards {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.fake-card {
    flex: 1;
    height: 80px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Cookie Banner Preview */
.cookie-banner-preview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 1.25rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 3px solid var(--primary);
    animation: slideUp 0.5s ease 0.5s both;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cookie-icon .material-symbols-outlined {
    font-size: 22px;
    color: var(--primary);
}

.cookie-content {
    flex: 1;
    min-width: 0;
}

.cookie-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.125rem;
}

.cookie-text {
    font-size: 0.6875rem;
    color: var(--gray-500);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cookie-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.375rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-btn.reject {
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
}

.cookie-btn.settings {
    background: var(--gray-100);
    color: var(--gray-700);
}

.cookie-btn.accept {
    background: var(--primary);
    color: #fff;
}

.powered-by {
    font-size: 0.5625rem;
    color: var(--gray-400);
    position: absolute;
    bottom: 0.375rem;
    right: 0.75rem;
}

.powered-by strong {
    color: var(--primary);
}

/* Cookie Banner Preview V2 - Realistic */
.cookie-banner-preview-v2 {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 320px;
    background: #fff;
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    animation: slideInLeft 0.5s ease 1.2s both;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cookie-banner-preview-v2 .cookie-banner-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.625rem;
}

.cookie-banner-preview-v2 .cookie-banner-text {
    font-size: 0.6875rem;
    line-height: 1.5;
    color: var(--gray-600);
    margin: 0 0 0.75rem;
}

.cookie-banner-preview-v2 .cookie-banner-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cookie-banner-preview-v2 .cookie-banner-links a {
    font-size: 0.6875rem;
    color: var(--primary);
    text-decoration: underline;
}

.cookie-banner-preview-v2 .cookie-banner-links .separator {
    color: var(--gray-300);
    font-size: 0.6875rem;
}

.cookie-banner-preview-v2 .cookie-banner-buttons {
    display: flex;
    gap: 0.5rem;
}

.cookie-banner-preview-v2 .cookie-btn-v2 {
    flex: 1;
    padding: 0.5rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-banner-preview-v2 .cookie-btn-v2.accept {
    background: var(--primary);
    color: #fff;
}

.cookie-banner-preview-v2 .cookie-btn-v2.reject {
    background: var(--gray-700);
    color: #fff;
}

.cookie-banner-preview-v2 .cookie-btn-v2.settings {
    background: #fff;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

/* =====================================================
   6. SECTION STYLES
   ===================================================== */
section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--primary-bg);
    border-radius: var(--radius-full, 9999px);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin: 0 auto;
}

/* =====================================================
   7. FEATURES SECTION
   ===================================================== */
.features-section {
    background-color: var(--gray-50);
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon .material-symbols-outlined {
    font-size: 28px;
    color: #fff;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 28;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 0;
}

/* =====================================================
   8. HOW IT WORKS SECTION
   ===================================================== */
.how-section {
    background: #fff;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
}

.step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 0;
}

.step-integrations {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.integration-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #4f46e5;
}

/* Code Preview */
.code-preview {
    background: var(--gray-900);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--gray-800);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #f59e0b; }
.code-dot.green { background: #10b981; }

.code-tabs {
    display: flex;
    margin-left: auto;
    gap: 0.25rem;
}

.code-tab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--gray-400);
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.code-tab:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--gray-200);
}

.code-tab.active {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    color: #fff;
}

.code-title {
    margin-left: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-400);
}

.code-body {
    padding: 1.5rem;
    overflow-x: auto;
}

.code-body pre {
    margin: 0;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.7;
}

.code-body code {
    color: #e2e8f0;
}

.code-comment { color: #64748b; }
.code-tag { color: #f472b6; }
.code-attr { color: #a5b4fc; }
.code-string { color: #86efac; }

/* =====================================================
   9. AGENCIES SECTION
   ===================================================== */
.agencies-section {
    background: var(--gray-50);
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--gray-600);
}

.benefits-list .material-symbols-outlined {
    color: var(--success);
    font-size: 24px;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    flex-shrink: 0;
}

.agency-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-2xl);
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.agency-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.agency-icon .material-symbols-outlined {
    font-size: 40px;
    color: var(--primary);
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 40;
}

.agency-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.agency-card p {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

/* =====================================================
   9B. TERMS & CONDITIONS SECTION
   ===================================================== */
.terms-section {
    background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.terms-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.terms-preview-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
}

.terms-preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.terms-preview-header .material-symbols-outlined {
    font-size: 2rem;
    color: #8bc34a;
    background: rgba(139, 195, 74, 0.1);
    padding: 0.75rem;
    border-radius: var(--radius-lg);
}

.terms-preview-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--gray-900);
}

.terms-preview-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.preview-step:hover {
    background: var(--gray-100);
    transform: translateX(4px);
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-200);
    color: var(--gray-500);
    flex-shrink: 0;
}

.step-icon .material-symbols-outlined {
    font-size: 1.25rem;
}

.step-icon.completed {
    background: #8bc34a;
    color: #fff;
}

.step-icon.active {
    background: var(--primary);
    color: #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(105, 195, 199, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(105, 195, 199, 0); }
}

.step-info {
    display: flex;
    flex-direction: column;
}

.step-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    font-weight: 600;
}

.step-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-800);
}

.terms-preview-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.preview-languages {
    display: flex;
    gap: 0.5rem;
}

.preview-languages .fi {
    font-size: 1.25rem;
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.preview-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-style: italic;
}

@media (max-width: 991.98px) {
    .terms-preview-card {
        margin-top: 2rem;
    }
}

/* =====================================================
   10. GOOGLE CONSENT MODE SECTION
   ===================================================== */
.consent-mode-section {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.consent-mode-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.03) 0%, rgba(52, 168, 83, 0.03) 50%, rgba(251, 188, 4, 0.03) 100%);
    pointer-events: none;
}

.consent-mode-stats {
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(66, 133, 244, 0.1) 100%);
    border-radius: var(--radius-xl);
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--primary);
}

.stat-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    flex: 1;
    min-width: 200px;
}

.consent-mode-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
}

.consent-mode-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.consent-mode-header .google-badge {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.consent-mode-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--gray-900);
}

.consent-mode-mapping {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mapping-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.mapping-item:hover {
    background: var(--gray-100);
    transform: translateX(4px);
}

.mapping-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    min-width: 140px;
}

.mapping-category .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary);
}

.mapping-arrow {
    color: var(--gray-400);
    font-size: 1.25rem;
}

.mapping-google {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.75rem;
    background: var(--gray-900);
    color: #86efac;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    flex: 1;
}

.consent-mode-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.consent-mode-footer p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
    text-align: center;
}

/* Google Colors for badges */
.google-colors {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.google-colors span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.google-colors .g-blue { background: #4285F4; }
.google-colors .g-red { background: #EA4335; }
.google-colors .g-yellow { background: #FBBC04; }
.google-colors .g-green { background: #34A853; }

@media (max-width: 767.98px) {
    .mapping-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .mapping-arrow {
        transform: rotate(90deg);
        align-self: center;
    }

    .mapping-google {
        width: 100%;
        text-align: center;
    }

    .stat-value {
        font-size: 2rem;
    }

    .stat-highlight {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =====================================================
   10b. CONSENT ARCHIVE SECTION
   ===================================================== */
.consent-archive-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.consent-archive-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.consent-archive-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.consent-archive-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: #fff;
}

.consent-archive-header .material-symbols-outlined {
    font-size: 2rem;
    color: var(--primary-light);
}

.consent-archive-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.consent-archive-body {
    padding: 2rem;
}

.gdpr-quote {
    position: relative;
    background: var(--gray-50);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    margin: 0 0 1.5rem 0;
}

.gdpr-quote .quote-icon {
    position: absolute;
    top: 0.75rem;
    left: 0.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.5;
}

.gdpr-quote p {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0 0 0.75rem 0;
    font-style: italic;
}

.gdpr-quote cite {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-style: normal;
    font-weight: 600;
}

.archive-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.archive-stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.archive-stat-item:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.archive-stat-item .material-symbols-outlined {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

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

.archive-stat-item strong {
    font-size: 0.875rem;
    color: var(--gray-800);
    font-weight: 600;
}

.archive-stat-item span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.consent-archive-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(239, 68, 68, 0.05);
    border-top: 1px solid rgba(239, 68, 68, 0.1);
}

.consent-archive-footer .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--danger);
    flex-shrink: 0;
}

.consent-archive-footer span {
    font-size: 0.8125rem;
    color: var(--danger);
    font-weight: 500;
}

@media (max-width: 767.98px) {
    .archive-stats-grid {
        grid-template-columns: 1fr;
    }

    .consent-archive-body {
        padding: 1.5rem;
    }

    .consent-archive-header {
        padding: 1.25rem 1.5rem;
    }

    .consent-archive-footer {
        padding: 1rem 1.5rem;
    }
}

/* =====================================================
   11. TESTIMONIALS SECTION
   ===================================================== */
.testimonials-section {
    background: var(--gray-50);
}

.testimonial-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-xl);
    height: 100%;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars .material-symbols-outlined {
    font-size: 20px;
    color: #f59e0b;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}
.author-avatar img{
    border-radius: 200px;
}
.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.9375rem;
    color: var(--gray-900);
}

.author-info span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* =====================================================
   10B. PRICING SECTION
   ===================================================== */
.pricing-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
    position: relative;
}

.pricing-grid {
    margin-top: 1rem;
}

.pricing-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* GSAP initial state */
    opacity: 0;
    transform: translateY(30px);
}

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

.pricing-card.featured {
    border-color: var(--primary-light);
    border-width: 2px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
    box-shadow: var(--shadow-2xl);
}

.pricing-popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-light);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.375rem 1.25rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.pricing-card-header {
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.pricing-badge.free {
    background: var(--gray-100);
    color: var(--gray-600);
}

.pricing-badge.pro {
    background: rgba(8, 204, 173, 0.15);
    color: var(--primary);
}

.pricing-badge.carnet {
    background: rgba(13, 110, 253, 0.15);
    color: #0d6efd;
}

.pricing-badge.carnet-max {
    background: rgba(25, 135, 84, 0.15);
    color: #198754;
}

.pricing-plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 400;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

.pricing-card-body {
    padding: 1.5rem 2rem;
    flex: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.pricing-features li .material-symbols-outlined {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-features li.included .material-symbols-outlined {
    color: var(--success);
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.pricing-features li.excluded {
    color: var(--gray-400);
}

.pricing-features li.excluded .material-symbols-outlined {
    color: var(--gray-300);
}

.pricing-card-footer {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
}

.pricing-footer-note {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    /* GSAP initial state */
    opacity: 0;
    transform: translateY(20px);
}

.pricing-note-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(8, 204, 173, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-note-icon .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary);
}

.pricing-note-content strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.pricing-note-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

.pricing-note-content code {
    background: var(--gray-100);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--primary);
}

@media (min-width: 992px) {
    .pricing-card-header {
        padding: 2rem 1.5rem 1.25rem;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }

    .pricing-card-body {
        padding: 1.25rem 1.25rem;
    }

    .pricing-card-footer {
        padding: 1.25rem 1.25rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 4rem 0;
    }

    .pricing-card-header {
        padding: 2rem 1.5rem 1.25rem;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }

    .pricing-card-body {
        padding: 1.25rem 1.5rem;
    }

    .pricing-card-footer {
        padding: 1.25rem 1.5rem 1.75rem;
    }

    .pricing-note {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* =====================================================
   11. CONTACT SECTION
   ===================================================== */
.contact-section {
    position: relative;
      background: #0a0a0a;

    padding: 6rem 0;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:radial-gradient(circle at 80% 90%, rgba(8, 204, 173, 0.8) 0%, transparent 60%);
    pointer-events: none;
}

.contact-section > .container {
    position: relative;
    z-index: 1;
}

.contact-card {
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.contact-section .section-badge {
    background: var(--primary-bg);
}

.contact-section .section-title {
    color: var(--gray-900);
}

.contact-section .section-subtitle {
    color: var(--gray-500);
}

.contact-form {
    margin-top: 2rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--gray-900);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.form-control::placeholder {
    color: var(--gray-400);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0.125rem;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-check-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.form-check-label a {
    color: var(--primary);
    text-decoration: underline;
}

/* Contact Success */
.contact-success {
    text-align: center;
    padding: 3rem 2rem;
}

.contact-success .material-symbols-outlined {
    font-size: 64px;
    color: var(--success);
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 64;
    margin-bottom: 1rem;
}

.contact-success h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-success p {
    color: var(--gray-500);
}

/* =====================================================
   12. FOOTER
   ===================================================== */
.landing-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.9375rem;
    color: var(--gray-200);
    max-width: 300px;
}

.landing-footer h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--gray-200);
    transition: color 0.2s ease;
}

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

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 3rem 0 1.5rem;
}

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

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-200);
    margin: 0;
}

.footer-credits a {
    color: var(--primary-light);
}

.footer-credits a:hover {
    color: #fff;
}

/* Made in Italy Badge */
.made-in-italy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.made-in-italy .italy-flag {
    display: inline-block;
    width: 20px;
    height: 14px;
    background: linear-gradient(to right, #009246 33.33%, #fff 33.33%, #fff 66.66%, #ce2b37 66.66%);
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.made-in-italy .heart {
    color: #ce2b37;
    font-size: 1rem;
}

/* =====================================================
   13. RESPONSIVE STYLES
   ===================================================== */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 6rem;
    }

    .hero-section .row {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    .landing-nav {
        padding: 0.75rem 0;
        background-color: #0a0a0a;
        backdrop-filter: blur(10px);
    }

    .landing-footer {
        background: #0a0a0a;
    }

    .landing-nav .nav-logo .logo-dark {
        display: block !important;
    }

    .landing-nav .nav-logo .logo-light {
        display: none !important;
    }

    .landing-nav.scrolled {
        background-color: rgba(255, 255, 255, 0.95);
    }

    .landing-nav.scrolled .nav-logo .logo-dark {
        display: none !important;
    }

    .landing-nav.scrolled .nav-logo .logo-light {
        display: block !important;
    }

    .landing-nav.scrolled .nav-hamburger span {
        background: var(--gray-700);
    }

    .language-selector-landing {
        margin-right: 0;
    }

    .language-selector-landing .lang-flag img {
        width: 18px !important;
        height: 18px !important;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-slogan {
        font-size: 1.125rem;
        margin-bottom: 1rem;
        padding: 0 18px;
    }

    .hero-slogan .quote-mark {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .scan-input-group {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
    }

    .scan-input-icon {
        display: none;
    }

    .scan-input {
        width: 100%;
        text-align: center;
    }

    .scan-btn {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-item {
        min-width: 40%;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .steps-list {
        gap: 1.5rem;
    }

    .step-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =====================================================
   14. ANIMATIONS (GSAP controlled)
   ===================================================== */

/* Initial states for GSAP animations */
.gsap-hero-element {
    opacity: 0;
    transform: translateY(30px);
}

.gsap-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.gsap-fade-left {
    opacity: 0;
    transform: translateX(-40px);
}

.gsap-fade-right {
    opacity: 0;
    transform: translateX(40px);
}

.gsap-scale-in {
    opacity: 0;
    transform: scale(0.8);
}

/* Section reveal animations */
.section-header.gsap-reveal,
.feature-card.gsap-reveal,
.step-item.gsap-reveal,
.testimonial-card.gsap-reveal,
.consent-mode-card.gsap-reveal,
.agency-card.gsap-reveal {
    opacity: 0;
    transform: translateY(50px);
}

/* Stagger children helper */
.gsap-stagger > * {
    opacity: 0;
    transform: translateY(30px);
}

/* =====================================================
   15. UTILITIES
   ===================================================== */
.text-center { text-align: center; }
.d-none { display: none !important; }
.d-flex { display: flex; }
.d-md-flex { display: none; }
.d-md-inline-flex { display: none; }
.d-md-none { display: block; }
.d-lg-block { display: none; }

@media (min-width: 768px) {
    .d-md-flex { display: flex !important; }
    .d-md-inline-flex { display: inline-flex !important; }
    .d-md-none { display: none !important; }
}

@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
}

/* =====================================================
   16. CONSENT MODE INFO MODAL
   ===================================================== */
.consent-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.consent-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.consent-modal {
    background: #fff;
    border-radius: var(--radius-2xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.consent-modal-overlay.active .consent-modal {
    transform: translateY(0) scale(1);
}

.consent-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gray-100);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.2s ease;
    z-index: 10;
}

.consent-modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

.consent-modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2.5rem 2rem 2rem;
    color: #fff;
    text-align: center;
    flex-shrink: 0;
}

.consent-modal-icon {
    font-size: 48px;
    opacity: 0.9;
    margin-bottom: 1rem;
    display: block;
}

.consent-modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.consent-modal-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.consent-modal-body {
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.consent-info-section {
    margin-bottom: 2rem;
}

.consent-info-section:last-child {
    margin-bottom: 0;
}

.consent-info-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.consent-info-section h3 .material-symbols-outlined {
    color: var(--primary);
    font-size: 24px;
}

.consent-info-section p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.consent-params-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.consent-param {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.consent-param.new-param {
    background: linear-gradient(135deg, rgba(105, 195, 199, 0.1), rgba(79, 168, 172, 0.1));
    border-color: var(--primary-light);
}

.param-name {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    background: var(--gray-200);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    display: inline-block;
    width: fit-content;
}

.consent-param.new-param .param-name {
    background: var(--primary);
    color: #fff;
}

.param-desc {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.consent-highlight-box {
    display: flex;
    gap: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon .material-symbols-outlined {
    color: var(--primary);
    font-size: 28px;
}

.highlight-content strong {
    display: block;
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.highlight-content p {
    font-size: 0.875rem;
    margin: 0;
}

.consent-modes-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.mode-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.mode-card.advanced {
    background: linear-gradient(135deg, rgba(105, 195, 199, 0.1), rgba(79, 168, 172, 0.05));
    border-color: var(--primary);
}

.mode-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-recommended {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--primary);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.mode-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mode-card li {
    font-size: 0.875rem;
    color: var(--gray-600);
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.mode-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--gray-400);
    border-radius: 50%;
}

.mode-card.advanced li::before {
    background: var(--primary);
}

.consent-benefits-modal {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.consent-benefits-modal li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.consent-benefits-modal .material-symbols-outlined {
    color: var(--success);
    font-size: 20px;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.consent-modal-footer {
    padding: 1.5rem 2rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    text-align: center;
    flex-shrink: 0;
}

.consent-modal-footer .btn {
    min-width: 250px;
}

/* Modal responsive styles */
@media (max-width: 767.98px) {
    .consent-modal {
        max-height: 95vh;
        border-radius: var(--radius-xl);
    }

    .consent-modal-header {
        padding: 2rem 1.5rem 1.5rem;
    }

    .consent-modal-header h2 {
        font-size: 1.5rem;
    }

    .consent-modal-body {
        padding: 1.5rem;
    }

    .consent-params-grid {
        grid-template-columns: 1fr;
    }

    .consent-modes-comparison {
        grid-template-columns: 1fr;
    }

    .consent-benefits-modal {
        grid-template-columns: 1fr;
    }

    .consent-modal-footer {
        padding: 1rem 1.5rem;
    }

    .consent-modal-footer .btn {
        width: 100%;
        min-width: unset;
    }
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Info Request Modal */
.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.info-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.info-modal {
    background: #fff;
    border-radius: var(--radius-2xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.info-modal-overlay.active .info-modal {
    transform: translateY(0) scale(1);
}

.info-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.2s ease;
    z-index: 10;
}

.info-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.info-modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2rem;
    color: #fff;
    text-align: center;
    flex-shrink: 0;
}

.info-modal-icon {
    font-size: 40px;
    opacity: 0.9;
    margin-bottom: 0.75rem;
    display: block;
}

.info-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.info-modal-subtitle {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
}

.info-modal-body {
    padding: 1.5rem 2rem 2rem;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.info-modal-body .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.info-modal-body .form-control {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
}

.info-modal-body .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.info-modal-body .form-check-label {
    font-size: 0.8rem;
    color: var(--gray-600);
}

@media (max-width: 576px) {
    .info-modal-body {
        padding: 1.25rem;
    }

    .info-modal-header {
        padding: 1.5rem 1.25rem;
    }
}

/* =====================================================
   17. CLIENTS/PARTNERS SECTION
   ===================================================== */
.clients-section {
    background: #fff;
    padding: 5rem 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.client-logo {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    transition: all 0.3s ease;
}

.client-logo:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-placeholder {
    color: var(--gray-400);
    font-size: 0.75rem;
    text-align: center;
}

.clients-note {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-top: 2rem;
}

.clients-note a {
    color: var(--primary);
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* =====================================================
   18. CERTIFICATIONS SECTION
   ===================================================== */
.certifications-section {
    background: var(--gray-50);
    padding: 6rem 0;
}

.certifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.certifications-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.certifications-list li:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.certifications-list .material-symbols-outlined {
    color: var(--success);
    font-size: 28px;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 28;
    flex-shrink: 0;
}

.certifications-list li div {
    display: flex;
    flex-direction: column;
}

.certifications-list li strong {
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.certifications-list li span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.certifications-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem;
}

.cert-badge {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cert-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cert-badge .material-symbols-outlined {
    font-size: 48px;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

.cert-badge .badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.3;
}

.cert-badge.gdpr-badge {
    border-color: #3b82f6;
}

.cert-badge.gdpr-badge .material-symbols-outlined {
    color: #3b82f6;
}

.cert-badge.google-badge {
    border-color: #10b981;
}

.cert-badge.google-badge .material-symbols-outlined {
    color: #10b981;
}

.cert-badge.garante-badge {
    border-color: #f59e0b;
}

.cert-badge.garante-badge .material-symbols-outlined {
    color: #f59e0b;
}

.cert-badge.eprivacy-badge {
    border-color: #8b5cf6;
}

.cert-badge.eprivacy-badge .material-symbols-outlined {
    color: #8b5cf6;
}

@media (max-width: 767.98px) {
    .certifications-badges {
        padding: 1rem;
        gap: 1rem;
    }

    .cert-badge {
        padding: 1.5rem 1rem;
    }

    .cert-badge .material-symbols-outlined {
        font-size: 36px;
    }
}

/* =====================================================
   19. FREE CHECK CTA SECTION
   ===================================================== */
.free-check-section {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a2e 100%);
    padding: 5rem 0;
}

.free-check-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-2xl);
    position: relative;
    overflow: hidden;
}

.free-check-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.free-check-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.free-check-text {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.free-check-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.free-check-benefits li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.free-check-benefits .material-symbols-outlined {
    color: var(--success);
    font-size: 20px;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}

.free-check-btn {
    white-space: nowrap;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.free-check-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .free-check-card {
        padding: 2rem;
        text-align: center;
    }

    .free-check-benefits {
        justify-content: center;
    }

    .free-check-title {
        font-size: 1.5rem;
    }
}


/* =====================================================
   20. NEWS HOME SECTION
   ===================================================== */
.news-home-section {
    padding: 5rem 0;
    background: var(--gray-50);
}

.news-home-grid {
    margin-top: 2rem;
}

.news-home-card {
    background: #fff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-home-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    transform: translateY(-4px);
}

.news-home-image {
    display: block;
    height: 180px;
    overflow: hidden;
    background: var(--gray-200);
}

.news-home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-home-card:hover .news-home-image img {
    transform: scale(1.05);
}

.news-home-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
}

.news-home-placeholder .material-symbols-outlined {
    font-size: 40px;
    color: var(--gray-400);
}

.news-home-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-home-date {
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.news-home-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-home-title a {
    color: inherit;
    text-decoration: none;
}

.news-home-title a:hover {
    color: var(--primary);
}

.news-home-excerpt {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

@media (max-width: 767.98px) {
    .news-home-section {
        padding: 3rem 0;
    }

    .news-home-image {
        height: 160px;
    }
}

/* =====================================================
   21. CONSULENZA NORMATIVA SECTION
   ===================================================== */
.consulenza-section {
    background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.consulenza-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.consolve-partner-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    width: fit-content;
}

.consolve-partner-badge .partner-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.consolve-partner-badge .consolve-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .consolve-partner-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .consolve-partner-badge .consolve-logo {
        height: 32px;
    }
}

.consulenza-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full, 9999px);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all 0.2s ease;
}

.service-tag:hover {
    background: var(--primary-bg);
    border-color: var(--primary-light);
    color: var(--primary-dark);
}

.service-tag .material-symbols-outlined {
    font-size: 18px;
    color: var(--primary);
}

.consulenza-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.consulenza-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.consulenza-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.consulenza-card-main {
    border-left: 4px solid var(--primary);
}

.consulenza-card-secondary {
    border-left: 4px solid #10b981;
}

.consulenza-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.consulenza-card-main .consulenza-card-icon {
    background: var(--primary-bg);
}

.consulenza-card-secondary .consulenza-card-icon {
    background: rgba(16, 185, 129, 0.1);
}

.consulenza-card-icon .material-symbols-outlined {
    font-size: 28px;
}

.consulenza-card-main .consulenza-card-icon .material-symbols-outlined {
    color: var(--primary);
}

.consulenza-card-secondary .consulenza-card-icon .material-symbols-outlined {
    color: #10b981;
}

.consulenza-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.consulenza-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 991.98px) {
    .consulenza-section {
        padding: 4rem 0;
    }

    .consulenza-cards-wrapper {
        margin-top: 2rem;
    }
}

@media (max-width: 575.98px) {
    .service-tag {
        font-size: 0.8125rem;
        padding: 0.375rem 0.75rem;
    }

    .service-tag .material-symbols-outlined {
        font-size: 16px;
    }
}

/* =====================================================
   22. CONSULENZA MODAL
   ===================================================== */
.consulenza-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.consulenza-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.consulenza-modal {
    background: #fff;
    border-radius: var(--radius-2xl);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.consulenza-modal-overlay.active .consulenza-modal {
    transform: translateY(0) scale(1);
}

.consulenza-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.2s ease;
    z-index: 10;
}

.consulenza-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.consulenza-modal-header {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a2e 100%);
    padding: 2rem;
    color: #fff;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.consulenza-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.consulenza-modal-icon {
    font-size: 48px;
    opacity: 0.9;
    margin-bottom: 0.75rem;
    display: block;
    position: relative;
    z-index: 1;
}

.consulenza-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    position: relative;
    z-index: 1;
}

.consulenza-modal-subtitle {
    font-size: 0.9rem;
    opacity: 0.85;
    margin: 0;
    position: relative;
    z-index: 1;
}

.consulenza-modal-body {
    padding: 1.5rem 2rem 2rem;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.consulenza-modal-body .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.consulenza-modal-body .form-control {
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-lg);
    padding: 0.625rem 0.875rem;
    font-size: 0.9rem;
}

.consulenza-modal-body .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.services-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.services-checkboxes .form-check {
    margin: 0;
}

.services-checkboxes .form-check-label {
    font-size: 0.8125rem;
    color: var(--gray-700);
}

.services-checkboxes .form-check-input:checked + .form-check-label {
    color: var(--primary-dark);
    font-weight: 500;
}

@media (max-width: 575.98px) {
    .consulenza-modal-body {
        padding: 1.25rem;
    }

    .consulenza-modal-header {
        padding: 1.5rem 1.25rem;
    }

    .services-checkboxes {
        grid-template-columns: 1fr;
    }
}

/* ─── Hamburger Button ─── */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.landing-nav.scrolled .nav-hamburger span {
    background: var(--gray-700);
}

/* ─── Mobile Menu Overlay ─── */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ─── Mobile Menu Panel ─── */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100dvh;
    background: #fff;
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
}

.mobile-menu-close:hover {
    color: var(--gray-800);
}

.mobile-menu-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    overflow-y: auto;
}

.mobile-menu-links a {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: background 0.2s, color 0.2s;
}

.mobile-menu-links a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.mobile-menu-lang {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem 1.25rem 1.25rem;
}

.mobile-menu-lang .lang-flag {
    opacity: 0.4;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

.mobile-menu-lang .lang-flag:hover,
.mobile-menu-lang .lang-flag.active {
    opacity: 1;
}
