:root {
    --bg-color: #FDFCF8;
    --primary: #2D1B4E;
    --accent: #FF6B6B;
    --sky-blue: #F0F7FF;
    --border: #E5E0EB;
    --text-light: #6E6280;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(45, 27, 78, 0.08);
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* --- DECORATION (BLOBS) --- */
.shape-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}
.blob-1 { width: 400px; height: 400px; background-color: rgba(45, 27, 78, 0.08); top: -100px; left: -100px; }
.blob-2 { width: 300px; height: 300px; background-color: rgba(255, 107, 107, 0.12); bottom: 10%; right: -50px; }

/* --- HEADER --- */
header { 
    width: 100%;
    max-width: 650px;
    padding: 40px 20px; 
    text-align: center; 
}

.logo { 
    font-weight: 800; 
    font-size: 1.6rem; 
    text-decoration: none; 
    color: var(--primary); 
    display: inline-block;
    margin-bottom: 20px;
}
.logo span { color: var(--accent); }

.progress-bar { 
    width: 100%; 
    max-width: 300px; 
    height: 6px; 
    background: #eee; 
    border-radius: 10px; 
    margin: 0 auto 10px; 
    overflow: hidden; 
}
.progress-fill { 
    height: 100%; 
    background: var(--accent); 
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
}
.step-text { font-size: 0.8rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- CONTAINER --- */
.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 20px 150px 20px;
    text-align: center;
}

h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -1px; }
.username-highlight { color: var(--accent); }
.subtitle { font-size: 1.1rem; color: var(--text-light); margin-bottom: 40px; line-height: 1.5; }

/* --- SELECTION MANUELLE DU DOMAINE --- */
.domain-selection-box {
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.input-modern-wrapper {
    display: flex;
    align-items: center;
    background: var(--sky-blue);
    border: 2px solid var(--border);
    border-radius: 14px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.input-modern-wrapper:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(45, 27, 78, 0.05);
}

.url-prefix {
    font-weight: 700;
    color: var(--text-light);
    font-size: 1.1rem;
    user-select: none;
}

.input-modern {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    width: 100%;
    margin-left: 2px;
    outline: none;
}

.input-hint {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* --- ACCORDÉON --- */
.accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.accordion-item {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item.active { 
    border-color: var(--primary); 
    box-shadow: var(--shadow);
}

.accordion-header { 
    padding: 20px 24px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    cursor: pointer; 
}

.header-left { display: flex; align-items: center; gap: 15px; }

.icon-box { 
    width: 44px; height: 44px; 
    background: var(--sky-blue); 
    border-radius: 12px; 
    display: flex; align-items: center; justify-content: center; 
    color: var(--primary);
    transition: 0.3s;
}

.accordion-item.active .icon-box { background: var(--primary); color: var(--white); }

.accordion-title { font-weight: 700; font-size: 1.05rem; }

.arrow-icon { color: var(--text-light); transition: transform 0.3s ease; }
.accordion-item.active .arrow-icon { transform: rotate(180deg); }

.accordion-body { max-height: 0; opacity: 0; transition: all 0.4s ease; }
.accordion-item.active .accordion-body { max-height: 200px; opacity: 1; }

.body-content { padding: 0 24px 24px 83px; color: var(--text-light); font-size: 0.95rem; line-height: 1.5; }

/* --- CTA (BOUTON) --- */
.cta-wrapper {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, var(--bg-color) 70%, transparent);
    display: flex; justify-content: center;
    z-index: 100;
}

.btn-next {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 18px 45px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(45, 27, 78, 0.2);
    display: flex; align-items: center; gap: 12px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-next:hover { transform: translateY(-3px); background: #1b1030; }

/* --- ANIMATIONS --- */
.animate { opacity: 0; animation: fadeInUp 0.6s ease-out forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }