
/* CSS Variables */
:root {
    --primary-dark: #1B4F72;
    --primary: #2874A6;
    --primary-light: #D6EAF8;
    --accent: #F39C12;
    --accent-hover: #E67E22;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    --success: #10B981;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Serif KR', Georgia, 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1.8;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ========================================
   Main Content Area
======================================== */
.main-content {
    padding-top: 0;
    padding-bottom: 120px;
}

.main-content.no-header {
    padding-top: 0;
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--white) 100%);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-content h1 {
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-dark));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 4s ease-in-out infinite;
}

@keyframes textShine {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.intro-content .subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.intro-feature:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.intro-feature i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    font-size: 1.25rem;
}

.intro-feature span {
    font-weight: 500;
    color: var(--gray-700);
}

.intro-visual {
    position: relative;
}

.intro-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.intro-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.intro-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-1 {
    top: -20px;
    right: -20px;
}

.floating-card.card-2 {
    bottom: 40px;
    left: -30px;
    animation-delay: 1.5s;
}

.floating-card i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.125rem;
}

.floating-card.card-1 i {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.floating-card.card-2 i {
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent);
}

.floating-card .card-text {
    display: flex;
    flex-direction: column;
}

.floating-card .card-text strong {
    font-size: 0.9rem;
    color: var(--gray-800);
}

.floating-card .card-text span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   Expert Section
======================================== */
.expert-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.expert-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.expert-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--gray-100));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    color: var(--primary);
    overflow: hidden;
    transition: var(--transition);
}

.expert-avatar i {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.expert-card:hover .expert-avatar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.expert-card:hover .expert-avatar i {
    transform: scale(1.15);
    color: var(--white);
}

.expert-card h4 {
    margin-bottom: 8px;
}

.expert-card .title {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.expert-card .description {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.expert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

.expert-tag {
    padding: 6px 12px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ========================================
   Curriculum Section
======================================== */
.curriculum-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.curriculum-item {
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.curriculum-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.curriculum-number {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.curriculum-content h4 {
    margin-bottom: 8px;
    color: var(--gray-800);
}

.curriculum-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================
   Benefits Section
======================================== */
.benefits-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.benefits-section .section-header h2,
.benefits-section .section-header p {
    color: var(--white);
}

.benefits-section .section-header p {
    opacity: 0.9;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
}

.benefit-card h4 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.125rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================
   Community Section
======================================== */
.community-section {
    padding: 100px 0;
    background: var(--white);
}

/* Stats Row - Horizontal layout */
.community-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.stat-card {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-light), var(--white));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-card .number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    display: block;
    line-height: 1.2;
}

.stat-card .label {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 8px;
    font-weight: 500;
}

/* Content wrapper */
.community-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.community-left h3 {
    margin-bottom: 28px;
    font-size: 1.5rem;
}

.community-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.community-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
    pointer-events: none;
}

.community-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.community-image:hover img {
    transform: scale(1.03);
}

.community-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.community-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.community-feature i {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 8px;
}

.community-feature div h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.community-feature div p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ========================================
   Live Activity Bubble
======================================== */
.activity-bubble {
    position: fixed;
    bottom: 100px;
    left: 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 999;
    max-width: 320px;
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--success);
}

.activity-bubble.show {
    opacity: 1;
    transform: translateX(0);
}

.activity-bubble .activity-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.125rem;
}

.activity-bubble .activity-content {
    flex: 1;
}

.activity-bubble .activity-user {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.95rem;
}

.activity-bubble .activity-action {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 2px;
}

.activity-bubble .activity-time {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.activity-bubble .close-bubble {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 4px;
}

.activity-bubble .close-bubble:hover {
    color: var(--gray-600);
}

/* ========================================
   Reviews Section
======================================== */
.reviews-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.review-card {
    background: var(--white);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.125rem;
    overflow: hidden;
}

.review-avatar-img {
    padding: 0;
    background: none;
}

.review-avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-info .review-name {
    font-weight: 600;
    color: var(--gray-800);
}

.review-info .review-meta {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.review-stars {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* ========================================
   FAQ Section
======================================== */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    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: 500px;
}

.faq-answer p {
    margin-bottom: 0;
    line-height: 1.8;
}

/* ========================================
   Fixed CTA Button
======================================== */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    z-index: 1001;
    display: flex;
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover), var(--accent));
    background-size: 200% auto;
    color: var(--white);
    padding: 16px 48px;
    border-radius: 60px;
    font-size: 1.125rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(243, 156, 18, 0.4);
    text-decoration: none;
    animation: ctaGlow 3s ease-in-out infinite, ctaShine 2s linear infinite;
    position: relative;
    overflow: hidden;
}

@keyframes ctaGlow {
    0%, 100% { box-shadow: 0 8px 24px rgba(243, 156, 18, 0.4); }
    50% { box-shadow: 0 8px 32px rgba(243, 156, 18, 0.6), 0 0 20px rgba(243, 156, 18, 0.3); }
}

@keyframes ctaShine {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(243, 156, 18, 0.5);
    color: var(--white);
}

.cta-button i {
    font-size: 1.25rem;
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 100px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo i {
    color: var(--primary-light);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ========================================
   Modal
======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    border-radius: 24px;
    width: 90%;
    max-width: 640px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show .modal {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--white);
    border-radius: 24px 24px 0 0;
}

.modal-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.modal-body {
    padding: 28px;
    line-height: 1.8;
}

.modal-body h4 {
    font-size: 1.05rem;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.modal-body h4:first-child {
    margin-top: 0;
}

.modal-body p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.modal-body ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.modal-body li {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

/* ========================================
   Page Load Animations
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    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);
    }
}

.intro-content {
    animation: fadeInLeft 0.8s ease-out;
}

.intro-visual {
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

.section-header {
    animation: fadeInUp 0.6s ease-out;
}

.intro-feature {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.intro-feature:nth-child(1) { animation-delay: 0.3s; }
.intro-feature:nth-child(2) { animation-delay: 0.4s; }
.intro-feature:nth-child(3) { animation-delay: 0.5s; }
.intro-feature:nth-child(4) { animation-delay: 0.6s; }

/* Number Counter Animation */
.stat-card .number {
    display: inline-block;
}

/* Pulse Animation for Icons */
@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.benefit-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

.benefit-card:nth-child(1) .benefit-icon { animation-delay: 0s; }
.benefit-card:nth-child(2) .benefit-icon { animation-delay: 0.5s; }
.benefit-card:nth-child(3) .benefit-icon { animation-delay: 1s; }
.benefit-card:nth-child(4) .benefit-icon { animation-delay: 1.5s; }

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .intro-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .intro-content {
        text-align: center;
    }
    
    .intro-features {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .expert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .community-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 48px;
    }
    
    .community-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .community-right {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    h1 { 
        font-size: 1.875rem; 
        line-height: 1.35;
    }
    h2 { 
        font-size: 1.625rem; 
    }
    
    .container {
        padding: 0 16px;
    }
    
    .intro-section {
        padding: 40px 0 60px;
    }
    
    .floating-card {
        display: none;
    }
    
    .expert-section,
    .curriculum-section,
    .benefits-section,
    .community-section,
    .reviews-section,
    .faq-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .expert-grid,
    .curriculum-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .expert-card {
        padding: 24px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .benefit-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 20px 24px;
        gap: 20px;
    }
    
    .benefit-icon {
        margin: 0;
        width: 56px;
        height: 56px;
        min-width: 56px;
        font-size: 1.5rem;
    }
    
    .benefit-card h4 {
        margin-bottom: 6px;
    }
    
    .community-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 36px;
    }
    
    .stat-card {
        padding: 20px 16px;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
    
    .stat-card .number {
        font-size: 1.75rem;
    }
    
    .community-left h3 {
        text-align: center;
    }
    
    .activity-bubble {
        left: 12px;
        right: 12px;
        max-width: none;
        bottom: 85px;
        padding: 12px 16px;
    }
    
    .activity-bubble .activity-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }
    
    .fixed-cta {
        padding: 12px 16px;
    }
    
    .cta-button {
        width: 100%;
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .footer {
        padding: 40px 0 85px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    
    .curriculum-item {
        padding: 20px;
    }
    
    .curriculum-number {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 16px 20px;
    }
    
    .faq-question h4 {
        font-size: 0.95rem;
        padding-right: 12px;
    }
    
    .review-card {
        padding: 24px 20px;
    }
    
    .modal {
        width: 95%;
        max-height: 85vh;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 20px;
        border-radius: 20px 20px 0 0;
    }
    
    .modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.625rem;
    }
    
    .intro-content .subtitle {
        font-size: 1rem;
    }
    
    .intro-feature {
        padding: 12px 14px;
    }
    
    .intro-feature i {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .intro-feature span {
        font-size: 0.9rem;
    }
    
    .community-stats-row {
        gap: 10px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 10px;
        border-radius: 12px;
    }
    
    .stat-card .number {
        font-size: 1.5rem;
    }
    
    .stat-card .label {
        font-size: 0.8rem;
    }
    
    .expert-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .community-feature {
        gap: 12px;
    }
    
    .community-feature i {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.85rem;
    }
    
    .community-feature div h4 {
        font-size: 0.95rem;
    }
    
    .community-feature div p {
        font-size: 0.85rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

