/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #e8f4fc 0%, #d4e8f5 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== PAGES ===== */
.page {
    display: none;
    min-height: 100vh;
    animation: fadeIn 0.5s ease-in;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== PAGE 1 - HERO SECTION ===== */

/* Warning Banner Top */
.warning-banner-top {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 25px;
    border-radius: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: 500;
}

.warning-dot {
    width: 12px;
    height: 12px;
    background: #ff9800;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Hero Section - 2 Column Layout */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
    padding: 20px 0;
}

/* Left Column */
.hero-left {
    padding-right: 20px;
}

.hero-headline {
    font-size: 32px;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 30px;
    font-weight: 800;
}

.hero-headline .highlight {
    color: #e53935;
}

.benefits-subtitle {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Benefits List - Cards */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 18px 20px;
    border-radius: 12px;
    color: white;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateX(5px);
}

.benefit-number {
    font-size: 28px;
    font-weight: 900;
    font-style: italic;
    opacity: 0.7;
    min-width: 45px;
}

.benefit-content {
    font-size: 15px;
    line-height: 1.5;
}

/* Hero CTA Button */
.hero-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
    transition: all 0.3s ease;
}

.hero-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(79, 172, 254, 0.5);
}

.arrow-icon {
    font-size: 20px;
    background: rgba(255,255,255,0.2);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Right Column - Video Thumbnail */
.hero-right {
    display: flex;
    flex-direction: column;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.video-thumbnail iframe {
    width: 100%;
    height: 350px;
    border: none;
}

.video-wrapper {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
    position: absolute;
    top: 0;
    left: 0;
}

.img-wrapper {
    position: relative;
    width: 100%;
    cursor: pointer;
}

.img-wrapper img {
    width: 100%;
    display: block;
    border-radius: 20px 20px 0 0;
    object-fit: cover;
    height: 420px;
}

.fake-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fake-play-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.2s, background 0.2s;
}

.fake-play-circle span {
    font-size: 32px;
    color: #e53935;
    margin-left: 6px;
}

.img-wrapper:hover .fake-play-circle {
    transform: scale(1.12);
    background: white;
}

.fake-play-duration {
    background: rgba(0,0,0,0.65);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.mute-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255,255,255,0.7);
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.mute-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.4);
}

.play-button span {
    color: white;
    font-size: 30px;
    margin-left: 5px;
}

.video-caption {
    background: linear-gradient(135deg, #00bcd4 0%, #009688 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

/* ===== MODAL POPUP ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.modal-title {
    font-size: 22px;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

.modal-form .form-row {
    margin-bottom: 15px;
}

.modal-form input[type="text"],
.modal-form input[type="tel"] {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.modal-form input:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.2);
}

.modal-submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.modal-note {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-top: 20px;
}

/* ===== PAGE 2 & 3 STYLES ===== */

/* Urgent Warning */
.urgent-warning {
    background: #d32f2f;
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(211, 47, 47, 0.4);
}

.urgent-warning h2 {
    font-size: 24px;
    animation: pulse 1.5s infinite;
}

/* Headlines */
.main-headline {
    font-size: 36px;
    line-height: 1.3;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-align: center;
}

.main-headline .highlight {
    color: #e53935;
    font-weight: 900;
}

.main-headline.danger {
    color: #d32f2f;
}

.main-headline.success {
    color: #2e7d32;
}

/* Video Container */
.video-container {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 40px 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* CTA Buttons */
.cta-button {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    padding: 20px 40px;
    font-size: 22px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.5);
}

.cta-button.large {
    font-size: 24px;
    padding: 25px 50px;
}

.cta-button.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Explanation Box */
.explanation-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #4CAF50;
}

.cta-text {
    font-size: 20px;
    font-weight: bold;
    color: #2e7d32;
    text-align: center;
    margin: 0;
}

/* Benefits Box */
.benefits-box {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    border: 2px solid #4CAF50;
}

.benefits-box h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.benefits-box ul {
    list-style: none;
    margin-bottom: 20px;
}

.benefits-box li {
    padding: 10px 0;
    font-size: 18px;
    color: #333;
}

.urgency-text {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    color: #d32f2f;
    margin-top: 20px;
}

/* Form Styles */
.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-label:hover {
    background: #e8f5e9;
    border-color: #4CAF50;
}

.radio-label input[type="radio"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.radio-label span {
    flex: 1;
    font-size: 16px;
}

.submit-btn {
    margin-top: 30px;
}

.form-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
}

.form-footer p {
    margin: 10px 0;
    color: #666;
}

/* Thank You Page */
.thank-you-content {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.thank-you-message {
    margin: 30px 0;
    text-align: center;
}

.thank-you-message p {
    margin-bottom: 15px;
    font-size: 18px;
}

.important-note {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.contact-box {
    background: #e8f5e9;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.contact-box h3 {
    margin-bottom: 20px;
    color: #1a1a1a;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.phone-number {
    font-size: 24px;
    font-weight: bold;
}

.phone-number a {
    color: #2e7d32;
    text-decoration: none;
}

.phone-number a:hover {
    text-decoration: underline;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: white;
    margin-top: 20px;
    font-size: 18px;
}

/* ===== PAGE 2 - VIDEO PAGE ===== */
.page2-container {
    min-height: 100vh;
    background: linear-gradient(180deg, #e8f4fc 0%, #d4e8f5 50%, #3a3a3a 50%, #2d2d2d 100%);
    padding: 20px;
    text-align: center;
}

.page2-warning {
    background: #fff9e6;
    color: #333;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page2-headline {
    font-size: 32px;
    font-weight: 900;
    color: #1a1a1a;
    margin: 30px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page2-video-container {
    max-width: 700px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.page2-video-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.page2-instruction {
    font-size: 18px;
    color: #fff;
    margin: 25px 0 15px;
    padding: 0 20px;
}

.page2-instruction .highlight-icon {
    color: #ffc107;
}

.page2-emoji {
    font-size: 30px;
    margin: 10px 0;
}

.page2-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 20px 50px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin: 20px 0;
    box-shadow: 0 8px 30px rgba(79, 172, 254, 0.4);
    transition: all 0.3s ease;
    max-width: 90%;
}

.page2-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(79, 172, 254, 0.5);
}

.page2-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.page2-school-name {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.page2-phone {
    color: #4facfe;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

.page2-phone:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
   .hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;   /* <-- stretch edi, center qilindi */
    padding: 20px 0;
    }

    .hero-left {
        padding-right: 0;
        text-align: center;
    }

    .hero-headline {
        font-size: 28px;
    }

    .hero-cta-button {
        margin: 0 auto;
    }

    .hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* <-- qo'shildi */
    }

    .video-thumbnail {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .hero-headline {
        font-size: 24px;
    }

    .benefit-card {
        padding: 15px;
    }

    .benefit-number {
        font-size: 24px;
        min-width: 35px;
    }

    .benefit-content {
        font-size: 14px;
    }

    .hero-cta-button {
        padding: 15px 30px;
        font-size: 16px;
    }

    .video-thumbnail iframe {
    width: 100%;
    height: 100%;          /* <-- 350px edi */
    min-height: 280px;     /* <-- qo'shildi */
    max-height: 420px;     /* <-- qo'shildi */
    border: none;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-title {
        font-size: 18px;
    }

    .main-headline {
        font-size: 24px;
    }

    .cta-button {
        font-size: 18px;
        padding: 15px 30px;
    }

    .cta-button.large {
        font-size: 18px;
        padding: 18px 35px;
    }

    .form-container {
        padding: 25px;
    }

    .thank-you-content {
        padding: 30px 20px;
    }

    .phone-number {
        font-size: 20px;
    }

    /* Page 2 responsive */
    .page2-headline {
        font-size: 24px;
    }

    .page2-video-container iframe {
        height: 300px;
    }

    .page2-instruction {
        font-size: 16px;
    }

    .page2-cta-button {
        padding: 16px 35px;
        font-size: 16px;
    }

    .page2-phone {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .warning-banner-top {
        font-size: 14px;
        padding: 10px 20px;
    }

    .hero-headline {
        font-size: 20px;
    }

    .benefits-subtitle {
        font-size: 18px;
    }

    .benefit-card {
        padding: 12px 15px;
    }

    .benefit-number {
        font-size: 20px;
        min-width: 30px;
    }

    .benefit-content {
        font-size: 13px;
    }

    .hero-cta-button {
        padding: 14px 25px;
        font-size: 14px;
    }

    .arrow-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .video-thumbnail iframe {
        height: 220px;
    }

    .video-caption {
        font-size: 14px;
        padding: 12px 15px;
    }

    /* Page 2 responsive 480px */
    .page2-headline {
        font-size: 20px;
    }

    .page2-video-container iframe {
        height: 220px;
    }

    .page2-instruction {
        font-size: 14px;
    }

    .page2-cta-button {
        padding: 14px 25px;
        font-size: 14px;
    }
}
