* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple: #7357ff;
    --purple-dark: #5b43e8;
    --text: #17171c;
    --muted: #74747e;
    --border: #e9e9ee;
    --background: #fafafa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--background);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    height: 80px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.logo,
.mini-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #8d77ff, #6045ec);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(115, 87, 255, 0.25);
}

nav {
    display: flex;
    gap: 36px;
}

nav a {
    color: #666671;
    font-size: 14px;
    transition: 0.2s;
}

nav a:hover {
    color: var(--purple);
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-btn {
    background: transparent;
    padding: 12px 18px;
    color: #555;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--purple);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(115, 87, 255, 0.2);
    transition: 0.2s;
}

.primary-btn:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
}

.primary-btn.big {
    padding: 16px 23px;
    font-size: 15px;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border);
    padding: 16px 23px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.2s;
}

.secondary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 760px;
    padding: 110px 7% 100px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    max-width: 620px;
}

.badge {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 100px;
    background: #f0edff;
    color: var(--purple);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(50px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -4px;
    margin-bottom: 28px;
}

.hero h1 span,
h2 span {
    color: var(--purple);
}

.hero p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 17px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.hero-stats {
    display: flex;
    gap: 35px;
    margin-top: 55px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-stats strong {
    font-size: 14px;
}

.hero-stats span {
    color: #9999a2;
    font-size: 11px;
}


/* =========================
   DASHBOARD
========================= */

.dashboard-wrapper {
    position: relative;
}

.glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(115, 87, 255, 0.16);
    filter: blur(100px);
    top: 10%;
    left: 10%;
}

.dashboard {
    position: relative;
    background: white;
    border: 1px solid #e8e8ee;
    border-radius: 24px;
    box-shadow: 0 35px 80px rgba(20, 15, 50, 0.12);
    display: flex;
    min-height: 500px;
    overflow: hidden;
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
    transition: 0.5s;
}

.dashboard:hover {
    transform: perspective(1200px) rotateY(0) rotateX(0);
}

.sidebar {
    width: 150px;
    background: #fbfbfd;
    border-right: 1px solid #eeeeF2;
    padding: 22px 14px;
}

.mini-logo {
    font-size: 13px;
    margin-bottom: 35px;
    padding-left: 6px;
}

.mini-logo .logo-icon {
    width: 27px;
    height: 27px;
    font-size: 12px;
}

.side-item {
    padding: 12px 10px;
    border-radius: 9px;
    font-size: 10px;
    color: #777;
    margin-bottom: 5px;
    display: flex;
    gap: 8px;
}

.side-item.active {
    color: var(--purple);
    background: #efecff;
    font-weight: 600;
}

.dashboard-main {
    flex: 1;
    padding: 28px;
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.small-text {
    color: #a0a0a9;
    font-size: 10px;
}

.dashboard h2 {
    font-size: 20px;
    margin-top: 6px;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ddd5ff;
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.progress-card {
    background: linear-gradient(135deg, #7257ff, #8b73ff);
    color: white;
    border-radius: 16px;
    margin-top: 25px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-card .small-text {
    color: #ddd7ff;
}

.progress-card h3 {
    font-size: 32px;
    margin-top: 5px;
}

.progress-circle {
    width: 65px;
    height: 65px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-circle span {
    font-size: 12px;
    font-weight: 700;
}

.section-title {
    margin-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title h3 {
    font-size: 14px;
}

.section-title span {
    color: var(--purple);
    font-size: 10px;
}

.quest {
    margin-top: 12px;
    border: 1px solid #eeeef2;
    border-radius: 13px;
    padding: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quest-icon,
.feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.purple {
    background: #eeeaff;
    color: #7357ff;
}

.blue {
    background: #e7f3ff;
    color: #4285e8;
}

.orange {
    background: #fff0df;
    color: #e99037;
}

.green {
    background: #e4f8ed;
    color: #2baa68;
}

.quest-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quest-info strong {
    font-size: 11px;
}

.quest-info span {
    color: #999;
    font-size: 9px;
}

.quest-progress {
    width: 100%;
    height: 4px;
    background: #eee;
    border-radius: 10px;
    margin-top: 4px;
}

.quest-progress div {
    height: 100%;
    background: var(--purple);
    border-radius: 10px;
}

.xp {
    font-size: 9px;
    color: var(--purple);
    font-weight: 700;
}


/* =========================
   FEATURES
========================= */

.features {
    padding: 130px 7%;
    background: white;
}

.section-header {
    max-width: 650px;
    text-align: center;
    margin: auto;
}

.section-header h2 {
    font-size: 52px;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.section-header p {
    color: var(--muted);
    line-height: 1.6;
}

.feature-grid {
    margin-top: 65px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    min-height: 300px;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.feature-card.large {
    grid-row: span 2;
}

.feature-card.wide {
    min-height: 240px;
}

.feature-card h3 {
    font-size: 22px;
    margin: 20px 0 10px;
}

.feature-card p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.fake-quest {
    margin-top: 40px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.fake-quest strong {
    color: var(--purple);
}

.calendar {
    display: flex;
    gap: 8px;
    margin-top: 30px;
}

.calendar span {
    padding: 10px 11px;
    border-radius: 9px;
    background: #f4f4f6;
    font-size: 10px;
    color: #777;
}

.calendar .active-day {
    background: var(--purple);
    color: white;
}

.upload {
    margin-top: 30px;
    background: #edf9f2;
    color: #2baa68;
    padding: 14px;
    border-radius: 10px;
    font-size: 12px;
}

.level {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 11px;
    color: #777;
}

.level-bar {
    height: 8px;
    flex: 1;
    background: #eee;
    border-radius: 20px;
}

.level-bar div {
    height: 100%;
    width: 75%;
    background: var(--purple);
    border-radius: 20px;
}


/* =========================
   STUDENT SECTION
========================= */

.split-section {
    padding: 140px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
}

.split-text {
    max-width: 520px;
}

.split-text h2,
.teacher-section h2 {
    font-size: 52px;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.split-text p,
.teacher-section p {
    color: var(--muted);
    line-height: 1.7;
}

.split-text ul {
    list-style: none;
    margin-top: 30px;
    display: grid;
    gap: 15px;
    font-size: 14px;
}

.phone-card {
    width: 330px;
    min-height: 460px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 35px;
    padding: 25px;
    box-shadow: 0 30px 70px rgba(30, 20, 70, 0.12);
    transform: rotate(4deg);
}

.phone-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 30px;
}

.mobile-quest {
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mobile-quest > span {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #eeeaff;
    color: var(--purple);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-quest div {
    flex: 1;
}

.mobile-quest strong,
.mobile-quest small {
    display: block;
}

.mobile-quest strong {
    font-size: 12px;
}

.mobile-quest small {
    color: #999;
    margin-top: 4px;
}

.mobile-quest b {
    color: var(--purple);
    font-size: 11px;
}

.mobile-quest.completed {
    opacity: 0.55;
}


/* =========================
   TEACHER
========================= */

.teacher-section {
    padding: 120px 10%;
    background: #15131d;
    color: white;
    display: flex;
    gap: 80px;
    align-items: center;
}

.teacher-content {
    flex: 1;
}

.teacher-section p {
    color: #aaa7b3;
    max-width: 500px;
    margin-bottom: 30px;
}

.teacher-section .badge {
    background: #282332;
}

.teacher-dashboard {
    flex: 1;
    background: #211e2b;
    border: 1px solid #36313f;
    border-radius: 20px;
    padding: 20px;
}

.teacher-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid #38333f;
}

.teacher-top span {
    color: #999;
    font-size: 12px;
}

.teacher-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 5px;
    border-bottom: 1px solid #38333f;
    font-size: 13px;
}

.status {
    font-size: 10px;
    padding: 7px 10px;
    border-radius: 20px;
}

.done {
    background: #173b2b;
    color: #55d391;
}

.pending {
    background: #40351b;
    color: #e4bd55;
}

.new {
    background: #302557;
    color: #a895ff;
}


/* =========================
   CTA
========================= */

.cta {
    padding: 150px 20px;
    text-align: center;
    background: white;
    position: relative;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    width: 500px;
    height: 300px;
    background: rgba(115, 87, 255, 0.15);
    filter: blur(100px);
    left: 50%;
    transform: translateX(-50%);
}

.cta > *:not(.cta-glow) {
    position: relative;
}

.cta h2 {
    font-size: 65px;
    letter-spacing: -3px;
    max-width: 800px;
    margin: auto;
}

.cta p {
    color: var(--muted);
    margin: 20px 0 30px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 35px 7%;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #999;
    font-size: 12px;
}

footer div:last-child {
    display: flex;
    gap: 20px;
}

footer a {
    transition: 0.2s;
}

footer a:hover {
    color: var(--purple);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 70px;
    }

    .hero-content {
        max-width: 700px;
    }

    .dashboard {
        transform: none;
    }

    .dashboard:hover {
        transform: none;
    }

    .split-section,
    .teacher-section {
        flex-direction: column;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.large {
        grid-row: auto;
    }
}


@media (max-width: 600px) {

    .navbar {
        padding: 0 5%;
    }

    .nav-actions .login-btn {
        display: none;
    }

    .hero {
        padding: 60px 5%;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: -3px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons a {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .dashboard {
        min-height: 420px;
    }

    .sidebar {
        display: none;
    }

    .dashboard-main {
        padding: 20px;
    }

    .section-header h2,
    .split-text h2,
    .teacher-section h2 {
        font-size: 40px;
    }

    .cta h2 {
        font-size: 45px;
        letter-spacing: -2px;
    }

    .split-section {
        padding: 90px 7%;
    }

    .teacher-section {
        padding: 90px 7%;
    }

    .phone-card {
        width: 100%;
        max-width: 330px;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
}
/* =========================
   PRICING PAGE
========================= */

.pricing-hero {
    padding: 120px 20px 70px;
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.pricing-hero h1 {
    font-size: clamp(55px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -4px;
    margin-bottom: 25px;
}

.pricing-hero h1 span {
    color: var(--purple);
}

.pricing-hero p {
    max-width: 560px;
    margin: auto;
    color: var(--muted);
    line-height: 1.7;
    font-size: 17px;
}


/* PRICING */

.pricing {
    padding: 40px 7% 130px;
}

.pricing-grid {
    max-width: 1150px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    align-items: stretch;
}

.pricing-card {
    position: relative;

    background: white;
    border: 1px solid var(--border);
    border-radius: 24px;

    padding: 35px;

    box-shadow: 0 15px 50px rgba(20, 15, 50, 0.04);

    transition: 0.3s;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(20, 15, 50, 0.1);
}

.pricing-card.popular {
    border: 2px solid var(--purple);
    box-shadow: 0 25px 70px rgba(115, 87, 255, 0.15);
}

.popular-badge {
    position: absolute;

    top: -13px;
    left: 50%;

    transform: translateX(-50%);

    background: var(--purple);
    color: white;

    padding: 7px 14px;

    border-radius: 100px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pricing-label {
    color: var(--purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.pricing-header h2 {
    font-size: 27px;
    margin: 14px 0 10px;
}

.pricing-header p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    min-height: 65px;
}

.price {
    margin: 30px 0;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price strong {
    font-size: 34px;
    letter-spacing: -1px;
}

.price span {
    color: #999;
    font-size: 12px;
}

.pricing-btn {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 14px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 600;

    transition: 0.2s;
}

.pricing-btn.primary {
    background: var(--purple);
    color: white;
}

.pricing-btn.primary:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
}

.pricing-btn.secondary {
    background: #f6f6f8;
    color: var(--text);
}

.pricing-btn.secondary:hover {
    background: #eeeeF2;
}

.pricing-features {
    list-style: none;

    margin-top: 30px;

    display: grid;
    gap: 14px;

    font-size: 13px;
}

.pricing-features li {
    color: #555;
}


/* PRICING INFO */

.pricing-info {
    text-align: center;

    padding: 120px 20px;

    background: white;
}

.pricing-info h2 {
    font-size: 48px;
    letter-spacing: -2px;
    margin-bottom: 15px;
}

.pricing-info p {
    max-width: 550px;
    margin: 0 auto 30px;

    color: var(--muted);
    line-height: 1.7;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .pricing-card.popular {
        order: -1;
    }

}

/* =========================
   SCHOOL PRICING
========================= */

.school-pricing {
    padding: 30px 7% 140px;
}

.school-card {
    max-width: 1050px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.4fr 0.6fr;

    background: white;
    border: 1px solid var(--border);
    border-radius: 28px;

    overflow: hidden;

    box-shadow: 0 30px 80px rgba(20, 15, 50, 0.08);
}

.school-card-content {
    padding: 50px;
}

.school-card-content h2 {
    font-size: 38px;
    letter-spacing: -1.5px;
    margin: 15px 0 12px;
}

.school-description {
    color: var(--muted);
    line-height: 1.7;
    max-width: 600px;
}

.school-features {
    margin-top: 45px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.school-features > div {
    display: flex;
    gap: 14px;
}

.school-features .check {
    flex-shrink: 0;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eeeaff;
    color: var(--purple);

    font-size: 13px;
    font-weight: 700;
}

.school-features strong {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

.school-features p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}


/* RIGHT SIDE */

.school-card-side {
    background: #15131d;
    color: white;

    padding: 50px 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    text-align: center;
}

.price-label {
    color: #aaa7b3;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-text {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    margin: 12px 0;
}

.school-card-side p {
    color: #aaa7b3;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.school-card-side .primary-btn {
    width: 100%;
}

.contact-note {
    color: #777481;
    font-size: 10px;
    margin-top: 15px;
}


/* =========================
   PRICING HERO
========================= */

.pricing-hero {
    padding: 120px 20px 70px;
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.pricing-hero h1 {
    font-size: clamp(55px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -4px;
    margin-bottom: 25px;
}

.pricing-hero h1 span {
    color: var(--purple);
}

.pricing-hero p {
    max-width: 560px;
    margin: auto;
    color: var(--muted);
    line-height: 1.7;
    font-size: 17px;
}


/* =========================
   CONTACT SECTION
========================= */

.pricing-info {
    text-align: center;
    padding: 130px 20px;
    background: white;
}

.pricing-info h2 {
    font-size: 52px;
    letter-spacing: -2px;
    margin-bottom: 18px;
}

.pricing-info h2 span {
    color: var(--purple);
}

.pricing-info p {
    max-width: 550px;
    margin: 0 auto 30px;

    color: var(--muted);
    line-height: 1.7;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .school-card {
        grid-template-columns: 1fr;
    }

    .school-card-side {
        padding: 45px 35px;
    }

}


@media (max-width: 650px) {

    .pricing-hero {
        padding: 80px 20px 50px;
    }

    .pricing-hero h1 {
        font-size: 52px;
    }

    .school-pricing {
        padding: 20px 5% 90px;
    }

    .school-card-content {
        padding: 30px;
    }

    .school-features {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .school-card-side {
        padding: 40px 30px;
    }

    .pricing-info {
        padding: 90px 20px;
    }

    .pricing-info h2 {
        font-size: 40px;
    }

}