/* =========================================================
   LEARNOVA MODERN HOMEPAGE V3
   Larger readable typography + screenshot-inspired layout
   ========================================================= */

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.lv3-body{
    margin:0;
    background:#fff;
    color:#101828;
    font-family:"Inter","Segoe UI",Arial,sans-serif;
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
}
.lv3-body a{text-decoration:none;color:inherit}
.lv3-body img{display:block;max-width:100%}
.lv3-container{
    width:min(calc(100% - 36px),var(--lv3-max));
    margin-inline:auto;
}
.lv3-section{
    padding:76px 0;
}
.lv3-soft{background:#f8f8ff}

.lv3-section-heading{
    max-width:720px;
    margin:0 auto 34px;
    text-align:center;
}
.lv3-section-heading h2,
.lv3-section-top h2{
    margin:0;
    color:#111827;
    font-family:"Plus Jakarta Sans","Inter",sans-serif;
    font-size:34px;
    line-height:1.2;
    letter-spacing:-.035em;
    font-weight:800;
}
.lv3-section-heading p,
.lv3-section-top p{
    margin:10px 0 0;
    color:#667085;
    font-size:15px;
}
.lv3-section-heading.light h2,
.lv3-section-heading.light p{color:#fff}
.lv3-section-heading.light p{opacity:.82}
.lv3-section-top{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:28px;
}
.lv3-section-top>a{
    color:var(--lv3-primary);
    font-size:14px;
    font-weight:700;
    white-space:nowrap;
}
.lv3-center{text-align:center;margin-top:28px}

.lv3-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:46px;
    padding:11px 18px;
    border-radius:9px;
    border:1px solid transparent;
    font-size:14px;
    font-weight:700;
    transition:.2s ease;
}
.lv3-btn-small{
    min-height:38px;
    padding:8px 15px;
    font-size:13px;
}
.lv3-btn-primary{
    color:#fff!important;
    border-color:var(--lv3-primary);
    background:linear-gradient(135deg,var(--lv3-primary),var(--lv3-secondary));
    box-shadow:0 8px 22px rgba(79,70,229,.16);
}
.lv3-btn-primary:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 28px rgba(79,70,229,.24);
}
.lv3-btn-outline{
    color:#344054!important;
    border-color:#d7dce5;
    background:#fff;
}
.lv3-btn-outline:hover{
    color:var(--lv3-primary)!important;
    border-color:#b8b8f5;
}
.lv3-btn-white{
    background:#fff;
    color:var(--lv3-secondary)!important;
    box-shadow:0 10px 24px rgba(0,0,0,.12);
}

/* Header */
.lv3-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,.97);
    border-bottom:1px solid #eef0f4;
    backdrop-filter:blur(14px);
}
.lv3-header-row{
    min-height:74px;
    display:flex;
    align-items:center;
    gap:24px;
}
.lv3-brand{
    display:inline-flex;
    align-items:center;
    gap:10px;
    flex:0 0 auto;
}
.lv3-brand-icon{
    width:39px;
    height:39px;
    display:grid;
    place-items:center;
    color:#fff;
    border-radius:11px;
    background:linear-gradient(135deg,#695cf2,#4037d5);
    font-size:20px;
    transform:rotate(-4deg);
}
.lv3-brand-logo{
    max-height:46px;
    width:auto;
}
.lv3-brand-text{
    display:flex;
    flex-direction:column;
    line-height:1.02;
}
.lv3-brand-text strong{
    font-family:"Plus Jakarta Sans","Inter",sans-serif;
    font-size:19px;
    letter-spacing:-.03em;
}
.lv3-brand-text small{
    margin-top:5px;
    color:#667085;
    font-size:8px;
    letter-spacing:.09em;
    font-weight:800;
}
.lv3-nav{
    flex:1;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:25px;
}
.lv3-nav>a,
.lv3-nav-dropdown>button{
    position:relative;
    padding:26px 0 23px;
    border:0;
    background:transparent;
    color:#344054;
    font:inherit;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    white-space:nowrap;
}
.lv3-nav>a i,
.lv3-nav-dropdown>button i{font-size:10px;margin-left:3px}
.lv3-nav>a:after,
.lv3-nav-dropdown>button:after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:2px;
    background:var(--lv3-primary);
    transform:scaleX(0);
    transition:.18s ease;
}
.lv3-nav>a:hover,
.lv3-nav>a.active,
.lv3-nav-dropdown>button:hover{color:var(--lv3-primary)}
.lv3-nav>a:hover:after,
.lv3-nav>a.active:after,
.lv3-nav-dropdown>button:hover:after{transform:scaleX(1)}
.lv3-nav-dropdown{position:relative}
.lv3-dropdown-menu{
    position:absolute;
    top:66px;
    left:50%;
    min-width:210px;
    padding:8px;
    border:1px solid #e8ebf0;
    border-radius:12px;
    background:#fff;
    box-shadow:0 18px 45px rgba(16,24,40,.12);
    opacity:0;
    visibility:hidden;
    transform:translate(-50%,8px);
    transition:.18s ease;
}
.lv3-nav-dropdown:hover .lv3-dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translate(-50%,0);
}
.lv3-dropdown-menu a{
    display:block;
    padding:10px 11px;
    border-radius:8px;
    color:#475467;
    font-size:13px;
}
.lv3-dropdown-menu a:hover{
    background:#f5f5ff;
    color:var(--lv3-primary);
}
.lv3-header-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
}
.lv3-icon-action{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border-radius:9px;
    color:#344054;
    font-size:16px;
}
.lv3-icon-action:hover{
    background:#f6f6ff;
    color:var(--lv3-primary);
}
.lv3-menu-btn{
    display:none;
    margin-left:auto;
    width:42px;
    height:42px;
    border:1px solid #e4e7ec;
    border-radius:10px;
    background:#fff;
    color:#344054;
    font-size:22px;
}

/* Hero */
.lv3-hero{
    overflow:hidden;
    background:
        radial-gradient(circle at 74% 28%,rgba(91,92,226,.16),transparent 28%),
        linear-gradient(108deg,#fbfbff 0%,#f4f3ff 48%,#eef1ff 100%);
    border-bottom:1px solid #f0f1f5;
}
.lv3-hero-grid{
    min-height:540px;
    display:grid;
    grid-template-columns:minmax(0,1.02fr) minmax(440px,.98fr);
    gap:44px;
    align-items:center;
}
.lv3-hero-copy{
    padding:58px 0 48px;
}
.lv3-hero-badge{
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin-bottom:18px;
    padding:7px 10px;
    border:1px solid #d9dcff;
    border-radius:8px;
    color:var(--lv3-primary);
    background:rgba(255,255,255,.82);
    font-size:12px;
    font-weight:700;
}
.lv3-hero h1{
    margin:0;
    max-width:650px;
    font-family:"Plus Jakarta Sans","Inter",sans-serif;
    font-size:58px;
    line-height:1.02;
    letter-spacing:-.055em;
    font-weight:800;
}
.lv3-hero h1 span{
    display:block;
    margin-top:2px;
    color:var(--lv3-primary);
}
.lv3-hero-text{
    max-width:580px;
    margin:20px 0 24px;
    color:#5f6878;
    font-size:16px;
    line-height:1.75;
}
.lv3-search{
    max-width:620px;
    height:54px;
    display:flex;
    align-items:center;
    padding:5px;
    border:1px solid #dfe2eb;
    border-radius:10px;
    background:#fff;
    box-shadow:0 8px 24px rgba(16,24,40,.05);
}
.lv3-search input{
    flex:1;
    min-width:0;
    height:100%;
    padding:0 14px;
    border:0;
    outline:0;
    background:transparent;
    color:#344054;
    font-family:inherit;
    font-size:14px;
}
.lv3-search button{
    height:42px;
    padding:0 20px;
    border:0;
    border-radius:8px;
    color:#fff;
    background:linear-gradient(135deg,var(--lv3-primary),var(--lv3-secondary));
    font-family:inherit;
    font-size:13px;
    font-weight:700;
    cursor:pointer;
}
.lv3-hero-points{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:20px;
    margin-top:20px;
    color:#5c6575;
    font-size:12px;
    font-weight:600;
}
.lv3-hero-points span{
    display:inline-flex;
    align-items:center;
    gap:7px;
}
.lv3-hero-points i{
    width:26px;
    height:26px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#fff;
    color:var(--lv3-primary);
    box-shadow:0 5px 14px rgba(91,92,226,.08);
}

.lv3-hero-media{
    position:relative;
    min-height:500px;
    align-self:end;
}
.lv3-hero-circle{
    position:absolute;
    left:50%;
    top:51%;
    width:395px;
    height:395px;
    transform:translate(-50%,-50%);
    border-radius:50%;
    background:
        linear-gradient(145deg,rgba(119,102,244,.5),rgba(214,211,255,.23)),
        #e5e3ff;
}
.lv3-hero-circle:after{
    content:"";
    position:absolute;
    right:-24px;
    top:-20px;
    width:86px;
    height:148px;
    border:18px solid rgba(91,92,226,.15);
    border-radius:50%;
    transform:rotate(28deg);
}
.lv3-hero-image{
    position:absolute;
    left:50%;
    bottom:0;
    z-index:2;
    max-height:475px;
    max-width:91%;
    object-fit:contain;
    transform:translateX(-50%);
    filter:drop-shadow(0 18px 24px rgba(62,52,133,.12));
}
.lv3-device-art{
    position:absolute;
    z-index:2;
    left:50%;
    top:54%;
    width:400px;
    height:300px;
    transform:translate(-50%,-50%);
}
.lv3-device-screen{
    position:absolute;
    left:46px;
    top:40px;
    width:295px;
    height:182px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:9px solid #303446;
    border-radius:14px 14px 8px 8px;
    color:#fff;
    background:linear-gradient(145deg,#242838,#111522);
    box-shadow:0 26px 55px rgba(28,29,56,.23);
}
.lv3-device-screen i{
    color:#8c82ff;
    font-size:48px;
}
.lv3-device-screen strong{
    margin-top:5px;
    font-family:"Plus Jakarta Sans","Inter",sans-serif;
    font-size:24px;
}
.lv3-device-screen small{
    margin-top:4px;
    color:#b2b8c6;
    font-size:11px;
}
.lv3-code-dot{
    position:absolute;
    top:12px;
    width:8px;
    height:8px;
    border-radius:50%;
}
.lv3-code-dot.one{left:15px;background:#ff6b6b}
.lv3-code-dot.two{left:29px;background:#ffd166}
.lv3-code-dot.three{left:43px;background:#06d6a0}
.lv3-device-base{
    position:absolute;
    left:87px;
    bottom:30px;
    width:250px;
    height:38px;
    border-radius:6px;
    background:linear-gradient(#d8dce5,#adb4c3);
    transform:perspective(100px) rotateX(28deg);
    box-shadow:0 8px 18px rgba(35,37,55,.18);
}
.lv3-book{
    position:absolute;
    width:110px;
    height:18px;
    border-radius:4px;
    box-shadow:0 4px 9px rgba(40,40,80,.12);
}
.lv3-book.a{left:0;bottom:53px;background:#9a91ff;transform:rotate(-4deg)}
.lv3-book.b{left:8px;bottom:36px;background:#fff}
.lv3-cup{
    position:absolute;
    right:0;
    bottom:38px;
    width:56px;
    height:56px;
    display:grid;
    place-items:center;
    border-radius:12px 12px 18px 18px;
    background:#fff;
    color:#596071;
    font-size:24px;
    box-shadow:0 10px 22px rgba(39,38,77,.12);
}
.lv3-floating-card{
    position:absolute;
    z-index:5;
    display:flex;
    align-items:center;
    gap:10px;
    padding:13px 14px;
    border:1px solid rgba(255,255,255,.85);
    border-radius:13px;
    background:rgba(255,255,255,.94);
    box-shadow:0 14px 34px rgba(56,46,125,.12);
    backdrop-filter:blur(8px);
}
.lv3-floating-card small{
    display:block;
    color:#7d8696;
    font-size:10px;
}
.lv3-floating-card strong{
    display:block;
    color:#111827;
    font-size:14px;
}
.lv3-floating-card div>span{
    color:#9ba3b2;
    font-size:10px;
}
.lv3-progress-card{right:0;top:60px}
.lv3-cert-card{right:0;top:200px}
.lv3-rating-card{right:32px;bottom:35px;gap:6px}
.lv3-progress-ring{
    width:50px;
    height:50px;
    display:grid;
    place-items:center;
    border-radius:50%;
    border:5px solid #ecebff;
    border-top-color:var(--lv3-primary);
}
.lv3-progress-ring b{
    font-size:11px;
    color:var(--lv3-primary);
}
.lv3-cert-icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:10px;
    color:var(--lv3-primary);
    background:#efefff;
    font-size:21px;
}
.lv3-stars{
    color:#f59e0b;
    letter-spacing:1px;
}

/* Partner logos */
.lv3-logo-strip,
.lv3-company-strip{
    padding:24px 0;
    border-top:1px solid #eef0f4;
    border-bottom:1px solid #eef0f4;
    background:#fff;
}
.lv3-logo-strip-title,
.lv3-company-strip p{
    margin:0 0 16px;
    color:#667085;
    text-align:center;
    font-size:13px;
    font-weight:600;
}
.lv3-logo-row,
.lv3-company-row{
    display:flex;
    align-items:center;
    justify-content:space-around;
    gap:24px;
    flex-wrap:wrap;
}
.lv3-logo-item,
.lv3-company-logo{
    min-width:120px;
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#5f6878;
    filter:grayscale(1);
    opacity:.86;
}
.lv3-logo-item strong,
.lv3-company-logo strong{
    font-family:"Plus Jakarta Sans","Inter",sans-serif;
    font-size:18px;
    font-weight:700;
}
.lv3-logo-item img,
.lv3-company-logo img{
    max-width:150px;
    max-height:44px;
    object-fit:contain;
}

/* Slider base */
.lv3-slider-wrap{
    position:relative;
}
.lv3-slider-arrow{
    position:absolute;
    top:50%;
    z-index:6;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid #e1e4ea;
    border-radius:50%;
    background:#fff;
    color:#344054;
    box-shadow:0 7px 20px rgba(16,24,40,.08);
    cursor:pointer;
    transform:translateY(-50%);
}
.lv3-slider-arrow.prev{left:-18px}
.lv3-slider-arrow.next{right:-18px}
.lv3-slider-arrow:hover{
    color:var(--lv3-primary);
    border-color:#c9c7ff;
}

/* Categories: 8 columns visible on desktop */
.lv3-category-track{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 7 * 14px) / 8);
    gap:14px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
}
.lv3-category-track::-webkit-scrollbar{display:none}
.lv3-category-card{
    min-width:0;
    min-height:142px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:18px 10px 15px;
    border:1px solid #e6e9ef;
    border-radius:13px;
    background:#fff;
    text-align:center;
    scroll-snap-align:start;
    transition:.2s ease;
}
.lv3-category-card:hover{
    transform:translateY(-4px);
    border-color:#d5d4ff;
    box-shadow:0 12px 28px rgba(79,70,229,.08);
}
.lv3-category-icon{
    width:54px;
    height:54px;
    display:grid;
    place-items:center;
    margin-bottom:13px;
    border-radius:50%;
    background:#f0efff;
    color:#5f59e4;
    font-size:21px;
    overflow:hidden;
}
.lv3-category-icon img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.lv3-category-card strong{
    min-height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#1f2937;
    font-size:13px;
    line-height:1.35;
}
.lv3-category-card small{
    margin-top:5px;
    color:#98a2b3;
    font-size:11px;
}
.tone-2{background:#fff0fa;color:#d946a5}
.tone-3{background:#eef4ff;color:#3973dc}
.tone-4{background:#f1efff;color:#7655e4}
.tone-5{background:#ebfaf6;color:#209a7b}
.tone-6{background:#eef9f2;color:#279a53}
.tone-7{background:#fff0ef;color:#ef554c}
.tone-8{background:#eff3ff;color:#5574df}

/* Course slider: 5 columns visible */
.lv3-course-track{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 4 * 18px) / 5);
    gap:18px;
    overflow-x:auto;
    scroll-behavior:smooth;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
}
.lv3-course-track::-webkit-scrollbar{display:none}
.lv3-course-card{
    min-width:0;
    overflow:hidden;
    border:1px solid #e6e9ef;
    border-radius:14px;
    background:#fff;
    scroll-snap-align:start;
    transition:.2s ease;
}
.lv3-course-card:hover{
    transform:translateY(-4px);
    box-shadow:0 16px 34px rgba(16,24,40,.09);
}
.lv3-course-thumb{
    position:relative;
    height:164px;
    display:block;
    overflow:hidden;
    background:#eef0f5;
}
.lv3-course-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.3s ease;
}
.lv3-course-card:hover .lv3-course-thumb img{
    transform:scale(1.04);
}
.lv3-course-placeholder{
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    color:#fff;
    background:linear-gradient(135deg,#232943,#5a4de1);
}
.lv3-course-placeholder i{font-size:34px}
.lv3-course-placeholder b{font-size:14px}
.lv3-bestseller{
    position:absolute;
    top:10px;
    left:10px;
    padding:5px 8px;
    border-radius:5px;
    background:#5c53e8;
    color:#fff;
    font-size:10px;
    font-weight:700;
}
.lv3-course-card-body{
    padding:14px;
}
.lv3-course-card h3{
    min-height:44px;
    margin:0 0 9px;
    color:#111827;
    font-size:15px;
    line-height:1.45;
    font-weight:700;
}
.lv3-course-card h3 a:hover{color:var(--lv3-primary)}
.lv3-course-teacher{
    display:flex;
    align-items:center;
    gap:7px;
    color:#667085;
    font-size:11px;
}
.lv3-course-teacher>span{
    width:22px;
    height:22px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#8d86ea;
    color:#fff;
    font-size:10px;
    font-weight:700;
}
.lv3-course-rating{
    display:flex;
    align-items:center;
    gap:5px;
    margin:10px 0;
    font-size:11px;
}
.lv3-course-rating>span:first-child{
    color:#344054;
    font-weight:700;
}
.lv3-course-rating .lv3-stars{font-size:10px}
.lv3-course-rating small{color:#98a2b3}
.lv3-course-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding-top:10px;
    border-top:1px solid #f0f1f4;
}
.lv3-course-price strong{
    color:#111827;
    font-size:15px;
}
.lv3-course-price del{
    margin-left:5px;
    color:#98a2b3;
    font-size:11px;
}
.lv3-card-go{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:8px;
    background:#f2f1ff;
    color:var(--lv3-primary);
}

/* Stats */
.lv3-stats-section{
    padding:0 0 30px;
}
.lv3-stats{
    min-height:114px;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    align-items:center;
    padding:25px 28px;
    border-radius:15px;
    color:#fff;
    background:
        radial-gradient(circle at 10% 0%,rgba(255,255,255,.14),transparent 28%),
        linear-gradient(100deg,#5e50e7,#3830ce 55%,#2633b7);
    box-shadow:0 18px 36px rgba(65,55,204,.2);
}
.lv3-stat{
    min-height:62px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    border-right:1px solid rgba(255,255,255,.18);
}
.lv3-stat:last-child{border-right:0}
.lv3-stat-icon{
    width:47px;
    height:47px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.14);
    font-size:21px;
}
.lv3-stat strong{
    display:block;
    font-size:22px;
    line-height:1;
}
.lv3-stat span{
    display:block;
    margin-top:5px;
    font-size:11px;
    opacity:.9;
}

/* Features */
.lv3-feature-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:30px;
}
.lv3-feature{
    padding:0 4px;
}
.lv3-feature-icon{
    width:54px;
    height:54px;
    display:grid;
    place-items:center;
    margin-bottom:14px;
    border-radius:50%;
    background:#eef5fb;
    color:#37678e;
    font-size:22px;
}
.lv3-feature h3{
    margin:0 0 8px;
    color:#111827;
    font-size:15px;
}
.lv3-feature p{
    margin:0;
    color:#667085;
    font-size:12px;
    line-height:1.75;
}

/* Instructors */
.lv3-instructor-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}
.lv3-instructor-card{
    padding:24px 18px;
    border:1px solid #e6e9ef;
    border-radius:14px;
    background:#fff;
    text-align:center;
}
.lv3-instructor-photo{
    width:88px;
    height:88px;
    margin:0 auto 14px;
    overflow:hidden;
    border-radius:50%;
    background:#e8e7ff;
}
.lv3-instructor-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.lv3-instructor-photo span{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    color:var(--lv3-primary);
    font-size:32px;
    font-weight:800;
}
.lv3-instructor-card h3{
    margin:0;
    font-size:16px;
}
.lv3-instructor-card p{
    margin:5px 0 0;
    color:#667085;
    font-size:12px;
}

/* Testimonials */
.lv3-testimonials{
    padding:76px 0 64px;
    background:
        radial-gradient(circle at 14% 18%,rgba(117,94,255,.38),transparent 28%),
        linear-gradient(125deg,#3022af,#281483 55%,#17115d);
}
.lv3-testimonial-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
}
.lv3-testimonial-card{
    min-height:205px;
    padding:22px;
    border-radius:16px;
    background:#fff;
    color:#344054;
    box-shadow:0 18px 35px rgba(0,0,0,.13);
}
.lv3-quote{
    display:block;
    color:#6e67e5;
    font-family:Georgia,serif;
    font-size:32px;
    line-height:1;
}
.lv3-testimonial-card>p{
    min-height:90px;
    margin:5px 0 16px;
    color:#596273;
    font-size:13px;
    line-height:1.7;
}
.lv3-testimonial-bottom{
    display:grid;
    grid-template-columns:40px minmax(0,1fr) auto;
    gap:9px;
    align-items:center;
}
.lv3-testimonial-bottom img,
.lv3-avatar{
    width:40px;
    height:40px;
    border-radius:50%;
    object-fit:cover;
}
.lv3-avatar{
    display:grid;
    place-items:center;
    background:var(--lv3-primary);
    color:#fff;
    font-size:13px;
    font-weight:800;
}
.lv3-person-copy strong{
    display:block;
    font-size:12px;
}
.lv3-person-copy small{
    display:block;
    color:#98a2b3;
    font-size:10px;
}
.lv3-testimonial-bottom .lv3-stars{font-size:10px}
.lv3-slider-dots{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:22px;
}
.lv3-slider-dots span{
    width:7px;
    height:7px;
    border-radius:50%;
    background:rgba(255,255,255,.42);
}
.lv3-slider-dots span.active{background:#fff}

/* Events */
.lv3-event-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.lv3-event-card{
    display:grid;
    grid-template-columns:72px minmax(0,1fr);
    gap:15px;
    padding:18px;
    border:1px solid #e6e9ef;
    border-radius:14px;
    background:#fff;
}
.lv3-event-date{
    height:72px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border-radius:13px;
    background:linear-gradient(135deg,var(--lv3-primary),var(--lv3-secondary));
    color:#fff;
}
.lv3-event-date strong{
    font-size:23px;
    line-height:1;
}
.lv3-event-date span{
    margin-top:4px;
    font-size:10px;
    text-transform:uppercase;
}
.lv3-event-card small{
    color:var(--lv3-primary);
    font-size:10px;
    font-weight:700;
}
.lv3-event-card h3{
    margin:4px 0 8px;
    font-size:15px;
}
.lv3-event-card p{
    margin:0;
    color:#667085;
    font-size:11px;
}

/* Plans */
.lv3-plan-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    max-width:1020px;
    margin:0 auto;
}
.lv3-plan-card{
    position:relative;
    padding:28px;
    border:1px solid #e4e7ec;
    border-radius:17px;
    background:#fff;
}
.lv3-plan-card.featured{
    border-color:var(--lv3-primary);
    box-shadow:0 18px 40px rgba(79,70,229,.13);
}
.lv3-plan-badge{
    position:absolute;
    right:15px;
    top:15px;
    padding:5px 8px;
    border-radius:999px;
    background:var(--lv3-primary);
    color:#fff;
    font-size:10px;
    font-weight:700;
}
.lv3-plan-card h3{
    margin:0 0 8px;
    font-size:20px;
}
.lv3-plan-card>p{
    min-height:50px;
    color:#667085;
    font-size:12px;
}
.lv3-plan-price{
    margin:18px 0;
    font-size:29px;
    font-weight:800;
}
.lv3-plan-price small{
    color:#98a2b3;
    font-size:12px;
    font-weight:500;
}
.lv3-plan-card ul{
    list-style:none;
    padding:0;
    margin:18px 0 24px;
}
.lv3-plan-card li{
    margin:10px 0;
    color:#5f6878;
    font-size:12px;
}
.lv3-plan-card li i{
    margin-right:7px;
    color:#12b76a;
}

/* Blog */
.lv3-blog-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}
.lv3-blog-card{
    overflow:hidden;
    border:1px solid #e6e9ef;
    border-radius:14px;
    background:#fff;
    transition:.2s ease;
}
.lv3-blog-card:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 30px rgba(16,24,40,.08);
}
.lv3-blog-thumb{
    height:155px;
    display:block;
    overflow:hidden;
    background:#edf0f6;
}
.lv3-blog-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.3s ease;
}
.lv3-blog-card:hover .lv3-blog-thumb img{
    transform:scale(1.04);
}
.lv3-blog-thumb>span{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    color:#fff;
    background:linear-gradient(135deg,#584ddd,#262152);
    font-size:34px;
}
.lv3-blog-body{
    padding:14px;
}
.lv3-blog-category{
    color:#d946a5;
    font-size:9px;
    font-weight:800;
    text-transform:uppercase;
}
.lv3-blog-body h3{
    min-height:46px;
    margin:6px 0;
    font-size:14px;
    line-height:1.45;
}
.lv3-blog-body h3 a:hover{color:var(--lv3-primary)}
.lv3-blog-meta{
    display:flex;
    gap:6px;
    color:#98a2b3;
    font-size:10px;
}

/* CTA + newsletter */
.lv3-cta-section{
    padding:35px 0;
}
.lv3-cta{
    min-height:180px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    padding:34px 42px;
    border-radius:18px;
    color:#fff;
    background:
        radial-gradient(circle at 15% 0%,rgba(255,255,255,.18),transparent 30%),
        linear-gradient(120deg,var(--lv3-primary),var(--lv3-secondary));
}
.lv3-cta span,
.lv3-newsletter>div>div>span{
    font-size:10px;
    font-weight:800;
    letter-spacing:.1em;
}
.lv3-cta h2{
    margin:5px 0;
    font-family:"Plus Jakarta Sans","Inter",sans-serif;
    font-size:30px;
}
.lv3-cta p{
    margin:0;
    opacity:.86;
    font-size:14px;
}
.lv3-newsletter{
    padding:48px 0;
    background:#f8f8ff;
}
.lv3-newsletter-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:38px;
}
.lv3-newsletter h2{
    margin:4px 0 5px;
    font-size:28px;
}
.lv3-newsletter p{
    margin:0;
    color:#667085;
    font-size:14px;
}
.lv3-newsletter-form{
    flex:0 1 480px;
    height:52px;
    display:flex;
    padding:4px;
    border:1px solid #dfe3ea;
    border-radius:10px;
    background:#fff;
}
.lv3-newsletter-form input{
    flex:1;
    min-width:0;
    padding:0 12px;
    border:0;
    outline:0;
    font-family:inherit;
    font-size:13px;
}
.lv3-newsletter-form button{
    padding:0 18px;
    border:0;
    border-radius:8px;
    background:var(--lv3-primary);
    color:#fff;
    font-family:inherit;
    font-size:12px;
    font-weight:700;
}

/* FAQ */
.lv3-faq-container{max-width:900px}
.lv3-faq-list{display:grid;gap:10px}
.lv3-faq{
    border:1px solid #e6e9ef;
    border-radius:12px;
    background:#fff;
}
.lv3-faq summary{
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:17px 18px;
    cursor:pointer;
    font-size:14px;
    font-weight:700;
}
.lv3-faq summary::-webkit-details-marker{display:none}
.lv3-faq[open] summary i{transform:rotate(45deg)}
.lv3-faq>div{
    padding:0 18px 17px;
    color:#667085;
    font-size:13px;
}
.lv3-empty{
    grid-column:1/-1;
    padding:30px;
    border:1px dashed #d0d5dd;
    border-radius:12px;
    background:#fff;
    color:#667085;
    text-align:center;
}

/* Footer */
.lv3-footer{
    padding:56px 0 24px;
    color:#c9d1df;
    background:
        radial-gradient(circle at 15% 0%,rgba(80,75,211,.24),transparent 25%),
        #071229;
}
.lv3-footer-grid{
    display:grid;
    grid-template-columns:1.3fr .8fr .9fr 1fr 1.2fr;
    gap:36px;
    padding-bottom:42px;
}
.lv3-brand.dark .lv3-brand-text strong{color:#fff}
.lv3-footer-brand p{
    max-width:280px;
    margin:18px 0;
    color:#9ca7b8;
    font-size:12px;
    line-height:1.75;
}
.lv3-socials{
    display:flex;
    gap:8px;
}
.lv3-socials a{
    width:31px;
    height:31px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#14213a;
    color:#c8d0de;
    font-size:12px;
}
.lv3-footer-col h4{
    margin:4px 0 16px;
    color:#fff;
    font-size:13px;
}
.lv3-footer-col>a{
    display:block;
    margin:9px 0;
    color:#a9b3c2;
    font-size:11px;
}
.lv3-footer-col>a:hover{color:#fff}
.lv3-footer-newsletter p{
    color:#a9b3c2;
    font-size:11px;
    line-height:1.6;
}
.lv3-footer-newsletter form{
    display:grid;
    gap:8px;
}
.lv3-footer-newsletter input{
    width:100%;
    height:41px;
    padding:0 11px;
    border:1px solid #33405a;
    border-radius:7px;
    background:#fff;
    color:#344054;
    outline:0;
    font-family:inherit;
    font-size:11px;
}
.lv3-footer-newsletter button{
    height:40px;
    border:0;
    border-radius:7px;
    color:#fff;
    background:linear-gradient(135deg,var(--lv3-primary),var(--lv3-accent));
    font-family:inherit;
    font-size:11px;
    font-weight:700;
}
.lv3-footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding-top:18px;
    border-top:1px solid #1e2b43;
    color:#7f8ca1;
    font-size:10px;
}
.lv3-footer-bottom>div{
    display:flex;
    gap:18px;
}
.lv3-footer-bottom a{color:#909db0}

/* Responsive */
@media(max-width:1200px){
    .lv3-nav{gap:16px}
    .lv3-nav>a,
    .lv3-nav-dropdown>button{font-size:13px}
    .lv3-category-track{
        grid-auto-columns:calc((100% - 5 * 14px) / 6);
    }
    .lv3-course-track{
        grid-auto-columns:calc((100% - 3 * 18px) / 4);
    }
    .lv3-feature-grid{grid-template-columns:repeat(3,1fr)}
    .lv3-footer-grid{grid-template-columns:1.3fr repeat(3,1fr)}
    .lv3-footer-newsletter{grid-column:1/-1}
}
@media(max-width:980px){
    .lv3-menu-btn{
        display:grid;
        place-items:center;
    }
    .lv3-nav{
        position:absolute;
        top:74px;
        left:18px;
        right:18px;
        display:none;
        padding:10px;
        border:1px solid #e5e7eb;
        border-radius:14px;
        background:#fff;
        box-shadow:0 18px 45px rgba(16,24,40,.14);
    }
    .lv3-nav.open{display:block}
    .lv3-nav>a,
    .lv3-nav-dropdown>button{
        width:100%;
        display:block;
        padding:11px 12px;
        text-align:left;
        border-radius:8px;
    }
    .lv3-nav>a:after,
    .lv3-nav-dropdown>button:after{display:none}
    .lv3-dropdown-menu{
        position:static;
        display:none;
        opacity:1;
        visibility:visible;
        transform:none!important;
        border:0;
        box-shadow:none;
    }
    .lv3-nav-dropdown.open .lv3-dropdown-menu{display:block}

    .lv3-hero-grid{
        grid-template-columns:1fr;
        min-height:auto;
        gap:0;
    }
    .lv3-hero-copy{padding-bottom:24px}
    .lv3-hero h1{font-size:52px}
    .lv3-hero-media{min-height:430px}
    .lv3-category-track{
        grid-auto-columns:calc((100% - 3 * 14px) / 4);
    }
    .lv3-course-track{
        grid-auto-columns:calc((100% - 2 * 18px) / 3);
    }
    .lv3-stats{
        grid-template-columns:repeat(3,1fr);
        gap:16px;
    }
    .lv3-stat{border-right:0}
    .lv3-instructor-grid{grid-template-columns:repeat(2,1fr)}
    .lv3-testimonial-grid,
    .lv3-event-grid{grid-template-columns:repeat(2,1fr)}
    .lv3-plan-grid{grid-template-columns:repeat(2,1fr)}
    .lv3-blog-grid{grid-template-columns:repeat(2,1fr)}
    .lv3-footer-grid{grid-template-columns:repeat(2,1fr)}
    .lv3-footer-brand,
    .lv3-footer-newsletter{grid-column:1/-1}
}
@media(max-width:700px){
    body.lv3-body{font-size:15px}
    .lv3-container{
        width:min(calc(100% - 26px),var(--lv3-max));
    }
    .lv3-brand-text small{display:none}
    .lv3-header-actions .lv3-icon-action{display:none}
    .lv3-login-btn{display:none}
    .lv3-hero-copy{padding-top:40px}
    .lv3-hero h1{font-size:42px}
    .lv3-hero-text{font-size:15px}
    .lv3-search{
        height:auto;
        flex-wrap:wrap;
        padding:8px;
    }
    .lv3-search input{
        flex-basis:100%;
        height:42px;
    }
    .lv3-search button{
        width:100%;
        height:42px;
    }
    .lv3-hero-points{gap:11px}
    .lv3-hero-media{min-height:360px}
    .lv3-hero-circle{
        width:300px;
        height:300px;
    }
    .lv3-device-art{
        transform:translate(-50%,-50%) scale(.76);
    }
    .lv3-floating-card{
        transform:scale(.84);
        transform-origin:center;
    }
    .lv3-progress-card{right:-10px;top:30px}
    .lv3-cert-card{right:-10px;top:155px}
    .lv3-rating-card{right:0;bottom:12px}

    .lv3-section{padding:56px 0}
    .lv3-section-heading h2,
    .lv3-section-top h2{font-size:29px}
    .lv3-section-top{
        display:block;
        text-align:center;
    }
    .lv3-section-top>a{
        display:block;
        margin-top:10px;
    }

    .lv3-category-track{
        grid-auto-columns:calc((100% - 1 * 12px) / 2);
        gap:12px;
    }
    .lv3-course-track{
        grid-auto-columns:82%;
    }
    .lv3-slider-arrow{
        width:34px;
        height:34px;
    }
    .lv3-slider-arrow.prev{left:-8px}
    .lv3-slider-arrow.next{right:-8px}

    .lv3-stats{
        grid-template-columns:repeat(2,1fr);
        padding:22px 16px;
    }
    .lv3-feature-grid{grid-template-columns:repeat(2,1fr)}
    .lv3-instructor-grid,
    .lv3-testimonial-grid,
    .lv3-event-grid,
    .lv3-plan-grid,
    .lv3-blog-grid{grid-template-columns:1fr}

    .lv3-newsletter-row,
    .lv3-cta{
        flex-direction:column;
        align-items:flex-start;
    }
    .lv3-newsletter-form{
        width:100%;
        flex-basis:auto;
    }

    .lv3-footer-grid{grid-template-columns:repeat(2,1fr)}
    .lv3-footer-brand,
    .lv3-footer-newsletter{grid-column:1/-1}
    .lv3-footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }
}
@media(max-width:460px){
    .lv3-brand-text strong{font-size:17px}
    .lv3-header-actions .lv3-btn{font-size:11px}
    .lv3-hero h1{font-size:36px}
    .lv3-category-card{min-height:130px}
    .lv3-feature-grid{grid-template-columns:1fr}
    .lv3-stats{grid-template-columns:1fr}
    .lv3-stat{
        justify-content:flex-start;
    }
    .lv3-footer-grid{grid-template-columns:1fr}
    .lv3-footer-brand,
    .lv3-footer-newsletter{grid-column:auto}
}


/* =========================================================
   HOMEPAGE SPACING FIX V1
   Removes excessive vertical gaps between homepage sections.
   Keep this block at the END of learnova-home-v3.css.
   ========================================================= */

/* Global section spacing */
.lv3-section{
    padding-top:48px;
    padding-bottom:48px;
}

/* Reduce heading-to-content spacing */
.lv3-section-heading{
    margin-bottom:24px;
}

.lv3-section-heading p,
.lv3-section-top p{
    margin-top:7px;
}

.lv3-section-top{
    margin-bottom:22px;
}

/* Category section: remove large empty area below View All button */
.lv3-categories{
    padding-top:48px;
    padding-bottom:30px;
}

.lv3-categories .lv3-center{
    margin-top:20px;
}

/* Popular Courses starts closer to Categories */
.lv3-popular{
    padding-top:32px;
    padding-bottom:44px;
}

/* Statistics should sit close to course cards */
.lv3-stats-section{
    padding-top:0;
    padding-bottom:26px;
}

/* Why Choose section */
.lv3-why{
    padding-top:42px;
    padding-bottom:48px;
}

/* Instructors / Events / Subscription / Blog */
.lv3-soft{
    scroll-margin-top:78px;
}

.lv3-blog-section{
    padding-top:46px;
    padding-bottom:46px;
}

/* Logo/company strips */
.lv3-logo-strip,
.lv3-company-strip{
    padding-top:18px;
    padding-bottom:18px;
}

/* CTA / Newsletter */
.lv3-cta-section{
    padding-top:28px;
    padding-bottom:28px;
}

.lv3-newsletter{
    padding-top:38px;
    padding-bottom:38px;
}

/* Testimonials */
.lv3-testimonials{
    padding-top:54px;
    padding-bottom:50px;
}

/* Prevent accidental blank margins from first/last child */
.lv3-section > .lv3-container > :first-child,
.lv3-categories > .lv3-container > :first-child,
.lv3-popular > .lv3-container > :first-child{
    margin-top:0;
}

.lv3-section > .lv3-container > :last-child,
.lv3-categories > .lv3-container > :last-child,
.lv3-popular > .lv3-container > :last-child{
    margin-bottom:0;
}

/* Mobile: compact but still readable */
@media(max-width:700px){
    .lv3-section{
        padding-top:38px;
        padding-bottom:38px;
    }

    .lv3-categories{
        padding-top:38px;
        padding-bottom:24px;
    }

    .lv3-popular{
        padding-top:24px;
        padding-bottom:34px;
    }

    .lv3-section-heading{
        margin-bottom:20px;
    }

    .lv3-section-top{
        margin-bottom:18px;
    }

    .lv3-testimonials{
        padding-top:44px;
        padding-bottom:42px;
    }

    .lv3-newsletter{
        padding-top:32px;
        padding-bottom:32px;
    }
}
