html, body {
    max-width: 100%;
    overflow-x: hidden !important;
}
/* ============================================================
   WHATISBIOPLUS — Kawaii Science Lab Design 2025
   ============================================================ */

:root {
    --deep-purple: #3D1F6E;
    --purple: #7C4FC4;
    --lavender: #C4A9F0;
    --lavender-light: #EDE3FF;
    --mint: #E9A7C8;
    --mint-light: #FFF0F7;
    --blush: #FFB3D1;
    --blush-light: #FFEEF6;
    --cream: #FFF9FF;
    --gold: #FFD166;
    --coral: #FF6B9D;
    --glass-bg: rgba(255,255,255,0.62);
    --glass-border: rgba(255,255,255,0.85);
    --shadow-soft: 0 8px 32px rgba(61,31,110,0.10);
    --shadow-lift: 0 20px 60px rgba(61,31,110,0.18);
    --radius-card: 24px;
    --radius-pill: 999px;
}

* { box-sizing: border-box; }
body {
    background: var(--cream);
    word-wrap: break-word;
    overflow-wrap: break-word;
    
    /* 1. เมาส์ปกติ: จุดวงกลมสีม่วงพาสเทล ขอบขาว คลีนๆ มินิมอล */
    /* กำหนดจุดคลิก (Hotspot) ไว้ที่กึ่งกลาง 12 12 */
    cursor: url('data:image/svg+xml;charset=utf-8,<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="6" fill="%237C4FC4" stroke="%23ffffff" stroke-width="2.5" box-shadow="0 2px 5px rgba(0,0,0,0.2)"/></svg>') 12 12, auto;
}

/* 2. เมาส์ตอนชี้ปุ่มหรือลิงก์: จุดจะขยายใหญ่ขึ้น เปลี่ยนเป็นสีชมพู (ป๊อปอัปนิดๆ) */
a, button, .btn-kawaii {
    cursor: url('data:image/svg+xml;charset=utf-8,<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="10" fill="%23FF6B9D" stroke="%23ffffff" stroke-width="3"/></svg>') 16 16, pointer !important;
}

/* แถม: เมาส์ตอนชี้รูปภาพ (ถ้าอยากให้มีลูกเล่นเพิ่ม) */
img {
    cursor: url('data:image/svg+xml;charset=utf-8,<svg width="32" height="32" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><circle cx="16" cy="16" r="10" fill="%235DDFC5" stroke="%23ffffff" stroke-width="3"/></svg>') 16 16, auto;
}

/* ─── TUTOR PROFILE ENHANCEMENTS (จัดระดับชั้นใหม่) ─── */
.tutor-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--deep-purple);
    margin-bottom: 20px;
}
.tutor-icon-box {
    width: 45px; height: 45px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.2rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transform: rotate(-3deg);
}

/* Timeline การศึกษา */
.edu-card {
    background: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(124,79,196,0.15);
    border-radius: 20px;
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
    box-shadow: 0 4px 12px rgba(124,79,196,0.05);
}
.edu-card:hover {
    transform: translateX(10px);
    background: #ffffff;
    border-color: var(--lavender);
    box-shadow: 0 10px 25px rgba(124,79,196,0.12);
}
.edu-icon {
    width: 50px; height: 50px; flex-shrink: 0;
    background: var(--lavender-light);
    color: var(--purple);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; border: 2.5px solid #fff;
    box-shadow: 0 4px 10px rgba(124,79,196,0.1);
}
.edu-icon.mint { background: var(--mint-light); color: #10a37f; }

/* Grid ผลงานและประสบการณ์ */
.achieve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}
.achieve-box {
    background: linear-gradient(145deg, #ffffff, #FFF9FF);
    border: 1.5px solid rgba(255,107,157,0.25);
    border-radius: 18px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
    box-shadow: 0 4px 12px rgba(255,107,157,0.05);
}
.achieve-box:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--coral);
    box-shadow: 0 12px 24px rgba(255,107,157,0.15);
}
.achieve-box i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #FFB3D1, #FF6B9D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
    margin-top: 4px;
    animation: icon-float 3s ease-in-out infinite;
}
@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.achieve-box p {
    margin: 0; font-size: 0.9rem; color: #5a3e8a; line-height: 1.5; font-weight: 500;
}
.achieve-box p strong { 
    color: var(--deep-purple); 
    font-weight: 800; 
    display: block; 
    margin-bottom: 3px;
    font-size: 0.95rem;
}

/* ─── HERO SECTION ─── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 90px 20px 120px;
    background: linear-gradient(145deg, #F5EEFF 0%, #EEE4FF 32%, #FFF0F7 68%, #FFF9FC 100%);
    overflow: hidden;
}

/* Blobs */
.hero-blob {
    position: absolute;
    border-radius: 60% 40% 50% 60% / 50% 60% 40% 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    animation: blob-morph ease-in-out infinite alternate;
}
.blob-1 { width: 600px; height: 600px; background: rgba(196,169,240,0.35); top: -200px; left: -150px; animation-duration: 15s; }
.blob-2 { width: 400px; height: 400px; background: rgba(255,179,209,0.3); top: 20%; right: -100px; animation-duration: 18s; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: rgba(255,179,209,0.24); bottom: 100px; left: 15%; animation-duration: 12s; animation-delay: -3s; }
@keyframes blob-morph {
    0%   { border-radius: 60% 40% 50% 60% / 50% 60% 40% 50%; transform: scale(1) translate(0,0); }
    100% { border-radius: 40% 60% 60% 40% / 60% 40% 50% 50%; transform: scale(1.1) translate(20px, -30px); }
}

/* DNA Strand deco */
.dna-float {
    position: absolute;
    z-index: 0;
    pointer-events: auto;
    opacity: 0.13;
    font-size: 3rem;
    animation: dna-spin ease-in-out infinite;
    transition: all 0.3s ease;
    cursor: crosshair;
}
.dna-float:hover {
    filter: drop-shadow(0 0 12px currentColor);
    transform: scale(1.4) !important;
    opacity: 0.9 !important;
    animation-play-state: paused;
}
.dna-1 { top: 12%; left: 4%; color: var(--purple); animation-duration: 14s; }
.dna-2 { top: 18%; right: 6%; font-size: 4.5rem; color: #0dcaf0; animation-duration: 17s; animation-delay: -3s; }
.dna-3 { bottom: 20%; left: 8%; font-size: 3.5rem; color: #D65DB1; animation-duration: 13s; animation-delay: -6s; }
.dna-4 { bottom: 28%; right: 10%; font-size: 2.8rem; color: var(--gold); animation-duration: 11s; animation-delay: -1s; }
.dna-5 { top: 50%; left: 1%; font-size: 2.2rem; color: var(--coral); animation-duration: 16s; animation-delay: -8s; }
.dna-6 { top: 45%; right: 3%; font-size: 2rem; color: var(--lavender); animation-duration: 12s; animation-delay: -4s; }
@keyframes dna-spin {
    0%,100% { transform: translateY(0) rotate(0deg) scale(1); }
    33%      { transform: translateY(-25px) rotate(15deg) scale(1.1); }
    66%      { transform: translateY(15px) rotate(-10deg) scale(0.95); }
}

/* ─── HERO LAYOUT ─── */
.hero-inner {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
}

/* TEXT SIDE */
.hero-text-col { grid-column: 1; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124,79,196,0.12);
    border: 1.5px solid rgba(124,79,196,0.25);
    color: var(--purple);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
    animation: eyebrow-float 3.5s ease-in-out infinite;
}
@keyframes eyebrow-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--deep-purple);
    text-shadow: 2px 2px 0px rgba(255,255,255,0.8);
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* ─── SOFT JELLY BUTTONS (ปุ่มกดแบบเยลลี่ละมุนๆ) ─── */
.btn-kawaii {
    padding: 14px 30px;
    border-radius: 99px;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    border: 2px solid rgba(255,255,255,0.7) !important;
    backdrop-filter: blur(5px);
}

/* ปุ่มที่ 1: สีม่วง */
.btn-k-primary {
    background: linear-gradient(135deg, #A055E0, #7C4FC4);
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(124,79,196,0.3);
}
.btn-k-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(124,79,196,0.45);
    border-color: #ffffff !important;
}

/* ปุ่มที่ 2: สีมิ้นต์ */
.btn-k-success {
    background: linear-gradient(135deg, #F3B4D1, #D98CB8);
    color: #5b3650 !important; 
    box-shadow: 0 10px 25px rgba(217,140,184,0.26);
}
.btn-k-success:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(217,140,184,0.34);
    border-color: #ffffff !important;
}

/* ปุ่มที่ 3: ปุ่มใส (ดูรีวิว) */
.btn-k-ghost {
    background: rgba(255,249,255,0.6);
    color: var(--purple) !important;
    box-shadow: 0 8px 20px rgba(124,79,196,0.08);
    border-color: rgba(124,79,196,0.2) !important;
}
.btn-k-ghost:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(124,79,196,0.15);
    background: rgba(255,255,255,0.95);
    border-color: var(--lavender) !important;
}

/* ลูกเล่นไอคอนในปุ่มเด้งดุ๊กดิ๊กนิดๆ */
.btn-kawaii:hover i {
    animation: icon-jelly 0.4s ease-in-out infinite alternate;
}
@keyframes icon-jelly {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.15) translateY(-2px); }
}

/* ─── MASCOT SIDE ─── */
.hero-mascot-col {
    grid-column: 2;
    position: relative;
    width: 320px;
    flex-shrink: 0;
    z-index: 50;
    pointer-events: none;
}
.hero-mascot-img {
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(124,79,196,0.4));
    animation: mascot-dance 5s ease-in-out infinite;
    transform-origin: bottom center;
}
@keyframes mascot-dance {
    0%,100% { transform: translateY(0) rotate(-2deg); }
    25%      { transform: translateY(-20px) rotate(1deg); }
    50%      { transform: translateY(-10px) rotate(2.5deg); }
    75%      { transform: translateY(-22px) rotate(-1deg); }
}
.mascot-shadow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 30px;
    background: radial-gradient(ellipse, rgba(124,79,196,0.35) 0%, transparent 70%);
    animation: shadow-breath 5s ease-in-out infinite;
}
@keyframes shadow-breath {
    0%,100% { transform: translateX(-50%) scaleX(1); opacity: 0.5; }
    50%      { transform: translateX(-50%) scaleX(1.2); opacity: 1; }
}

/* Sparkle bubbles around mascot */
.spark {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    pointer-events: none;
    animation: spark-pop ease-in-out infinite;
}
.spark-1 { width: 14px; height: 14px; background: var(--gold); top: 10%; right: -10px; animation-duration: 3s; }
.spark-2 { width: 9px; height: 9px; background: var(--mint); top: 30%; left: -15px; animation-duration: 4s; animation-delay: -1s; }
.spark-3 { width: 12px; height: 12px; background: var(--blush); bottom: 30%; right: -5px; animation-duration: 3.5s; animation-delay: -2s; }
.spark-4 { width: 7px; height: 7px; background: var(--lavender); top: 55%; right: 10px; animation-duration: 4.5s; animation-delay: -0.5s; }
@keyframes spark-pop {
    0%,100% { transform: scale(1); opacity: 0.8; }
    50%      { transform: scale(1.6); opacity: 1; }
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--purple);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.scroll-hint:hover { opacity: 1; color: var(--deep-purple); }
.scroll-hint i { animation: bounce-hint 2s infinite; }
@keyframes bounce-hint { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* Wave bottom */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 3;
    pointer-events: none;
}

/* ─── SECTION SYSTEM ─── */
.kw-section {
    position: relative;
    padding: 90px 0 60px;
    overflow-x: hidden; /* แก้ตรงนี้เพื่อตัดส่วนที่ทะลุขอบข้างทิ้งไป */
}
.kw-section + .kw-section { margin-top: -60px; }
.kw-section > .container { position: relative; z-index: 5; }

.bg-cream      { background: #FFFCFF; }
.bg-lavender   { background: linear-gradient(170deg, #F0E8FF 0%, #EDE3FF 100%); }
.bg-blush      { background: linear-gradient(170deg, #FFF5FB 0%, #FFE8F4 100%); }
.bg-mint       { background: linear-gradient(170deg, #EDFBF7 0%, #D8F8F0 100%); }

/* Polka dot texture */
.dot-texture {
    background-image: radial-gradient(rgba(124,79,196,0.055) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
}

/* Wavy divider */
.kw-wave {
    display: block;
    width: 100%;
    height: 80px;
    margin-bottom: -2px;
}

/* ─── SECTION MASCOT DECORATION ─── */
.sec-mascot {
    position: absolute;
    z-index: 50; 
    pointer-events: none; 
    filter: drop-shadow(0 20px 40px rgba(124,79,196,0.25));
    animation: sec-mascot-float ease-in-out infinite alternate;
}
@keyframes sec-mascot-float {
    0%   { transform: translateY(0) rotate(-4deg); }
    100% { transform: translateY(-18px) rotate(4deg); }
}
.sm-right { width: 210px; top: 40px; right: 1%; animation-duration: 4s; }
.sm-left  { width: 200px; top: 60px; left: 0.5%; animation-duration: 5s; animation-delay: -1s; animation-direction: alternate-reverse; }
.sm-right2 { width: 195px; top: 50px; right: 2%; animation-duration: 4.5s; animation-delay: -0.5s; }
.sm-left2  { width: 185px; top: 45px; left: 1%; animation-duration: 6s; animation-delay: -2s; animation-direction: alternate-reverse; }
.sm-bottom { width: 180px; bottom: 30px; right: 0.5%; animation-duration: 5.5s; animation-delay: -1.5s; }

@media (max-width: 991px) {
    .sec-mascot { width: 110px !important; opacity: 0.55; }
    .sm-right, .sm-right2, .sm-bottom { right: -5px; }
    .sm-left, .sm-left2 { left: -5px; }
}

/* ─── SECTION HEADER ─── */
.kw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.8);
    margin-bottom: 28px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.kw-header:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.kw-header h2 {
    margin: 0;
    font-size: clamp(1.15rem, 3.2vw, 1.55rem);
    font-weight: 900;
    color: var(--deep-purple);
    display: flex;
    align-items: center;
    gap: 14px;
}
.kw-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 16px;
    color: white;
    font-size: 1.35rem;
    flex-shrink: 0;
    transform: rotate(-5deg);
    transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border: 2px solid rgba(255,255,255,0.45);
}
.kw-header:hover .kw-icon-box { transform: rotate(12deg) scale(1.12); }
.pill-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    vertical-align: middle;
    margin-left: 6px;
}

/* ─── CARDS ─── */
.kw-card {
    border-radius: var(--radius-card) !important;
    border: 2px solid #ffffff !important;
    background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.75) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 25px rgba(61,31,110,0.06);
    transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.kw-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 24px 45px rgba(124,79,196,0.18);
    border-color: var(--lavender) !important;
}
.kw-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--coral), var(--mint));
    opacity: 0;
    transition: opacity 0.3s;
}
.kw-card:hover::before { opacity: 1; }

.kw-card::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(to bottom right, rgba(255,255,255,0) 40%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 60%);
    transform: rotate(45deg) translateY(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 10;
}
.kw-card:hover::after {
    transform: rotate(45deg) translateY(100%); 
}

.kw-img-wrap {
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--lavender-light);
}
.kw-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.kw-card:hover .kw-img-wrap img { transform: scale(1.1); }

.card-title-clamp {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.badge-kw-cat   { background: rgba(124,79,196,0.12); color: var(--purple); font-weight: 700; }
.badge-kw-online { background: rgba(20,201,158,0.12); color: #10a37f; font-weight: 700; }
.badge-kw-class  { background: rgba(13,202,240,0.12); color: #0ca4c4; font-weight: 700; }
.badge-kw-pkg    { background: rgba(93,223,197,0.15); color: #0e9a7e; font-weight: 700; }

/* Tags are kept in the card detail area so the 1:1 cover stays clean. */
.card-detail-tags { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-bottom:10px; }
.card-detail-tags .badge { position:static !important; margin:0 !important; box-shadow:none !important; }
.card-detail-tags .badge-discount-pop { animation:none !important; transform:none !important; font-size:.75rem !important; }

/* Course card badges jump */
.kw-card .badge { transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275); }
.kw-card:hover .badge { transform: translateY(-4px) scale(1.05) rotate(-3deg); box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important; }

/* Button inside card */
.btn-kw-detail {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-pill);
    border: none;
    background: linear-gradient(135deg, var(--purple), #A055E0);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(124,79,196,0.35);
}
.btn-kw-detail:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(124,79,196,0.5);
    color: #fff;
}

/* Price styling */
.price-old { font-size: 0.8rem; color: #a09eb5; text-decoration: line-through; margin-bottom: -2px; }
.price-new { font-size: 1.35rem; font-weight: 900; color: var(--coral); text-shadow: 1px 1px 0px rgba(255,107,157,0.2); }

/* ─── SCROLL CARDS WRAPPER ─── */
.kw-scroll-wrap {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
}
.kw-scroll-wrap::-webkit-scrollbar { height: 6px; }
.kw-scroll-wrap::-webkit-scrollbar-track { background: rgba(124,79,196,0.08); border-radius: 6px; }
.kw-scroll-wrap::-webkit-scrollbar-thumb { background: rgba(124,79,196,0.35); border-radius: 6px; }
.kw-scroll-wrap::-webkit-scrollbar-thumb:hover { background: var(--purple); }

.kw-scroll-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: calc(50% - 8px);
}
@media (min-width: 768px)  { .kw-scroll-item { width: calc(33.333% - 11px); } }
@media (min-width: 1200px) { .kw-scroll-item { width: calc(25% - 12px); } }

.scroll-hint-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}
.scroll-cue { 
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(5px);
    padding: 6px 16px;
    border-radius: 99px;
    font-size: 0.8rem;
    color: var(--purple);
    font-weight: 800;
    border: 1px solid rgba(124,79,196,0.15);
    box-shadow: 0 4px 10px rgba(124,79,196,0.05);
}
.scroll-cue i { animation: nudge-right 1.6s ease-in-out infinite alternate; display: inline-block; }
@keyframes nudge-right { 0% { transform: translateX(0); } 100% { transform: translateX(8px); } }

/* ─── VIDEO CARDS ─── */
.kw-video-card {
    border-radius: var(--radius-card);
    border: 1.5px solid var(--glass-border);
    background: rgba(255,255,255,0.88);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275);
}
.kw-video-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lift); }

/* ─── ABOUT / PROFILE / TUTOR ─── */
.kw-story-card {
    border-radius: 28px;
    border: 1.5px solid var(--glass-border);
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.kw-story-card::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1.5px dashed rgba(124,79,196,0.15);
    border-radius: 22px;
    pointer-events: none;
}
.kw-story-card > * { position: relative; z-index: 1; }

.avatar-frame {
    position: relative;
    display: inline-block;
    padding: 10px;
}
.avatar-frame img {
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(124,79,196,0.25);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.avatar-frame:hover img { 
    transform: scale(1.08) rotate(-4deg) !important;
    box-shadow: 0 15px 35px rgba(124,79,196,0.4) !important;
}

.cute-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    background: rgba(124,79,196,0.1);
    color: var(--deep-purple);
    font-size: 0.84rem;
    font-weight: 800;
    border: 1px solid rgba(124,79,196,0.15);
    transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
    cursor: default;
}
.cute-badge:hover {
    transform: translateY(-5px) scale(1.08) rotate(3deg);
    background: var(--blush-light);
    border-color: var(--coral);
    box-shadow: 0 8px 15px rgba(255,107,157,0.2);
}

.contact-panel {
    background: rgba(255,255,255,0.78);
    border-left: 5px solid var(--purple);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(8px);
    transition: transform 0.3s, box-shadow 0.3s;
}
.contact-panel:hover { transform: translateX(5px); box-shadow: 0 12px 30px rgba(124,79,196,0.12); }

.mini-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.78);
    color: var(--deep-purple);
    font-size: 0.77rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(124,79,196,0.1);
    transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
}
.mini-tag:hover {
    transform: translateY(-4px) scale(1.1) rotate(-2deg);
    background: var(--lavender-light);
    box-shadow: 0 8px 15px rgba(124,79,196,0.2);
}

/* ─── BOOK SECTION ─── */
.book-section-card {
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--purple) 0%, #9057D4 50%, #5B2D9E 100%);
    box-shadow: 0 24px 60px rgba(61,31,110,0.35);
    position: relative;
}
.book-3d-wrap { perspective: 1200px; }
.book-3d-img {
    max-height: 290px;
    border-radius: 10px;
    transform: rotateY(-18deg) rotateX(8deg) rotateZ(2deg);
    transition: all 0.6s cubic-bezier(0.175,0.885,0.32,1.275);
    box-shadow: -18px 22px 35px rgba(0,0,0,0.35), inset 2px 0 6px rgba(255,255,255,0.3);
    position: relative;
    z-index: 1;
}
.book-3d-wrap:hover .book-3d-img {
    transform: rotateY(0) rotateX(0) rotateZ(0) translateY(-15px) scale(1.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.book-glow { position: absolute; width: 240px; height: 240px; background: radial-gradient(circle, rgba(255,255,255,0.45) 0%, transparent 70%); border-radius: 50%; filter: blur(20px); animation: pulse-glow 3s ease-in-out infinite alternate; z-index: 0; }
@keyframes pulse-glow { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.35); opacity: 1; } }

/* ─── MARQUEE REVIEWS ─── */
.kw-marquee-wrap {
    overflow: hidden;
    display: flex;
    gap: 20px;
    padding: 12px 0 24px;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.marquee-track {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
    animation: marquee-scroll 120s linear infinite;
}
.kw-marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-100% - 20px)); } }

.review-card {
    width: 250px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.88);
    border: 1.5px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.175,0.885,0.32,1.275);
    display: block;
    text-decoration: none;
}
.review-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(124,79,196,0.2); border-color: rgba(124,79,196,0.4); }
.review-img-box { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--lavender-light); }
.review-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.review-card:hover .review-img-box img { transform: scale(1.07); }
.review-zoom { position: absolute; inset: 0; background: rgba(124,79,196,0.45); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.review-card:hover .review-zoom { opacity: 1; }
.review-zoom i { color: white; font-size: 2.5rem; transform: scale(0.4); transition: transform 0.3s; }
.review-card:hover .review-zoom i { transform: scale(1); }

/* ─── UTILITY ─── */
.text-kw-purple { color: var(--purple); }
.text-kw-deep   { color: var(--deep-purple); }
.btn-view-all {
    border: 2.5px solid var(--purple);
    color: var(--purple);
    background: transparent;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}
.btn-view-all:hover { background: var(--purple); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(124,79,196,0.4); }

/* ─── MOBILE ─── */
@media (max-width: 767px) {
    .hero-section { padding: 80px 16px 110px; min-height: auto; }
    .hero-inner { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 0; }
    .hero-text-col { grid-column: 1; grid-row: 2; text-align: center; }
    .hero-mascot-col { grid-column: 1; grid-row: 1; width: 180px; margin: 0 auto 10px; }

    /* จัด 3 ข้อความจุดเด่นบนมือถือให้เป็นสองบรรทัดที่สมดุล */
    .hero-feature-glass {
        width: min(100%, 360px);
        margin-left: auto;
        margin-right: auto;
        padding: 16px 14px;
        gap: 12px;
    }
    .h-feature {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        text-align: left;
    }
    .h-icon {
        width: 36px;
        height: 36px;
        border-radius: 11px;
        font-size: 1rem;
    }
    .h-text {
        min-width: 0;
        font-size: clamp(0.82rem, 3.75vw, 0.95rem);
        line-height: 1.32;
    }
    .h-text .h-lead,
    .h-text strong {
        display: block;
        white-space: nowrap;
    }
    .h-text strong { margin-top: 2px; }
    .hero-cta-row { justify-content: center; flex-direction: column; align-items: stretch; }
    .btn-kawaii { width: 100%; justify-content: center; }
    .kw-section { padding: 80px 0 50px; }
    .kw-section + .kw-section { margin-top: -40px; }
    .sec-mascot { width: 100px !important; opacity: 0.5; }
    .sm-right, .sm-right2, .sm-bottom { right: -8px; }
    .sm-left, .sm-left2 { left: -8px; }
    .dna-float { font-size: 1.8rem !important; opacity: 0.07; }
    .book-section-card .row { flex-direction: column-reverse; }
    .review-card { width: 180px; }
}
@media (max-width: 575px) {
    .kw-card .card-body { padding: 0.85rem; }
    .price-new { font-size: 1.05rem; }
    .btn-kw-detail { font-size: 0.85rem; padding: 10px; }
    .badge { font-size: 0.65rem; }
}

/* ─── PREMIUM HERO TEXT STYLES ─── */
.glass-eyebrow {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(124,79,196,0.1);
    animation: float-eyebrow 3s ease-in-out infinite;
    border: 2px solid rgba(255,255,255,0.9) !important;
    box-shadow: 0 8px 20px rgba(124,79,196,0.15), inset 0 2px 8px rgba(255,255,255,0.6) !important;
}

.hero-feature-glass {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(61,31,110,0.06);
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.h-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
}
.h-feature:hover {
    transform: translateX(10px); 
}

.h-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.h-icon.bg-pink { background: linear-gradient(135deg, #FF9A9E, #FECFEF); color: #D65DB1; }
.h-icon.bg-purple { background: linear-gradient(135deg, var(--purple), #A055E0); }
.h-icon.bg-mint { background: linear-gradient(135deg, #14c99e, #0dd4a8); }

.h-text {
    font-size: 1.05rem;
    color: #5a3e8a;
    line-height: 1.4;
}
.h-text strong {
    color: var(--deep-purple);
    font-weight: 800;
}

/* ─── ลูกเล่นข้อความ HERO TEXT (CUSTOM EFFECTS) ─── */
.bounce-icon {
    display: inline-block;
    animation: bounce-small 2s ease-in-out infinite;
}
@keyframes bounce-small {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px) rotate(10deg); }
}

.hero-title .sticker-pop {
    position: relative;
    display: inline-block;
    color: white;
    background: var(--coral);
    padding: 2px 24px;
    border-radius: 16px;
    transform: rotate(-3deg);
    box-shadow: 5px 8px 0px rgba(124, 79, 196, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 10px; 
    text-shadow: none; 
}
.hero-title .sticker-pop:hover {
    transform: rotate(2deg) scale(1.08); 
    box-shadow: 8px 12px 0px rgba(124, 79, 196, 0.35);
    background: var(--mint); 
    color: var(--deep-purple);
}

.kw-img-wrap .badge {
    animation: badge-float 3s ease-in-out infinite;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1.5px solid white;
    font-size: 0.75rem;
    padding: 6px 12px;
}
@keyframes badge-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(-3deg); }
}

/* แต่งแถบเลื่อนหน้าเว็บให้เป็นสีพาสเทลน่ารักๆ */
::-webkit-scrollbar {
    width: 14px;
}
::-webkit-scrollbar-track {
    background: var(--cream); 
}
::-webkit-scrollbar-thumb {
    background: var(--lavender); 
    border-radius: 10px; 
    border: 3px solid var(--cream); 
}
::-webkit-scrollbar-thumb:hover {
    background: var(--purple); 
}

/* ลิสต์จุดเด่นหนังสือ */
.book-feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.book-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}
.book-feature-list li i {
    color: var(--purple);
    background: var(--gold);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ปุ่มกดสำหรับส่วนหนังสือ */
.book-btn {
    background: #ffffff;
    color: var(--deep-purple);
    padding: 12px 28px;
    border-radius: 99px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
    border: 2px solid transparent;
}
.book-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
    background: var(--gold);
    border-color: #ffffff;
}

/* ป้าย Best Seller ลอยกระพริบ */
.book-badge-float {
    position: absolute;
    top: 10%;
    right: 15%;
    transform: rotate(15deg);
    font-size: 0.95rem;
    font-weight: 800;
    border: 2.5px solid white;
    z-index: 10;
    animation: badge-wobble 3s ease-in-out infinite;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
@keyframes badge-wobble {
    0%, 100% { transform: translateY(0) rotate(15deg); }
    50% { transform: translateY(-8px) rotate(10deg); }
}

/* ดาววิบวับตกแต่งพื้นหลัง */
.book-deco-star {
    position: absolute;
    color: rgba(255, 255, 255, 0.2);
    animation: spark-pop 4s ease-in-out infinite alternate;
    pointer-events: none;
}

/* กล่องข้อความอ้างอิง (Quote Box) */
.about-mission-box {
    background: linear-gradient(135deg, #FFF5FB 0%, #FFF9FF 100%);
    border-left: 5px solid var(--coral);
    padding: 18px 20px;
    border-radius: 0 16px 16px 0;
    font-size: 0.95rem;
    color: #5a3e8a;
    line-height: 1.8;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(255,107,157,0.08);
    position: relative;
    transition: all 0.3s;
}
.about-mission-box:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(255,107,157,0.15);
}
.about-mission-box::before {
    content: '\f10d'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -12px;
    left: 15px;
    color: white;
    background: var(--coral);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 4px 10px rgba(255,107,157,0.3);
}

/* ปุ่ม Social Media แบบการ์ด */
.social-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}
.social-btn-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.9);
    border: 1.5px solid rgba(124,79,196,0.1);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
    box-shadow: 0 4px 10px rgba(124,79,196,0.05);
}
.social-btn-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(124,79,196,0.15);
    border-color: var(--lavender);
    background: #ffffff;
}
.social-btn-card .s-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* สีเฉพาะของแต่ละ Social Media */
.s-line   { background: linear-gradient(135deg, #00c300, #00e000); }
.s-tiktok { background: linear-gradient(135deg, #000000, #333333); }
.s-fb     { background: linear-gradient(135deg, #1877F2, #3b5998); }
.s-ig     { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.social-btn-card .s-text { display: flex; flex-direction: column; }
.social-btn-card .s-title { font-size: 0.7rem; color: #888; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px;}
.social-btn-card .s-handle { font-size: 0.95rem; color: var(--deep-purple); font-weight: 800; }
.social-btn-card:hover .s-handle { color: var(--purple); }

.badge-discount-pop {
    background: linear-gradient(135deg, #ff0844, #ffb199);
    color: white;
    font-weight: 900;
    font-size: 0.85rem !important;
    animation: pulse-discount 2s infinite;
}
@keyframes pulse-discount {
    0%, 100% { transform: scale(1) rotate(5deg); }
    50% { transform: scale(1.1) rotate(0deg); }
}

/* กล่องราคา (Price Box) */
.price-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
    background: var(--cream);
    padding: 10px 14px;
    border-radius: 16px;
    border: 1px solid rgba(124,79,196,0.1);
}
.price-old-wrap {
    display: flex;
    flex-direction: column;
}

/* กล่องข้อความเมื่อยังไม่มีคอร์ส/โปรโมชั่น */
.kw-empty-state {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    border: 2.5px dashed var(--lavender);
    border-radius: 28px;
    padding: 40px 20px;
    text-align: center;
    color: var(--purple);
    font-weight: 700;
    width: 100%;
}
.kw-empty-state i {
    font-size: 3rem;
    color: var(--lavender);
    margin-bottom: 12px;
}

/* ─── สไตล์ Minimalist Soft Kawaii (อัปเดตให้นุ่มขึ้น) ─── */
.hero-title-main {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--purple) 60%, var(--coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 4px 20px rgba(255, 255, 255, 0.95)) drop-shadow(0px 2px 5px rgba(255, 255, 255, 0.8));
    -webkit-text-stroke: 0;
    text-shadow: none;
    padding-bottom: 5px;
    z-index: 2;
    animation: jelly-breath 4s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes jelly-breath {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.hero-title-main:hover {
    animation-play-state: paused; 
    transform: translateY(-8px) scale(1.03) rotate(-1deg);
    filter: drop-shadow(0px 12px 30px rgba(255, 255, 255, 1)) drop-shadow(0px 8px 15px rgba(124, 79, 196, 0.2));
}



/* ─── 2026 Pastel Purple + Pink + White palette tune ─── */
.hero-section,
.kw-section { color: var(--deep-purple); }
.kw-section:nth-of-type(even) { background-color: rgba(255, 246, 251, .56); }
.edu-icon.mint { background: #FFF0F7; color: #C85F96; }
.badge-kw-online,
.badge-kw-pkg { background: rgba(239,143,187,.13); color: #B65386; }
.btn-k-success { background: linear-gradient(135deg, #F5BED7, #DD91BB); color: #5D3550 !important; }
.hero-feature-glass { border-color: rgba(196,169,240,.34); }
.book-section-card { background: linear-gradient(135deg, #6F46AA 0%, #8D5CC2 55%, #C779A8 120%); }
@media (max-width: 768px) {
    .hero-section { background: linear-gradient(155deg, #F7F1FF 0%, #FFF1F8 58%, #FFFFFF 100%); }
}



/* ============================================================
   HERO TYPOGRAPHY REFRESH — professional pastel, cleaner hierarchy
   ============================================================ */
.hero-brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 6px 13px 6px 7px;
    margin-bottom: 18px;
    border: 1px solid rgba(124, 79, 196, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 10px 28px rgba(96, 61, 145, .08);
    color: #6F46AA;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
    line-height: 1;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.hero-brand-pill__icon {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, #8B5FC4, #DD7FAB);
    box-shadow: 0 6px 15px rgba(124, 79, 196, .22);
}
.hero-brand-pill__spark {
    color: #E58BB5;
    font-size: .66rem;
    opacity: .9;
}

.hero-title-refresh {
    max-width: 680px;
    margin: 0 0 22px;
    line-height: .92;
    letter-spacing: -0.045em;
    text-shadow: none;
}
.hero-title-refresh > span { display: block; }
.hero-title-refresh__top {
    margin-bottom: 7px;
    color: #776580;
    font-size: clamp(.85rem, 1.35vw, 1.04rem);
    font-weight: 700;
    letter-spacing: .22em;
    line-height: 1.25;
}
.hero-title-refresh__main {
    color: #39234E;
    font-size: clamp(3.1rem, 6vw, 5.3rem);
    font-weight: 900;
    line-height: .88;
}
.hero-title-refresh__bottom {
    position: relative;
    width: max-content;
    max-width: 100%;
    margin-top: 7px;
    color: #39234E;
    font-size: clamp(2rem, 4.3vw, 3.8rem);
    font-weight: 800;
    line-height: 1;
}
.hero-title-refresh__bottom > span {
    position: relative;
    display: inline-block;
    color: transparent;
    background: linear-gradient(100deg, #7C4FC4 4%, #A861C2 44%, #E681AE 96%);
    -webkit-background-clip: text;
    background-clip: text;
}
.hero-title-refresh__bottom > span::after {
    content: '';
    position: absolute;
    left: 3%;
    right: 2%;
    bottom: -8px;
    height: 9px;
    border-radius: 50%;
    border-top: 3px solid rgba(230, 129, 174, .55);
    transform: rotate(-1.5deg);
}

.hero-benefit-list {
    display: grid;
    gap: 9px;
    width: min(100%, 590px);
    margin: 0 0 24px;
}
.hero-benefit-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 9px 14px 9px 9px;
    border: 1px solid rgba(124, 79, 196, .11);
    border-radius: 17px;
    background: rgba(255,255,255,.71);
    box-shadow: 0 8px 24px rgba(73, 44, 99, .055);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hero-benefit-card:hover {
    transform: translateX(5px);
    border-color: rgba(124, 79, 196, .2);
    box-shadow: 0 12px 28px rgba(73, 44, 99, .09);
}
.hero-benefit-card__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 1rem;
}
.hero-benefit-card--pink .hero-benefit-card__icon {
    color: #B85182;
    background: linear-gradient(135deg, #FFE6F1, #FFD6E7);
}
.hero-benefit-card--purple .hero-benefit-card__icon {
    color: #7046AA;
    background: linear-gradient(135deg, #EEE4FF, #E3D4FA);
}
.hero-benefit-card--lavender .hero-benefit-card__icon {
    color: #8158AA;
    background: linear-gradient(135deg, #F4ECFF, #FFEAF4);
}
.hero-benefit-card__copy {
    min-width: 0;
    line-height: 1.33;
}
.hero-benefit-card__copy span,
.hero-benefit-card__copy strong { display: block; }
.hero-benefit-card__copy span {
    margin-bottom: 1px;
    color: #7E7085;
    font-size: .86rem;
    font-weight: 500;
}
.hero-benefit-card__copy strong {
    color: #432B56;
    font-size: 1rem;
    font-weight: 750;
}
.hero-benefit-card--pink strong { color: #934665; }
.hero-benefit-card--purple strong { color: #5C3C8D; }
.hero-copy-line { display: block; }
.hero-copy-line--extra { margin-top: 1px; }
.hero-copy-line--long { font-size: .92rem; }

@media (max-width: 767px) {
    .hero-brand-pill {
        min-height: 34px;
        margin: 0 auto 14px;
        padding: 5px 11px 5px 6px;
        gap: 7px;
        font-size: .67rem;
        letter-spacing: .11em;
    }
    .hero-brand-pill__icon { width: 24px; height: 24px; flex-basis: 24px; font-size: .72rem; }
    .hero-title-refresh {
        margin: 0 auto 20px;
        width: min(100%, 380px);
        text-align: center;
        line-height: 1;
    }
    .hero-title-refresh__top {
        margin-bottom: 8px;
        font-size: .73rem;
        letter-spacing: .17em;
    }
    .hero-title-refresh__main {
        font-size: clamp(2.55rem, 13vw, 3.65rem);
        line-height: .9;
    }
    .hero-title-refresh__bottom {
        margin: 6px auto 0;
        font-size: clamp(1.65rem, 8.4vw, 2.4rem);
    }
    .hero-title-refresh__bottom > span::after { bottom: -6px; height: 7px; border-top-width: 2px; }
    .hero-benefit-list {
        width: min(100%, 390px);
        margin: 0 auto 8px;
        gap: 8px;
        text-align: left;
    }
    .hero-benefit-card {
        grid-template-columns: 36px minmax(0, 1fr);
        min-height: 58px;
        gap: 9px;
        padding: 9px 11px 9px 9px;
        border-radius: 15px;
    }
    .hero-benefit-card:hover { transform: none; }
    .hero-benefit-card__icon {
        display: grid;
        width: 36px;
        height: 36px;
        border-radius: 11px;
        font-size: .88rem;
        flex: 0 0 36px;
    }
    .hero-benefit-card__copy span { font-size: clamp(.72rem, 3.25vw, .82rem); }
    .hero-benefit-card__copy strong {
        font-size: clamp(.80rem, 3.45vw, .92rem);
        line-height: 1.28;
    }
    .hero-copy-line { white-space: nowrap; }
    .hero-copy-line--long { font-size: clamp(.70rem, 3.05vw, .86rem) !important; }
}

@media (max-width: 359px) {
    .hero-title-refresh__main { font-size: 2.45rem; }
    .hero-title-refresh__bottom { font-size: 1.58rem; }
    .hero-benefit-card { grid-template-columns: 30px minmax(0, 1fr); gap: 7px; padding: 8px 9px 8px 8px; }
    .hero-benefit-card__icon {
        display: grid;
        width: 30px;
        height: 30px;
        border-radius: 9px;
        font-size: .76rem;
    }
    .hero-benefit-card__copy span { font-size: .7rem; }
    .hero-benefit-card__copy strong { font-size: .77rem; }
    .hero-copy-line--long { font-size: .66rem !important; letter-spacing: -.01em; }
}

/* ============================================================
   SECONDARY TUTOR BANNER — stays below the original mascot hero
   Buttons remain beside uploads/bg.png even on mobile.
   ============================================================ */
.quick-start-banner {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin: 0;
    padding: 34px 18px 30px;
    background:
        linear-gradient(rgba(124,79,196,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,79,196,.045) 1px, transparent 1px),
        radial-gradient(circle at 8% 18%, rgba(218,237,249,.70) 0 58px, transparent 59px),
        radial-gradient(circle at 92% 24%, rgba(237,227,255,.76) 0 82px, transparent 83px),
        radial-gradient(circle at 84% 88%, rgba(255,226,239,.82) 0 90px, transparent 91px),
        linear-gradient(135deg, #ffffff 0%, #fff9fc 58%, #faf7ff 100%);
    background-size: 30px 30px, 30px 30px, auto, auto, auto, auto;
    border-top: 1px solid rgba(124,79,196,.08);
    border-bottom: 1px solid rgba(124,79,196,.10);
    scroll-margin-top: 90px;
}
.quick-start-banner::before,
.quick-start-banner::after {
    position: absolute;
    z-index: 0;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    pointer-events: none;
    opacity: .10;
}
.quick-start-banner::before {
    content: "\\f5d2"; /* atom */
    color: #7C4FC4;
    font-size: 5.5rem;
    right: 7%;
    top: 10%;
    transform: rotate(10deg);
}
.quick-start-banner::after {
    content: "\\f0c3"; /* flask */
    color: #E079AA;
    font-size: 3.4rem;
    left: 5%;
    bottom: 7%;
    transform: rotate(-10deg);
}
.quick-start-banner__inner {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
    margin: 0 auto;
    border: 1px solid rgba(124,79,196,.12);
    border-radius: 30px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 18px 55px rgba(61,31,110,.10);
    backdrop-filter: blur(8px);
    overflow: hidden;
}
.quick-start-banner__header {
    padding: 26px 30px 8px;
    max-width: 720px;
}
.quick-start-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #8B5DB8;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .06em;
}
.quick-start-banner__eyebrow i { color: #E079AA; }
.quick-start-banner__title {
    margin: 0;
    color: #2F2044;
    font-size: clamp(1.65rem, 3vw, 2.65rem);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.quick-start-banner__title .accent {
    color: #8B5DB8;
    background: linear-gradient(100deg, #7C4FC4, #D56FAD);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.quick-start-banner__body {
    min-height: 300px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, .95fr);
    align-items: end;
    gap: 22px;
    padding: 4px 28px 0 30px;
}
.quick-start-banner__actions-wrap {
    align-self: center;
    padding: 12px 0 30px;
    max-width: 540px;
}
.quick-start-banner__lead {
    margin: 0 0 16px;
    color: #776780;
    font-size: .98rem;
    line-height: 1.7;
    font-weight: 500;
}
.quick-start-banner__actions {
    display: grid;
    gap: 10px;
    width: min(100%, 430px);
}
.quick-start-banner__btn {
    min-height: 52px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
    white-space: normal;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.quick-start-banner__btn > i:first-child {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255,255,255,.20);
}
.quick-start-banner__btn .arrow { margin-left: auto; opacity: .72; }
.quick-start-banner__btn:hover { transform: translateX(4px); }
.quick-start-banner__btn--primary {
    color: #fff !important;
    background: linear-gradient(135deg, #7C4FC4 0%, #A85FBE 52%, #DE79AA 100%);
    box-shadow: 0 10px 25px rgba(124,79,196,.20);
}
.quick-start-banner__btn--register {
    color: #734A71 !important;
    background: #FFF0F7;
    border-color: #F0C6DA;
    box-shadow: 0 8px 22px rgba(222,121,170,.09);
}
.quick-start-banner__btn--review {
    color: #654598 !important;
    background: #fff;
    border-color: #DED0F1;
    box-shadow: 0 8px 22px rgba(124,79,196,.08);
}
.quick-start-banner__visual {
    position: relative;
    align-self: end;
    min-height: 275px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.quick-start-banner__visual::before {
    content: '';
    position: absolute;
    width: min(310px, 88%);
    aspect-ratio: 1;
    left: 50%;
    bottom: -52px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(237,227,255,.90), rgba(255,230,241,.88));
    box-shadow: inset 0 0 0 14px rgba(255,255,255,.35);
    z-index: 0;
}
.quick-start-banner__person {
    position: relative;
    z-index: 2;
    display: block;
    width: min(100%, 330px);
    height: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 18px 22px rgba(61,31,110,.14));
}

@media (max-width: 767.98px) {
    .quick-start-banner { padding: 18px 10px 20px; background-size: 24px 24px, 24px 24px, auto, auto, auto, auto; }
    .quick-start-banner__inner { border-radius: 22px; }
    .quick-start-banner__header { padding: 18px 16px 4px; max-width: none; }
    .quick-start-banner__eyebrow { font-size: .68rem; margin-bottom: 5px; }
    .quick-start-banner__title { font-size: clamp(1.28rem, 6.2vw, 1.7rem); line-height: 1.2; }

    /* Important: keep CTA buttons and tutor photo in the SAME ROW on phones. */
    .quick-start-banner__body {
        min-height: 220px;
        grid-template-columns: minmax(0, 58%) minmax(0, 42%);
        align-items: end;
        gap: 4px;
        padding: 2px 8px 0 14px;
    }
    .quick-start-banner__actions-wrap {
        align-self: center;
        min-width: 0;
        padding: 8px 0 16px;
        position: relative;
        z-index: 3;
    }
    .quick-start-banner__lead {
        margin-bottom: 9px;
        font-size: .76rem;
        line-height: 1.45;
    }
    .quick-start-banner__actions { gap: 7px; width: 100%; }
    .quick-start-banner__btn {
        min-height: 43px;
        padding: 8px 8px;
        gap: 7px;
        border-radius: 12px;
        font-size: clamp(.69rem, 3.05vw, .79rem);
        line-height: 1.15;
    }
    .quick-start-banner__btn > i:first-child {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        border-radius: 8px;
        font-size: .72rem;
    }
    .quick-start-banner__btn .arrow { display: none; }
    .quick-start-banner__btn:hover { transform: none; }
    .quick-start-banner__visual {
        min-width: 0;
        min-height: 205px;
        height: 100%;
        overflow: visible;
    }
    .quick-start-banner__visual::before {
        width: min(48vw, 185px);
        bottom: -28px;
    }
    .quick-start-banner__person {
        width: min(47vw, 190px);
        max-width: 100%;
        max-height: 220px;
        object-position: center bottom;
    }
    .quick-start-banner::before { font-size: 3.3rem; right: 1%; top: 13%; }
    .quick-start-banner::after { display: none; }
}

@media (max-width: 360px) {
    .quick-start-banner__header { padding-inline: 13px; }
    .quick-start-banner__body { grid-template-columns: minmax(0, 60%) minmax(0, 40%); padding-left: 11px; }
    .quick-start-banner__lead { font-size: .71rem; }
    .quick-start-banner__btn { font-size: .67rem; padding-inline: 7px; }
    .quick-start-banner__btn > i:first-child { width: 22px; height: 22px; flex-basis: 22px; }
    .quick-start-banner__person { width: min(43vw, 165px); }
}
