/* ============================================================================
   Full Power® Start — Component Styles
   ============================================================================ */

/* ─── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

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

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

.btn-primary:hover {
    background: var(--coral-light);
    border-color: var(--coral-light);
    color: var(--white);
    box-shadow: var(--shadow-coral);
}

.btn-secondary {
    background: transparent;
    color: var(--coral-main);
    border-color: var(--coral-main);
}

.btn-secondary:hover {
    background: var(--coral-main);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--deep-purple);
    border-color: var(--deep-purple);
}

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

.btn-white {
    background: var(--white);
    color: var(--coral-main);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-50);
    box-shadow: var(--shadow-md);
    color: var(--coral-main);
}

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

.btn-whatsapp:hover {
    background: #20bd5a;
    border-color: #20bd5a;
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: var(--font-size-md);
}

.btn-sm {
    padding: 8px 18px;
    font-size: var(--font-size-sm);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-gradient {
    background: var(--gradient-coral-blue);
    color: var(--white);
    border: none;
}

.btn-gradient:hover {
    box-shadow: var(--shadow-coral);
    color: var(--white);
}

/* ─── FORMS ──────────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--deep-purple);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--deep-purple);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(66, 143, 205, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-400);
}

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

.form-error {
    font-size: var(--font-size-xs);
    color: var(--coral-main);
    margin-top: var(--space-xs);
}

.form-help {
    font-size: var(--font-size-xs);
    color: var(--gray-400);
    margin-top: var(--space-xs);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

/* Checkbox / Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--coral-main);
}

.form-check-label {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    line-height: 1.5;
}

/* Radio card (for checkout/pricing selection) */
.radio-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition);
}

.radio-card:hover {
    border-color: var(--blue);
}

.radio-card.selected {
    border-color: var(--coral-main);
    background: rgba(230, 37, 81, 0.02);
}

.radio-card input[type="radio"] {
    margin-top: 4px;
}

.radio-card-content {
    flex: 1;
}

.radio-card-content h4 {
    margin-bottom: 2px;
}

.radio-card-content p {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

/* ─── CARDS ──────────────────────────────────────────────────────────── */
.card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-highlight {
    border-color: var(--coral-main);
    box-shadow: var(--shadow-md);
}

/* ─── ACCORDION ──────────────────────────────────────────────────────── */
.accordion {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg) var(--space-xl);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--deep-purple);
    text-align: left;
    line-height: 1.4;
    transition: background var(--transition);
}

.accordion-header:hover {
    background: var(--lavender);
}

.accordion-toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    color: var(--coral-main);
    transition: transform var(--transition);
    margin-left: var(--space-md);
}

.accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
}

.accordion-content {
    display: none;
    padding: 0 var(--space-xl) var(--space-lg);
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-content p {
    font-size: var(--font-size-sm);
    line-height: 1.7;
    color: var(--gray-600);
}

/* Micro-FAQ (inline within sections) */
.micro-faq {
    margin-top: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--lavender);
    border-radius: var(--radius-lg);
}

.micro-faq h4 {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    margin-bottom: var(--space-md);
}

/* ─── INFO / ALERT BOXES ─────────────────────────────────────────────── */
.info-box {
    padding: var(--space-lg);
    background: var(--lavender);
    border-left: 4px solid var(--blue);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: var(--font-size-sm);
    margin: var(--space-lg) 0;
}

.success-box {
    padding: var(--space-lg);
    background: var(--green-light);
    border-left: 4px solid var(--green);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: var(--font-size-sm);
    color: var(--green);
    margin: var(--space-lg) 0;
}

.warning-box {
    padding: var(--space-lg);
    background: var(--orange-light);
    border-left: 4px solid var(--orange);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: var(--font-size-sm);
    color: var(--orange);
    margin: var(--space-lg) 0;
}

/* ─── BADGE ──────────────────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    border-radius: var(--radius-full);
}

.badge-coral {
    background: var(--coral-bg);
    color: var(--coral-main);
}

.badge-blue {
    background: var(--blue-light);
    color: var(--blue);
}

.badge-green {
    background: var(--green-light);
    color: var(--green);
}

/* ─── PROGRESS BAR ───────────────────────────────────────────────────── */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-lg);
}

.progress-bar-fill {
    height: 100%;
    background: var(--gradient-coral-blue);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

/* ─── SCORE DISPLAY (Scan Results) ───────────────────────────────────── */
.score-display {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 8px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    position: relative;
}

.score-display.score-low {
    border-color: var(--coral-main);
}

.score-display.score-medium {
    border-color: var(--orange);
}

.score-display.score-high {
    border-color: var(--green);
}

.score-value {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--deep-purple);
    line-height: 1;
}

.score-label {
    font-size: var(--font-size-sm);
    color: var(--gray-400);
}

/* ─── LOADING / SPINNER ──────────────────────────────────────────────── */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--coral-main);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn .spinner {
    width: 18px;
    height: 18px;
    border-width: 2px;
    border-top-color: var(--white);
}

/* ─── FILE UPLOAD ────────────────────────────────────────────────────── */
.file-dropzone {
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    background: var(--gray-50);
}

.file-dropzone:hover,
.file-dropzone.dragover {
    border-color: var(--blue);
    background: var(--blue-light);
}

.file-dropzone p {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
}

.file-dropzone .upload-icon {
    font-size: 2rem;
    color: var(--gray-400);
    margin-bottom: var(--space-md);
}

.file-list {
    margin-top: var(--space-md);
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-sm);
}

.file-item .file-remove {
    color: var(--coral-main);
    cursor: pointer;
    border: none;
    background: none;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* ─── COOKIE BANNER ──────────────────────────────────────────────────── */
#fps-cookie-banner .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--deep-purple);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease;
}

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

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.cookie-banner-text {
    flex: 1;
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.5;
}

.cookie-banner-text strong {
    color: var(--white);
    font-size: 0.95rem;
}

.cookie-banner-text a {
    color: var(--blue);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s;
    border: none;
}

.cookie-btn:hover {
    opacity: 0.9;
}

.cookie-btn-accept {
    background: var(--coral-main);
    color: var(--white);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--white);
    border: 1px solid #666;
}

.cookie-btn-customize {
    background: transparent;
    color: var(--blue);
    border: 1px solid var(--blue);
}

/* Cookie Panel (modal) */
#fps-cookie-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-panel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cookie-panel-inner {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    max-width: 550px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.cookie-panel-inner h3 {
    margin-bottom: 10px;
}

.cookie-panel-inner > p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.cookie-category {
    border-bottom: 1px solid var(--gray-200);
    padding: 15px 0;
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-category-name {
    font-weight: 700;
    color: var(--deep-purple);
}

.cookie-category-desc {
    font-size: 0.82rem;
    color: var(--gray-600);
    margin: 4px 0 0;
    line-height: 1.5;
}

/* Toggle switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

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

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 24px;
    transition: var(--transition);
}

.cookie-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--coral-main);
}

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

.cookie-toggle.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.cookie-toggle.disabled .cookie-toggle-slider {
    background: var(--green);
}

.cookie-panel-actions {
    margin-top: 25px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* ─── THANK YOU PAGE ─────────────────────────────────────────────────── */
.thankyou-section {
    text-align: center;
    padding-top: calc(var(--navbar-height) + var(--space-4xl));
}

.thankyou-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    font-size: 2.5rem;
    color: var(--green);
}

/* ─── UTILITY CLASSES ────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-coral { color: var(--coral-main); }
.text-blue { color: var(--blue); }
.text-green { color: var(--green); }
.text-gray { color: var(--gray-400); }
.text-sm { font-size: var(--font-size-sm); }
.text-xs { font-size: var(--font-size-xs); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── LEGAL TABLES ──────────────────────────────────────────────────── */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    font-size: var(--font-size-sm);
}

.legal-table th,
.legal-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.legal-table th {
    background: var(--lavender);
    font-weight: 600;
    color: var(--deep-purple);
    white-space: nowrap;
}

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

.legal-table code {
    background: var(--gray-100);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

/* ─── FILE UPLOAD LIST ──────────────────────────────────────────────── */
.file-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    margin-top: var(--space-sm);
}

.file-name {
    flex: 1;
    font-size: var(--font-size-sm);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: var(--font-size-xs);
    color: var(--gray-400);
}

.file-remove {
    background: none;
    border: none;
    color: var(--coral-main);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0 4px;
    line-height: 1;
}

.file-remove:hover {
    color: var(--deep-purple);
}

.file-dropzone.dragover {
    border-color: var(--coral-main);
    background: rgba(230, 37, 81, 0.05);
}

/* ─── FORM ERROR STATE ──────────────────────────────────────────────── */
.form-input.error,
.form-textarea.error {
    border-color: var(--coral-main);
    box-shadow: 0 0 0 3px rgba(230, 37, 81, 0.1);
}

/* ─── COOKIE BANNER CLOSE BUTTON ───────────────────────────────────── */
.cookie-banner-inner {
    position: relative;
}

.cookie-btn-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: color 0.2s, background 0.2s;
}

.cookie-btn-close:hover {
    color: var(--gray-600);
    background: rgba(0, 0, 0, 0.05);
}

/* ─── STEP ICONS ───────────────────────────────────────────────────── */
.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    background: var(--lavender);
    border: 1px solid rgba(110, 54, 120, 0.15);
    color: var(--coral-main);
    transition: transform var(--transition);
}

.step-icon svg {
    width: 48px;
    height: 48px;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

/* ─── CASE STUDY MOCKUPS ──────────────────────────────────────────── */
.case-mockup {
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.case-mockup svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ─── COMPARISON CARD ICONS ───────────────────────────────────────── */
.comparison-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.comparison-card.negative .comparison-icon {
    background: rgba(230, 37, 81, 0.1);
    color: var(--coral-main);
}

.comparison-card.positive-blue .comparison-icon {
    background: rgba(63, 114, 175, 0.1);
    color: var(--blue);
}

.comparison-card.positive-green .comparison-icon {
    background: rgba(46, 125, 50, 0.1);
    color: var(--green);
}

/* ─── TARGET CARD ICONS ───────────────────────────────────────────── */
.target-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.target-icon-coral {
    background: var(--coral-bg);
}

.target-icon-blue {
    background: var(--lavender);
}

/* ─── INFO BOX HIGHLIGHT ───────────────────────────────────────────── */
.info-box-highlight {
    background: linear-gradient(135deg, rgba(230, 37, 81, 0.05), rgba(110, 54, 120, 0.05));
    border-left: 4px solid var(--coral-main);
}

/* ─── CHECKOUT PROGRESS BAR ────────────────────────────────────────── */
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3xl);
    gap: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    position: relative;
}

.progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--font-size-base);
    transition: all var(--transition);
}

.progress-step.active .progress-circle {
    background: var(--coral-main);
    color: var(--white);
}

.progress-step.completed .progress-circle {
    background: var(--green);
    color: var(--white);
    font-size: 0;
}

.progress-step.completed .progress-circle::after {
    content: '\2713';
    font-size: 1.1rem;
}

.progress-label {
    font-size: var(--font-size-xs);
    color: var(--gray-400);
    font-weight: 500;
    white-space: nowrap;
}

.progress-step.active .progress-label,
.progress-step.completed .progress-label {
    color: var(--deep-purple);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--gray-200);
    margin: 0 var(--space-sm);
    margin-bottom: 20px;
    min-width: 40px;
    max-width: 120px;
    transition: background var(--transition);
}

.progress-line.active {
    background: var(--coral-main);
}

/* ─── CHECKOUT LAYOUT (step 2 sidebar) ─────────────────────────────── */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-2xl);
    align-items: start;
}

.checkout-sidebar {
    position: sticky;
    top: calc(var(--navbar-height) + var(--space-lg));
}

.pricing-summary-compact {
    padding: var(--space-lg);
    font-size: var(--font-size-sm);
}

/* ─── AI VS HUMAN CALLOUT ──────────────────────────────────────────── */
.ai-human-callout {
    background: var(--lavender);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    text-align: center;
}
.ai-human-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}
.ai-human-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    min-width: 100px;
}
.ai-human-col.highlight {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
}
.ai-human-label {
    font-weight: 700;
    color: var(--deep-purple);
    font-size: var(--font-size-md);
    margin: 0;
}
.ai-human-desc {
    font-size: var(--font-size-xs);
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}
.ai-human-plus {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-400);
}
.ai-human-tagline {
    font-style: italic;
    color: var(--gray-600);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* ─── TARGET DIFFERENTIATOR ────────────────────────────────────────── */
.target-differentiator {
    background: var(--green-light);
    border-left: 3px solid var(--green);
    padding: var(--space-sm) var(--space-md);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: var(--font-size-sm);
    color: var(--green);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

/* ─── GOOGLE REVIEWS LINK ──────────────────────────────────────────── */
.google-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--font-size-sm);
    color: #4285F4;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #dadce0;
    border-radius: var(--radius-full);
    transition: var(--transition);
}
.google-reviews-link:hover {
    background: #f8f9fa;
    color: #4285F4;
    box-shadow: var(--shadow-sm);
}

/* ─── SCANNER PREVIEW ──────────────────────────────────────────────── */
.scanner-preview-example {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-top: var(--space-md);
    font-size: var(--font-size-xs);
}
.preview-label {
    color: var(--gray-400);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}
.preview-score {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 6px;
}
.preview-score-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--coral-main);
}
.preview-score-label {
    font-size: 0.9rem;
    color: var(--gray-400);
}
.preview-issues {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.preview-issue { color: var(--gray-600); }
.preview-issue.red { color: #d32f2f; }
.preview-issue.orange { color: var(--orange); }

/* ─── STICKY SCANNER CTA (§4.1 / voce 19) ─────────────────────────── */
.sticky-scanner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    padding: 10px 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 900;
    pointer-events: none;
}

.sticky-scanner.visible {
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-scanner-form {
    display: flex;
    gap: 8px;
    max-width: 640px;
    margin: 0 auto;
    align-items: center;
}

.sticky-scanner-form .form-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    font-size: var(--font-size-sm);
    height: 42px;
}

.sticky-scanner-form .btn {
    white-space: nowrap;
    padding: 0 18px;
    height: 42px;
    font-size: var(--font-size-sm);
    touch-action: manipulation; /* §5.2 — no 300ms delay iOS Safari */
}

@media (max-width: 768px) {
    .sticky-scanner {
        top: auto;
        bottom: 0;
        border-top: 1px solid var(--gray-200);
        border-bottom: none;
        padding: 8px 12px;
        transform: translateY(100%);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
    }
    .sticky-scanner.visible { transform: translateY(0); }
    .sticky-scanner-form .btn { padding: 0 14px; font-size: 0.85rem; }

    /* §5.4 — tap target 48px su mobile per input + btn dello sticky scanner */
    .sticky-scanner-form .form-input,
    .sticky-scanner-form .btn {
        height: auto;
        min-height: 48px;
    }
    .sticky-scanner-form .form-input {
        font-size: 16px; /* anti-zoom iOS Safari */
    }
}

/* ─── EXIT INTENT POPUP (§4.2) ─────────────────────────────────────── */
.exit-intent-popup {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.exit-intent-popup.visible { display: flex; }
.exit-intent-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(35, 31, 32, 0.68);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fadeIn 0.25s ease;
}
.exit-intent-box {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: popIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes popIn {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.exit-intent-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: var(--gray-500);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
}
.exit-intent-close:hover { color: var(--black); background: var(--gray-100); }
.exit-intent-title {
    font-family: var(--font-display, inherit);
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0 0 12px;
    color: var(--black);
}
.exit-intent-sub {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin: 0 0 20px;
    line-height: 1.5;
}
.exit-intent-form { display: flex; flex-direction: column; gap: 10px; }
.exit-intent-form input[type="text"],
.exit-intent-form input[type="email"] {
    padding: 12px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    width: 100%;
}
.exit-intent-form input[type="text"]:focus,
.exit-intent-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary, #E62551);
    box-shadow: 0 0 0 3px rgba(230, 37, 81, 0.15);
}
.exit-intent-submit { margin-top: 6px; width: 100%; }
.exit-intent-submit:disabled { opacity: 0.6; cursor: wait; }
.exit-intent-msg {
    margin: 6px 0 0;
    font-size: 0.85rem;
    min-height: 1em;
    color: var(--gray-700);
}
.exit-intent-msg.error { color: #c42847; }
.exit-intent-note {
    margin: 8px 0 0;
    font-size: 0.78rem;
    color: var(--gray-500);
    text-align: center;
}
.exit-intent-dismiss {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 0.82rem;
    color: var(--gray-500);
    text-decoration: underline;
}
.exit-intent-dismiss:hover { color: var(--gray-700); }
.exit-intent-success { text-align: center; }
.exit-intent-success .btn { margin-top: 14px; }
@media (max-width: 480px) {
    .exit-intent-box { padding: 32px 22px 24px; border-radius: 14px; }
    .exit-intent-title { font-size: 1.3rem; }
}

/* ─── FLOATING CTA ─────────────────────────────────────────────────── */
.floating-cta {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    animation: floatIn 0.4s ease;
}

.floating-cta .btn {
    box-shadow: 0 8px 24px rgba(230, 37, 81, 0.4);
    border-radius: 50px;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── GUARANTEE BADGE ──────────────────────────────────────────────── */
.guarantee-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: var(--font-size-xs);
    color: var(--green);
    font-weight: 500;
    margin-top: var(--space-sm);
    flex-wrap: wrap;
    text-align: center;
}

.checkout-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}
