/* Checkout Styles - Compatible avec la landing page originale */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500&family=Readex+Pro:wght@400;700&display=swap');

/* Import des styles de base */
:root {
    --primary-bg: #101010;
    --primary-cta: #fb5046;
    --text-light: #ffffff;
    --text-secondary: #cccccc;
    --accent-color: #ff6b35;
    --gradient-primary: linear-gradient(135deg, #fb5046 0%, #ff6b35 100%);
    --shadow-light: 0 4px 20px rgba(251, 80, 70, 0.3);
    --shadow-dark: 0 8px 40px rgba(0, 0, 0, 0.3);
    --border-radius: 15px;
    --transition: all 0.3s ease;
    --success-color: #4CAF50;
    --warning-color: #ff9800;
    --error-color: #f44336;
}

/* Support RTL/LTR */
[dir="rtl"] {
    font-family: 'IBM Plex Sans Arabic', 'Segoe UI', 'Arial', sans-serif;
    /* IBM Plex Sans Arabic for RTL */
    text-align: right;
}

[dir="ltr"] {
    font-family: 'Roboto', 'Arial', sans-serif;
    text-align: left;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1,
h2 {
    font-family: 'Readex Pro', sans-serif;
    /* Readex Pro for h1 and h2 */
}

body {
    background-color: var(--primary-bg);
    color: var(--text-light);
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 1rem;
    min-height: 100vh;
}

/* Header Styles */
.header-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-sticky.scrolled {
    background: rgba(16, 16, 16, 0.98);
    box-shadow: var(--shadow-dark);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-light);
}

.navbar-brand:hover {
    color: var(--text-light);
}

.brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success-color);
    font-size: 0.9rem;
}

.progress-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

/* Main Content */
.main-content {
    padding-top: 80px;
}

.main-content section {
    padding: 3rem 0;
}

/* Critical Moment Section */
.critical-moment-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #101010 0%, #1a1a1a 100%);
    position: relative;
}

.critical-moment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(251, 80, 70, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.critical-moment-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-cta);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.critical-moment-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(251, 80, 70, 0.1), transparent);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.moment-header {
    position: relative;
    z-index: 1;
}

.critical-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary-cta);
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.critical-warning {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.program-description {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.description-text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-light);
    font-weight: 600;
}

/* What You Get Section */
.what-you-get-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
}

.gift-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gift-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-light);
    font-weight: 700;
}

.main-program-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.program-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--primary-cta);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.program-modules {
    display: grid;
    gap: 1.5rem;
}

.module-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--primary-cta);
    transition: var(--transition);
}

.module-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.module-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.module-content h4 {
    font-size: 1.3rem;
    color: var(--primary-cta);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.module-content p {
    color: var(--text-secondary);
    margin: 0;
}

.bonus-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.bonus-list {
    display: grid;
    gap: 1rem;
}

.bonus-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.bonus-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.bonus-icon {
    font-size: 1.2rem;
    color: var(--success-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.bonus-text {
    color: var(--text-secondary);
    flex: 1;
}

/* Pricing Section */
.pricing-section {
    background: var(--primary-bg);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-cta);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.offer-header h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-display {
    margin: 2rem 0;
}

.new-price {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: bold;
    color: var(--primary-cta);
    display: block;
}

.old-price {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Upsell Section */


.upsell-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.upsell-header h3 {
    font-size: 1.8rem;
    color: var(--primary-cta);
    margin-bottom: 1rem;
    font-weight: 600;
}

.upsell-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.upsell-offer {
    text-align: center;
}

.upsell-cta {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.limited-offer {
    color: var(--warning-color);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.upsell-pricing {
    margin-bottom: 2rem;
}

.upsell-price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-cta);
    display: block;
}

.upsell-old-price {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.upsell-checkbox {
    margin-top: 2rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary-cta);
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
}

.checkbox-container input[type="checkbox"]:checked+.checkmark {
    background: var(--primary-cta);
}

.checkbox-container input[type="checkbox"]:checked+.checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
}

.checkbox-text {
    color: var(--text-light);
    font-weight: 600;
}

/* Order Form Section */
.order-form-section {
    background: var(--primary-bg);
}

.form-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-cta);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.8rem;
    color: var(--text-light);
    font-weight: 600;
}

.order-form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-cta);
    box-shadow: 0 0 0 3px rgba(251, 80, 70, 0.1);
}

.form-group input::placeholder {
    color: var(--text-secondary);
}

.account-form {
    position: relative;
    z-index: 1;
}

.form-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
}

.section-label {
    font-size: 1.2rem;
    color: var(--primary-cta);
    margin-bottom: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-cta);
    box-shadow: 0 0 0 3px rgba(251, 80, 70, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--primary-bg);
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

/* Radio Groups */
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.radio-option {
    position: relative;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    color: var(--text-secondary);
    width: 100%;
    margin-bottom: 0;
}

.radio-label:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(251, 80, 70, 0.5);
}

.radio-option input[type="radio"]:checked+.radio-label {
    background: rgba(251, 80, 70, 0.2);
    border-color: var(--primary-cta);
    color: var(--text-light);
}

.radio-option input[type="radio"]:checked+.radio-label::before {
    content: '✓';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-cta);
    font-weight: bold;
    font-size: 1.2rem;
}

.error-message {
    color: var(--error-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.order-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: var(--text-light);
    font-size: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

.security-note {
    text-align: center;
    margin-top: 2rem;
}

.security-note p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA Button */
.cta-button {
    /* NOUVEAU: Dégradé de vert moderne pour l'arrière-plan */
    background: linear-gradient(135deg, #2ecc71 0%, #28a745 100%);

    border: none;
    padding: 1.2rem 3rem;
    font-size: var(--font-size-base);
    /* Cohérence avec le système de taille */
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);

    /* NOUVEAU: Ombre portée verte assortie au dégradé */
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.3);

    position: relative;
    overflow: hidden;
    cursor: pointer;
    color: white;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

/* L'effet de balayage lumineux est conservé, il fonctionne sur toutes les couleurs */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);

    /* NOUVEAU: Ombre verte plus prononcée au survol */
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.4);

    color: white;
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Upsell Page Styles */
.upsell-page {
    background: linear-gradient(135deg, #101010 0%, #1a1a1a 100%);
}

.welcome-section {
    padding: 4rem 0;
    text-align: center;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--primary-cta);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.problem-section {
    padding: 3rem 0;
}

.problem-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.problem-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.problem-situations h3 {
    font-size: 1.4rem;
    color: var(--primary-cta);
    margin-bottom: 1.5rem;
    text-align: center;
}

.situation-list {
    display: grid;
    gap: 1rem;
}

.situation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--error-color);
}

.situation-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.situation-item p {
    color: var(--text-secondary);
    margin: 0;
}

.truth-section {
    padding: 3rem 0;
}

.truth-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-cta);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.truth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.truth-title {
    font-size: 2rem;
    color: var(--primary-cta);
    margin-bottom: 2rem;
    font-weight: 700;
}

.truth-text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.truth-highlight {
    font-size: 1.4rem;
    color: var(--text-light);
    font-weight: 600;
    background: var(--gradient-primary);
    padding: 1rem;
    border-radius: 10px;
    display: inline-block;
}

.benefits-section {
    padding: 3rem 0;
}

.benefits-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits-title {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.benefits-list {
    display: grid;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: var(--transition);
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 1.2rem;
    color: var(--success-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.benefit-text {
    color: var(--text-secondary);
    flex: 1;
}

.social-proof-section {
    padding: 3rem 0;
}

.social-proof-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-proof-text {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-proof-warning {
    font-size: 1.2rem;
    color: var(--primary-cta);
    font-weight: 600;
}

.upsell-pricing-section {
    padding: 4rem 0;
}

.upsell-pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-cta);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.upsell-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.skip-btn {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    transition: var(--transition);
}

.skip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

/* Onboarding Page Styles */
.onboarding-page {
    background: linear-gradient(135deg, #101010 0%, #1a1a1a 100%);
}

.onboarding-welcome-section {
    padding: 4rem 0;
    text-align: center;
}

.onboarding-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--success-color);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.onboarding-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 2rem;
}

.onboarding-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 600;
}

.onboarding-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.onboarding-form {
    max-width: 400px;
    margin: 0 auto;
}

.verification-group {
    position: relative;
}

.resend-code-btn {
    background: none;
    border: none;
    color: var(--primary-cta);
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-decoration: underline;
    transition: var(--transition);
}

.resend-code-btn:hover {
    color: var(--accent-color);
}

.features-preview-section {
    padding: 3rem 0;
}

.features-preview-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.features-title {
    font-size: 1.6rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--primary-cta);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-secondary);
    margin: 0;
}

.loading-section {
    padding: 4rem 0;
    text-align: center;
}

.loading-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.loading-spinner {
    margin-bottom: 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--primary-cta);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.loading-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.loading-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 300px;
    margin: 0 auto;
}

.loading-progress .progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.loading-progress .progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.progress-text {
    color: var(--text-light);
    font-weight: 600;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-brand span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.footer p {
    color: var(--text-secondary);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-cta);
}

/* Fixed Elements */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 80, 70, 0.4);
}

.whatsapp-button {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.mobile-cta .btn {
    width: 100%;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(16, 16, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    z-index: 1001;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.cookie-banner p {
    color: var(--text-secondary);
    margin: 0;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
}

.language-toggle .btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.language-toggle .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content section {
        padding: 2rem 0;
    }

    .mobile-cta {
        display: block;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: center;
        margin-top: 2rem;
        flex-wrap: wrap;
    }

    .cta-buttons {
        gap: 0.5rem;
    }

    .critical-moment-card,
    .form-card,
    .onboarding-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .whatsapp-button {
        right: 15px;
        bottom: 75px;
    }

    .scroll-to-top {
        right: 15px;
        bottom: 15px;
    }

    .loading-progress {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Accessibility */
.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;
}

/* Focus Styles */
.cta-button:focus,
.form-group input:focus,
.checkbox-container:focus,
.resend-code-btn:focus {
    outline: 2px solid var(--primary-cta);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-bg: #000000;
        --text-light: #ffffff;
        --primary-cta: #ff0000;
        --text-secondary: #cccccc;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {

    .header-sticky,
    .fixed-elements,
    .cookie-banner,
    .language-toggle {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .main-content {
        padding-top: 0 !important;
    }
}