/* Mobil yatay scroll engeli */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

#lip-analysis-wrapper,
#lip-analysis-wrapper * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#lip-analysis-wrapper {
    overflow-x: hidden !important;
    width: 100% !important;
}

#la-form-wrap,
#lip-analysis-result,
#la-loading-screen,
#la-loading-screen .la-loading-card {
    overflow-x: hidden !important;
    width: 100% !important;
}

.iti__country-list {
    max-width: calc(100vw - 32px) !important;
    overflow-x: hidden !important;
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}
.iti__country-list li,
.iti__country-list .iti__country {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 8px !important;
    margin-left: 0 !important;
    background-image: none !important;
}
.iti__country-list li::before,
.iti__country-list .iti__country::before {
    display: none !important;
    content: none !important;
}

#la-result-content,
#la-result-content * {
    max-width: 100% !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

/* intl-tel-input */
.iti { width: 100% !important; display: block !important; }

/* Sonuç aktifken form gizle */
body.la-result-active #la-tips-block,
body.la-result-active #la-consent-block,
body.la-result-active #la-privacy-block,
body.la-result-active #la-submit,
body.la-result-active #la-form-wrap {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Result gösterildiğinde wrapper overflow sorunu olmasın */
#lip-analysis-result {
    display: none;
}
#lip-analysis-result[style*="display: block"],
#lip-analysis-result[style*="display:block"] {
    display: block !important;
}

/* ===== WRAPPER ===== */
#lip-analysis-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #374151;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

/* ===== HEADER ===== */
.la-header {
    background: linear-gradient(135deg, #831843 0%, #be185d 50%, #ec4899 100%);
    border-radius: 20px;
    margin-bottom: 28px;
    overflow: hidden;
}
.la-header-inner {
    padding: 40px 32px;
    text-align: center;
    color: white !important;
}
.la-header-inner * {
    color: #ffffff !important;
}
.la-brand-title {
    font-size: .85rem !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
}
.la-free-badge {
    display: inline-block !important;
    background: rgba(255,255,255,.25) !important;
    border: 1px solid rgba(255,255,255,.5) !important;
    border-radius: 30px !important;
    padding: 4px 16px !important;
    font-size: .8rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 14px !important;
}
.la-header-icon {
    font-size: 3rem !important;
    margin-bottom: 12px !important;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.4)) !important;
}
.la-header-inner h2 {
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    margin: 0 0 10px !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.3) !important;
}
.la-header-inner h2 span { color: #fce7f3 !important; }
.la-header-inner p {
    font-size: .95rem !important;
    color: #ffffff !important;
    margin: 0 0 20px !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.25) !important;
}
.la-header-stats {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}
.la-stat { text-align: center !important; }
.la-stat strong { display: block !important; font-size: 1.15rem !important; font-weight: 800 !important; color: #ffffff !important; }
.la-stat span { font-size: .75rem !important; color: #fce7f3 !important; }
.la-stat-sep { width: 1px; height: 32px; background: rgba(255,255,255,.4); }

/* ===== SECTION ===== */
.la-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1px solid #fce7f3;
}
.la-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #831843;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #fce7f3;
}
.la-section-desc {
    font-size: .88rem;
    color: #4b5563;
    margin: -10px 0 16px;
}

/* ===== FIELDS ===== */
.la-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 500px) { .la-grid-2 { grid-template-columns: 1fr; } }

.la-field { margin-bottom: 16px; }
.la-field label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    color: #374151;
    margin-bottom: 6px;
}
.la-field input[type="text"],
.la-field input[type="number"],
.la-field input[type="tel"] {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #f9a8d4;
    border-radius: 10px;
    font-size: .95rem;
    background: #fff0f6;
    color: #374151;
    transition: border-color .2s, box-shadow .2s;
}
.la-field input:focus {
    outline: none;
    border-color: #be185d;
    box-shadow: 0 0 0 3px rgba(190,24,93,.12);
    background: white;
}
.required { color: #ef4444; margin-left: 2px; }

/* ===== GENDER ===== */
.la-gender-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.la-gender-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid #f9a8d4;
    border-radius: 10px;
    font-weight: 600;
    font-size: .95rem;
    transition: all .2s;
    background: #fff0f6;
    color: #374151;
}
.la-gender-option input { display: none; }
.la-gender-option:has(input:checked) {
    border-color: #be185d;
    background: #be185d;
    color: white;
}

/* ===== PHOTO GRID ===== */
.la-photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ===== TIPS ===== */
.la-tips {
    background: #fff0f6;
    border: 1px solid #f9a8d4;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.la-tips h4 {
    font-size: .95rem;
    font-weight: 700;
    color: #831843;
    margin: 0 0 10px;
}
.la-tips ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}
.la-tips ul li {
    font-size: .88rem;
    color: #4b5563;
    margin-bottom: 6px;
    padding-left: 0;
    list-style: none;
}
.la-tips ul li::before { display: none; }

/* ===== CONSENT ===== */
.la-consent { margin-bottom: 20px; }
.la-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: .88rem;
    color: #4b5563;
    line-height: 1.5;
}
.la-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #be185d;
    flex-shrink: 0;
}

/* ===== SUBMIT BUTTON ===== */
.la-submit-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #be185d, #ec4899);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all .3s;
    margin-bottom: 12px;
    display: block;
}
.la-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(190,24,93,.35);
}
.la-privacy-note {
    text-align: center;
    font-size: .8rem;
    color: #9ca3af;
    margin: 0;
}

/* ===== LOADING SCREEN ===== */
#la-loading-screen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    overflow-y: auto;
    background: linear-gradient(160deg, #1a0010 0%, #2d0022 60%, #4a0035 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
}
.la-loading-card {
    max-width: 600px;
    width: 100%;
    text-align: center;
    color: white;
}
.la-loading-anim {
    font-size: 4rem;
    animation: la-pulse 1.5s ease-in-out infinite;
    margin-bottom: 16px;
}
@keyframes la-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.la-loading-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 16px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.3) !important;
}
.la-loading-notice {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: rgba(255,255,255,.12) !important;
    border: 1px solid rgba(255,255,255,.3) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    margin-bottom: 14px !important;
    text-align: left !important;
    font-size: .9rem !important;
    color: #ffffff !important;
}
.la-loading-notice * { color: #ffffff !important; }
.la-loading-subtitle {
    font-size: .9rem !important;
    color: #ffffff !important;
    margin-bottom: 28px !important;
}

/* Progress steps */
.la-progress-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.la-pstep {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 12px 16px;
    opacity: .7;
    transition: opacity .4s;
}
.la-pstep.done, .la-pstep.active { opacity: 1; }
.la-pstep.active { border-color: rgba(236,72,153,.5); background: rgba(236,72,153,.08); }
.la-pstep.done { border-color: rgba(74,222,128,.4); }
.la-pstep-icon { font-size: 1.3rem; }
.la-pstep-info { flex: 1; text-align: left; }
.la-pstep-label { font-size: .85rem !important; color: #ffffff !important; font-weight: 600 !important; margin-bottom: 6px !important; }
.la-pstep-bar { height: 4px; background: rgba(255,255,255,.1); border-radius: 2px; }
.la-pstep-fill { height: 100%; width: 0; background: linear-gradient(90deg, #ec4899, #f9a8d4); border-radius: 2px; transition: width 2s ease; }
.la-pstep.done .la-pstep-fill { width: 100%; }
.la-pstep.active .la-pstep-fill { width: 60%; animation: la-fill-anim 2s ease forwards; }
@keyframes la-fill-anim { to { width: 90%; } }

/* Facts carousel */
.la-facts-carousel { min-height: 70px; }
.la-fact {
    display: none;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 14px 16px;
    text-align: left;
    font-size: .85rem;
    color: #ffffff !important;
    animation: la-fadeIn .5s ease;
}
.la-fact.active { display: flex; }
.la-fact span { font-size: 1.1rem; flex-shrink: 0; }
.la-fact p { margin: 0; line-height: 1.5; }
@keyframes la-fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== RESULT ===== */
#lip-analysis-result {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 16px 40px;
}
.la-result-header {
    background: linear-gradient(135deg, #831843, #be185d);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    color: white !important;
    margin-bottom: 28px;
}
.la-result-header * { color: #ffffff !important; }
.la-result-icon { font-size: 3.5rem; display: block; margin-bottom: 12px; }
.la-result-header h3 {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
    color: #ffffff !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.2) !important;
}
.la-result-header p { margin: 0 !important; color: #ffffff !important; font-size: .95rem !important; }

#la-result-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border: 1px solid #fce7f3;
    line-height: 1.75;
}

/* Konsültasyon daveti kutusu - gradient arka plan üstündeki tüm yazılar beyaz */
#la-result-content div[style*="linear-gradient"] *,
#la-result-content div[style*="background:linear-gradient"] *,
#la-result-content div[style*="background: linear-gradient"] {
    color: #ffffff !important;
}
#la-result-content div[style*="linear-gradient"] h3,
#la-result-content div[style*="linear-gradient"] p,
#la-result-content div[style*="linear-gradient"] a {
    color: #ffffff !important;
    opacity: 1 !important;
}
#la-result-content h2 {
    color: #831843;
    font-size: 1.4rem;
    font-weight: 700;
    border-bottom: 2px solid #fce7f3;
    padding-bottom: 10px;
    margin-top: 0;
}
#la-result-content h3 {
    color: #be185d;
    font-size: 1.1rem;
    font-weight: 700;
    border-left: 4px solid #ec4899;
    padding-left: 12px;
    margin-top: 24px;
    background: transparent;
}
#la-result-content p { color: #374151; margin-bottom: 12px; }
#la-result-content ul { padding-left: 20px; }
#la-result-content li { color: #4b5563; margin-bottom: 6px; }
#la-result-content strong { color: #831843; }

.la-new-analysis-btn {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 1rem;
    text-align: center;
    background: transparent;
    border: 2px solid #be185d;
    border-radius: 12px;
    color: #be185d;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
}
.la-new-analysis-btn:hover { background: #be185d; color: white; }

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .la-header-inner { padding: 28px 20px; }
    .la-header-inner h2 { font-size: 1.4rem; }
    .la-section { padding: 18px 16px; }
    #la-result-content { padding: 20px 16px; }
    .la-result-header { padding: 28px 20px; }
    .la-photo-grid { gap: 12px; }
}

/* ===== CTA BOX ===== */
.la-cta-box {
    background: linear-gradient(160deg, #0f0f0f 0%, #1a001a 60%, #2d0035 100%);
    border-radius: 20px;
    padding: 48px 32px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 24px;
}
.la-cta-box::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(190,24,93,.25) 0%, transparent 70%);
    pointer-events: none;
}
.la-cta-box::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(236,72,153,.2) 0%, transparent 70%);
    pointer-events: none;
}
.la-cta-inner { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.la-cta-badge {
    display: inline-block;
    background: #be185d;
    color: #fff !important;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 20px;
}
.la-cta-box h3 {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin: 0 0 16px !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
}
.la-cta-box h3 span { color: #f472b6 !important; }
.la-cta-subtitle {
    font-size: .95rem !important;
    color: rgba(255,255,255,.9) !important;
    margin-bottom: 14px !important;
    line-height: 1.6 !important;
}
.la-cta-subtitle strong { color: #fff !important; }
.la-cta-location {
    font-size: .88rem !important;
    color: rgba(255,255,255,.7) !important;
    margin-bottom: 28px !important;
}
.la-cta-location strong { color: #fff !important; }
.la-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.la-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff !important;
    font-size: .95rem;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all .2s;
    border: none;
}
.la-btn-whatsapp:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.la-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff !important;
    font-size: .95rem;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none !important;
    border: 2px solid #be185d;
    transition: all .2s;
}
.la-btn-phone:hover { background: #be185d; transform: translateY(-2px); }
.la-cta-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,.1);
    margin: 0 0 20px;
}
.la-btn-new {
    background: transparent;
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.6) !important;
    font-size: .85rem;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.la-btn-new:hover { border-color: rgba(255,255,255,.5); color: #fff !important; }
@media (max-width: 500px) {
    .la-cta-box { padding: 36px 20px 32px; }
    .la-cta-box h3 { font-size: 1.5rem !important; }
    .la-cta-buttons { flex-direction: column; align-items: center; }
    .la-btn-whatsapp, .la-btn-phone { width: 100%; justify-content: center; }
}

/* CTA wrapper - sonuç ekranında her zaman görünür */
#la-cta-wrapper {
    display: none;
}
#la-cta-wrapper[style*="display: block"],
#la-cta-wrapper[style*="display:block"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}
