/* ===== index-inline.css - Premium Homepage Styles ===== */
/* Version: 20260130 - Enhanced Edition */

/* ===== Hidden Utility ===== */
.hidden {
    display: none !important;
}

/* ===== Entrance Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* ===== Hero Badge Top (招生中標籤) ===== */
.hero-badge-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 194, 255, 0.1));
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge-top .badge-icon {
    font-size: 18px;
}

/* ===== Hero Title Enhancement ===== */
.hero-title {
    font-size: 52px;
    line-height: 1.2;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text-main);
}

.text-gradient-premium {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #00E5FF 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-section {
    position: relative;
    padding: 140px 0 120px;
    background: #fbfdff;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -20%, rgba(0, 102, 255, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 102, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 16px;
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
    letter-spacing: 0.03em;
    max-width: 540px;
}

/* 玻璃態面板進階優化 */
.glass-panel-premium {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
}

/* 標題與段落強調樣式 */
.hero-title,
.section-title {
    letter-spacing: -0.01em;
}

strong {
    color: var(--primary);
    position: relative;
    font-weight: 700;
}

p strong {
    background: linear-gradient(120deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 102, 255, 0.1) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 90%;
}

/* ===== Header (Premium Navigation) ===== */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
    padding: 0 24px;
}

/* Logo Design */
.logo-wrap {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.logo-badge {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: rgba(0, 102, 255, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
    font-weight: 700;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-year {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-main);
}

.title-main {
    font-size: 19px;
    font-weight: 800;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
}

.title-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 6px;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 0px rgba(0, 102, 255, 0));
    }

    50% {
        filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.4));
    }
}

/* Navigation Links */
.nav-links-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-body);
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
}

.cta-arrow {
    margin-left: 6px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* ===== Hero Visual Enhancement ===== */
.visual-container {
    position: relative;
    width: 520px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.15);
}

.visual-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.visual-badge .badge-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.visual-badge .badge-text {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
}

/* ===== Particles Animation ===== */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatParticle 15s ease-in-out infinite;
}

.particle-1 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 194, 255, 0.2), transparent 70%);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.particle-2 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.15), transparent 70%);
    top: 60%;
    left: 15%;
    animation-delay: 2s;
}

.particle-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 194, 255, 0.1), transparent 70%);
    top: 20%;
    right: 10%;
    animation-delay: 4s;
}

.particle-4 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2), transparent 70%);
    bottom: 30%;
    right: 20%;
    animation-delay: 6s;
}

.particle-5 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 70%);
    bottom: 10%;
    left: 40%;
    animation-delay: 8s;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translate(30px, -40px) scale(1.1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-20px, -60px) scale(0.9);
        opacity: 0.5;
    }

    75% {
        transform: translate(40px, -20px) scale(1.05);
        opacity: 0.7;
    }
}

/* ===== Glass Orb Enhancement ===== */
.glass-orb.orb-2 {
    width: 80px;
    height: 80px;
    top: auto;
    bottom: 40%;
    right: 20%;
    animation-delay: 2s;
}

/* ===== Console Header ===== */
.console-header {
    margin-bottom: 20px;
}

.console-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.console-icon {
    font-size: 24px;
}



/* ===== About Section ===== */
.about-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #F8FAFC 0%, #FFFFFF 100%);
}

.section-intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 35px;
    padding-left: 24px;
    border-left: 5px solid var(--primary);
    background: linear-gradient(to right, rgba(0, 102, 255, 0.05), transparent);
    padding: 24px;
    border-radius: 0 16px 16px 0;
}

.section-intro-text strong {
    color: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 194, 255, 0.1));
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 24px auto 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #F1F5F9;
    transition: all 0.3s;
}

.about-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.2);
}

.about-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.about-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.about-text p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

.about-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.about-visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    gap: 12px;
}

.about-badge span {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.about-badge .badge-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

/* ===== Advantages Section (課程四大優勢區) ===== */
.advantages-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F0F7FF 100%);
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 194, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.advantage-card {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.console-icon {
    font-size: 24px;
    color: var(--text-main);
}

/* ===== Date Range Filter Styling ===== */
.date-range-group {
    display: flex;
    gap: 12px;
}

.date-input {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.date-input label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}