@charset "utf-8";

/* 
    [INTOEFL Global Styles - Final Version (Compact 500px)] 
    - Upload path: /widget/img/style.css
    - Height: 500px (Compact)
    - Padding: 40px (Unified)
*/

/* 1. Font Import (Pretendard) */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/* 2. Global Variables */
:root {
    --primary-color: #7d44ff;
    --primary-hover: #6c35e8;
    --text-main: #ffffff;
    --text-sub: #cbd5e0;
    --bg-dark: #111115;
    --font-main: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

/* 3. Hero Section Styles */
.it-hero-container {
    position: relative;
    width: 100%;
    /* Premium Dark Gradient */
    background: radial-gradient(108.8% 120% at 50% 0%, #2A2A38 0%, #111115 100%);
    /* COMPACT MODE: 500px + Balanced Padding */
    padding: 40px 20px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px !important;
    box-sizing: border-box;
    font-family: var(--font-main);
    overflow: hidden;
}

.it-hero-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    gap: 40px;
    /* No transform needed for compact mode */
}

.it-hero-content {
    max-width: 600px;
    text-align: left;
    flex: 1;
}

.it-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    background: #fff;
    margin-bottom: 24px;
}

.it-hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 20px 0;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.it-hero-title span {
    color: #9F7AEA;
}

.it-hero-desc {
    font-size: 18px;
    color: var(--text-sub);
    margin: 0 0 40px 0;
    font-weight: 400;
    line-height: 1.6;
}

/* Buttons */
.it-hero-actions {
    display: flex;
    gap: 16px;
}

.it-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.it-btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(125, 68, 255, 0.39);
}

.it-btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.it-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.it-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Right Visual */
.it-hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.it-card-mockup {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    /* Scale fix for smaller screens */
    transform-origin: right center;
}

@media (max-width: 1440px) {
    .it-card-mockup {
        transform: scale(0.9);
    }
}

/* 4. Card Component Styles */
.it-card-label {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 12px;
}

.it-card-stat-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.it-card-stat-num {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.it-card-stat-unit {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.it-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 24px;
    overflow: hidden;
}

.it-progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0;
    border-radius: 4px;
    animation: itFillProgress 1.5s ease-out forwards;
}

@keyframes itFillProgress {
    from {
        width: 0;
    }

    to {
        width: 94%;
    }
}

.it-card-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 16px;
    align-items: center;
}

.it-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(125, 68, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.it-card-text {
    color: #eee;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
}

.it-card-text strong {
    color: #fff;
    font-weight: 600;
    display: block;
}

.it-card-text span {
    font-size: 13px;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
    .it-hero-container {
        padding: 40px 20px !important;
        height: auto !important;
        min-height: auto !important;
    }

    .it-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .it-hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .it-hero-title {
        font-size: 32px;
    }

    .it-hero-desc {
        font-size: 18px;
    }

    .it-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .it-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .it-hero-visual {
        justify-content: center;
        width: 100%;
    }

    .it-card-mockup {
        padding: 30px;
        transform: none;
        /* Reset scale for mobile */
    }
}
