/* YouTutor visual styles. Fully offline; system fonts are used. */


:root{--blue:#123a91;--navy:#102653;--yellow:#ffcb24;--pale:#f3f7ff;--ink:#1b2945;--muted:#68758c;--line:#e5eaf4}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:#fff}button,input,select{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.wrap{width:min(1160px,calc(100% - 40px));margin:auto}.topline{height:7px;background:linear-gradient(90deg,var(--blue) 65%,var(--yellow) 65%)}header{position:sticky;top:0;z-index:30;background:#fff;box-shadow:0 6px 25px #1026530d}.nav{height:82px;display:flex;align-items:center;gap:30px}.logo{display:flex;align-items:center;gap:9px;font-weight:800;font-size:23px;color:var(--navy)}.logo img{width:122px;height:30px;object-fit:contain;background:#000;border-radius:4px}.navlinks{display:flex;gap:27px;align-items:center;margin:auto}.navlinks button{background:none;border:0;font-size:14px;color:#37465e;padding:12px 0}.navlinks button:hover,.navlinks button.active{color:var(--blue);font-weight:800}.actions{display:flex;gap:10px;align-items:center}.btn{border:0;border-radius:10px;padding:13px 20px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}.btn:hover{transform:translateY(-1px)}.btn-yellow{background:var(--yellow);color:#17294d}.btn-blue{background:var(--blue);color:white}.btn-outline{background:white;border:1px solid #cbd7ed;color:var(--blue)}.menu{display:none;background:none;border:0;font-size:25px}.hero{background:#f7f8fc;position:relative;overflow:hidden}.slide{display:none;min-height:505px;position:relative}.slide.active{display:block}.hero-inner{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;min-height:505px;gap:35px}.eyebrow{font-size:13px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:#c08a00}.hero h1{font-family:Outfit,Arial,sans-serif;font-size:clamp(38px,4.8vw,65px);line-height:1.07;margin:18px 0 20px;letter-spacing:-2px;color:var(--navy)}.hero h1 em{font-style:normal;color:var(--blue)}.hero p{line-height:1.8;color:#596781;max-width:510px;font-size:16px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.hero-photo{height:425px;position:relative;display:flex;align-items:end;justify-content:center}.hero-photo:before{content:'';position:absolute;width:92%;height:85%;background:#ffcf2f;border-radius:48% 52% 45% 55%;bottom:0;right:0}.hero-photo:after{content:'';position:absolute;width:85%;height:85%;border:20px solid #2354a8;border-radius:50%;bottom:10px;right:0;opacity:.15}.hero-photo img{position:relative;z-index:1;width:90%;height:94%;object-fit:cover;object-position:center 25%;border-radius:46% 46% 16px 16px;filter:saturate(.9)}.float-note{position:absolute;z-index:2;bottom:33px;left:0;background:white;padding:16px 20px;border-radius:15px;box-shadow:0 10px 40px #15325c24;font-weight:800;font-size:14px}.float-note strong{color:var(--blue);display:block;font-size:21px}.hero-controls{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:4}.dot{height:10px;width:10px;border-radius:20px;background:#a7b6d5;border:0;padding:0}.dot.on{width:32px;background:var(--blue)}.section{padding:72px 0}.section.soft{background:#f7f9fe}.heading{text-align:center;margin:0 auto 34px;max-width:700px}.heading h2{font:800 clamp(28px,3vw,40px)/1.2 Outfit,Arial,sans-serif;margin:10px 0;color:var(--navy)}.heading p{color:var(--muted);line-height:1.7}.line{height:5px;width:65px;border-radius:5px;background:var(--yellow);margin:17px auto}.subjects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.subject{border:1px solid var(--line);border-radius:17px;overflow:hidden;background:white;box-shadow:0 5px 18px #172e5610;text-align:left;transition:.2s;padding:0}.subject:hover{transform:translateY(-5px);box-shadow:0 14px 30px #172e561b}.subject-art{height:140px;background:linear-gradient(125deg,#183f95,#4f7bd1);position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.subject:nth-child(3n+2) .subject-art{background:linear-gradient(120deg,#14326d,#3d63ac)}.subject:nth-child(3n) .subject-art{background:linear-gradient(125deg,#e8ae13,#ffdd65)}.subject-art:after{content:'';position:absolute;width:140px;height:140px;border:25px solid #ffffff22;border-radius:50%;right:-30px;top:-35px}.subject-icon{font-size:60px;filter:drop-shadow(0 5px 3px #0002)}.subject-info{padding:18px}.subject-info h3{margin:0 0 8px;font:700 18px Outfit}.subject-info p{font-size:12px;color:var(--muted);margin:0 0 12px}.link{color:var(--blue);font-weight:800;font-size:13px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.step{padding:24px;border:1px solid var(--line);border-radius:17px;background:white}.step b{font-size:26px;color:var(--blue)}.step h3{font-size:17px}.step p{color:var(--muted);font-size:13px;line-height:1.7}.cta{background:var(--navy);color:white;padding:48px;border-radius:24px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{font:800 34px Outfit;margin:0 0 10px}.cta p{color:#c9d7f0;margin:0}.footer{background:#0d2047;color:#e2e9f8;padding:50px 0 25px}.footergrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer p{color:#b4c2df;line-height:1.8}.footer small{display:block;margin-top:32px;border-top:1px solid #ffffff25;padding-top:20px;color:#9cadd0}.page{min-height:65vh}.pagehead{background:var(--pale);padding:45px 0}.pagehead h1{font:800 40px Outfit;color:var(--navy);margin:0 0 10px}.pagehead p{color:var(--muted);margin:0}.levels{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}.level{border:1px solid var(--line);background:white;border-radius:14px;padding:25px 12px;text-align:center;font-weight:800;color:var(--blue);box-shadow:0 5px 15px #142e5410}.level:hover{background:var(--blue);color:white}.level.disabled{opacity:.35;cursor:not-allowed}.teachergrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.teacher{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}.teacher img{width:100%;height:235px;object-fit:cover}.teacher .body{padding:20px}.teacher h3{margin:0 0 8px}.teacher p{color:var(--muted);font-size:13px;line-height:1.6}.teacher .btn{width:100%}.filter{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:24px}.filter input,.filter select,.field{padding:13px 15px;border:1px solid #cbd6e8;border-radius:10px;background:white;max-width:100%;min-width:0}.filter input{flex:1;min-width:180px}.panel{border:1px solid var(--line);border-radius:18px;background:white;padding:24px;box-shadow:0 8px 25px #17355c0c}.dashboard{display:grid;grid-template-columns:230px minmax(0,1fr);gap:25px}.side{background:var(--navy);border-radius:16px;padding:20px;color:white;align-self:start}.side button{display:block;width:100%;border:0;background:transparent;color:#d9e4fa;padding:13px;text-align:left;border-radius:8px}.side button:hover{background:#ffffff20}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.stat{padding:20px;border:1px solid var(--line);border-radius:13px}.stat strong{display:block;font:800 28px Outfit;color:var(--blue)}.stat small{color:var(--muted)}.child{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:16px 0}.child:last-child{border:0}.tag{background:#fff3c5;color:#775a00;border-radius:20px;padding:6px 10px;font-size:12px;font-weight:800}.toast{position:fixed;bottom:22px;right:22px;max-width:340px;background:#142f67;color:white;padding:16px 20px;border-radius:12px;z-index:100;box-shadow:0 12px 30px #0002;display:none}.breadcrumbs{color:#64718b;font-size:13px;margin-bottom:20px}.muted{color:var(--muted)}.demo{background:#fff6d7;border-bottom:1px solid #f2e2a0;padding:8px 20px;text-align:center;font-size:12px;color:#725b12}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.article{border:1px solid var(--line);padding:25px;border-radius:16px}.article h3{margin-top:0}.article p{color:var(--muted);line-height:1.6}.contactgrid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.form{display:grid;gap:12px}.form input,.form textarea,.form select{width:100%;padding:13px;border:1px solid #cbd6e8;border-radius:10px;font:inherit}.form textarea{min-height:130px}.hidden{display:none!important}
@media(max-width:980px){.nav{gap:12px}.navlinks{gap:13px}.subjects{grid-template-columns:repeat(3,1fr)}.levels{grid-template-columns:repeat(4,1fr)}.teachergrid{grid-template-columns:repeat(2,1fr)}.hero-inner{gap:12px}.hero-photo{height:350px}}
@media(max-width:760px){.wrap{width:min(100% - 28px,1160px)}.nav{height:70px}.menu{display:block;margin-left:auto}.navlinks{display:none;position:absolute;top:70px;left:0;right:0;background:white;padding:16px 24px;box-shadow:0 12px 25px #0002;flex-direction:column;align-items:stretch;gap:0}.navlinks.open{display:flex}.navlinks button{text-align:left}.actions{margin-left:auto}.actions .btn{padding:10px;font-size:12px}.hero-inner{grid-template-columns:1fr;gap:0;padding:32px 0 55px}.slide,.hero-inner{min-height:auto}.hero h1{font-size:42px;letter-spacing:-1px}.hero-photo{height:290px;margin-top:22px}.hero-photo img{width:70%;height:100%}.float-note{bottom:12px;left:5%}.subjects{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.subject-art{height:115px}.subject-info{padding:14px}.subject-info h3{font-size:15px}.steps,.grid3{grid-template-columns:repeat(2,1fr)}.levels{grid-template-columns:repeat(3,1fr)}.teachergrid{grid-template-columns:1fr}.dashboard{grid-template-columns:1fr}.side{display:flex;overflow:auto;gap:5px}.side button{white-space:nowrap;width:auto}.cta{padding:30px;flex-direction:column;align-items:flex-start}.footergrid{grid-template-columns:1fr 1fr}.contactgrid{grid-template-columns:1fr}}
@media(max-width:420px){.actions .btn-outline{display:none}.logo img{width:105px;height:auto}.hero h1{font-size:36px}.hero-photo{height:240px}.subject-art{height:95px}.subject-icon{font-size:45px}.steps,.stats{grid-template-columns:1fr}.levels{grid-template-columns:repeat(2,1fr)}.footergrid{grid-template-columns:1fr}.section{padding:52px 0}.cta h2{font-size:27px}}

/* Accessible, responsive interface language switcher */
.mobile-login{display:none!important}
@media(max-width:760px){.navlinks.open .mobile-login{display:block!important}}
@media(max-width:365px){.actions .btn-yellow{display:none}.navlinks.open .mobile-login{display:block!important}}
.language-switch{display:flex;align-items:center;gap:6px;min-width:0}
.language-switch label{color:#51627c;font-size:12px;font-weight:700;white-space:nowrap}
.language-switch select{max-width:145px;min-width:99px;border:1px solid #cbd7ed;border-radius:9px;background:#f7f9ff;color:#17335e;padding:10px 27px 10px 10px;font-size:13px;font-weight:700;cursor:pointer}
.language-switch select:focus-visible{outline:3px solid #ffcb24;outline-offset:2px}
@media(max-width:1120px){.nav{gap:13px}.navlinks{gap:12px}.navlinks button{font-size:13px}.actions{gap:7px}.actions .btn{padding:11px 12px}.language-switch label{display:none}}
@media(max-width:980px){.actions .btn-outline{display:none}}
@media(max-width:760px){.nav{gap:8px}.actions{margin-left:auto}.language-switch select{min-width:91px;max-width:122px;padding:9px 22px 9px 7px}.actions .btn-yellow{font-size:11px;padding:10px 9px}.menu{order:2;margin-left:0}.logo{flex-shrink:0}}
@media(max-width:420px){.logo img{width:90px!important}.actions .btn-yellow{padding:9px 7px;font-size:10px}.language-switch select{min-width:87px;max-width:110px;font-size:11px}.menu{font-size:23px}.nav{gap:5px}}
html[lang="zh"] body{font-family:'DM Sans','Microsoft YaHei','PingFang SC','Noto Sans CJK SC',Arial,sans-serif}
html[lang="zh"] .hero h1{letter-spacing:0}

/* Teacher course profile / package / lessons / materials */
.teacher-visual{height:240px;position:relative;background:linear-gradient(135deg,#e9f3ff,#fff0ad);display:flex;align-items:center;justify-content:center;font-size:74px;overflow:hidden}.teacher-visual img{position:absolute;inset:0;width:100%;height:100%}
.profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 322px;gap:28px;align-items:start}
.profile-main{min-width:0}.profile-sidebar{position:sticky;top:110px;min-width:0}
.profile-card{background:#fff;border:1px solid var(--line);border-radius:19px;box-shadow:0 7px 28px #10265312;overflow:hidden;margin-bottom:23px}
.profile-card .inner{padding:26px}.profile-title{margin:0 0 12px;font:800 clamp(25px,3vw,34px)/1.2 Outfit,Arial,sans-serif;color:var(--navy)}
.profile-text{line-height:1.85;color:#61708b;font-size:15px;margin:0}.profile-label{color:#1c4797;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;margin-bottom:8px;display:block}
.profile-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#f0f1f8;border-radius:11px;overflow:hidden;margin:28px 0 25px}
.profile-tab{border:0;background:transparent;color:#14244a;padding:20px 6px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:10px;border-right:1px solid #daddE9;min-width:0}
.profile-tab:last-child{border-right:0}.profile-tab[aria-selected="true"]{background:var(--yellow);color:#13234a}.profile-tab:focus-visible,.month-tile:focus-visible,.schedule-choice:focus-visible{outline:3px solid #3d68f7;outline-offset:2px}
.profile-subhead{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:10px 0 14px;flex-wrap:wrap}.profile-subhead h3{font:800 25px Outfit,Arial;margin:0;color:var(--navy)}
.profile-smallbadge{display:inline-flex;padding:8px 12px;background:#fff0f6;color:#c62574;border-radius:7px;font-weight:700;font-size:12px}
.month-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:23px}.month-tile{background:#fff;border:1px solid #dbe1ed;border-radius:11px;min-height:106px;text-align:left;padding:17px;display:flex;flex-direction:column;justify-content:center;gap:10px;color:var(--navy)}.month-tile strong{font-size:14px}.month-tile span{color:#68758c;font-size:19px}.month-tile:hover{border-color:#4677d9;background:#f6f9ff}.month-tile.selected{border:2px solid var(--blue);background:#eff5ff;padding:16px}.month-tile.selected span{color:var(--blue)}.month-check{margin-left:auto;font-weight:900;color:var(--blue);font-size:13px}
.lesson-list,.material-list{display:grid;gap:14px}.accord{border:1px solid #dce1ed;border-radius:10px;overflow:hidden}.accord-btn{display:flex;align-items:center;justify-content:space-between;background:#f0f1f7;border:0;width:100%;text-align:left;padding:21px;font-size:16px;font-weight:800;color:var(--navy);gap:16px}.accord-btn span:first-child{overflow-wrap:anywhere}.accord-body{padding:18px 22px;background:white}.accord-body p{margin:7px 0 15px;line-height:1.6}.accord-body p:last-child{margin-bottom:0}.accord-icon{flex-shrink:0;color:var(--blue);font-size:18px}.profile-info-band{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f0f1f7;padding:20px;border-radius:10px;color:#64708a;margin-bottom:22px;flex-wrap:wrap}.profile-info-band select{background:#fff;border:0;padding:12px 20px;border-radius:8px;max-width:100%}
.teacher-headshot{width:100%;height:240px;object-fit:cover;object-position:center 28%;background:#dbe8ff}.teacher-side-content{padding:21px}.teacher-side-content h2{font:800 23px Outfit;color:var(--navy);margin:0 0 12px}.teacher-fact{border-bottom:1px solid var(--line);padding:12px 0;line-height:1.5;font-size:14px;overflow-wrap:anywhere}.teacher-fact:last-child{border:0}.teacher-fact span{color:#66758d}.teacher-fact b{color:var(--navy)}
.schedule-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:14px 0 18px}.schedule-choice{border:1px solid #dbe2ef;border-radius:10px;background:#fff;padding:15px;text-align:left;font-size:13px;font-weight:700;line-height:1.5}.schedule-choice.active{border:2px solid var(--blue);padding:14px;background:#f0f5ff}.schedule-choice small{display:block;color:var(--muted);font-weight:500}
.price-breakdown{margin-top:20px;border-top:1px solid var(--line);padding-top:15px}.price-row{display:flex;align-items:center;justify-content:space-between;gap:13px;margin:11px 0;color:#53637c;font-size:14px}.price-row strong{color:var(--navy)}.price-row.total{padding-top:14px;margin-top:18px;border-top:1px solid var(--line);font-weight:800;color:var(--navy);font-size:18px}.price-row.total strong{font-size:23px;color:var(--blue)}.price-row.saving{color:#087548}.price-row.saving strong{color:#087548}.pay-methods{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0 18px}.method-chip{border:1px solid #d8e1f0;border-radius:6px;font-size:11px;font-weight:800;padding:6px 8px;background:#f7faff;color:#344568}.btn.block{width:100%}.profile-note{background:#fff8dd;border:1px solid #f2df94;border-radius:10px;color:#7a6328;padding:13px 15px;font-size:12px;line-height:1.6;margin:16px 0}.muted-mini{color:#78859b;font-size:12px;line-height:1.6}.profile-price-top{font-weight:800;color:var(--navy);font-size:15px}.profile-price-top strong{color:var(--blue);font-size:20px}.mini-tag{font-size:11px;color:#786019;background:#fff3c7;padding:5px 8px;border-radius:15px;font-weight:800}
.teacher-card-bio{margin:12px 0;color:#66758c;line-height:1.6;font-size:13px}.teacher-card-sub{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}
.checkout-layout{max-width:900px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:25px}.checkout-card{padding:26px;border:1px solid var(--line);border-radius:18px;box-shadow:0 5px 22px #1026530d;min-width:0}.checkout-card h2{margin-top:0}.checkout-section{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.checkout-radio{display:block;border:1px solid #dbe3f0;padding:14px 16px;border-radius:10px;margin:11px 0;cursor:pointer}.checkout-radio:has(input:checked){background:#edf4ff;border-color:var(--blue)}.checkout-radio input{margin-right:8px}.checkout-fine{background:#fff4d3;border-radius:10px;padding:16px;color:#76591d;font-size:13px;line-height:1.6;margin:20px 0}.checkout-summary{align-self:start}.demo-confirm{border-radius:12px;border:1px solid #b9dfc8;background:#f0fff4;padding:20px;text-align:center;margin-top:15px;color:#17613a}.sample-chip{background:#fff5d6;color:#836300;border-radius:8px;font-weight:700;font-size:12px;padding:8px 10px;display:inline-block}
@media(max-width:980px){.profile-layout{grid-template-columns:minmax(0,1fr) 270px;gap:17px}.month-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-side-content{padding:16px}}
@media(max-width:760px){.profile-layout,.checkout-layout{grid-template-columns:1fr}.profile-sidebar{position:static;max-width:560px;width:100%;margin:auto}.profile-card .inner{padding:18px}.profile-tab{padding:17px 7px;font-size:13px;gap:6px}.profile-tab span:first-child{font-size:16px}.teacher-headshot{height:225px}.checkout-card{padding:18px}}
@media(max-width:480px){.month-grid{grid-template-columns:1fr}.month-tile{min-height:85px;gap:5px}.schedule-options{grid-template-columns:1fr}.profile-subhead h3{font-size:21px}.profile-tabs{margin:20px 0}.profile-tab{font-size:12px;padding:15px 4px}.profile-info-band{padding:14px}.accord-btn{padding:16px;font-size:14px}.accord-body{padding:16px}}

/* YouTutor premium visual system — refined design, existing flows preserved */
:root{--blue:#2456b6;--navy:#0c2347;--yellow:#ffc432;--pale:#f5f8fe;--ink:#142b4d;--muted:#71819a;--line:#e2e9f3;--gold:#ffcb44}
html{scroll-behavior:smooth}body{background:#fff;color:var(--ink);-webkit-font-smoothing:antialiased}
button,a,input,select,textarea{transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d0a21c;outline-offset:3px}
.wrap{width:min(1240px,calc(100% - 64px))}
.topline{height:4px;background:linear-gradient(90deg,#2056b4,#2056b4 76%,#ffd34c 76%)}
.demo{background:#f7f8fc;color:#718099;border-bottom:1px solid #e8edf4;font-weight:600;letter-spacing:.02em;padding:7px 20px;font-size:10.5px}
header{background:#0b2041;box-shadow:0 12px 30px #071a361c;border-bottom:1px solid #ffffff12}
.nav{height:85px;gap:22px}.logo{flex:0 0 auto}.logo img{width:146px;height:43px;object-fit:contain;background:#070e19;border:1px solid #ffffff14;border-radius:8px;padding:5px 8px}
.navlinks{gap:5px;margin:auto}.navlinks button{color:#d4dced;font-weight:700;font-size:13px;padding:11px 14px;border-radius:8px;position:relative;white-space:nowrap}.navlinks button:hover,.navlinks button.active{color:#fff;background:#ffffff12;font-weight:800}.navlinks button.active:after{content:'';width:19px;height:3px;position:absolute;left:14px;bottom:3px;border-radius:4px;background:var(--gold)}
.actions{gap:9px}.nav .btn{font-size:12px;padding:13px 16px}.nav .btn-outline{background:#ffffff0a;border:1px solid #ffffff32;color:#f8faff}.nav .btn-outline:hover{background:#ffffff1a;border-color:#fff8}.nav .btn-yellow{background:var(--gold);color:#0b2347;box-shadow:0 5px 18px #e9ad2736}.nav .btn-yellow:hover{background:#ffdc75}
.language-switch{border:1px solid #ffffff38;background:#ffffff0d;border-radius:9px;display:flex;align-items:center;gap:6px;padding:6px 8px}.language-switch label{color:#aebede;font-size:10px!important;margin:0}.language-switch select{background:transparent!important;color:#fff!important;border:0!important;max-width:112px;font-weight:700;font-size:12px;cursor:pointer}.language-switch option{color:#101e3b;background:#fff}
.menu{color:white}.mobile-login{display:none}
.btn{border-radius:10px;min-height:46px;box-shadow:none;letter-spacing:-.005em;white-space:normal;line-height:1.3}.btn-yellow{background:var(--yellow);color:#0c2748;box-shadow:0 6px 16px #9d6c1229}.btn-yellow:hover{background:#ffda65;box-shadow:0 12px 24px #b47a2d3d;transform:translateY(-2px)}.btn-blue{background:#194d9f;color:white;box-shadow:0 8px 20px #194d9f2c}.btn-blue:hover{background:#0f3474;transform:translateY(-2px);box-shadow:0 12px 24px #12376b42}.btn-outline{background:transparent;color:#1c4992;border:1px solid #c9d6e9}.btn-outline:hover{background:#eef5ff;border-color:#7d9ccf;transform:translateY(-2px)}
.hero{background:linear-gradient(112deg,#071a38 0%,#0c2854 56%,#143f82 100%);color:#fff;position:relative;isolation:isolate;border-bottom:5px solid var(--yellow)}
.hero:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 83% 19%,#447ac84d 0%,transparent 31%),radial-gradient(circle at 7% 92%,#224e9648 0%,transparent 28%);pointer-events:none}
.hero:after{content:'';position:absolute;right:0;bottom:0;width:28%;height:75%;background-image:radial-gradient(#e8f1ff22 1.5px,transparent 1.5px);background-size:17px 17px;mask-image:linear-gradient(to left,#000,transparent);pointer-events:none}
.slide{min-height:610px}.hero-inner{min-height:610px;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:50px;position:relative;padding:54px 0 70px}
.hero-copy{position:relative;z-index:2;padding:4px 0 20px}.hero .eyebrow{font-size:11px;color:#fff;background:#ffffff16;border:1px solid #ffffff25;display:inline-flex;align-items:center;gap:9px;letter-spacing:1.65px;text-transform:uppercase;border-radius:25px;padding:10px 15px}
.hero .eyebrow:before{content:'';width:7px;height:7px;background:var(--yellow);border-radius:50%}
.hero h1{font-family:Outfit,'DM Sans',sans-serif;font-weight:800;font-size:clamp(43px,5.1vw,75px);letter-spacing:-2.8px;line-height:1.045;max-width:690px;margin:24px 0 20px;color:#fff}.hero h1 em{color:#ffcb47;font-style:normal}.hero p{max-width:520px;color:#d8e4fa;line-height:1.8;font-size:16px;font-weight:400}
.hero-buttons{gap:13px;margin-top:32px}.hero-buttons .btn{padding:15px 22px;font-size:14px}.hero-buttons .btn-outline{color:#fff;background:#ffffff0b;border-color:#ffffff54}.hero-buttons .btn-outline:hover{background:#ffffff20}
.hero-benefits{display:flex;align-items:center;gap:18px 28px;flex-wrap:wrap;margin-top:39px;color:#dce6f9;font-size:12px;font-weight:700}.hero-benefits span{display:flex;align-items:center;gap:9px}.hero-benefits i{background:#ffd04b;color:#13294b;width:22px;height:22px;display:grid;place-items:center;font-style:normal;border-radius:50%;font-size:12px}
.hero-photo{height:458px;align-items:center;justify-content:center;position:relative;isolation:isolate;min-width:0}
.hero-photo:before{height:81%;width:78%;top:5%;left:14%;bottom:auto;right:auto;background:radial-gradient(circle at 25% 23%,#ffedb5,#ffcb3e 66%,#e9a918);border-radius:50%;box-shadow:0 0 0 18px #ffffff0b,0 0 0 36px #ffffff06}
.hero-photo:after{width:65%;height:65%;border:1px solid #ffffff36;border-radius:50%;right:-4%;bottom:0;background:transparent;opacity:1}
.hero-photo .hero-image-frame{position:relative;z-index:1;width:90%;height:93%;overflow:hidden;border-radius:42% 42% 26px 26px;box-shadow:0 28px 68px #00163265;border:5px solid #ffffffeb;background:linear-gradient(160deg,#e7effc,#bed3f1);transform:rotate(1.2deg)}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center center;border-radius:0;filter:saturate(.93);transform:rotate(-1.2deg) scale(1.06)}
.hero-photo .float-note{bottom:1px;left:-5%;min-width:185px;border:1px solid #fff;border-radius:16px;padding:15px 19px;color:#253852;font-size:12px;box-shadow:0 15px 42px #0003;z-index:3}.hero-photo .float-note strong{color:#1a4c9b;font-size:20px;margin-bottom:2px}.hero-note-top{position:absolute;z-index:3;top:13%;right:-1%;background:#fff;color:#1c3764;padding:11px 15px;border-radius:12px;font-size:12px;box-shadow:0 13px 42px #0003;font-weight:800;transform:rotate(4deg)}.hero-note-top:before{content:'✦';color:#e5ac0c;margin-right:7px}
.hero-controls{bottom:29px;left:50%;transform:translateX(-50%)}.dot{height:8px;width:8px;background:#ffffff68;cursor:pointer}.dot.on{width:31px;background:#ffcd47}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;background:#ffffff16;color:#fff;z-index:5;border:1px solid #ffffff34;border-radius:50%;display:grid;place-items:center;font-size:19px;cursor:pointer}.hero-arrow:hover{background:#ffffff31}.hero-arrow.previous{left:12px}.hero-arrow.next{right:12px}
.valuebar{position:relative;z-index:2;background:#fff;box-shadow:0 12px 40px #1135690d;border-bottom:1px solid #e7edf6}.valuebar-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.valuebar-cell{padding:24px 25px;display:flex;align-items:center;gap:15px;justify-content:center;min-width:0}.valuebar-cell:not(:last-child){border-right:1px solid #e7edf5}.value-icon{height:48px;width:48px;flex:0 0 48px;background:#eaf2ff;color:#1e53a3;display:grid;place-items:center;border-radius:14px;font-size:22px}.valuebar-cell b{display:block;font-size:14px;color:#162d52}.valuebar-cell small{display:block;font-size:12px;color:#8290a5;margin-top:4px}
.section{padding:87px 0}.section.soft{background:#f5f8fd}.heading{max-width:740px;margin-bottom:43px}.heading h2{font-size:clamp(30px,3vw,43px);letter-spacing:-1.3px}.heading .eyebrow{color:#2456ad;font-size:12px;letter-spacing:2px}.heading p{font-size:15px}.line{height:4px;width:46px;background:#f6c235;margin-top:20px}.subjects{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.subject{border:1px solid #e3eaf5;box-shadow:0 6px 22px #0c28440c;border-radius:18px;display:flex;flex-direction:column;min-height:264px}.subject:hover{border-color:#a8c0ed;box-shadow:0 22px 46px #1037621f;transform:translateY(-6px)}.subject-art{height:145px;background:linear-gradient(145deg,#edf4ff,#dceaff)!important;align-items:center;justify-content:center}.subject:nth-child(4n+2) .subject-art{background:linear-gradient(140deg,#eaf3ff,#e3eaff)!important}.subject:nth-child(4n+3) .subject-art{background:linear-gradient(140deg,#fff6df,#fff0c2)!important}.subject:nth-child(4n+4) .subject-art{background:linear-gradient(140deg,#e9f8f8,#e1f2f5)!important}.subject-art:after{width:180px;height:180px;right:-75px;top:-68px;border:28px solid #ffffff6e}.subject-art:before{content:'';height:110px;width:110px;border-radius:25px;background:#ffffff99;position:absolute;transform:rotate(-11deg);box-shadow:0 7px 20px #3f61a012}.subject-icon{font-size:53px;position:relative;z-index:1;filter:none}.subject-info{padding:18px 19px 22px;display:flex;flex-direction:column;flex:1}.subject-info h3{font-size:17px;margin-bottom:8px;color:#172b4e}.subject-info p{line-height:1.5;margin-bottom:15px;font-size:12px}.subject-info .link{margin-top:auto;font-size:12px;letter-spacing:.01em}.subject-info .link:after{content:'  ↗';font-size:15px}
.steps{gap:18px}.step{border:1px solid #e3eaf6;box-shadow:0 9px 30px #1438630b;padding:30px 24px;border-radius:20px;position:relative;overflow:hidden}.step:before{content:'';height:5px;position:absolute;left:0;right:0;top:0;background:linear-gradient(90deg,#234fa3 0%,#ffcb47 100%)}.step b{font:800 35px/1 Outfit,Arial;color:#d9e4f6}.step h3{font-size:17px;color:#1b3152;margin-top:22px}.step p{font-size:13px;color:#748299;line-height:1.75}
.cta{background:linear-gradient(110deg,#102a58,#163e80);padding:52px 60px;border-radius:24px;position:relative;overflow:hidden;box-shadow:0 22px 60px #092c6150}.cta:before{content:'';position:absolute;width:340px;height:340px;right:7%;top:-190px;border:50px solid #ffffff0b;border-radius:50%;pointer-events:none}.cta h2{font-size:clamp(27px,3vw,37px);max-width:660px;letter-spacing:-.5px;position:relative}.cta p{line-height:1.8;position:relative}.cta button{z-index:1;flex:0 0 auto}.footer{background:#071a35;border-top:4px solid #f5be2d}.footergrid{gap:50px}.footer p{font-size:13px}.footer small{font-size:12px}
/* Professional internal pages */
.pagehead{background:linear-gradient(110deg,#edf3ff,#f8fbff);border-bottom:1px solid #e3eaf5;padding:56px 0}.pagehead h1{font-size:clamp(29px,3.5vw,46px);letter-spacing:-1px}.pagehead p{font-size:15px}.filter{padding:18px;background:#f5f8fd;border:1px solid #e8edf6;border-radius:16px;margin-bottom:28px}.filter input,.filter select,.field{border-radius:10px;background:#fff}.level{border-radius:14px;box-shadow:0 8px 19px #193b610e}.level:hover{transform:translateY(-3px);box-shadow:0 15px 26px #1b4d992e}.teacher,.panel,.profile-card,.checkout-card,.article{border-color:#e4eaf4;box-shadow:0 12px 32px #0d2d5b10;border-radius:20px}.teacher{transition:transform .22s,box-shadow .22s}.teacher:hover{transform:translateY(-4px);box-shadow:0 23px 43px #0d2d5b20}.teacher img{height:250px}.teacher .body{padding:23px}.teacher h3{font:800 20px Outfit}.teacher .body .btn{margin-top:13px}.side{background:#092751;border:1px solid #254775;border-radius:19px}.side button:hover{background:#ffffff23}.stat{background:#fff;border-radius:17px;box-shadow:0 9px 28px #17375c0b}.profile-tabs{background:#eef3fa;border:1px solid #e4eaf5;border-radius:13px}.profile-tab{transition:background .18s,color .18s}.profile-tab[aria-selected=true]{background:#ffcb36;color:#122b52;box-shadow:inset 0 -3px 0 #edb01b}.profile-tab:hover:not([aria-selected=true]){background:#dfeafa}.month-tile{border-radius:13px}.month-tile:hover{transform:translateY(-2px)}.month-tile.selected{box-shadow:0 7px 23px #2456b620}.accord{border-radius:12px}.accord-btn{background:#f3f6fb}.teacher-side-content h2{font-size:24px}.teacher-visual{height:265px}.teacher-headshot{height:265px}.btn.block{min-height:49px}
@media(min-width:761px) and (max-width:1170px){.nav{gap:11px}.navlinks button{padding:10px 8px;font-size:12px}.nav .btn{padding:11px 9px}.logo img{width:122px}.language-switch label{display:none}.hero-inner{gap:20px}.hero-photo{height:385px}.hero h1{font-size:clamp(40px,5vw,57px)}}
@media(max-width:980px){.subjects{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-arrow{display:none}.hero-inner{gap:10px}.hero-photo{height:390px}.hero h1{font-size:clamp(39px,5vw,54px)}.valuebar-cell{padding:20px 14px}}
@media(max-width:760px){.wrap{width:min(100% - 34px,1240px)}.nav{height:73px;gap:10px}.logo img{width:124px;height:39px}.navlinks{position:absolute;top:73px;left:0;right:0;background:#0b2041;border-top:1px solid #ffffff20;padding:15px 22px 23px;box-shadow:0 14px 30px #06163380;z-index:50}.navlinks button{color:#fff;font-size:14px;padding:14px 12px}.navlinks button.active:after{bottom:7px}.navlinks .mobile-login{display:block;background:#ffcb36;color:#122748;border-radius:9px;text-align:center;margin-top:9px}.nav .actions{margin-left:auto;gap:6px}.nav .actions>.btn{display:none}.language-switch{padding:6px 8px}.language-switch label{display:none!important}.language-switch select{font-size:12px;max-width:94px}.menu{order:2;margin-left:0;background:#ffffff15;border-radius:8px;width:40px;height:40px;font-size:22px;flex:0 0 auto}.hero-inner{grid-template-columns:1fr;gap:0;padding:44px 0 75px;min-height:0}.slide{min-height:0}.hero .eyebrow{font-size:10px;padding:8px 12px}.hero h1{font-size:clamp(38px,8vw,55px);letter-spacing:-1.5px;max-width:590px}.hero p{font-size:14px;line-height:1.7}.hero-benefits{margin-top:26px;gap:12px;font-size:11px}.hero-photo{height:310px;margin:30px auto 0;width:min(100%,480px)}.hero-photo .hero-image-frame{height:95%;width:79%;border-width:4px}.hero-photo:before{width:68%;height:77%;left:17%}.hero-photo .float-note{bottom:0;left:0;min-width:148px;padding:10px 12px;font-size:10px}.hero-photo .float-note strong{font-size:15px}.hero-note-top{top:3%;right:0;padding:8px 10px;font-size:10px}.hero-controls{bottom:23px}.valuebar-grid{grid-template-columns:1fr 1fr}.valuebar-cell{justify-content:flex-start;padding:17px 10px}.valuebar-cell:last-child{grid-column:1 / -1;border-top:1px solid #e8edf5;justify-content:center}.valuebar-cell:nth-child(2){border-right:0}.value-icon{width:40px;height:40px;flex-basis:40px;font-size:18px}.valuebar-cell b{font-size:12px}.valuebar-cell small{font-size:11px}.section{padding:60px 0}.heading{margin-bottom:30px}.heading h2{font-size:31px;letter-spacing:-.5px}.subjects{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.subject{min-height:235px}.subject-art{height:120px}.subject-icon{font-size:46px}.subject-info{padding:14px}.subject-info h3{font-size:15px}.subject-info p{font-size:11px}.steps{grid-template-columns:repeat(2,1fr)}.step{padding:21px 16px}.step b{font-size:30px}.step h3{font-size:15px}.step p{font-size:12px}.cta{flex-direction:column;align-items:flex-start;padding:30px}.cta button{width:100%}.pagehead{padding:38px 0}.pagehead h1{font-size:32px}.profile-sidebar{position:static}.footergrid{gap:25px}}
@media(max-width:480px){.hero-inner{padding-top:35px}.hero h1{font-size:40px}.hero-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hero-buttons .btn{padding:13px 8px;font-size:12px;min-height:46px}.hero-photo{height:264px}.hero-benefits span:last-child{display:none}.subjects{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-info h3{font-size:14px}.steps{grid-template-columns:1fr}.step{padding:23px 24px}.month-grid{grid-template-columns:1fr}.valuebar-cell{gap:8px}.valuebar-cell b{font-size:11px}.valuebar-cell small{font-size:10px}.value-icon{width:35px;height:35px;flex-basis:35px}.heading h2{font-size:28px}}
@media(max-width:360px){.wrap{width:calc(100% - 26px)}.logo img{width:105px}.language-switch select{max-width:87px;font-size:11px}.hero h1{font-size:35px}.hero-photo{height:232px}.subject-art{height:105px}.subject-info{padding:12px}.subject-info h3{font-size:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}


@media (min-width:761px) and (max-width:1199px){
 .nav{height:78px}.navlinks{display:none;position:absolute;top:78px;left:0;right:0;background:#0b2041;padding:16px max(28px,calc((100vw - 1080px)/2));box-shadow:0 20px 40px #061633a6;flex-direction:column;align-items:stretch;gap:3px;z-index:50;border-top:1px solid #ffffff28}
 .navlinks.open{display:flex}.navlinks button{color:#fff;text-align:left;padding:12px 15px;font-size:14px}.navlinks .mobile-login{display:block;background:#ffcc3e;color:#132341;border-radius:9px;margin-top:8px;text-align:center}
 .menu{display:block;order:2;margin-left:0;background:#ffffff12;color:#fff;border-radius:10px;height:43px;width:43px;font-size:23px}
 .nav .actions{margin-left:auto}.nav .actions>.btn{display:none}
}


/* YouTutor V3 — immersive Sunway-inspired inner-page banners, original brand treatment */
.pagehead{position:relative;min-height:346px;padding:0!important;isolation:isolate;overflow:hidden;background:#092851;border:0;display:flex;align-items:center;color:#fff}
.pagehead .banner-bg{position:absolute;inset:0;z-index:-3;background:linear-gradient(112deg,#082754 0%,#134390 62%,#2b68b2 100%)}
.pagehead .banner-image{position:absolute;inset:0 0 0 auto;width:66%;height:100%;object-fit:cover;object-position:center 42%;opacity:.78;z-index:-2;mask-image:linear-gradient(90deg,transparent 0%,#000 48%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 48%);filter:saturate(.83)}
.pagehead .banner-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#071b3d 0%,#0b2c5b 30%,#113e84b8 50%,#0d3e8722 100%)}
.pagehead:after{content:'';position:absolute;bottom:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#ffca28,#f0ae1f 42%,#f9d87d 75%,#ffcc31);z-index:2}
.pagehead:before{content:'';position:absolute;width:360px;height:360px;right:15%;top:-250px;border:55px solid #ffffff0a;border-radius:50%;pointer-events:none}
.pagehead .banner-content{position:relative;min-height:346px;padding-top:44px;padding-bottom:51px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;z-index:1}
.banner-kicker{display:flex;gap:11px;align-items:center;letter-spacing:2.3px;text-transform:uppercase;font-size:11px;font-weight:800;color:#ffe08a;margin:0 0 16px}
.banner-kicker:before{content:'';width:28px;height:3px;background:#ffcb2a;border-radius:3px}
.pagehead h1{margin:0;max-width:760px;font-family:Outfit,'DM Sans',Arial,sans-serif;color:#fff;font-weight:800;font-size:clamp(40px,4.4vw,64px);letter-spacing:-1.8px;line-height:1.12;text-wrap:balance;text-shadow:0 3px 14px #06183a30}
.pagehead .banner-title-underline{display:block;width:64px;height:5px;border-radius:4px;background:#ffc82b;margin:20px 0 17px}
.pagehead p{color:#f0f5ff;margin:0;max-width:580px;font-size:clamp(14px,1.35vw,17px);line-height:1.75;text-shadow:0 2px 8px #03173824}
.pagehead .banner-crumbs{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:0 0 31px;color:#d2dff7;font-size:12px;font-weight:600}
.pagehead .banner-crumbs a{color:#fff;opacity:.85;transition:opacity .2s}
.pagehead .banner-crumbs a:hover{opacity:1;text-decoration:underline}
.pagehead .banner-crumbs .crumb-current{color:#ffdb5a}
.banner-corner{position:absolute;right:5.1%;bottom:31px;z-index:1;border:1px solid #ffffff55;background:#0f326c8c;backdrop-filter:blur(10px);border-radius:15px;padding:17px 23px;color:#fff;box-shadow:0 16px 45px #04153236;display:flex;gap:13px;align-items:center;pointer-events:none}
.banner-corner .corner-symbol{font-size:28px;color:#ffcc26}
.banner-corner .corner-text strong{display:block;font-size:14px;letter-spacing:.2px}
.banner-corner .corner-text span{font-size:12px;color:#e5eeff}
/* Different treatment for each section; matching framework, different editorial emphasis */
.pagehead[data-banner='courses'] .banner-bg{background:linear-gradient(115deg,#051d42,#1252a2)}
.pagehead[data-banner='blogs'] .banner-bg{background:linear-gradient(115deg,#102a52,#2d569b)}
.pagehead[data-banner='about'] .banner-bg{background:linear-gradient(115deg,#0a305a,#296a9f)}
.pagehead[data-banner='contact'] .banner-bg{background:linear-gradient(115deg,#0a2b53,#21548a)}
.pagehead[data-banner='levels'] .banner-bg,.pagehead[data-banner='teachers'] .banner-bg{background:linear-gradient(115deg,#112e67,#2a60a0)}
.pagehead[data-banner='dashboard']{min-height:240px}
.pagehead[data-banner='dashboard'] .banner-content{min-height:240px}
.pagehead[data-banner='dashboard'] .banner-image{opacity:.32}
.pagehead[data-banner='checkout']{min-height:248px}
.pagehead[data-banner='checkout'] .banner-content{min-height:248px}
@media(max-width:980px){.pagehead{min-height:300px}.pagehead .banner-content{min-height:300px;padding-top:32px;padding-bottom:40px}.banner-corner{right:3%;bottom:24px;padding:12px 14px}.banner-corner .corner-text span{display:none}.pagehead .banner-image{width:68%}}
@media(max-width:760px){.pagehead{min-height:310px}.pagehead .banner-content{min-height:310px;padding:27px 0 40px}.pagehead .banner-image{width:100%;opacity:.45;mask-image:none;-webkit-mask-image:none;object-position:70% center}.pagehead .banner-shade{background:linear-gradient(90deg,#081f46f5 0%,#0a2e63e8 58%,#0a327bc0 100%)}.pagehead h1{font-size:clamp(33px,7.9vw,49px);letter-spacing:-1px;max-width:95%}.pagehead p{font-size:13px;max-width:90%;line-height:1.6}.pagehead .banner-crumbs{margin-bottom:23px;max-width:92%;font-size:11px}.banner-kicker{letter-spacing:1.5px;font-size:10px}.pagehead .banner-title-underline{margin:15px 0 14px}.banner-corner{display:none}.pagehead[data-banner='dashboard'] .banner-content,.pagehead[data-banner='checkout'] .banner-content{min-height:255px}}
@media(max-width:390px){.pagehead{min-height:270px}.pagehead .banner-content{min-height:270px;padding-bottom:27px}.pagehead h1{font-size:32px}.pagehead p{max-width:100%}.pagehead .banner-crumbs{margin-bottom:18px}.banner-kicker{margin-bottom:13px}}


/* Narrow-phone safety: do not allow article cards to overflow the viewport. */
@media (max-width: 600px) {
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .grid3 > *, .article { min-width: 0; overflow-wrap: anywhere; }
}

/* --- V4 visual update: hero without frame, premium blue gradient --- */
.hero{background:linear-gradient(100deg,#0a2560 0%,#11367f 40%,#1b5bb3 100%);position:relative;overflow:hidden}
.hero:before{content:'';position:absolute;inset:auto auto -120px -120px;width:460px;height:460px;border-radius:50%;background:radial-gradient(circle,#ffffff12 0%,#ffffff06 45%,transparent 72%)}
.hero:after{content:'';position:absolute;right:-140px;top:-70px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,#ffffff1f 0%,#ffffff09 40%,transparent 72%)}
.slide{min-height:610px}
.hero-inner{grid-template-columns:1.02fr .98fr;align-items:center;min-height:610px;gap:26px;padding:38px 0 64px}
.hero-copy{position:relative;z-index:2}
.hero .eyebrow{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border-radius:999px;background:#ffffff12;color:#dce9ff;backdrop-filter:blur(10px);font-size:12px;letter-spacing:1.7px}
.hero h1{color:#fff;max-width:700px;font-size:clamp(48px,5.2vw,78px);line-height:1.02;letter-spacing:-2.6px;margin:20px 0 22px}
.hero h1 em{color:#ffcb2f}
.hero p{color:#e6efff;max-width:590px;font-size:17px;line-height:1.72}
.hero-buttons{margin-top:30px;gap:14px}
.hero .btn-yellow{box-shadow:0 18px 40px #00000022;border-radius:999px;padding:15px 24px}
.hero .btn-outline{background:#ffffff;color:#123a91;border:1px solid #ffffff40;border-radius:999px;padding:15px 24px}
.hero-benefits{display:flex;flex-wrap:wrap;gap:15px;margin-top:26px;color:#dbe8ff;font-size:13px;font-weight:700}
.hero-benefits span{display:inline-flex;align-items:center;gap:7px;background:#ffffff10;border:1px solid #ffffff15;padding:10px 14px;border-radius:999px}
.hero-benefits i{font-style:normal;color:#ffcb2f}
.hero-photo{height:520px;position:relative;display:flex;align-items:flex-end;justify-content:flex-end}
.hero-photo:before,.hero-photo:after,.hero-photo .hero-image-frame{display:none!important}
.hero-photo img{position:relative;z-index:2;width:min(100%,760px);height:100%;object-fit:contain;object-position:right bottom;border-radius:0;filter:drop-shadow(0 18px 45px rgba(5,19,50,.28)) saturate(1.02)}
.hero-note-top{position:absolute;right:22px;top:54px;background:#ffffff;color:#17346f;padding:12px 18px;border-radius:16px;font-size:14px;font-weight:800;box-shadow:0 16px 38px #05112a24;z-index:3}
.float-note{left:36px;bottom:38px;border-radius:20px;padding:18px 24px;font-size:14px;box-shadow:0 18px 45px #04142c22;z-index:3}
.float-note strong{font-size:19px}
.hero-controls{bottom:26px;left:48px;transform:none;z-index:4}
.dot{width:10px;height:10px;background:#ffffff66}
.dot.on{width:36px;background:#ffcb2f}
.valuebar{position:relative;margin-top:-34px;z-index:3}
.valuebar-grid{background:#fff;border:1px solid #e5ecf8;border-radius:28px;box-shadow:0 16px 45px #15325c10;display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden}
.valuebar-cell{display:flex;align-items:center;gap:16px;padding:24px 26px;border-right:1px solid #edf2fa}
.valuebar-cell:last-child{border-right:0}
.value-icon{width:54px;height:54px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eef4ff;color:#184ec3;font-size:24px;font-weight:800;flex:0 0 54px}
.valuebar-cell b{display:block;color:#123161;font:800 18px/1.2 Outfit}
.valuebar-cell small{display:block;color:#677892;margin-top:4px}
.pagehead .banner-image{object-position:right center}
.teacher{box-shadow:0 12px 28px rgba(18,49,97,.08)}
.teacher img{height:285px;object-position:center top}
@media(max-width:980px){.slide{min-height:0}.hero-inner{min-height:0;grid-template-columns:1fr;gap:10px;padding:42px 0 80px}.hero-photo{height:360px;justify-content:center}.hero-photo img{width:min(100%,540px)}.hero-controls{left:50%;transform:translateX(-50%)}.valuebar{margin-top:-16px}.valuebar-grid{grid-template-columns:1fr}.valuebar-cell{border-right:0;border-top:1px solid #edf2fa}.valuebar-cell:first-child{border-top:0}}
@media(max-width:760px){.hero h1{font-size:42px;max-width:100%}.hero p{font-size:14px;max-width:100%}.hero-buttons{display:grid;grid-template-columns:1fr 1fr}.hero-photo{height:300px}.hero-note-top{top:18px;right:4px;font-size:11px;padding:9px 12px}.float-note{left:0;bottom:12px;padding:12px 16px;font-size:11px}.float-note strong{font-size:15px}.hero-benefits span{font-size:11px;padding:9px 11px}}
@media(max-width:480px){.hero-buttons{grid-template-columns:1fr}.hero-photo{height:260px}.hero-photo img{object-position:center bottom}.hero-controls{left:28px;transform:none}.valuebar{margin-top:0}}

/* V4 final: full-bleed, softly blended photography and stronger responsive layout */
@media(min-width:981px){
  .hero .hero-inner{display:flex;align-items:center;position:relative;width:min(1300px,calc(100% - 70px));min-height:610px;padding:55px 0 88px}
  .hero .hero-copy{position:relative;z-index:4;width:58%;max-width:760px}
  .hero .hero-photo{position:absolute;z-index:1;right:calc((min(1300px,100vw - 70px) - 100vw)/2);top:0;bottom:0;height:100%;width:65vw;max-width:none;margin:0;overflow:hidden;display:block}
  .hero .hero-photo img{width:100%;height:100%;max-width:none;object-fit:cover;object-position:55% center;border-radius:0;filter:saturate(1.06);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#0008 22%,#000 48%);mask-image:linear-gradient(90deg,transparent 0%,#0008 22%,#000 48%)}
  .hero .hero-note-top{right:10%;top:90px}
  .hero .float-note{left:auto;right:11%;bottom:54px}
  .hero h1{font-size:clamp(43px,4.55vw,71px);max-width:760px}
  .hero .hero-benefits{max-width:680px}
}
@media(min-width:981px) and (max-width:1240px){.hero .hero-copy{width:60%}.hero h1{font-size:clamp(44px,4.5vw,61px)}.hero .hero-photo{width:61vw}.hero .float-note{right:5%;bottom:45px}.hero .hero-note-top{right:5%}}
@media(max-width:980px){
  .hero{background:linear-gradient(125deg,#0a2868,#164c9b)}
  .hero .hero-inner{display:flex;flex-direction:column;align-items:stretch;padding:46px 0 60px;gap:4px}
  .hero .hero-copy{width:100%;max-width:740px}
  .hero .hero-photo{width:min(100%,720px);height:350px;position:relative;right:auto;top:auto;bottom:auto;margin:12px auto 0;overflow:hidden;display:block}
  .hero .hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center 43%;border-radius:0;filter:saturate(1.05);mask-image:linear-gradient(to bottom,transparent 0%,#000 13%,#000 85%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 13%,#000 85%,transparent 100%)}
  .hero .hero-note-top{right:12px;top:45px}
  .hero .float-note{left:12px;bottom:18px}
}
@media(max-width:480px){
  .hero .hero-inner{padding:34px 0 58px}
  .hero h1{font-size:clamp(33px,9.8vw,44px);letter-spacing:-1.5px}
  .hero .hero-photo{height:260px;margin-top:19px}
  .hero .hero-note-top{top:18px;right:5px;font-size:10px}
  .hero .hero-benefits{gap:7px}
  .hero .hero-benefits span{font-size:10px;letter-spacing:0}
  .hero .btn{width:100%}
  .hero .float-note{left:0;bottom:12px}
  .hero .hero-buttons{grid-template-columns:1fr 1fr}
  .hero .hero-buttons .btn{padding:12px 9px;font-size:12px}
}
@media(max-width:360px){.hero .hero-buttons{grid-template-columns:1fr}.hero .hero-photo{height:240px}}


/* V5: soft 0.8-second hero image/content transitions, without changing height. */
.hero #slidearea{position:relative;isolation:isolate}
.hero #slidearea .slide-outgoing{
  display:block;position:absolute;inset:0;width:100%;height:100%;z-index:2;
  opacity:1;transition:opacity .8s ease-in-out;pointer-events:none;
}
.hero #slidearea .slide-outgoing.is-leaving{opacity:0}
.hero #slidearea .slide-incoming{
  display:block;position:relative;z-index:1;opacity:0;
  transition:opacity .8s ease-in-out;
}
.hero #slidearea .slide-incoming.is-entered{opacity:1}
@media(prefers-reduced-motion:reduce){
  .hero #slidearea .slide-outgoing,.hero #slidearea .slide-incoming{transition:none!important}
}
/* Earlier requested update: hide the two floating white text boxes on the photo. */
.hero-note-top,.hero-photo .float-note{display:none!important}


/* V6: Slider controls and user-controlled playback */
.hero-controls{align-items:center;gap:10px}
.hero .carousel-play-pause{
 display:inline-flex;align-items:center;justify-content:center;
 min-width:42px;min-height:42px;margin-left:12px;padding:0 10px;
 border-radius:999px;border:1px solid #ffffff88;background:#ffffff22;
 color:#fff;font-size:16px;font-weight:800;
 cursor:pointer;backdrop-filter:blur(6px);
 transition:background .2s ease,transform .2s ease;
}
.hero .carousel-play-pause:hover{background:#ffffff44;transform:scale(1.05)}
.hero .carousel-play-pause:focus-visible{outline:3px solid #ffcf35;outline-offset:3px}
@media(max-width:480px){.hero .carousel-play-pause{min-width:40px;min-height:40px;margin-left:8px}}

/* YouTutor V7 — Secure parent account presentation */
.auth-intro{background:linear-gradient(110deg,#071a44,#164998 68%,#387ac8);color:#fff;padding:58px 0 60px;position:relative;overflow:hidden}
.auth-intro::after{content:'';position:absolute;width:300px;height:300px;right:-90px;top:-170px;border-radius:50%;border:55px solid #ffffff0b}
.auth-intro .auth-kicker{display:block;font-size:12px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;color:#ffd553}
.auth-intro h1{font:800 clamp(32px,4vw,54px)/1.1 Outfit,Arial,sans-serif;margin:16px 0 12px;color:white}
.auth-intro p{margin:0;color:#dce8fc;line-height:1.7;max-width:690px}
.auth-section{background:#f4f7fc;padding:54px 0 85px;min-height:480px}
.auth-center{max-width:550px}
.auth-card{background:white;border:1px solid #e5ecf5;border-radius:22px;padding:36px;box-shadow:0 18px 60px #12325c12}
.auth-logo{text-align:center;color:#16438b;font-size:18px}
.auth-logo::first-letter{color:#f4b600}
.auth-card h2{text-align:center;color:#122f62;font:800 26px Outfit;margin:16px 0 7px}
.auth-sub{text-align:center;margin:0 0 22px;font-size:13px;line-height:1.5}
.auth-field{display:grid;gap:8px;font-size:14px;font-weight:700;color:#173368;margin-bottom:18px}
.auth-field input,.auth-field select{width:100%;border:1px solid #dbe3ef;background:#f7f9fc;border-radius:11px;padding:15px 16px;min-height:50px;font-size:15px;color:#162f57;outline-offset:2px}
.auth-field input:focus,.auth-field select:focus{border-color:#376fce;outline:2px solid #376fce29;background:#fff}
.auth-agree{display:flex;align-items:flex-start;gap:12px;color:#65748b;font-size:12px;line-height:1.6;margin:8px 0 18px}
.auth-agree input{margin-top:4px;accent-color:#164baf;width:17px;height:17px}
.auth-agree a{color:#164baf;text-decoration:underline}
.auth-submit{width:100%;min-height:51px;border-radius:10px}
.auth-submit:disabled{opacity:.6;cursor:not-allowed}
.auth-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:23px;flex-wrap:wrap}
.auth-bottom button{border:0;background:transparent;color:#1a4a9a;cursor:pointer;font-size:13px;font-weight:700;padding:3px 0}
.auth-error{background:#fff0f0;color:#8b1e2a;border:1px solid #f5c8cd;border-radius:10px;padding:13px 15px;margin:18px 0;font-size:13px;line-height:1.5}
.auth-notice{background:#eaf6ef;color:#206443;border:1px solid #bfe5cf;border-radius:10px;padding:13px 15px;margin:18px 0;font-size:13px;line-height:1.5}
.portal-topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;flex-wrap:wrap}
.portal-topbar h2{color:#10326d;font:800 clamp(25px,3vw,35px)/1.2 Outfit;margin:8px 0 5px}
.portal-topbar .auth-kicker{font-size:11px;font-weight:800;text-transform:uppercase;color:#2466b3;letter-spacing:1.4px}
.portal-actions{display:flex;gap:10px;flex-wrap:wrap}
.portal-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:25px}
.portal-summary .stat{background:white;box-shadow:0 10px 30px #193b6a0b;min-height:108px}
.portal-columns{display:grid;grid-template-columns:1.1fr .9fr;gap:20px;align-items:start}
.portal-columns .panel h2{color:#102d63;font:800 25px Outfit;margin:0 0 18px}
.portal-columns .panel h3{color:#102d63;margin:25px 0 18px}
.portal-columns .auth-field{margin:0}
.portal-columns .form{gap:13px}
.portal-child{min-height:70px}
.portal-notice{background:#fff9e7;border:1px solid #fae7a6;padding:13px;border-radius:9px;font-size:12px;line-height:1.6;color:#745614;margin:20px 0}
.portal-rule{border:0;border-top:1px solid #e5eafa;margin:27px 0}
.portal-loading{text-align:center;padding:50px 15px;color:#5b7291}
@media(max-width:760px){.auth-intro{padding:43px 0}.auth-section{padding:28px 0 60px}.auth-card{padding:24px 19px;border-radius:17px}.portal-columns{grid-template-columns:1fr}.portal-topbar{align-items:flex-start}.portal-summary{gap:9px}.portal-summary .stat{padding:15px 11px;min-height:95px}.portal-summary .stat strong{font-size:clamp(18px,4vw,25px)}.portal-summary .stat small{font-size:11px}}
@media(max-width:390px){.portal-summary{grid-template-columns:1fr 1fr}.portal-summary .stat:last-child{grid-column:1/-1}.portal-actions .btn{font-size:12px;padding:11px 14px}}
