
:root {
    --navy-950: #02132d;
    --navy-900: #06204a;
    --navy-800: #0b326c;
    --blue-600: #0b63f6;
    --blue-500: #1674ff;
    --blue-200: #bfd8ff;
    --blue-100: #eaf3ff;
    --green-100: #eafaf0;
    --green-700: #087443;
    --red-100: #fff0ef;
    --red-700: #b42318;
    --text: #13213a;
    --muted: #67748b;
    --border: #dce4ef;
    --soft: #f5f8fc;
    --white: #ffffff;
    --shadow: 0 20px 55px rgba(3, 27, 62, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    color: var(--white);
    background: rgba(2, 19, 45, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 14px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong {
    font-size: 16px;
}

.brand-copy span {
    margin-top: 3px;
    color: #7db4ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 24px;
    color: #d9e6fa;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--white);
}

.header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.menu-button {
    display: none;
    min-height: 42px;
    padding: 8px 14px;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.mobile-navigation {
    padding: 0 20px 18px;
    display: grid;
    gap: 6px;
}

.mobile-navigation[hidden] {
    display: none !important;
}

.mobile-navigation a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.button {
    min-height: 44px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 11px;
    font-weight: 800;
    cursor: pointer;
}

.button-primary {
    color: var(--white);
    background: var(--blue-600);
}

.button-primary:hover {
    background: #0754d5;
}

.button-light {
    color: var(--navy-900);
    background: var(--white);
}

.button-outline {
    color: var(--blue-600);
    background: var(--white);
    border-color: var(--blue-600);
}

.button-ghost {
    color: var(--white);
    background: transparent;
}

.button-large {
    min-height: 52px;
    padding-inline: 22px;
}

.hero {
    color: var(--white);
    background:
        radial-gradient(circle at 74% 25%, rgba(22, 116, 255, 0.35), transparent 30%),
        linear-gradient(135deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
}

.hero-grid {
    min-height: 700px;
    padding-block: 70px;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(540px, 1.08fr);
    gap: 42px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 12px;
    color: #9ac4ff;
    background: rgba(22, 116, 255, 0.17);
    border: 1px solid rgba(125, 180, 255, 0.22);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-blue {
    color: var(--blue-600);
    background: var(--blue-100);
    border-color: var(--blue-200);
}

.hero h1 {
    margin: 0;
    font-size: clamp(44px, 5vw, 70px);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.hero h1 span {
    display: block;
    color: #6eaaff;
}

.hero-intro {
    max-width: 600px;
    margin: 24px 0 28px;
    color: #d9e6fa;
    font-size: 18px;
    line-height: 1.65;
}

.check-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    line-height: 1.5;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--blue-600);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

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

.trust-row {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: #bcd3f4;
    font-size: 13px;
}

.hero-demo {
    position: relative;
    min-height: 590px;
}

.diary-window {
    position: absolute;
    left: 0;
    top: 70px;
    width: 78%;
    overflow: hidden;
    color: var(--text);
    background: var(--white);
    border: 7px solid #12203a;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.window-header {
    min-height: 62px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.window-header div:first-child {
    display: flex;
    flex-direction: column;
}

.window-header span {
    color: var(--muted);
    font-size: 12px;
}

.calendar {
    display: grid;
    grid-template-columns: 68px repeat(4, minmax(88px, 1fr));
}

.calendar-head,
.calendar-time,
.calendar-cell {
    min-height: 76px;
    padding: 8px;
    border-right: 1px solid #edf1f6;
    border-bottom: 1px solid #edf1f6;
}

.calendar-head {
    min-height: 42px;
    color: #45546c;
    background: #f7f9fc;
    font-size: 12px;
    font-weight: 800;
}

.calendar-time {
    color: var(--muted);
    font-size: 12px;
}

.booking {
    min-height: 56px;
    padding: 7px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-radius: 8px;
    font-size: 11px;
}

.booking-blue {
    color: #124b97;
    background: #e7f1ff;
}

.booking-green {
    color: var(--green-700);
    background: var(--green-100);
}

.booking-new {
    color: var(--green-700);
    background: #e7faee;
    border: 2px solid #74d69d;
    box-shadow: 0 8px 20px rgba(8, 116, 67, 0.16);
}

.ai-chat {
    position: absolute;
    right: 0;
    top: 0;
    width: 385px;
    overflow: hidden;
    color: var(--text);
    background: var(--white);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.chat-header {
    min-height: 70px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 44px 1fr 34px;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.chat-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--navy-900);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
}

.chat-header div:nth-child(2) {
    display: flex;
    flex-direction: column;
}

.chat-header span {
    margin-top: 2px;
    color: #0b9c59;
    font-size: 12px;
}

.chat-minimise {
    color: var(--muted);
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 22px;
}

.chat-messages {
    max-height: 430px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    background: #fbfcfe;
}

.message {
    max-width: 84%;
    padding: 11px 13px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.45;
}

.message-ai {
    align-self: flex-start;
    background: #edf1f7;
    border-bottom-left-radius: 4px;
}

.message-user {
    align-self: flex-end;
    color: var(--white);
    background: var(--blue-600);
    border-bottom-right-radius: 4px;
}

.message-success {
    align-self: flex-start;
    color: var(--green-700);
    background: var(--green-100);
    border: 1px solid #b9ebcc;
}

.chat-input-row {
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    border-top: 1px solid var(--border);
}

.chat-input-row input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.chat-send {
    padding: 10px 14px;
    color: var(--white);
    background: var(--blue-600);
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    font-weight: 800;
}

.section {
    padding: 86px 0;
}

.section-white {
    background: var(--white);
}

.section-soft {
    background: var(--soft);
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
}

.section-heading p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.65;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    padding: 24px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
}

.feature-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: var(--blue-100);
    border-radius: 50%;
    font-size: 25px;
}

.feature-card h3 {
    margin: 0 0 10px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.step-card {
    padding: 24px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
}

.step-number {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--blue-600);
    border-radius: 50%;
    font-weight: 900;
}

.step-card h3 {
    margin: 16px 0 8px;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pricing-card {
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
}

.pricing-popular {
    border: 2px solid var(--blue-600);
    box-shadow: 0 18px 42px rgba(11, 99, 246, 0.15);
}

.popular-label {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    padding: 6px 13px;
    color: var(--white);
    background: var(--blue-600);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.price {
    margin: 22px 0;
    font-size: 38px;
    font-weight: 900;
}

.price span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}

.pricing-card ul {
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 11px;
    list-style: none;
}

.pricing-card li::before {
    content: "✓";
    margin-right: 8px;
    color: #0a9c5a;
    font-weight: 900;
}

.pricing-card .button {
    margin-top: auto;
}

.final-cta {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.final-cta-inner {
    min-height: 190px;
    padding-block: 38px;
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: center;
}

.site-footer {
    padding: 54px 0 24px;
    color: #c9d8ed;
    background: var(--navy-950);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 36px;
}

.footer-logo {
    width: 110px;
    margin-bottom: 16px;
}

.footer-grid h3 {
    margin: 0 0 14px;
    color: var(--white);
}

.footer-grid a {
    margin: 8px 0;
    display: block;
    font-size: 14px;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    color: #8fa7c6;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.page-hero {
    padding: 76px 0;
    color: var(--white);
    text-align: center;
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 60px);
}

.page-hero p {
    max-width: 680px;
    margin: 18px auto 0;
    color: #d2e1f6;
    font-size: 18px;
    line-height: 1.65;
}

.content-page {
    padding: 72px 0;
    background: var(--soft);
}

.content-card {
    max-width: 880px;
    margin: 0 auto;
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.content-card h2,
.content-card h3 {
    color: var(--navy-900);
}

.content-card p,
.content-card li {
    color: #44536b;
    line-height: 1.7;
}

.auth-page {
    min-height: calc(100vh - 82px);
    padding: 52px 0;
    background:
        linear-gradient(rgba(236, 245, 255, 0.92), rgba(245, 248, 252, 0.98));
}

.auth-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.auth-side {
    padding: 44px;
    color: var(--white);
    background: linear-gradient(145deg, var(--navy-950), var(--navy-800));
}

.auth-side img {
    width: 150px;
}

.auth-side h1 {
    margin-top: 28px;
    font-size: 40px;
}

.auth-side p {
    color: #d2e1f6;
    line-height: 1.65;
}

.auth-side ul {
    padding-left: 20px;
    line-height: 1.9;
}

.auth-form {
    padding: 44px;
}

.auth-form h1 {
    margin-top: 0;
    color: var(--navy-900);
}

.form-section-title {
    margin: 28px 0 14px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--border);
    color: var(--navy-900);
    font-size: 18px;
}

.account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.account-option {
    position: relative;
}

.account-option input {
    position: absolute;
    opacity: 0;
}

.account-option span {
    min-height: 104px;
    padding: 18px;
    display: block;
    border: 2px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
}

.account-option input:checked + span {
    border-color: var(--blue-600);
    background: var(--blue-100);
}

.account-option strong,
.account-option small {
    display: block;
}

.account-option small {
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.4;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 47px;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 3px solid rgba(11, 99, 246, 0.14);
    border-color: var(--blue-600);
}

.checkbox-row {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-row input {
    margin-top: 3px;
}

.form-message {
    min-height: 22px;
    margin-bottom: 10px;
    color: var(--red-700);
}

.alert {
    margin-bottom: 18px;
    padding: 13px 15px;
    border-radius: 10px;
}

.alert-error {
    color: var(--red-700);
    background: var(--red-100);
    border: 1px solid #f5c6c2;
}

.alert-success {
    color: var(--green-700);
    background: var(--green-100);
    border: 1px solid #b9ebcc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 28px;
}

.contact-info {
    padding: 28px;
    color: var(--white);
    background: linear-gradient(145deg, var(--navy-950), var(--navy-800));
    border-radius: 18px;
}

.contact-info p {
    color: #d2e1f6;
}

@media (max-width: 1100px) {
    .main-nav {
        display: none;
    }

    .header-inner {
        grid-template-columns: 1fr auto auto;
    }

    .menu-button {
        display: inline-flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-demo {
        min-height: 650px;
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-actions {
        display: none;
    }

    .hero-demo {
        min-height: 760px;
    }

    .diary-window {
        position: relative;
        top: 0;
        width: 100%;
    }

    .ai-chat {
        top: auto;
        bottom: 0;
        width: min(100%, 385px);
    }

    .feature-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .final-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .brand-copy {
        display: none;
    }

    .brand img {
        width: 54px;
        height: 54px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .calendar {
        grid-template-columns: 62px repeat(3, minmax(74px, 1fr));
    }

    .calendar > :nth-child(5n) {
        display: none;
    }

    .feature-grid,
    .steps-grid,
    .footer-grid,
    .form-grid,
    .account-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

    .auth-side,
    .auth-form {
        padding: 28px 20px;
    }
}


/* =========================================================
   HOMEPAGE PREMIUM / SEO SALES LAYOUT
   Added for the public homepage. Existing auth/contact styles
   above are intentionally preserved.
   ========================================================= */

.home-page {
    background: #f4f7fb;
}

.home-page .site-header {
    background: rgba(17, 24, 39, 0.97);
    backdrop-filter: blur(16px);
}

.home-page .hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 14%, rgba(109, 93, 252, 0.30), transparent 28%),
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.18), transparent 30%),
        linear-gradient(135deg, #0b1120 0%, #111827 50%, #172554 100%);
}

.home-page .hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -220px auto;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    filter: blur(12px);
    pointer-events: none;
}

.home-page .hero-grid {
    position: relative;
    z-index: 1;
    min-height: 760px;
    padding-block: 86px;
}

.home-page .hero h1 {
    max-width: 700px;
    font-size: clamp(46px, 5.1vw, 72px);
}

.home-page .hero h1 span {
    color: #8b82ff;
}

.hero-selling-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-selling-points span {
    padding: 9px 13px;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.live-pill {
    padding: 6px 9px;
    color: #087443 !important;
    background: #e8f8f1;
    border-radius: 999px;
    font-size: 11px !important;
    font-weight: 900;
}

.selling-section {
    position: relative;
}

.selling-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.selling-card {
    position: relative;
    padding: 30px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 22px;
    box-shadow: 0 16px 45px rgba(20, 34, 61, 0.07);
}

.selling-card-featured {
    border-color: #c9d8ff;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.10);
}

.selling-card-featured::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at top right, rgba(109, 93, 252, 0.16), transparent 68%);
}

.selling-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, #eaf2ff, #f0edff);
    border: 1px solid #dce6ff;
    border-radius: 16px;
    font-size: 27px;
}

.selling-kicker,
.plan-label,
.cta-kicker {
    display: inline-block;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.selling-card h3 {
    margin: 9px 0 12px;
    color: #162033;
    font-size: 25px;
    line-height: 1.18;
}

.selling-card > p {
    margin: 0;
    color: #67748b;
    line-height: 1.7;
}

.prompt-list {
    margin-top: 22px;
    display: grid;
    gap: 9px;
}

.prompt-list span {
    padding: 11px 13px;
    color: #334155;
    background: #f7f9fc;
    border: 1px solid #e5eaf1;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.voice-note,
.value-callout {
    margin-top: 22px;
    padding: 15px;
    display: grid;
    gap: 5px;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
}

.voice-note strong,
.value-callout strong {
    color: #162033;
}

.voice-note span,
.value-callout span {
    color: #718096;
    font-size: 13px;
    line-height: 1.5;
}

.feature-grid-expanded {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-page .feature-card {
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-page .feature-card:hover {
    transform: translateY(-4px);
    border-color: #cfd8e7;
    box-shadow: 0 16px 36px rgba(20, 34, 61, 0.08);
}

.home-page .feature-icon {
    margin: 0 0 18px;
    border-radius: 15px;
}

.split-heading {
    margin-bottom: 38px;
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 50px;
    align-items: end;
}

.split-heading h2 {
    max-width: 680px;
    margin: 0;
    color: #162033;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.split-heading > p {
    margin: 0;
    color: #718096;
    font-size: 16px;
    line-height: 1.7;
}

.business-value-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 70px;
    align-items: center;
}

.business-value-grid h2 {
    margin: 0 0 18px;
    color: #162033;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.business-value-grid p {
    color: #67748b;
    font-size: 17px;
    line-height: 1.75;
}

.benefit-panel {
    padding: 16px;
    display: grid;
    gap: 10px;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 22px;
}

.benefit-row {
    padding: 18px;
    display: grid;
    gap: 5px;
    background: #ffffff;
    border: 1px solid #e9edf4;
    border-radius: 14px;
}

.benefit-row strong {
    color: #162033;
}

.benefit-row span {
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}

.home-page .pricing-card {
    box-shadow: 0 14px 38px rgba(20, 34, 61, 0.06);
}

.home-page .pricing-card h3 {
    margin: 8px 0 0;
    color: #162033;
    font-size: 28px;
}

.pricing-note {
    max-width: 720px;
    margin: 24px auto 0;
    color: #718096;
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.faq-card {
    padding: 26px;
    background: #ffffff;
    border: 1px solid #e5eaf1;
    border-radius: 18px;
}

.faq-card h3 {
    margin: 0 0 10px;
    color: #162033;
    font-size: 19px;
}

.faq-card p {
    margin: 0;
    color: #67748b;
    line-height: 1.65;
}

.home-page .final-cta {
    background:
        radial-gradient(circle at 80% 20%, rgba(109, 93, 252, 0.25), transparent 25%),
        linear-gradient(135deg, #0b1120, #172554);
}

.home-page .final-cta-inner {
    min-height: 245px;
}

.home-page .final-cta h2 {
    max-width: 760px;
    margin: 8px 0 10px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
}

.home-page .final-cta p {
    max-width: 680px;
    margin: 0;
    color: #cbd5e1;
    line-height: 1.65;
}

.cta-kicker {
    color: #a8b4ff;
}

.home-page .site-footer {
    background: #0b1120;
}

.home-page .footer-grid p {
    max-width: 360px;
    line-height: 1.65;
}

.home-page .button {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.home-page .button-primary {
    background: linear-gradient(135deg, #2563eb, #6d5dfc);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.20);
}

.home-page .button-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1d4ed8, #5b4cf0);
}

@media (max-width: 1100px) {
    .selling-grid,
    .feature-grid-expanded {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .business-value-grid {
        gap: 40px;
    }
}

@media (max-width: 800px) {
    .home-page .hero-grid {
        padding-block: 58px;
    }

    .selling-grid,
    .feature-grid-expanded,
    .split-heading,
    .business-value-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .split-heading {
        gap: 16px;
    }

    .business-value-grid {
        gap: 30px;
    }

    .home-page .final-cta-inner {
        align-items: stretch;
    }

    .home-page .final-cta .button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .home-page .hero h1 {
        font-size: 42px;
    }

    .hero-selling-points {
        display: grid;
        grid-template-columns: 1fr;
    }

    .selling-card,
    .faq-card {
        padding: 22px;
    }
}


/* =========================================================
   HOMEPAGE V2 — PREMIUM MIDDLE SECTIONS
   ========================================================= */

.premium-ai-section,
.premium-platform-section,
.premium-journey-section,
.premium-value-section,
.premium-faq-section {
    padding: 110px 0;
}

.premium-ai-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(37,99,235,.08), transparent 26%),
        #f4f7fb;
}

.premium-section-heading {
    max-width: 860px;
    margin: 0 auto 58px;
    text-align: center;
}

.premium-section-heading h2,
.value-heading h2,
.journey-copy h2,
.faq-intro h2 {
    margin: 0;
    color: #162033;
    font-size: clamp(38px, 4.4vw, 58px);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.premium-section-heading p,
.value-heading p,
.journey-copy > p,
.faq-intro > p {
    margin: 20px auto 0;
    color: #718096;
    font-size: 17px;
    line-height: 1.75;
}

.premium-ai-grid {
    display: grid;
    gap: 28px;
}

.premium-showcase {
    min-height: 520px;
    padding: 42px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 54px;
    align-items: center;
    border: 1px solid #e3e8f1;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(25, 39, 70, .08);
    overflow: hidden;
}

.premium-showcase-dark {
    color: #fff;
    border-color: rgba(255,255,255,.08);
    background:
        radial-gradient(circle at 80% 20%, rgba(109,93,252,.25), transparent 27%),
        linear-gradient(135deg, #0b1120, #111827 58%, #172554);
    box-shadow: 0 30px 80px rgba(11,17,32,.2);
}

.showcase-number {
    display: block;
    margin-bottom: 18px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .18em;
}

.premium-showcase h3 {
    margin: 10px 0 16px;
    color: #162033;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.premium-showcase-dark h3 {
    color: #fff;
}

.premium-showcase-copy > p {
    margin: 0;
    color: #718096;
    font-size: 16px;
    line-height: 1.75;
}

.premium-showcase-dark .premium-showcase-copy > p {
    color: #cbd5e1;
}

.showcase-tags {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.showcase-tags span {
    padding: 9px 12px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.premium-showcase-dark .showcase-tags span {
    color: #dbeafe;
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.1);
}

.assistant-console {
    padding: 18px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

.assistant-console-top {
    padding: 4px 4px 15px;
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid #e5eaf1;
}

.assistant-orb {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #6d5dfc);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
}

.assistant-console-top strong,
.assistant-console-top span {
    display: block;
}

.assistant-console-top strong {
    color: #162033;
}

.assistant-console-top span {
    margin-top: 3px;
    color: #159a6b;
    font-size: 12px;
}

.voice-status {
    padding: 8px 10px;
    color: #5b4cf0;
    background: #f0edff;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 900;
}

.assistant-command {
    max-width: 82%;
    margin-top: 14px;
    padding: 13px 15px;
    border-radius: 15px;
    font-size: 13px;
    line-height: 1.5;
}

.assistant-command-user {
    margin-left: auto;
    color: #fff;
    background: #2563eb;
    border-bottom-right-radius: 5px;
}

.assistant-command-ai {
    color: #334155;
    background: #f1f5f9;
    border-bottom-left-radius: 5px;
}

.assistant-success {
    color: #087443;
    background: #e8f8f1;
}

.assistant-input-demo {
    margin-top: 16px;
    padding: 11px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    border: 1px solid #dfe5ee;
    border-radius: 13px;
    font-size: 13px;
}

.assistant-input-demo button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 10px;
    background: #eef2ff;
    cursor: default;
}

.premium-showcase-gap {
    background:
        radial-gradient(circle at 90% 20%, rgba(21,154,107,.09), transparent 24%),
        #fff;
}

.value-stat {
    margin-top: 26px;
    padding: 17px 18px;
    display: grid;
    gap: 4px;
    background: #ecfdf5;
    border: 1px solid #c7f0df;
    border-radius: 14px;
}

.value-stat strong {
    color: #087443;
}

.value-stat span {
    color: #4b6b5d;
    font-size: 13px;
}

.gap-demo {
    position: relative;
    min-height: 365px;
}

.gap-diary-card,
.gap-match-card {
    position: absolute;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(20,34,61,.10);
}

.gap-diary-card {
    left: 0;
    top: 0;
    width: 74%;
    padding: 18px;
}

.gap-match-card {
    right: 0;
    bottom: 0;
    width: 58%;
    padding: 16px;
}

.gap-diary-head {
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.gap-diary-head span {
    color: #718096;
    font-size: 12px;
}

.gap-slot {
    min-height: 74px;
    padding: 12px;
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 12px;
    align-items: center;
    border-top: 1px solid #eef2f6;
}

.gap-slot > span {
    color: #718096;
    font-size: 12px;
}

.gap-slot div {
    display: grid;
    gap: 3px;
}

.gap-slot small {
    color: #94a3b8;
}

.gap-slot-empty {
    margin: 4px 0;
    background: #fff8e8;
    border: 1px dashed #f2ba51;
    border-radius: 12px;
}

.gap-slot-empty strong {
    color: #a65f00;
}

.gap-slot-empty em {
    padding: 7px 9px;
    color: #a65f00;
    background: #fff0c5;
    border-radius: 8px;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.match-label {
    display: block;
    margin-bottom: 9px;
    color: #718096;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.pupil-match {
    padding: 10px 0;
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 9px;
    align-items: center;
    border-top: 1px solid #eef2f6;
}

.match-avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #2563eb;
    background: #eaf2ff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 900;
}

.pupil-match div:nth-child(2) {
    display: grid;
    gap: 2px;
}

.pupil-match span,
.pupil-match small {
    color: #94a3b8;
    font-size: 10px;
}

.pupil-match small {
    color: #159a6b;
    font-weight: 900;
}

.premium-showcase-web {
    background:
        radial-gradient(circle at 10% 80%, rgba(109,93,252,.08), transparent 28%),
        #fff;
}

.website-flow {
    display: grid;
    grid-template-columns: 1fr auto .55fr;
    gap: 16px;
    align-items: center;
}

.website-browser {
    overflow: hidden;
    border: 1px solid #dfe5ee;
    border-radius: 20px;
    box-shadow: 0 18px 46px rgba(20,34,61,.10);
}

.browser-bar {
    min-height: 42px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 7px;
    background: #f8fafc;
    border-bottom: 1px solid #e5eaf1;
}

.browser-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d5dce7;
}

.browser-bar span {
    margin-left: 6px;
    color: #94a3b8;
    font-size: 10px;
}

.browser-body {
    min-height: 300px;
    padding: 22px;
    background:
        linear-gradient(180deg, #eef4ff 0 44%, #fff 44%);
}

.mini-site-copy {
    margin-bottom: 24px;
    display: grid;
    gap: 4px;
}

.mini-site-copy strong {
    color: #162033;
}

.mini-site-copy span {
    color: #718096;
    font-size: 11px;
}

.mini-chat {
    margin-left: auto;
    width: min(270px, 92%);
    padding: 12px;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    box-shadow: 0 12px 34px rgba(20,34,61,.12);
}

.mini-chat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.mini-chat-head span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #2563eb;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 900;
}

.mini-chat p {
    margin: 7px 0;
    padding: 8px 9px;
    border-radius: 10px;
    font-size: 10px;
    line-height: 1.4;
}

.mini-ai {
    margin-right: 22px !important;
    background: #f1f5f9;
}

.mini-user {
    margin-left: 75px !important;
    color: #fff;
    background: #2563eb;
}

.mini-success {
    color: #087443;
    background: #e8f8f1;
}

.flow-arrow {
    color: #6d5dfc;
    font-size: 30px;
    font-weight: 900;
}

.flow-result {
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 18px;
}

.flow-result-kicker {
    display: block;
    margin-bottom: 10px;
    color: #718096;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.flow-booking {
    padding: 14px;
    display: grid;
    gap: 4px;
    color: #087443;
    background: #e8f8f1;
    border: 1px solid #b9ebcc;
    border-radius: 12px;
}

.flow-booking span,
.flow-booking small {
    color: #4f6f62;
    font-size: 11px;
}

.premium-platform-section {
    background:
        linear-gradient(180deg, #fff, #fbfcfe);
}

.platform-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bento-card {
    min-height: 260px;
    padding: 26px;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(20,34,61,.05);
}

.bento-large {
    grid-column: span 2;
    min-height: 330px;
    background:
        radial-gradient(circle at 90% 10%, rgba(37,99,235,.08), transparent 30%),
        #fff;
}

.bento-accent {
    background:
        radial-gradient(circle at 90% 10%, rgba(109,93,252,.10), transparent 30%),
        #fff;
}

.bento-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg,#eaf2ff,#f0edff);
    border-radius: 14px;
    font-size: 22px;
}

.bento-kicker {
    color: #2563eb;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bento-card h3 {
    margin: 8px 0 10px;
    color: #162033;
    font-size: 22px;
}

.bento-card p {
    margin: 0;
    color: #718096;
    line-height: 1.65;
    font-size: 14px;
}

.mini-week {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.mini-week div {
    padding: 11px;
    display: grid;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #edf1f5;
    border-radius: 11px;
}

.mini-week span {
    color: #94a3b8;
    font-size: 10px;
}

.mini-week strong {
    color: #334155;
    font-size: 11px;
}

.mini-week-active {
    background: #eaf2ff !important;
    border-color: #bfd3ff !important;
}

.progress-demo {
    height: 8px;
    margin-top: 22px;
    overflow: hidden;
    background: #edf1f5;
    border-radius: 999px;
}

.progress-demo span {
    height: 100%;
    display: block;
    background: linear-gradient(90deg,#2563eb,#6d5dfc);
    border-radius: inherit;
}

.wallet-demo {
    margin-top: 22px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 12px;
}

.wallet-demo span {
    color: #718096;
    font-size: 12px;
}

.wallet-demo strong {
    color: #162033;
}

.premium-journey-section {
    background:
        radial-gradient(circle at 8% 20%, rgba(37,99,235,.16), transparent 25%),
        linear-gradient(135deg,#0b1120,#111827 55%,#172554);
}

.journey-layout {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 70px;
    align-items: start;
}

.journey-copy {
    position: sticky;
    top: 130px;
}

.journey-copy h2 {
    color: #fff;
}

.journey-copy > p {
    color: #cbd5e1;
    margin-left: 0;
}

.journey-copy .button {
    margin-top: 26px;
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
}

.journey-steps article {
    min-height: 190px;
    padding: 24px;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 14px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.journey-steps article > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #9eb8ff;
    background: rgba(37,99,235,.18);
    border: 1px solid rgba(158,184,255,.18);
    border-radius: 13px;
    font-size: 12px;
    font-weight: 900;
}

.journey-steps strong {
    color: #fff;
    font-size: 18px;
}

.journey-steps p {
    margin: 8px 0 0;
    color: #b8c5d9;
    line-height: 1.6;
    font-size: 13px;
}

.premium-value-section {
    background: #fff;
}

.value-heading {
    max-width: 820px;
    margin-bottom: 50px;
}

.value-heading p {
    margin-left: 0;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
}

.value-cards article {
    padding: 26px;
    min-height: 230px;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
}

.value-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    font-size: 21px;
}

.value-cards strong {
    display: block;
    color: #162033;
    font-size: 18px;
}

.value-cards p {
    margin: 10px 0 0;
    color: #718096;
    line-height: 1.65;
    font-size: 14px;
}

.premium-pricing-section .pricing-card {
    min-height: 500px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.premium-pricing-section .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(20,34,61,.10);
}

.premium-faq-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(109,93,252,.08), transparent 24%),
        #fff;
}

.faq-layout {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 70px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 130px;
}

.faq-intro > p {
    margin-left: 0;
}

.faq-accordion {
    display: grid;
    gap: 12px;
}

.faq-accordion details {
    padding: 0 22px;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 16px;
    transition: background .2s ease, border-color .2s ease;
}

.faq-accordion details[open] {
    background: #fff;
    border-color: #cfdaf0;
    box-shadow: 0 14px 36px rgba(20,34,61,.06);
}

.faq-accordion summary {
    padding: 21px 42px 21px 0;
    position: relative;
    color: #162033;
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    font-weight: 800;
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-accordion summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 16px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #2563eb;
    background: #eaf2ff;
    border-radius: 9px;
    font-size: 18px;
}

.faq-accordion details[open] summary::after {
    content: "−";
}

.faq-accordion details p {
    margin: -2px 0 22px;
    padding-right: 35px;
    color: #718096;
    line-height: 1.7;
}

@media (max-width: 1100px) {
    .premium-showcase {
        grid-template-columns: 1fr;
    }

    .gap-demo {
        min-height: 430px;
    }

    .platform-bento {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .journey-layout,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .journey-copy,
    .faq-intro {
        position: static;
    }

    .value-cards {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 800px) {
    .premium-ai-section,
    .premium-platform-section,
    .premium-journey-section,
    .premium-value-section,
    .premium-faq-section {
        padding: 78px 0;
    }

    .premium-showcase {
        padding: 26px;
        gap: 34px;
        border-radius: 22px;
    }

    .website-flow {
        grid-template-columns: 1fr;
    }

    .flow-arrow {
        transform: rotate(90deg);
        text-align: center;
    }

    .platform-bento,
    .journey-steps,
    .value-cards {
        grid-template-columns: 1fr;
    }

    .bento-large {
        grid-column: auto;
    }

    .gap-demo {
        min-height: auto;
        display: grid;
        gap: 14px;
    }

    .gap-diary-card,
    .gap-match-card {
        position: relative;
        inset: auto;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .premium-section-heading,
    .value-heading {
        margin-bottom: 36px;
    }

    .premium-showcase h3,
    .premium-section-heading h2,
    .value-heading h2,
    .journey-copy h2,
    .faq-intro h2 {
        font-size: 34px;
    }

    .assistant-command {
        max-width: 92%;
    }

    .gap-slot {
        grid-template-columns: 48px 1fr;
    }

    .gap-slot em {
        grid-column: 2;
        justify-self: start;
    }

    .mini-week {
        grid-template-columns: repeat(2,1fr);
    }
}


/* =========================================================
   HOMEPAGE V3 — COHESIVE PREMIUM MIDDLE
   ========================================================= */

.mid-showcase-section,
.platform-showcase-section,
.booking-journey-section,
.business-benefit-section,
.faq-premium-section {
    padding: 108px 0;
}

.mid-showcase-section {
    background:
        radial-gradient(circle at 12% 6%, rgba(37,99,235,.08), transparent 26%),
        #f4f7fb;
}

.mid-heading {
    max-width: 860px;
    margin: 0 auto 58px;
    text-align: center;
}

.mid-heading h2,
.booking-journey-intro h2,
.benefit-header h2,
.faq-premium-copy h2 {
    margin: 0;
    color: #162033;
    font-size: clamp(38px,4.6vw,58px);
    line-height: 1.06;
    letter-spacing: -.045em;
}

.mid-heading p,
.booking-journey-intro p,
.benefit-header p,
.faq-premium-copy p {
    margin: 18px auto 0;
    color: #718096;
    font-size: 17px;
    line-height: 1.75;
}

.mid-feature-row {
    min-height: 500px;
    margin-top: 26px;
    padding: 42px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 52px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 30px;
    box-shadow: 0 24px 70px rgba(20,34,61,.08);
    overflow: hidden;
}

.mid-feature-dark {
    color: #fff;
    background:
        radial-gradient(circle at 80% 18%, rgba(109,93,252,.27), transparent 28%),
        linear-gradient(135deg,#0b1120,#111827 55%,#172554);
    border-color: rgba(255,255,255,.08);
}

.mid-feature-dark .mid-feature-copy h3 {
    color: #fff;
}

.mid-feature-dark .mid-feature-copy p {
    color: #cbd5e1;
}

.feature-index {
    display: block;
    margin-bottom: 16px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
}

.mid-feature-copy h3 {
    margin: 8px 0 16px;
    color: #162033;
    font-size: clamp(30px,3vw,44px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.mid-feature-copy p {
    margin: 0;
    color: #718096;
    font-size: 16px;
    line-height: 1.75;
}

.mini-pill-row {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.mini-pill-row span {
    padding: 9px 12px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.mid-feature-dark .mini-pill-row span {
    color: #dbeafe;
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.10);
}

.product-window {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 24px;
    box-shadow: 0 26px 60px rgba(0,0,0,.18);
}

.product-window-bar {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5eaf1;
}

.product-window-title {
    display: flex;
    gap: 12px;
    align-items: center;
}

.product-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg,#2563eb,#6d5dfc);
    border-radius: 13px;
    font-size: 12px;
    font-weight: 900;
}

.product-window-title div {
    display: grid;
    gap: 3px;
}

.product-window-title strong {
    color: #162033;
}

.product-window-title small {
    color: #159a6b;
}

.product-status {
    padding: 7px 10px;
    color: #087443;
    background: #e8f8f1;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.product-chat {
    padding: 18px;
    display: grid;
    gap: 12px;
    background: #fbfcfe;
}

.product-bubble {
    max-width: 82%;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}

.product-bubble.user {
    justify-self: end;
    color: #fff;
    background: #2563eb;
    border-bottom-right-radius: 5px;
}

.product-bubble.ai {
    color: #334155;
    background: #eef2f7;
    border-bottom-left-radius: 5px;
}

.product-bubble.success {
    color: #087443;
    background: #e8f8f1;
}

.product-input {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    color: #94a3b8;
    border-top: 1px solid #e5eaf1;
    font-size: 13px;
}

.product-input button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 11px;
    background: #eef2ff;
}

.gap-feature-row {
    grid-template-columns: 1.1fr .9fr;
    background:
        radial-gradient(circle at 10% 80%, rgba(21,154,107,.08), transparent 24%),
        #fff;
}

.gap-visual {
    position: relative;
    min-height: 380px;
}

.gap-calendar-card,
.gap-pupils-card {
    position: absolute;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
    box-shadow: 0 20px 52px rgba(20,34,61,.10);
}

.gap-calendar-card {
    left: 0;
    top: 0;
    width: 76%;
    padding: 18px;
}

.gap-pupils-card {
    right: 0;
    bottom: 0;
    width: 60%;
    padding: 16px;
}

.gap-calendar-header,
.gap-pupils-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.gap-calendar-header > div {
    display: grid;
    gap: 3px;
}

.gap-calendar-header span,
.gap-pupils-head span {
    color: #94a3b8;
    font-size: 11px;
}

.gap-calendar-badge {
    padding: 6px 9px;
    color: #a65f00 !important;
    background: #fff4d6;
    border-radius: 999px;
    font-weight: 900;
}

.gap-calendar-slot {
    min-height: 72px;
    padding: 12px;
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #edf1f5;
}

.gap-calendar-slot > span {
    color: #718096;
    font-size: 12px;
}

.gap-calendar-slot > div {
    display: grid;
    gap: 2px;
}

.gap-calendar-slot small {
    color: #94a3b8;
}

.gap-highlight {
    margin: 5px 0;
    background: #fff8e8;
    border: 1px dashed #efb64d;
    border-radius: 12px;
}

.gap-highlight strong {
    color: #a65f00;
}

.gap-highlight button {
    padding: 7px 9px;
    color: #a65f00;
    background: #fff0c5;
    border: 0;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 900;
}

.gap-pupils-head {
    margin-bottom: 8px;
}

.gap-pupil-row {
    padding: 10px 0;
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 9px;
    align-items: center;
    border-top: 1px solid #edf1f5;
}

.gap-pupil-avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #2563eb;
    background: #eaf2ff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 900;
}

.gap-pupil-row > div {
    display: grid;
    gap: 2px;
}

.gap-pupil-row small,
.gap-pupil-row em {
    color: #94a3b8;
    font-size: 10px;
}

.gap-pupil-row em {
    color: #159a6b;
    font-style: normal;
    font-weight: 900;
}

.premium-value-box {
    margin-top: 24px;
    padding: 17px 18px;
    display: grid;
    gap: 4px;
    background: #ecfdf5;
    border: 1px solid #c7f0df;
    border-radius: 14px;
}

.premium-value-box strong {
    color: #087443;
}

.premium-value-box span {
    color: #4b6b5d;
    font-size: 13px;
}

.website-feature-row {
    background:
        radial-gradient(circle at 90% 10%, rgba(109,93,252,.08), transparent 24%),
        #fff;
}

.website-demo-shell {
    display: grid;
    grid-template-columns: 1fr .48fr;
    gap: 16px;
    align-items: center;
}

.website-demo-browser {
    overflow: hidden;
    border: 1px solid #dfe5ee;
    border-radius: 20px;
    box-shadow: 0 18px 46px rgba(20,34,61,.10);
}

.website-demo-bar {
    min-height: 40px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border-bottom: 1px solid #e5eaf1;
}

.browser-dots {
    display: flex;
    gap: 5px;
}

.browser-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d5dce7;
}

.website-demo-bar > span {
    color: #94a3b8;
    font-size: 10px;
}

.website-demo-body {
    min-height: 310px;
    padding: 22px;
    background: linear-gradient(180deg,#eef4ff 0 44%,#fff 44%);
}

.website-demo-copy {
    display: grid;
    gap: 4px;
}

.website-demo-copy strong {
    color: #162033;
}

.website-demo-copy span {
    color: #718096;
    font-size: 11px;
}

.website-chat-card {
    width: min(280px,92%);
    margin: 28px 0 0 auto;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    box-shadow: 0 12px 34px rgba(20,34,61,.12);
}

.website-chat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.website-chat-head span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #2563eb;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 900;
}

.website-chat-card p {
    margin: 7px 0;
    padding: 8px 9px;
    border-radius: 10px;
    font-size: 10px;
    line-height: 1.4;
}

.web-ai {
    margin-right: 24px !important;
    background: #f1f5f9;
}

.web-user {
    margin-left: 72px !important;
    color: #fff;
    background: #2563eb;
}

.web-success {
    color: #087443;
    background: #e8f8f1;
}

.website-to-diary {
    padding: 16px;
    display: grid;
    gap: 6px;
    color: #087443;
    background: #e8f8f1;
    border: 1px solid #b9ebcc;
    border-radius: 18px;
}

.website-to-diary span {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.website-to-diary small {
    color: #4f6f62;
    line-height: 1.4;
}

.platform-showcase-section {
    background: linear-gradient(180deg,#fff,#fbfcfe);
}

.platform-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
}

.platform-panel {
    min-height: 245px;
    padding: 25px;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(20,34,61,.05);
}

.platform-panel-large {
    grid-column: span 2;
    min-height: 320px;
    background:
        radial-gradient(circle at 88% 12%, rgba(37,99,235,.08), transparent 30%),
        #fff;
}

.platform-panel-accent {
    background:
        radial-gradient(circle at 88% 12%, rgba(109,93,252,.10), transparent 30%),
        #fff;
}

.platform-panel-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.platform-label {
    color: #2563eb;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.platform-panel h3 {
    margin: 8px 0 0;
    color: #162033;
    font-size: 22px;
}

.platform-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg,#eaf2ff,#f0edff);
    border-radius: 13px;
    font-size: 20px;
}

.platform-panel > p {
    margin: 15px 0 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.65;
}

.mini-calendar-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
}

.mini-calendar-grid div {
    padding: 10px;
    display: grid;
    gap: 3px;
    background: #f8fafc;
    border: 1px solid #edf1f5;
    border-radius: 11px;
}

.mini-calendar-grid span,
.mini-calendar-grid small {
    color: #94a3b8;
    font-size: 10px;
}

.mini-calendar-grid strong {
    color: #334155;
}

.mini-calendar-active {
    background: #eaf2ff !important;
    border-color: #bfd3ff !important;
}

.platform-progress {
    height: 8px;
    margin-top: 22px;
    overflow: hidden;
    background: #edf1f5;
    border-radius: 999px;
}

.platform-progress span {
    width: 72%;
    height: 100%;
    display: block;
    background: linear-gradient(90deg,#2563eb,#6d5dfc);
    border-radius: inherit;
}

.wallet-strip {
    margin-top: 22px;
    padding: 13px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 12px;
}

.wallet-strip span {
    color: #718096;
    font-size: 12px;
}

.booking-journey-section {
    background:
        radial-gradient(circle at 10% 18%, rgba(37,99,235,.16), transparent 24%),
        linear-gradient(135deg,#0b1120,#111827 55%,#172554);
}

.booking-journey-layout {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 70px;
}

.booking-journey-intro h2 {
    color: #fff;
}

.booking-journey-intro p {
    margin-left: 0;
    color: #cbd5e1;
}

.booking-journey-intro .button {
    margin-top: 24px;
}

.booking-journey-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

.booking-journey-list article {
    min-height: 185px;
    padding: 24px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
}

.booking-journey-list article > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #9eb8ff;
    background: rgba(37,99,235,.18);
    border: 1px solid rgba(158,184,255,.18);
    border-radius: 13px;
    font-size: 12px;
    font-weight: 900;
}

.booking-journey-list strong {
    color: #fff;
    font-size: 18px;
}

.booking-journey-list p {
    margin: 8px 0 0;
    color: #b8c5d9;
    font-size: 13px;
    line-height: 1.6;
}

.business-benefit-section {
    background: #fff;
}

.benefit-header {
    max-width: 820px;
    margin-bottom: 50px;
}

.benefit-header p {
    margin-left: 0;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
}

.benefit-grid article {
    min-height: 230px;
    padding: 26px;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 20px;
}

.benefit-grid article > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    background: #fff;
    border: 1px solid #e5eaf1;
    border-radius: 14px;
    font-size: 21px;
}

.benefit-grid strong {
    display: block;
    color: #162033;
    font-size: 18px;
}

.benefit-grid p {
    margin: 10px 0 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.65;
}

.faq-premium-section {
    background:
        radial-gradient(circle at 8% 10%, rgba(109,93,252,.07), transparent 22%),
        #fff;
}

.faq-premium-layout {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 70px;
}

.faq-premium-copy p {
    margin-left: 0;
}

.faq-premium-list {
    display: grid;
    gap: 12px;
}

.faq-premium-list details {
    padding: 0 22px;
    background: #f8fafc;
    border: 1px solid #e5eaf1;
    border-radius: 16px;
}

.faq-premium-list details[open] {
    background: #fff;
    border-color: #cfdaf0;
    box-shadow: 0 14px 36px rgba(20,34,61,.06);
}

.faq-premium-list summary {
    padding: 21px 42px 21px 0;
    position: relative;
    color: #162033;
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    font-weight: 800;
}

.faq-premium-list summary::-webkit-details-marker {
    display: none;
}

.faq-premium-list summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 16px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #2563eb;
    background: #eaf2ff;
    border-radius: 9px;
    font-size: 18px;
}

.faq-premium-list details[open] summary::after {
    content: "−";
}

.faq-premium-list p {
    margin: -2px 0 22px;
    padding-right: 35px;
    color: #718096;
    line-height: 1.7;
}

@media (max-width:1100px) {
    .mid-feature-row,
    .gap-feature-row {
        grid-template-columns: 1fr;
    }

    .gap-visual {
        min-height: 430px;
    }

    .platform-dashboard-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .booking-journey-layout,
    .faq-premium-layout {
        grid-template-columns: 1fr;
    }

    .benefit-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:800px) {
    .mid-showcase-section,
    .platform-showcase-section,
    .booking-journey-section,
    .business-benefit-section,
    .faq-premium-section {
        padding: 78px 0;
    }

    .mid-feature-row {
        padding: 26px;
        gap: 34px;
        border-radius: 22px;
    }

    .website-demo-shell,
    .platform-dashboard-grid,
    .booking-journey-list,
    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .platform-panel-large {
        grid-column: auto;
    }

    .gap-visual {
        min-height: auto;
        display: grid;
        gap: 14px;
    }

    .gap-calendar-card,
    .gap-pupils-card {
        position: relative;
        inset: auto;
        width: 100%;
    }
}

@media (max-width:560px) {
    .mid-heading h2,
    .booking-journey-intro h2,
    .benefit-header h2,
    .faq-premium-copy h2 {
        font-size: 34px;
    }

    .gap-calendar-slot {
        grid-template-columns: 48px 1fr;
    }

    .gap-highlight button {
        grid-column: 2;
        justify-self: start;
    }

    .mini-calendar-grid {
        grid-template-columns: repeat(2,1fr);
    }
}
