/*
   REVOLUČNÍ ONBOARDING v3.0 - SAAS AUTOŠKOLA
   Design: Vzdušný, moderní, high-impact
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --bg-white: #ffffff;
    --bg-soft: #fcfcfc;
    --border: #f0f0f0;
    --shadow-soft: 0 30px 60px -12px rgba(0,0,0,0.08), 0 18px 36px -18px rgba(0,0,0,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Hlavní wrapper přes celou obrazovku */
.onboard-view {
    width: 100%;
    max-width: 900px;
    padding: 40px;
    text-align: center;
}

/* Karty kroků - žádné boxy, jen čistý prostor */
.step-card {
    display: none;
    animation: fadeInScale 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.step-card.active { display: block; }

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Obří ikony s charakterem */
.main-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 30px;
    display: inline-block;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1;
}

.subtitle {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.4;
}

/* Informační bloky s designem */
.context-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 60px 0;
    text-align: left;
}

.c-item {
    padding: 30px;
    background: var(--bg-soft);
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: 0.3s;
}
.c-item:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-soft); }

.c-item i { font-size: 1.8rem; color: var(--primary); margin-bottom: 20px; display: block; }
.c-item h3 { font-weight: 800; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 10px; }
.c-item p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Inputy - velké a čisté */
.input-giant {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.form-control {
    width: 100%;
    padding: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    border: 2px solid var(--border);
    border-radius: 15px;
    text-align: center;
    font-family: inherit;
    transition: 0.3s;
    background: var(--bg-soft);
}
.form-control:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

/* Tlačítka - WOW efekt */
.btn-massive {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 25px 60px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 30px;
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.3);
}
.btn-massive:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 30px 50px rgba(231, 76, 60, 0.4); }

/* URL Display pro subdoménu */
.url-giant {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid var(--border);
    margin: 20px 0;
}
.url-giant input {
    border: none; background: transparent; font-size: 1.5rem; font-weight: 900;
    color: var(--primary); text-align: right; outline: none; width: 200px;
}
.url-giant span { font-size: 1.5rem; font-weight: 900; color: var(--text-dark); }

/* Pin Boxes */
.pin-grid { display: flex; justify-content: center; gap: 20px; margin: 50px 0; }
.pin-box {
    width: 70px; height: 90px; font-size: 2.5rem; font-weight: 900;
    border: 3px solid var(--border); border-radius: 15px; text-align: center;
    background: var(--bg-soft); transition: 0.3s;
}
.pin-box:focus { border-color: var(--primary); background: #fff; transform: translateY(-5px); }

/* Loader - Divadlo */
#loader-text {
    font-size: 1.5rem; font-weight: 800; color: var(--primary);
    margin-top: 40px; text-transform: uppercase; letter-spacing: 1px;
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .subtitle { font-size: 1.1rem; }
    .context-box { grid-template-columns: 1fr; }
}
