:root {
    --bg-dark: #0a0e17;
    --bg-darker: #05070a;
    --text-main: #e0e6ed;
    --text-muted: #94a3b8;
    --gold: #d4af37;
    --gold-glow: #f9d976;
    --cyan: #00f0ff;
    --cyan-dim: #00a8b3;
    --white: #ffffff;
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f9d976 50%, #d4af37 100%);
    --gradient-blue: linear-gradient(135deg, #00f0ff 0%, #0066ff 100%);
    --font-base: 'Noto Sans JP', sans-serif;
    --font-mincho: 'Shippori Mincho', serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Typography Helpers */
.highlight-gold {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.highlight-red {
    color: #ff6b6b;
    font-weight: bold;
    border-bottom: 2px solid #ff6b6b;
}

.text-gradient {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* Sections */
.section-dark {
    background-color: var(--bg-dark);
    padding: 80px 0;
}

.section-light {
    background-color: #f8f9fa;
    color: #333;
    padding: 80px 0;
}

.section-gradient {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #1a2332 100%);
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-mincho);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
}

.section-title-dark {
    font-family: var(--font-mincho);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.4;
    color: #1a2332;
}

.section-desc,
.section-text {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    height: auto;
    /* Allow height to grow */
    padding: 120px 0;
    /* Add padding to prevent edge clipping */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Only clips background */
}

.hero-bg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 10, 0.75);
    z-index: -1;
    background-image: radial-gradient(circle at center, transparent 0%, #05070a 90%);
}

.hero-content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding-top: 80px;
    max-width: 1200px;
    width: 100%;
}

.badge-urgent {
    background: #ff0000;
    color: white;
    padding: 15px 50px;
    font-weight: 900;
    border-radius: 8px;
    font-size: 2.4rem;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
    animation: pulse 2s infinite;
    max-width: 90%;
    margin-bottom: 20px;
    line-height: 1.2;
    border: 3px solid white;
    letter-spacing: 0.05em;
}

.hero-sub {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-family: var(--font-mincho);
    font-size: 6.5rem;
    line-height: 1.1;
    margin: 15px 0;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.02em;
}

.hero-lead {
    font-size: 1.2rem;
    opacity: 1;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.hero-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px 0;
    font-weight: bold;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: var(--gradient-gold);
    color: #333;
    font-weight: 900;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.6);
}

.cta-button.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
    animation: shimmer 3s infinite;
}

.btn-access {
    display: inline-block;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--cyan);
    color: var(--cyan);
    padding: 8px 20px;
    border-radius: 50px;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-access:hover {
    background: var(--cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

@media (max-width: 768px) {
    .btn-access {
        width: 100%;
        text-align: center;
        padding: 12px;
        margin-top: 15px;
        box-sizing: border-box;
    }
}

/* Problem Grid */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.problem-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.problem-card .icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.warning-box {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff6b6b;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
}

/* Solution / Before After */
.before-after {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.ba-item {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.ba-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.ba-label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 15px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

.ba-label.before {
    background: #666;
    color: white;
}

.ba-label.after {
    background: var(--gold);
    color: #333;
}

.ba-arrow {
    font-size: 3rem;
    color: var(--gold);
}

.solution-promise {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    /* Mobile first adjustment, handled by media query usually but keeping simple */
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold);
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    padding-left: 50px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 2px solid var(--gold);
    border-radius: 50%;
}

.timeline-item.highlight-item::before {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

.timeline-item .time {
    font-weight: bold;
    color: var(--gold);
    width: 60px;
    flex-shrink: 0;
}

.timeline-item h3 {
    margin-bottom: 5px;
    color: var(--white);
}

.timeline-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Curriculum Notice */
.curriculum-notice {
    text-align: center;
    font-size: 1.2rem;
    color: #ff4444;
    font-weight: bold;
    margin-bottom: 40px;
    padding: 15px;
    background: rgba(255, 68, 68, 0.1);
    border: 2px solid #ff4444;
    border-radius: 8px;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

/* Lecturers */
.lecturer-main {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.lecturer-img {
    width: 300px;
    height: 300px;
    background-color: #ddd;
    border-radius: 10px;
    background-image: url('placeholder.jpg');
    /* User to replace */
    background-size: cover;
    flex-shrink: 0;
}

.lecturer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #1a2332;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.lecturer-info .role {
    font-size: 1rem;
    color: #666;
    margin-right: 10px;
}

.lecturer-info .org {
    font-size: 1rem;
    font-weight: normal;
}

.lecturer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.lecturer-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.lecturer-card h3 {
    color: #1a2332;
    margin-bottom: 5px;
}

.lecturer-card .org {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    display: block;
}

/* Offer */
.offer {
    text-align: center;
}

.offer-sub {
    margin-bottom: 40px;
}

.price-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--gold);
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.price-row.secondary {
    font-size: 1.2rem;
    margin-bottom: 0;
    border: none;
}

.price-value {
    color: var(--gold);
}

.tax {
    font-size: 0.8rem;
    font-weight: normal;
    color: #aaa;
}

.price-note {
    font-size: 0.9rem;
    margin-top: 10px;
    color: var(--cyan);
}

.detail-list {
    list-style: none;
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
    font-size: 1.1rem;
}

.detail-list li {
    margin-bottom: 15px;
    border-bottom: 1px dashed #333;
    padding-bottom: 5px;
}

/* Offer Section Specific Override */
.detail-list .btn-access {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    margin: 15px auto 0;
}

.section-dark .detail-list li {
    border-bottom-color: #444;
}

.limit-box {
    background: #ff0000;
    color: white;
    display: inline-block;
    padding: 20px 40px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 1.5rem;
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Q&A */
.qa-item {
    background: white;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.question {
    font-weight: bold;
    color: #1a2332;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.answer {
    color: #555;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
}

/* Footer */
.footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 80px 0 40px;
}

.footer-title {
    font-family: var(--font-mincho);
    font-size: 2rem;
    margin-bottom: 30px;
}

.footer-text {
    margin-bottom: 40px;
}

.copyright {
    margin-top: 60px;
    color: #555;
    font-size: 0.8rem;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-content {
        padding-top: 40px;
        gap: 15px;
    }

    .section-title,
    .section-title-dark {
        font-size: 1.5rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .badge-urgent {
        font-size: 1.6rem;
        padding: 10px 20px;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 15px;
    }

    .hero-sub {
        font-size: 1.3rem;
        line-height: 1.8;
        margin-bottom: 15px;
    }

    .hero-title {
        font-size: 3.2rem;
        margin: 10px 0;
    }

    .hero-subtitle-main {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .hero-lead {
        font-size: 1rem;
        line-height: 1.9;
        text-align: center;
        padding: 0 10px;
    }

    /* Before After Mobile Adjustments */
    .before-after {
        flex-direction: column;
        gap: 10px;
    }

    .ba-item {
        width: 100%;
        max-width: 100%;
    }

    .ba-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .hero-bg img {
        object-position: center;
    }

    .lecturer-main {
        flex-direction: column;
        align-items: center;
    }

    .lecturer-img {
        margin-bottom: 20px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item::before {
        left: 1px;
    }

    .timeline-item {
        padding-left: 30px;
        flex-direction: column;
    }

    .timeline-item .time {
        margin-bottom: 5px;
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle-main {
    font-size: 3.2rem;
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 30px;
    font-family: var(--font-mincho);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.05em;
}

/* Hero Lecturers */
.hero-lecturers {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.hero-lecturer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-lecturer-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    object-fit: cover;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.hero-lecturer-item span {
    margin-top: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

/* Lecturer Cards Update */
.lecturer-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Fixes */
.cta-button {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    max-width: 100%;
}

.hero-lecturer-item img {
    width: 120px;
    height: 120px;
}

.hero-lecturers {
    gap: 30px;
}

.highlight-red-bg {
    background: #cc0000;
    color: white;
    padding: 2px 8px;
    font-weight: bold;
    border-radius: 4px;
}

.strong-lead {
    font-size: 1.4rem;
    color: #ff6b6b;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Advanced Lecturer Card Layout */
.lecturer-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lecturer-card {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.card-img-wrapper {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
}

.lecturer-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold);
}

.card-content {
    flex-grow: 1;
}

@media (max-width: 768px) {
    .lecturer-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Problem Icons Update */
.problem-card .icon {
    display: none;
}

.problem-icon-img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
}

/* Mobile Adjustment for Badges */
@media (max-width: 768px) {

    .badge-urgent,
    .limit-box {
        font-size: 1.2rem;
        padding: 10px 20px;
    }

    .hero-sub span.hero-sub-text {
        display: inline-block;
    }

    .pc-br {
        display: none;
    }

    .sp-br {
        display: block;
    }
}

@media (min-width: 769px) {
    .sp-br {
        display: none;
    }
}

/* 0th Term Recruitment Badge */
.hero-batch {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.8), 0 0 1px rgba(255, 255, 255, 0.8);
    letter-spacing: 0.1em;
    background: linear-gradient(to right, #00f0ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

@media (max-width: 768px) {
    .hero-batch {
        font-size: 1.8rem;
    }
}