/* =============================================
   iCoder Academy – Free Session Page
   ============================================= */

/* ──── Hero ──── */
.fs-hero {
    background: linear-gradient(135deg, #2E7D32 0%, #1976D2 50%, #7B1FA2 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.fs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.fs-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    padding: 8px 22px;
    color: white;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.fs-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    margin: 0 0 14px;
}

.fs-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.85);
    margin: 0 auto 28px;
    max-width: 550px;
}

.fs-hero-features {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.fs-hero-feat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50px;
    padding: 8px 20px;
    color: white;
    font-size: .85rem;
    font-weight: 600;
}

/* ──── Section ──── */
.fs-section {
    padding: 50px 0 80px;
    background: #F4F8FF;
}

/* ──── Form Card ──── */
.fs-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(27,40,69,.06);
    border: 1px solid rgba(27,40,69,.06);
}

/* ──── Steps ──── */
.fs-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    max-width: 360px;
    margin-inline: auto;
}

.fs-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.fs-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e0e7f1;
    color: #8896a7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    transition: all .3s;
}

.fs-step.active .fs-step-num {
    background: #1976D2;
    color: white;
    box-shadow: 0 0 0 5px rgba(25,118,210,.12);
}

.fs-step.done .fs-step-num {
    background: #2E7D32;
    color: white;
}

.fs-step span {
    font-size: .75rem;
    font-weight: 600;
    color: #8896a7;
}

.fs-step.active span { color: #1976D2; }
.fs-step.done span   { color: #2E7D32; }

.fs-step-line {
    flex: 1;
    height: 3px;
    background: #e0e7f1;
    margin: 0 12px;
    margin-bottom: 24px;
    border-radius: 3px;
    transition: background .3s;
}

.fs-step-line.active { background: #2E7D32; }

/* ──── Form Titles ──── */
.fs-form-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1B2845;
    text-align: center;
    margin: 0 0 6px;
}

.fs-form-title i {
    color: #1976D2;
    margin-inline-end: 8px;
}

.fs-form-desc {
    font-size: .92rem;
    color: #5a6a80;
    text-align: center;
    margin: 0 0 28px;
}

/* ──── Interest Cards ──── */
.fs-interests {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.fs-interest {
    position: relative;
    background: #f8fafd;
    border: 2px solid #e8edf5;
    border-radius: 16px;
    padding: 24px 16px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.fs-interest:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.fs-interest.selected {
    box-shadow: 0 0 0 3px rgba(25,118,210,.15);
}

.fs-interest--blue.selected   { border-color: #1976D2; background: rgba(25,118,210,.04); }
.fs-interest--green.selected  { border-color: #2E7D32; background: rgba(46,125,50,.04); }
.fs-interest--orange.selected { border-color: #E65100; background: rgba(230,81,0,.04); }
.fs-interest--red.selected    { border-color: #C62828; background: rgba(198,40,40,.04); }
.fs-interest--purple.selected { border-color: #7B1FA2; background: rgba(123,31,162,.04); }

.fs-interest-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.fs-interest--blue .fs-interest-icon   { background: rgba(25,118,210,.1);  color: #1976D2; }
.fs-interest--green .fs-interest-icon  { background: rgba(46,125,50,.1);   color: #2E7D32; }
.fs-interest--orange .fs-interest-icon { background: rgba(230,81,0,.1);    color: #E65100; }
.fs-interest--red .fs-interest-icon    { background: rgba(198,40,40,.1);   color: #C62828; }
.fs-interest--purple .fs-interest-icon { background: rgba(123,31,162,.1);  color: #7B1FA2; }

.fs-interest-name {
    font-size: .92rem;
    font-weight: 700;
    color: #1B2845;
}

.fs-interest-desc {
    font-size: .75rem;
    color: #5a6a80;
    line-height: 1.4;
}

.fs-interest-check {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    color: #2E7D32;
    font-size: 1.1rem;
}

/* ──── Selected Track Banner ──── */
.fs-selected-track {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(25,118,210,.05);
    border: 1px solid rgba(25,118,210,.15);
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 24px;
    font-size: .88rem;
    color: #1B2845;
}

.fs-selected-track > i {
    color: #1976D2;
    font-size: 1.1rem;
}

.fs-change-btn {
    margin-inline-start: auto;
    background: none;
    border: none;
    color: #1976D2;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}

.fs-change-btn:hover { text-decoration: underline; }

/* ──── Navigation ──── */
.fs-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
    transition: all .2s;
    border: none;
    text-decoration: none;
    font-family: inherit;
}

.lp-btn--back {
    background: #f0f3f8;
    color: #5a6a80;
}

.lp-btn--back:hover {
    background: #e4e9f0;
    color: #1B2845;
}

.lp-btn--next {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    color: white;
    box-shadow: 0 4px 14px rgba(25,118,210,.25);
}

.lp-btn--next:hover {
    box-shadow: 0 6px 20px rgba(25,118,210,.35);
    transform: translateY(-1px);
}

/* ──── Submit Button ──── */
.fs-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    background: linear-gradient(135deg, #2E7D32, #43A047);
    color: white;
    box-shadow: 0 4px 16px rgba(46,125,50,.25);
    transition: all .25s;
}

.fs-submit-btn:hover {
    box-shadow: 0 6px 24px rgba(46,125,50,.35);
    transform: translateY(-1px);
}

.fs-submit-btn:disabled {
    opacity: .7;
    cursor: wait;
}

/* ──── Success ──── */
.fs-success {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 4px 24px rgba(27,40,69,.06);
    text-align: center;
}

.fs-success-icon {
    font-size: 3.5rem;
    color: #2E7D32;
    margin-bottom: 20px;
}

.fs-success h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1B2845;
    margin: 0 0 12px;
}

.fs-success p {
    font-size: 1rem;
    color: #5a6a80;
    margin: 0 0 28px;
    max-width: 420px;
    margin-inline: auto;
    line-height: 1.7;
}

.fs-success-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.fs-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    background: rgba(37,211,102,.1);
    border: 2px solid #25D366;
    color: #25D366;
    transition: all .2s;
}

.fs-btn-whatsapp:hover {
    background: rgba(37,211,102,.18);
    color: #25D366;
}

/* ──── Responsive ──── */
@media (max-width: 768px) {
    .fs-hero { padding: 60px 0 40px; }
    .fs-hero-title { font-size: 1.7rem; }
    .fs-form-card { padding: 24px 18px; }
    .fs-interests { grid-template-columns: repeat(2, 1fr); }
    .fs-hero-features { gap: 10px; }
    .fs-hero-feat { font-size: .78rem; padding: 6px 14px; }
    .fs-selected-track { flex-wrap: wrap; }
    .fs-success { padding: 40px 20px; }
}

@media (max-width: 480px) {
    .fs-interests { grid-template-columns: 1fr; }
    .fs-success-actions { flex-direction: column; }
}
