/* ====================================
   こども金融学習教室 LP - スタイルシート
   ==================================== */

/* --- CSS Variables --- */
:root {
    --primary: #FF6B35;
    --primary-light: #FF8F5E;
    --primary-dark: #E05520;
    --secondary: #4ECDC4;
    --secondary-light: #7EDDD7;
    --accent-purple: #7C5CFC;
    --accent-pink: #FF6B9D;
    --accent-yellow: #FFD93D;
    --accent-blue: #4A90D9;
    --dark: #2D3436;
    --dark-light: #636E72;
    --gray: #B2BEC3;
    --gray-light: #DFE6E9;
    --bg-light: #FAFBFC;
    --bg-warm: #FFF8F3;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-main: 'Noto Sans JP', sans-serif;
    --font-accent: 'Poppins', sans-serif;
    --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;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sp-hide {
    display: inline;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-xl);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
    padding: 12px 0;
}

.navbar.scrolled {
    border-bottom-color: var(--gray-light);
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-light);
    position: relative;
}

.nav-menu a:not(.nav-cta):hover {
    color: var(--primary);
}

.nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-size: 14px !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.35);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFF3E8 0%, #FFE8D6 30%, #E8F4FD 70%, #F0E6FF 100%);
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-yellow);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    bottom: 20%;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent-purple);
    top: 30%;
    right: 30%;
    animation: float 10s ease-in-out infinite;
}

.shape-4 {
    width: 100px;
    height: 100px;
    background: var(--accent-pink);
    bottom: 30%;
    right: 10%;
    animation: float 7s ease-in-out infinite reverse;
}

.shape-5 {
    width: 80px;
    height: 80px;
    background: var(--primary);
    top: 20%;
    left: 15%;
    animation: float 9s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
}

.badge-icon {
    font-size: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 56px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--dark-light);
    line-height: 1.9;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

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

.stat-number {
    font-family: var(--font-accent);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.stat-unit {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--dark-light);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-light);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.trust-avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 2px solid var(--white);
    margin-left: -8px;
    box-shadow: var(--shadow-sm);
}

.avatar:first-child {
    margin-left: 0;
}

.hero-trust p {
    font-size: 13px;
    color: var(--dark-light);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    animation: float 4s ease-in-out infinite;
}

.card-emoji {
    font-size: 24px;
}

.card-1 {
    top: -10px;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: -20px;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: -10px;
    left: 10%;
    animation-delay: 3s;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 16px;
    color: var(--dark-light);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Features Section --- */
.features {
    padding: 100px 0;
    background: var(--white);
}

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

.feature-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent-purple));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.feature-card.featured {
    background: linear-gradient(135deg, #FFF3E8, #FFE8D6);
    border-color: var(--primary-light);
}

.feature-card.featured::before {
    transform: scaleX(1);
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 700;
}

.feature-icon-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.feature-icon {
    font-size: 48px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-warm);
    border-radius: var(--radius-md);
}

.feature-number {
    font-family: var(--font-accent);
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-light);
    line-height: 1;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card > p {
    font-size: 15px;
    color: var(--dark-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.feature-list i {
    color: var(--secondary);
    font-size: 14px;
}

/* --- Parent Section --- */
.parent-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F0F9FF, #FFF3E8);
}

.parent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.parent-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.parent-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.4;
}

.parent-content > p {
    font-size: 15px;
    color: var(--dark-light);
    line-height: 1.9;
    margin-bottom: 32px;
}

.parent-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 14px;
    color: var(--dark-light);
}

/* --- Curriculum Section --- */
.curriculum {
    padding: 100px 0;
    background: var(--white);
}

.curriculum-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent-purple), var(--secondary));
    transform: translateX(-50%);
    border-radius: 2px;
}

.curriculum-item {
    position: relative;
    display: flex;
    margin-bottom: 40px;
}

.curriculum-item:nth-child(even) {
    justify-content: flex-end;
}

.curriculum-card {
    width: 42%;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    transition: var(--transition);
}

.curriculum-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.curriculum-month {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.curriculum-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.curriculum-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.curriculum-card p {
    font-size: 14px;
    color: var(--dark-light);
    line-height: 1.7;
}

.curriculum-tag {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    background: var(--bg-warm);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
}

/* Timeline dots */
.curriculum-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}

/* --- Courses Section --- */
.courses {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFF8F3, #F0E6FF);
}

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

.course-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.course-card.popular {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.course-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-yellow);
    color: var(--dark);
    padding: 4px 16px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
}

.course-header {
    padding: 32px 28px 24px;
    text-align: center;
    color: var(--white);
    position: relative;
}

.course-header.junior {
    background: linear-gradient(135deg, var(--secondary), #2FBC94);
}

.course-header.teen {
    background: linear-gradient(135deg, var(--primary), var(--accent-pink));
}

.course-header.youth {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
}

.course-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.course-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.course-age {
    font-size: 14px;
    opacity: 0.9;
}

.course-body {
    padding: 28px;
}

.course-price {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-light);
}

.price-from {
    font-size: 13px;
    color: var(--dark-light);
}

.price-amount {
    font-family: var(--font-accent);
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    margin: 0 4px;
}

.price-unit {
    font-size: 16px;
    color: var(--dark-light);
}

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

.course-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--dark-light);
}

.course-features i {
    color: var(--secondary);
    font-size: 14px;
    flex-shrink: 0;
}

.courses-note {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: var(--dark-light);
}

/* --- Schedule Section --- */
.schedule {
    padding: 100px 0;
    background: var(--white);
}

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

.schedule-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.schedule-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.schedule-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.schedule-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-warm);
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.schedule-time i {
    font-size: 16px;
}

.schedule-card > p {
    font-size: 14px;
    color: var(--dark-light);
    line-height: 1.7;
}

.schedule-notice {
    text-align: left;
}

.schedule-notice p {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--dark-light);
}

.schedule-notice i {
    color: var(--accent-blue);
    font-size: 14px;
    flex-shrink: 0;
}

/* --- Instructor Section --- */
.instructor {
    padding: 100px 0;
    background: linear-gradient(135deg, #F0F9FF, #F0E6FF);
}

.instructor-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: var(--shadow-md);
}

.instructor-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.instructor-content > p {
    font-size: 15px;
    color: var(--dark-light);
    line-height: 1.9;
    margin-bottom: 28px;
}

.instructor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.inst-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-warm);
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.inst-badge i {
    color: var(--accent-yellow);
}

.instructor-visual {
    text-align: center;
}

.instructor-icon-large {
    font-size: 100px;
    margin-bottom: 24px;
}

.instructor-quote {
    background: var(--bg-warm);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.instructor-quote p {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.7;
    font-style: italic;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    gap: 32px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: calc(33.333% - 22px);
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    flex-shrink: 0;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.testimonial-stars {
    color: var(--accent-yellow);
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--dark-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.testimonial-author span {
    font-size: 12px;
    color: var(--dark-light);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-light);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--dark);
}

.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

/* --- FAQ Section --- */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--dark-light);
    line-height: 1.8;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2D3436, #3D4447);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.4;
}

.cta-content p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 28px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
}

.cta-feature i {
    color: var(--secondary);
}

/* --- Form --- */
.cta-form-wrapper {
    position: relative;
    z-index: 2;
}

.cta-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    box-shadow: var(--shadow-xl);
}

.cta-form h3 {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.required {
    color: var(--accent-pink);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--dark);
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--dark-light);
    margin-top: 12px;
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: var(--gray);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    font-size: 24px;
}

.footer-brand .logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

.footer-brand > p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 24px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    max-width: 480px;
    width: 100%;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.modal-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 15px;
    color: var(--dark-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .title-line.highlight {
        font-size: 42px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .features-grid,
    .courses-grid,
    .schedule-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .parent-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .curriculum-card {
        width: 85%;
    }

    .instructor-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .cta-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .cta-features {
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .course-card.popular {
        transform: scale(1);
    }

    .course-card.popular:hover {
        transform: translateY(-8px);
    }

    .testimonial-card {
        min-width: calc(100% - 0px);
    }
}

@media (max-width: 768px) {
    .sp-hide {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 32px 32px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        gap: 20px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 28px;
    }

    .title-line.highlight {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 28px;
    }

    .features,
    .parent-section,
    .curriculum,
    .courses,
    .schedule,
    .instructor,
    .testimonials,
    .faq,
    .cta-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .timeline-line {
        left: 20px;
    }

    .curriculum-item,
    .curriculum-item:nth-child(even) {
        justify-content: flex-end;
    }

    .curriculum-card {
        width: calc(100% - 50px);
    }

    .curriculum-item::before {
        left: 20px;
    }

    .instructor-card {
        padding: 28px;
    }

    .instructor-content h2 {
        font-size: 22px;
    }

    .instructor-badges {
        flex-direction: column;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-form {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .hero-title {
        font-size: 24px;
    }

    .title-line.highlight {
        font-size: 28px;
    }

    .feature-card {
        padding: 28px 20px;
    }

    .floating-card {
        display: none;
    }
}