/* ===================================
   DIAGNOSTIC AI PAGE STYLES
   Style: limova.ai inspired premium
   =================================== */

/* Hero Section */
.diagnostic-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D1810 50%, #1A1A1A 100%);
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 159, 64, 0.1);
    border: 1px solid rgba(255, 159, 64, 0.3);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    color: #FF9F40;
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease-out;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.lock-highlight {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 6px;
    color: #FFC107;
    font-weight: 600;
    margin-top: 8px;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-premium {
    background: linear-gradient(135deg, #FF9F40 0%, #FFD700 100%);
    color: #1A1A1A;
    font-weight: 700;
    padding: 18px 36px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-premium::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;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 159, 64, 0.5);
}

.btn-lg {
    padding: 18px 32px;
    font-size: 16px;
    white-space: nowrap;
}

/* Ensure text is centered and visible in premium buttons */
.btn-premium span {
    display: inline-block;
    color: inherit;
    font-weight: inherit;
    white-space: normal;
    text-align: center;
}

.btn-premium i {
    color: inherit;
    flex-shrink: 0;
}

/* Responsive button text */
@media (max-width: 768px) {
    .btn-lg {
        padding: 16px 24px;
        font-size: 14px;
    }
    
    .btn-premium span {
        font-size: 14px;
    }
}

.hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.benefit-item i {
    color: #FFD700;
    font-size: 16px;
}

/* Hero Visual - Mockup */
.hero-visual {
    position: relative;
}

.mockup-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.mockup-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.mockup-dots span:nth-child(1) { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:nth-child(3) { background: #28CA42; }

.mockup-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.mockup-body {
    padding: 40px;
}

.progress-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 40px;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.progress-bar {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease;
    animation: progressAnimation 2s ease-out forwards;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-text .score {
    display: block;
    font-size: 56px;
    font-weight: 800;
    color: #FF9F40;
    line-height: 1;
}

.progress-text .label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

.stats-preview {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.stat-item i {
    color: #FF9F40;
}

/* Premium Blur Effect */
.premium-blur {
    position: relative;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 28, 46, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
    z-index: 10;
}

.blur-overlay.large {
    backdrop-filter: blur(12px);
    background: rgba(12, 28, 46, 0.9);
}

.lock-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF9F40, #D4AF37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    animation: pulse 2s ease-in-out infinite;
}

.lock-icon i {
    font-size: 24px;
    color: #ffffff;
}

.lock-icon.large {
    width: 80px;
    height: 80px;
}

.lock-icon.large i {
    font-size: 32px;
}

.lock-content {
    text-align: center;
    padding: 40px;
}

.lock-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.lock-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* Locked Feature Style */
.locked-feature {
    position: relative;
    overflow: hidden;
}

/* Diagnostic Preview Section */
.diagnostic-preview {
    background: linear-gradient(180deg, #1A1A1A 0%, #2D1810 100%);
}

.diagnostic-form-mockup {
    max-width: 900px;
    margin: 0 auto;
}

.form-preview-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #FF9F40, #D4AF37);
    border-color: #FF9F40;
    color: #1A1A1A;
    box-shadow: 0 4px 20px rgba(255, 159, 64, 0.4);
}

.step span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.step.active span {
    color: #FF9F40;
    font-weight: 600;
}

.form-content {
    position: relative;
}

.question-mockup label {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #ffffff;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.option-card {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-card:hover {
    background: rgba(255, 159, 64, 0.05);
    border-color: rgba(255, 159, 64, 0.4);
    transform: translateY(-4px);
}

.option-card i {
    font-size: 32px;
    color: #FF9F40;
    margin-bottom: 12px;
}

.option-card span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Gains Calculator Section */
.gains-calculator {
    position: relative;
    overflow: hidden;
}

.gains-preview-container {
    position: relative;
}

.gains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.gain-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.gain-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 159, 64, 0.3);
    transform: translateY(-8px);
}

.gain-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 159, 64, 0.2), rgba(212, 175, 55, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.gain-icon i {
    font-size: 24px;
    color: #FF9F40;
}

.gain-value {
    font-size: 48px;
    font-weight: 800;
    color: #FF9F40;
    line-height: 1;
    margin-bottom: 12px;
}

.gain-unit {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

.gain-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Recommended Agent Section */
.recommended-agent {
    background: linear-gradient(180deg, #0C1C2E 0%, #0A1524 100%);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.agent-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.agent-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.2);
}

.agent-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 204, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.agent-icon i {
    font-size: 24px;
    color: #FF9F40;
}

.agent-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.agent-description {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
}

.agent-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.feature-tag {
    background: rgba(255, 159, 64, 0.1);
    border: 1px solid rgba(255, 159, 64, 0.3);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    color: #FF9F40;
    font-weight: 500;
}

.agents-cta {
    max-width: 800px;
    margin: 0 auto;
}

.cta-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    position: relative;
}

.locked-cta::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #00D4FF, #0099CC, #00FFCC);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
    animation: borderGlow 3s ease-in-out infinite;
}

.lock-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFC107, #FF9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.lock-badge i {
    font-size: 20px;
    color: #ffffff;
}

.cta-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.cta-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

/* Audit PDF Section */
.audit-pdf {
    position: relative;
}

.audit-preview {
    max-width: 1200px;
    margin: 0 auto;
}

.audit-mockup {
    margin-bottom: 60px;
}

.pdf-preview {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 2px solid #E0E0E0;
    margin-bottom: 32px;
}

.pdf-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdf-logo .logo-icon {
    font-size: 24px;
}

.pdf-logo .logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #0C1C2E;
}

.pdf-title {
    font-size: 24px;
    font-weight: 700;
    color: #0C1C2E;
}

.pdf-content {
    display: grid;
    gap: 24px;
}

.pdf-section {
    display: flex;
    gap: 16px;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FF9F40, #D4AF37);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon i {
    font-size: 18px;
    color: #ffffff;
}

.pdf-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0C1C2E;
    margin-bottom: 12px;
}

.content-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.line {
    height: 8px;
    background: linear-gradient(90deg, #E0E0E0, #F5F5F5);
    border-radius: 4px;
}

.line.short {
    width: 60%;
}

.audit-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 204, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 20px;
    color: #FF9F40;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.feature-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Social Proof Section */
.social-proof {
    background: linear-gradient(135deg, #0C1C2E, #0A1524);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 56px;
    font-weight: 800;
    color: #FF9F40;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Signup Section */
.signup-section {
    position: relative;
    overflow: visible;
}

.bg-gradient {
    background: linear-gradient(135deg, #0C1C2E 0%, #00D4FF 100%);
}

.signup-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.signup-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.gradient-text-light {
    background: linear-gradient(135deg, #00FFCC, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signup-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
}

.signup-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid rgba(12, 28, 46, 0.2);
    border-radius: 12px;
    font-size: 16px;
    background: #ffffff;
    color: #0C1C2E;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00D4FF;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

.form-group label {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: rgba(12, 28, 46, 0.5);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -10px;
    left: 12px;
    font-size: 12px;
    background: #ffffff;
    padding: 0 8px;
    color: #FF9F40;
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(12, 28, 46, 0.4);
    font-size: 18px;
}

.form-checkbox {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 14px;
    color: #0C1C2E;
    line-height: 1.6;
}

.form-checkbox label a {
    color: #FF9F40;
    text-decoration: underline;
}

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

.form-benefits {
    display: flex;
    justify-content: space-around;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(12, 28, 46, 0.1);
}

.form-benefits .benefit-item {
    font-size: 13px;
    color: rgba(12, 28, 46, 0.7);
}

.form-benefits .benefit-item i {
    color: #FF9F40;
}

/* === PHONE INPUT FIXES FOR SIGNUP FORM === */

/* Phone group dans le formulaire signup */
.signup-form .phone-group {
    position: relative;
}

.signup-form .phone-group label {
    position: static;
    transform: none;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #0C1C2E;
    padding: 0;
    background: transparent;
}

.signup-form .phone-input-wrapper {
    display: flex;
    gap: 12px;  /* Augmenté de 10px à 12px */
    width: 100%;
    align-items: center;
}

/* Country code select dans signup - Enhanced visibility */
.signup-form .country-code-select {
    flex: 0 0 200px;  /* Augmenté de 180px à 200px pour meilleure lisibilité */
    min-width: 200px; /* Assure une largeur minimale */
    padding: 16px;
    border: 2px solid rgba(12, 28, 46, 0.2);
    border-radius: 12px;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #0C1C2E;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C1C2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    box-shadow: 0 2px 8px rgba(12, 28, 46, 0.08);
}

.signup-form .country-code-select:hover {
    border-color: rgba(255, 159, 64, 0.4);
    background-color: #ffffff;
}

.signup-form .country-code-select:focus {
    outline: none;
    border-color: #00D4FF;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
    background-color: #ffffff;
}

/* Options de la liste déroulante - Force white background for visibility */
.signup-form .country-code-select option {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #0C1C2E !important;
    padding: 12px 16px;
    font-size: 15px;
}

.signup-form .country-code-select option:hover,
.signup-form .country-code-select option:checked {
    background: rgba(0, 212, 255, 0.15) !important;
    background-color: rgba(0, 212, 255, 0.15) !important;
    color: #0C1C2E !important;
}

.signup-form .country-code-select option:active,
.signup-form .country-code-select option[selected] {
    background: rgba(255, 159, 64, 0.2) !important;
    background-color: rgba(255, 159, 64, 0.2) !important;
    color: #0C1C2E !important;
    font-weight: 600;
}

/* Phone number input dans signup */
.signup-form .phone-number-input {
    flex: 1 1 auto;  /* Permet flexibilité tout en gardant min-width */
    min-width: 250px;  /* Augmenté à 250px pour éviter troncature sur PC */
    padding: 16px;
    border: 2px solid rgba(12, 28, 46, 0.2);
    border-radius: 12px;
    background: #ffffff;
    color: #0C1C2E;
    font-size: 16px;
    transition: all 0.3s ease;
}

.signup-form .phone-number-input::placeholder {
    color: rgba(12, 28, 46, 0.5);
}

.signup-form .phone-number-input:hover {
    border-color: rgba(255, 159, 64, 0.4);
}

.signup-form .phone-number-input:focus {
    outline: none;
    border-color: #00D4FF;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

/* Desktop large - Ensure phone field has enough space */
@media (min-width: 1025px) {
    .signup-form .phone-input-wrapper {
        min-width: 470px;  /* Code pays (200px) + gap (12px) + numéro (250px) = 462px minimum */
    }
}

/* Tablet/Small laptop - Stack form rows for better phone display */
@media (max-width: 1024px) {
    .form-row,
    .form-row:has(.phone-group) {
        grid-template-columns: 1fr;  /* Une seule colonne sur tablette */
    }
    
    .signup-form .phone-input-wrapper {
        max-width: 100%;
    }
    
    .signup-form .phone-number-input {
        min-width: 200px;  /* Réduit sur tablette */
    }
}

/* Mobile responsive pour phone input */
@media (max-width: 768px) {
    .signup-form .phone-input-wrapper {
        flex-direction: column;  /* Stack vertical code pays + numéro */
    }
    
    .signup-form .country-code-select {
        flex: 1;
        width: 100%;
    }
    
    .signup-form .phone-number-input {
        min-width: 100%;  /* Full width sur mobile */
    }
}

/* === MOBILE MENU BUTTON FIX === */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(255, 159, 64, 0.15);
    border: 2px solid rgba(255, 159, 64, 0.4);
    border-radius: 10px;
    padding: 12px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu-btn:hover {
    background: rgba(255, 159, 64, 0.25);
    border-color: rgba(255, 159, 64, 0.6);
    transform: scale(1.05);
}

.mobile-menu-btn.active {
    background: rgba(255, 159, 64, 0.3);
    border-color: var(--color-primary, #FF9F40);
}

.mobile-menu-btn span {
    width: 26px;
    height: 3px;
    background: var(--color-primary, #FF9F40);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

/* Animation X pour le bouton actif */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 968px) {
    .mobile-menu-btn {
        display: flex;
    }
}

/* Signup Visual */
.benefits-list h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #ffffff;
}

.benefit-card {
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(8px);
}

.benefit-card .benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.2), rgba(0, 212, 255, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-card .benefit-icon i {
    font-size: 20px;
    color: #00FFCC;
}

.benefit-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.benefit-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes progressAnimation {
    from { stroke-dashoffset: 283; }
    to { stroke-dashoffset: 70; }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .agents-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 42px;
    }

    .gains-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .agents-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .signup-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .agents-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

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

    .audit-features {
        grid-template-columns: 1fr;
    }

    .signup-title {
        font-size: 32px;
    }
}

/* ============================================
   FIX v3.12.7 : COUNTRY CODE DROPDOWN
   Force white background for all browsers
   ============================================ */

/* Override any inherited dark styles */
.signup-form select.country-code-select,
#countryCode {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* Ensure dropdown options are visible on all browsers */
.signup-form select.country-code-select option,
#countryCode option {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #0C1C2E !important;
}

/* Safari and iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .signup-form .country-code-select,
    #countryCode {
        background: #ffffff !important;
        -webkit-appearance: menulist;
    }
    
    .signup-form .country-code-select option,
    #countryCode option {
        background: #ffffff !important;
        color: #000000 !important;
    }
}

/* Firefox specific fixes */
@-moz-document url-prefix() {
    .signup-form .country-code-select,
    #countryCode {
        background: #ffffff !important;
        scrollbar-color: #0C1C2E rgba(12, 28, 46, 0.1);
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }

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

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

    .form-steps {
        flex-wrap: wrap;
    }

    .step {
        flex-basis: 33.333%;
    }
}

/* Dark Background Utility */
.bg-dark {
    background: #0A1524;
}

/* Section Padding */
.section-padding {
    padding: 100px 0;
}

/* Text Center */
.text-center {
    text-align: center;
}

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Counter Animation */
.counter {
    display: inline-block;
}
