@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.leadForm {
    min-height: 400px;
}

.container {
    max-width: 450px;
    width: 100%;
    background: #fff;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.logo-circle {
    width: 100px;
    height: 100px;
    border: 1px solid #ddd;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

.logo-circle img {
    max-width: 100%;
    border-radius: 50%;
    height: auto;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 30px;
    text-align: center;
}

.step {
    display: none;
    flex-grow: 1;
}

.step.active {
    display: flex;
    flex-direction: column;
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-item {
    padding: 16px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    background-color: #f7fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    color: #2d3748;
    text-align: left;
    outline: none;
}

.option-item:hover {
    background-color: #edf2f7;
}

.option-item.selected {
    border-color: #0161ab;
    background-color: #eff6ff;
    color: #0161ab;
    font-weight: 600;
}

.input-field {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    background-color: #f7fafc;
    margin-bottom: 12px;
    font-size: 16px;
    outline: none;
}

.input-field:focus {
    border-color: #0161ab;
    background-color: #fff;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    margin-left: 10px;
    text-align: left;
}

.footer {
    padding: 20px 0;
    margin-top: auto;
}

.btn-primary {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 15px;
    background-color: #0161ab;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #0161ab;
}

.btn-primary:disabled {
    background-color: #0161ab60;
    cursor: not-allowed;
}

/* Progress Bar */
.progress-container {
    display: flex;
    gap: 6px;
    margin-bottom: 30px;
    padding: 0 10px;
}

.progress-piece {
    flex: 1;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.progress-piece.active {
    background-color: #0161ab;
}

.progress-piece.completed {
    background-color: #0161ab;
}

/* Clients Section */
.clients-section {
    position: relative;
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
    background-color: #fff;
}

.ribbon-container {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ribbon {
    position: absolute;
    width: 120%;
    height: 80px;
    background-color: #0161ab;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ribbon.up {
    position: absolute;
    transform: rotate(0deg);
    top: 44px;
    z-index: 1;
}

.ribbon.down {
    display: none;
    transform: rotate(10deg);
    bottom: 0;
    z-index: 1;
}

.marquee {
    display: flex;
    width: 200%;
    animation: marquee 20s linear infinite;
}

.ribbon.down .marquee {
    animation-direction: reverse;
}

.marquee-content {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.client-logo {
    height: 50px;
    width: 50px;
    background: #fff;
    border-radius: 50%;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    flex-shrink: 0;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
}

.clients-badge {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translate(-50%, -0%);
    background: linear-gradient(180deg, #0161ab 0%, #044475 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    z-index: 10;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid #fff;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Students App Section */
.students-app-section {
    width: 100%;
    padding: 0;
    background-color: #f8fafc;
    text-align: center;
    margin-top: 20px;
}

.section-header-pill {
    display: inline-block;
    background: linear-gradient(180deg, #e31616 0%, #820202 100%);
    color: white;
    color: white;
    padding: 12px 30px;
    border: 2px solid #fff;
    border-radius: 20px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.arrow-down {
    margin-left: 8px;
    font-size: 18px;
}

.screenshots-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.screenshots-container {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    width: max-content;
}

.screenshot-img {
    height: 400px;
    border-radius: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.screenshot-img:hover {
    transform: scale(1.03);
}

/* Modal / Lightbox */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.modal-content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 90%;
}

.modal-content {
    max-height: 90vh;
    max-width: 90vw;
    border-radius: 15px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: color 0.3s;
}

.modal-nav:hover {
    color: #0161ab;
}

.modal-nav.prev {
    left: 0;
}

.modal-nav.next {
    right: 0;
}

/* Telegram Button Style */
.btn-telegram {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #0088cc 0%, #00a2ed 100%);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    border: none;
    margin-top: 10px;
    overflow: hidden;
}

.btn-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    background: linear-gradient(135deg, #00a2ed 0%, #0088cc 100%);
}

.tg-icon {
    position: absolute;
    left: -10px;
    width: 54px;
    height: 54px;
    object-fit: contain;
}

/* For mobile width optimization as requested */
@media (max-width: 480px) {
    body {
        padding: 0;
    }

    .container {
        min-height: 100vh;
        padding: 0px;
        margin: 0px;
    }

    .sub-container {
        padding: 20px;
        margin: 0px;
    }
}