:root {
    --navy: #09086f;
    --navy-2: #11118c;
    --red: #ff0a08;
    --red-dark: #d90705;
    --ink: #10111b;
    --muted: #696b78;
    --paper: #ffffff;
    --soft: #f5f6f9;
    --line: #e7e8ee;
    --radius: 28px;
    --shadow: 0 22px 70px rgba(9, 8, 111, .13);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    background: var(--paper);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: "Manrope", sans-serif;
}

a { text-decoration: none; }

.glass-nav {
    padding: 10px 0;
    transition: .3s ease;
    z-index: 1050;
}

.glass-nav.scrolled {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 35px rgba(0,0,0,.08);
}

.brand-logo {
    width: 145px;
    height: 68px;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
}

.nav-link {
    color: #fff !important;
    font-weight: 600;
    font-size: .92rem;
    position: relative;
}

.glass-nav.scrolled .nav-link {
    color: var(--ink) !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: .25s ease;
}

.nav-link:hover::after { width: 100%; }

.admin-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.45);
    padding: 8px 13px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    transition: .25s ease;
}

.scrolled .admin-link {
    color: var(--navy);
    border-color: rgba(9,8,111,.18);
}

.admin-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.navbar-toggler { color: #fff; }
.scrolled .navbar-toggler { color: var(--navy); }

.hero-section,
.carousel,
.carousel-inner,
.hero-slide {
    min-height: 100vh;
    height: 100vh;
}

.hero-slide {
    background-position: center;
    background-size: cover;
    position: relative;
}

.hero-slide-one {
    background-image: url("https://images.unsplash.com/photo-1595814433015-e6f5ce69614e?auto=format&fit=crop&w=2200&q=90");
}

.hero-slide-two {
    background-image: url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=90");
}

.hero-slide-three {
    background-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2200&q=90");
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4,5,31,.93) 0%, rgba(5,5,45,.76) 43%, rgba(5,5,45,.18) 100%),
        linear-gradient(0deg, rgba(0,0,0,.25), transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    color: #fff;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    color: var(--red);
    font-weight: 800;
    letter-spacing: .18em;
    font-size: .76rem;
    margin-bottom: 17px;
}

.hero-section .eyebrow { color: #fff; }

.hero-section h1 {
    font-size: clamp(3.1rem, 7vw, 7.1rem);
    line-height: .94;
    letter-spacing: -.06em;
    font-weight: 800;
    max-width: 950px;
    margin-bottom: 25px;
}

.hero-section h1 span,
.display-title span,
.section-heading h2 span,
.tutor-banner h2 span,
.app-card h2 span,
.final-cta h2 span {
    color: var(--red);
}

.hero-copy {
    max-width: 680px;
    color: rgba(255,255,255,.87);
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-brand {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    font-weight: 800;
    padding: 14px 23px;
    box-shadow: 0 15px 30px rgba(255,10,8,.22);
}

.btn-brand:hover {
    background: #fff;
    border-color: #fff;
    color: var(--red);
    transform: translateY(-2px);
}

.btn-light-glass {
    color: #fff;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.09);
    backdrop-filter: blur(10px);
    font-weight: 700;
    padding: 14px 23px;
}

.btn-light-glass:hover {
    background: #fff;
    color: var(--navy);
}

.hero-trust {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 28px;
    color: rgba(255,255,255,.82);
    font-size: .88rem;
}

.hero-trust i { color: #63e6a7; margin-right: 5px; }

.carousel-indicators {
    z-index: 5;
    justify-content: flex-start;
    left: max(15px, calc((100% - 1320px) / 2));
    bottom: 50px;
    margin-left: 0;
}

.carousel-indicators button {
    width: 42px;
    height: 3px;
    margin-right: 7px;
    border: 0;
}

.slider-arrow {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(0,0,0,.14);
    backdrop-filter: blur(10px);
}

.scroll-cue {
    position: absolute;
    right: 40px;
    bottom: 40px;
    z-index: 10;
    color: rgba(255,255,255,.75);
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: .65rem;
    letter-spacing: .18em;
    writing-mode: vertical-rl;
}

.scroll-cue i { font-size: 1.1rem; }

.role-section {
    padding: 95px 0;
    background: #fff;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    letter-spacing: -.05em;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-heading p {
    max-width: 680px;
    margin: auto;
    color: var(--muted);
    line-height: 1.7;
}

.role-card {
    min-height: 245px;
    padding: 27px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--soft);
    border: 1px solid transparent;
    color: var(--ink);
    border-radius: 24px;
    transition: .3s ease;
    position: relative;
    overflow: hidden;
}

.role-card:hover {
    transform: translateY(-8px);
    background: var(--navy);
    color: #fff;
    box-shadow: var(--shadow);
}

.role-card-app:hover { background: var(--red); }

.role-icon {
    width: 54px;
    height: 54px;
    border-radius: 17px;
    background: #fff;
    color: var(--navy);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
}

.role-card small {
    font-weight: 800;
    letter-spacing: .1em;
    font-size: .68rem;
    opacity: .55;
}

.role-card h3 {
    font-size: 1.28rem;
    line-height: 1.15;
    font-weight: 800;
    margin: 7px 0 0;
}

.role-arrow {
    position: absolute;
    right: 25px;
    top: 28px;
    font-size: 1.35rem;
}

.section-padding { padding: 110px 0; }

.light-section { background: #f8f9fb; }

.display-title {
    font-size: clamp(2.35rem, 4.4vw, 4.5rem);
    line-height: 1.02;
    letter-spacing: -.055em;
    font-weight: 800;
    margin-bottom: 23px;
}

.lead-text {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.85;
    max-width: 610px;
}

.steps { margin-top: 35px; }

.step {
    display: flex;
    gap: 18px;
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
}

.step-number {
    color: var(--red);
    font-family: "Manrope";
    font-size: .82rem;
    font-weight: 800;
    min-width: 34px;
    padding-top: 3px;
}

.step h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.65;
}

.feature-image-wrap {
    position: relative;
    padding: 0 0 35px 35px;
}

.feature-image {
    width: 100%;
    height: 650px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(15px);
    box-shadow: 0 18px 50px rgba(0,0,0,.14);
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 17px;
}

.floating-card-top { top: 45px; left: 0; }
.floating-card-bottom { bottom: 0; right: 20px; font-size: .82rem; font-weight: 700; }

.floating-card strong,
.floating-card small { display: block; }

.floating-card strong { font-size: .82rem; }
.floating-card small { color: var(--muted); font-size: .7rem; margin-top: 3px; }

.mini-icon {
    width: 39px;
    height: 39px;
    border-radius: 12px;
    background: #eafaf1;
    color: #12945c;
    display: grid;
    place-items: center;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #18a968;
    box-shadow: 0 0 0 6px rgba(24,169,104,.12);
}

.painter-section {
    background: #fff;
    overflow: hidden;
}

.project-collage {
    position: relative;
    min-height: 650px;
    padding-right: 100px;
}

.collage-main {
    width: 82%;
    height: 570px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.collage-main img,
.collage-small img,
.customer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-small {
    position: absolute;
    right: 0;
    bottom: 20px;
    width: 43%;
    height: 290px;
    border: 10px solid #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,.18);
}

.collage-label {
    position: absolute;
    left: 35px;
    bottom: 58px;
    background: var(--navy);
    color: #fff;
    padding: 17px 21px;
    border-radius: 14px;
    display: grid;
}

.collage-label strong { font-size: .75rem; letter-spacing: .1em; }
.collage-label span { font-size: .78rem; opacity: .72; margin-top: 3px; }

.check-list {
    padding: 0;
    list-style: none;
    margin: 27px 0;
}

.check-list li {
    padding: 9px 0;
    font-weight: 600;
    font-size: .93rem;
}

.check-list i {
    color: var(--red);
    font-size: 1.1rem;
    margin-right: 9px;
}

.tutor-section {
    background: #f7f7f9;
}

.tutor-banner {
    min-height: 510px;
    border-radius: 34px;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    position: relative;
    padding: 80px;
    display: flex;
    align-items: center;
}

.tutor-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.tutor-banner h2,
.app-card h2,
.final-cta h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -.055em;
    font-weight: 800;
}

.tutor-banner p {
    color: rgba(255,255,255,.72);
    max-width: 590px;
    line-height: 1.8;
    margin: 20px 0 30px;
}

.tutor-art {
    position: absolute;
    right: -90px;
    bottom: -130px;
    width: 530px;
    height: 530px;
    border-radius: 50%;
    background: var(--red);
    display: grid;
    place-items: center;
    font-size: 12rem;
    color: #fff;
}

.paint-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.3);
}

.circle-one { width: 400px; height: 400px; }
.circle-two { width: 300px; height: 300px; }

.customer-image {
    height: 570px;
    position: relative;
}

.customer-image > img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.customer-badge {
    position: absolute;
    left: 25px;
    bottom: 25px;
    background: #fff;
    padding: 16px 19px;
    border-radius: 17px;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    gap: 13px;
}

.customer-badge > i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #fff0ef;
    color: var(--red);
}

.customer-badge strong,
.customer-badge span { display: block; }
.customer-badge strong { font-size: .83rem; }
.customer-badge span { font-size: .7rem; color: var(--muted); margin-top: 2px; }

.stats-section {
    padding: 75px 0;
    background: var(--red);
    color: #fff;
}

.stat-number {
    font-family: "Manrope";
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    font-weight: 800;
    letter-spacing: -.07em;
}

.stat-label {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.5;
    opacity: .8;
}

.app-section {
    padding: 105px 0;
    background: #fff;
}

.app-card {
    border-radius: 35px;
    background: #f1f2f6;
    padding: 70px 75px 0;
    overflow: hidden;
    position: relative;
}

.app-card h2 { max-width: 750px; }
.app-card p {
    color: var(--muted);
    max-width: 610px;
    line-height: 1.8;
}

.app-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.store-button {
    background: #111;
    color: #fff;
    border-radius: 12px;
    min-width: 175px;
    padding: 9px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-button:hover { color: #fff; transform: translateY(-2px); }
.store-button i { font-size: 1.65rem; }
.store-button small,
.store-button strong { display: block; }
.store-button small { font-size: .52rem; letter-spacing: .08em; opacity: .75; }
.store-button strong { font-size: 1rem; }

.phone-mockup {
    width: 285px;
    height: 575px;
    background: #111;
    border: 8px solid #1c1c1c;
    border-radius: 45px 45px 0 0;
    margin: 0 auto;
    padding: 10px;
    box-shadow: 0 30px 70px rgba(0,0,0,.25);
    transform: translateY(60px);
}

.phone-screen {
    height: 100%;
    border-radius: 34px 34px 0 0;
    background: #fff;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.phone-screen img {
    width: 210px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.phone-screen-text {
    font-family: "Manrope";
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    line-height: 1.05;
    margin-top: -5px;
}

.final-cta {
    padding: 125px 20px;
    background: #f7f7f9;
}

.final-cta p {
    color: var(--muted);
    line-height: 1.7;
}

.final-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.footer {
    padding: 80px 0 25px;
    background: #0b0b12;
    color: #fff;
}

.footer-logo {
    width: 165px;
    background: #fff;
    padding: 6px;
    border-radius: 10px;
}

.footer-copy {
    max-width: 420px;
    color: rgba(255,255,255,.55);
    line-height: 1.7;
    margin-top: 20px;
}

.footer h5 {
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer a {
    color: rgba(255,255,255,.6);
    display: block;
    font-size: .88rem;
    margin: 10px 0;
}

.footer a:hover { color: #fff; }

.footer-bottom {
    margin-top: 55px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,.38);
    font-size: .73rem;
    letter-spacing: .06em;
}

.floating-admin {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1000;
    background: rgba(10,10,20,.92);
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    box-shadow: 0 10px 35px rgba(0,0,0,.2);
}

.floating-admin:hover { background: var(--red); color: #fff; }

.back-top {
    position: fixed;
    right: 20px;
    bottom: 72px;
    z-index: 999;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--navy);
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.back-top.show { display: grid; place-items: center; }

@media (max-width: 991.98px) {
    .glass-nav {
        background: rgba(255,255,255,.94);
        backdrop-filter: blur(18px);
    }

    .nav-link { color: var(--ink) !important; }
    .admin-link { color: var(--navy); border-color: rgba(9,8,111,.18); margin: 7px 0 12px; }
    .navbar-toggler { color: var(--navy); }

    .hero-section, .carousel, .carousel-inner, .hero-slide { min-height: 760px; height: 760px; }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(4,5,31,.93), rgba(5,5,45,.55));
    }

    .hero-content { padding-top: 100px; }
    .hero-section h1 { font-size: clamp(3rem, 11vw, 5.4rem); }

    .scroll-cue { display: none; }

    .feature-image { height: 520px; }
    .project-collage { min-height: 520px; }
    .collage-main { height: 460px; }

    .tutor-banner { padding: 55px; }
    .tutor-art { opacity: .32; }

    .app-card { padding: 55px 35px 0; }
}

@media (max-width: 575.98px) {
    .brand-logo { width: 125px; height: 58px; }

    .hero-section, .carousel, .carousel-inner, .hero-slide { min-height: 720px; height: 720px; }

    .hero-content { padding-top: 90px; }
    .hero-section h1 { font-size: 3.35rem; }
    .hero-copy { font-size: .96rem; line-height: 1.6; }

    .hero-actions .btn {
        width: 100%;
        font-size: .91rem;
    }

    .hero-trust {
        display: grid;
        gap: 8px;
        font-size: .78rem;
    }

    .carousel-control-prev,
    .carousel-control-next { display: none; }

    .carousel-indicators {
        left: 15px;
        bottom: 25px;
    }

    .role-section,
    .section-padding,
    .app-section { padding: 75px 0; }

    .section-heading h2,
    .display-title { font-size: 2.45rem; }

    .role-card { min-height: 210px; }

    .feature-image-wrap {
        padding: 0 0 35px 0;
    }

    .feature-image { height: 420px; }

    .floating-card-top { left: 10px; top: 25px; }
    .floating-card-bottom { right: 10px; }

    .project-collage {
        min-height: 450px;
        padding-right: 35px;
    }

    .collage-main { width: 88%; height: 400px; }
    .collage-small { width: 47%; height: 210px; }
    .collage-label { left: 15px; bottom: 35px; }

    .tutor-banner {
        min-height: 550px;
        padding: 40px 25px;
        border-radius: 25px;
    }

    .tutor-banner h2 { font-size: 2.6rem; }
    .tutor-art { width: 420px; height: 420px; right: -170px; bottom: -120px; }

    .customer-image { height: 400px; }

    .app-card { border-radius: 25px; padding: 45px 22px 0; }
    .app-card h2 { font-size: 2.7rem; }
    .phone-mockup { width: 230px; height: 470px; }

    .footer-bottom { flex-direction: column; }
    .floating-admin { bottom: 14px; right: 14px; }
}
