/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1F2937;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 58, 138, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* ===== Color Variables ===== */
:root {
    --primary-blue: #1E3A8A;
    --secondary-blue: #3B82F6;
    --accent-orange: #F59E0B;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --background-light: #F9FAFB;
    --background-white: #FFFFFF;
    --border-light: #E5E7EB;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    --gradient-secondary: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    --gradient-hero: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 50%, #60A5FA 100%);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-blue);
    border-color: var(--primary-blue);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
    border-radius: 16px;
}

.btn-large:hover {
    transform: translateY(-4px) scale(1.03);
}

/* ===== Header ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-xl);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.catchphrase {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-blue);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-blue);
}

.header-cta {
    display: flex;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* ===== Hero Slider ===== */
.hero-slider {
    margin-top: 80px;
    height: 600px;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    animation: slideInUp 0.8s ease-out;
}

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

.slide-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    to {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
    }
}

.slide-description {
    font-size: 18px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.slide-description strong {
    color: var(--accent-orange);
    font-weight: 700;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 24px;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.slider-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: var(--transition);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover::before {
    opacity: 1;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: var(--transition);
}

.dot.active {
    background: rgba(255, 255, 255, 0.8);
    border-color: white;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.dot.active::before {
    opacity: 1;
    background: white;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Achievements Highlight ===== */
.achievements-highlight {
    padding: 80px 0;
    background-color: var(--background-light);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.kpi-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    background: rgba(255, 255, 255, 0.95);
}

.kpi-card:hover::before {
    transform: scaleX(1);
}

.kpi-number {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    animation: numberPulse 2s ease-in-out infinite;
}

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

.kpi-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.kpi-note {
    font-size: 14px;
    color: var(--text-light);
}

.achievements-note {
    text-align: center;
}

.achievements-note p {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* ===== Courses Section ===== */
.courses-section {
    padding: 80px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.course-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.course-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-blue);
    color: white;
}

.course-card:hover::before {
    opacity: 0.1;
}

.course-card:hover .course-title,
.course-card:hover .course-subtitle,
.course-card:hover .course-description p {
    color: white;
}

.course-header {
    margin-bottom: 20px;
}

.course-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.course-subtitle {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

.course-description {
    margin-bottom: 24px;
}

.course-description p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Teachers Section ===== */
.teachers-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.teachers-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.feature-icon:hover::before {
    opacity: 1;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.teachers-cta {
    text-align: center;
}

/* ===== Exam Info Section ===== */
.exam-info-section {
    padding: 80px 0;
}

.exam-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.exam-article {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border-left: 4px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.exam-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.exam-article:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-left-color: var(--accent-orange);
}

.exam-article:hover::before {
    opacity: 0.05;
}

.article-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-badge.latest {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
}

.article-badge.updated {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    color: #1E40AF;
}

.article-badge.featured {
    background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
    color: #7C3AED;
}

.article-badge:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.article-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.exam-cta {
    text-align: center;
}

/* ===== Consultation Section ===== */
.consultation-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.consultation-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.consultation-note {
    text-align: center;
}

.consultation-note p {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-blue);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.testimonial-card:hover::before {
    opacity: 0.2;
    transform: scale(1.1);
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

.author-info {
    display: flex;
    gap: 12px;
}

.author-type {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
}

.author-course {
    font-size: 14px;
    color: var(--text-light);
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.faq-question:hover {
    background: rgba(30, 58, 138, 0.05);
    color: var(--primary-blue);
}

.faq-question:hover::before {
    opacity: 0.05;
}

.question-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.faq-icon {
    color: var(--primary-blue);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px;
    max-height: 200px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Footer CTA ===== */
.footer-cta {
    padding: 80px 0;
    background: var(--gradient-hero);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 32px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(30, 58, 138, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    margin-bottom: 24px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.social-link:hover::before {
    opacity: 1;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 8px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-list a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ===== Method Page Specific Styles ===== */
.method-hero {
    margin-top: 80px;
    padding: 120px 0;
    background: var(--gradient-hero);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.method-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: titleGlow 2s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.method-section {
    padding: 80px 0;
}

.method-content {
    max-width: 1000px;
    margin: 0 auto;
}

.method-description {
    text-align: center;
    margin-bottom: 60px;
}

.method-description p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.6;
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 40px;
}

.method-step {
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: var(--transition);
}

.step-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.step-icon:hover::before {
    opacity: 1;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

.method-note {
    text-align: center;
    margin-top: 40px;
}

.method-note p {
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
}

.method-cta {
    text-align: center;
    margin-top: 40px;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.lifestyle-item {
    text-align: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.lifestyle-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.lifestyle-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-2xl);
    color: white;
}

.lifestyle-item:hover::before {
    opacity: 0.1;
}

.lifestyle-item:hover .lifestyle-title {
    color: white;
}

.lifestyle-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.lifestyle-item:hover .lifestyle-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: var(--shadow-lg);
}

.lifestyle-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.success-cases-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.case-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.case-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.case-card:hover::before {
    opacity: 0.05;
}

.case-header {
    margin-bottom: 24px;
}

.case-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.case-content {
    margin-bottom: 24px;
}

.case-item {
    margin-bottom: 16px;
}

.case-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.case-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.5;
}

.final-cta {
    padding: 80px 0;
    background: var(--gradient-hero);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ===== Responsive Design ===== */
@media (max-width: 1199px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-list {
        gap: 24px;
    }
    
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .teachers-features {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .exam-articles {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .method-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .lifestyle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    /* Mobile Header */
    .header {
        height: 60px;
    }
    
    .header-content {
        height: 60px;
    }
    
    .nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .catchphrase {
        font-size: 10px;
    }
    
    /* Mobile Hero */
    .hero-slider {
        margin-top: 60px;
        height: 400px;
    }
    
    .slide-title {
        font-size: 32px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .method-hero {
        margin-top: 60px;
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    /* Mobile Sections */
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .achievements-highlight,
    .courses-section,
    .teachers-section,
    .exam-info-section,
    .consultation-section,
    .testimonials-section,
    .faq-section,
    .method-section,
    .success-cases-section {
        padding: 60px 0;
    }
    
    .footer-cta,
    .final-cta {
        padding: 60px 0;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .consultation-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    /* Mobile Grids */
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .kpi-card {
        padding: 24px 16px;
    }
    
    .kpi-number {
        font-size: 28px;
    }
    
    .course-card {
        padding: 24px;
    }
    
    .course-title {
        font-size: 20px;
    }
    
    .teachers-features {
        gap: 24px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .exam-article {
        padding: 20px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .method-steps {
        gap: 24px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .lifestyle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .lifestyle-item {
        padding: 20px;
    }
    
    .lifestyle-icon {
        width: 48px;
        height: 48px;
    }
    
    .case-card {
        padding: 24px;
    }
    
    .case-title {
        font-size: 18px;
    }
    
    /* Mobile Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Mobile Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 16px 24px;
        font-size: 16px;
    }
}

@media (max-width: 374px) {
    .container {
        padding: 0 12px;
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .lifestyle-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .cta-title {
        font-size: 24px;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== Advanced Animations ===== */
.animate-ready {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.lazy {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy.loaded {
    opacity: 1;
}

/* ===== Floating Animation ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* ===== Pulse Animation ===== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ===== Shimmer Effect ===== */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ===== Gradient Text Animation ===== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue), var(--accent-orange));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* ===== Loading Spinner ===== */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(59, 130, 246, 0.2);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===== Bounce Animation ===== */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

.bounce {
    animation: bounce 1s ease-in-out infinite;
}

/* ===== Slide In Animations ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.slide-in-down {
    animation: slideInDown 0.8s ease-out;
}

/* ===== Scale Animation ===== */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* ===== Fade In Animation ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

/* ===== Rotate Animation ===== */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: rotate(0deg);
    }
}

.rotate-in {
    animation: rotateIn 0.8s ease-out;
}

/* Focus styles for keyboard navigation */
.btn:focus,
.faq-question:focus,
.slider-btn:focus,
.dot:focus,
.social-link:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #000080;
        --secondary-blue: #0000FF;
        --text-dark: #000000;
        --text-light: #333333;
        --border-light: #666666;
    }
}

/* Print styles */
@media print {
    .header,
    .hero-slider,
    .footer-cta,
    .final-cta,
    .slider-controls {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .section-title {
        font-size: 18pt;
    }
    
    .btn {
        border: 1px solid #000;
        background: none;
        color: #000;
    }
}