:root {
    color-scheme: light;
    --marketing-bg: #fbfbfe;
    --marketing-bg-soft: #f4f3fa;
    --marketing-surface: #ffffff;
    --marketing-surface-glass: rgba(255, 255, 255, 0.78);
    --marketing-text: #171328;
    --marketing-muted: #696476;
    --marketing-subtle: #858092;
    --marketing-border: #e2dfeb;
    --marketing-border-strong: #d5d1e2;
    --marketing-violet: #7c3aed;
    --marketing-indigo: #4f46e5;
    --marketing-blue: #2563eb;
    --marketing-cyan: #0891b2;
    --marketing-success: #16a34a;
    --marketing-shadow: 0 30px 80px rgba(61, 43, 106, 0.15);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 9px;
    background: var(--marketing-text);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.marketing-body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 90% 4%, rgba(124, 58, 237, 0.14), transparent 30%),
        radial-gradient(circle at 4% 28%, rgba(14, 165, 233, 0.09), transparent 25%),
        var(--marketing-bg);
    color: var(--marketing-text);
}

.marketing-header {
    position: sticky;
    z-index: 30;
    top: 0;
    display: grid;
    grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
    align-items: center;
    gap: 24px;
    min-height: 78px;
    padding: 0 clamp(22px, 5vw, 72px);
    border-bottom: 1px solid rgba(226, 223, 235, 0.78);
    background: rgba(251, 251, 254, 0.78);
    backdrop-filter: blur(20px);
}

.marketing-brand,
.login-center-brand,
.marketing-footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    width: fit-content;
    text-decoration: none;
}

.marketing-brand-mark {
    display: grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--marketing-violet), var(--marketing-indigo) 55%, var(--marketing-cyan));
    box-shadow: 0 9px 24px rgba(79, 70, 229, 0.27);
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
}

.login-center-brand .marketing-brand-mark img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: contain;
}

.marketing-brand-copy strong,
.marketing-brand-copy small,
.login-center-brand strong,
.login-center-brand small,
.marketing-footer-brand strong,
.marketing-footer-brand small {
    display: block;
}

.marketing-brand-copy strong,
.login-center-brand strong,
.marketing-footer-brand strong {
    font-size: 14px;
    letter-spacing: -0.01em;
}

.marketing-brand-copy small,
.login-center-brand small,
.marketing-footer-brand small {
    margin-top: 2px;
    color: var(--marketing-subtle);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.marketing-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 3vw, 34px);
}

.marketing-nav a {
    color: var(--marketing-muted);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease;
}

.marketing-nav a:hover,
.marketing-nav a:focus-visible {
    color: var(--marketing-indigo);
}

.marketing-login-link {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-self: end;
    gap: 8px;
    padding: 0 17px;
    border: 1px solid var(--marketing-border-strong);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 22px rgba(38, 31, 66, 0.05);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.marketing-login-link:hover,
.marketing-login-link:focus-visible {
    border-color: #a78bfa;
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.12);
    transform: translateY(-1px);
}

.marketing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(440px, 0.97fr);
    align-items: center;
    gap: clamp(44px, 7vw, 104px);
    width: min(1480px, 100%);
    min-height: 640px;
    margin: 0 auto;
    padding: 80px clamp(24px, 6vw, 90px) 68px;
}

.marketing-hero-copy {
    position: relative;
    z-index: 2;
}

.marketing-eyebrow,
.marketing-section-kicker,
.login-center-eyebrow {
    color: #6d28d9;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.marketing-eyebrow,
.login-center-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid #ddd6fe;
    border-radius: 999px;
    background: rgba(245, 243, 255, 0.78);
}

.marketing-eyebrow span,
.login-center-eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.marketing-hero h1 {
    max-width: 720px;
    margin: 22px 0 0;
    font-size: clamp(44px, 5.4vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.marketing-hero h1 em {
    background: linear-gradient(105deg, var(--marketing-violet) 8%, var(--marketing-blue) 60%, var(--marketing-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-style: normal;
}

.marketing-hero-copy > p {
    max-width: 650px;
    margin: 25px 0 0;
    color: var(--marketing-muted);
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.68;
}

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

.marketing-primary-action,
.marketing-secondary-action {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.marketing-primary-action {
    border: 0;
    background: linear-gradient(135deg, var(--marketing-violet), var(--marketing-indigo) 55%, var(--marketing-blue));
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.25);
    color: #ffffff;
}

.marketing-secondary-action {
    border: 1px solid var(--marketing-border-strong);
    background: rgba(255, 255, 255, 0.7);
}

.marketing-primary-action:hover,
.marketing-primary-action:focus-visible,
.marketing-secondary-action:hover,
.marketing-secondary-action:focus-visible {
    transform: translateY(-2px);
}

.marketing-secondary-action:hover,
.marketing-secondary-action:focus-visible {
    border-color: #a78bfa;
    box-shadow: 0 12px 26px rgba(79, 70, 229, 0.09);
}

.marketing-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 31px 0 0;
    padding: 0;
    color: var(--marketing-subtle);
    font-size: 11px;
    font-weight: 700;
    list-style: none;
}

.marketing-trust-list li::before {
    content: "✓";
    margin-right: 6px;
    color: var(--marketing-success);
    font-weight: 900;
}

.product-preview {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(213, 209, 226, 0.9);
    border-radius: 24px;
    background: var(--marketing-surface-glass);
    box-shadow: var(--marketing-shadow);
    transform: perspective(1300px) rotateY(-3deg) rotateX(1deg);
}

.product-preview::before {
    position: absolute;
    z-index: -1;
    inset: -70px -50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15), transparent 67%);
    content: "";
    filter: blur(12px);
}

.product-preview-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 9px 10px 13px;
    color: var(--marketing-subtle);
    font-size: 9px;
}

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

.product-window-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d6d3e1;
}

.product-window-dots i:first-child { background: #fb7185; }
.product-window-dots i:nth-child(2) { background: #fbbf24; }
.product-window-dots i:last-child { background: #34d399; }

.product-live-state {
    justify-self: end;
}

.product-live-state i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 4px;
    border-radius: 50%;
    background: #22c55e;
}

.product-preview-shell {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 390px;
    overflow: hidden;
    border: 1px solid #eeecf3;
    border-radius: 16px;
    background: #f7f7fb;
}

.product-preview-sidebar {
    padding: 19px 11px;
    background: linear-gradient(165deg, #312e81, #5b21b6 55%, #0369a1);
}

.product-preview-sidebar strong {
    display: block;
    margin-bottom: 23px;
    color: #ffffff;
    font-size: 10px;
}

.product-preview-sidebar span {
    display: block;
    width: 100%;
    height: 7px;
    margin: 14px 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.25);
}

.product-preview-sidebar span:nth-of-type(2),
.product-preview-sidebar span:nth-of-type(5) {
    width: 66%;
}

.product-preview-sidebar span.active {
    background: rgba(255, 255, 255, 0.96);
}

.product-preview-content {
    min-width: 0;
    padding: 22px;
}

.product-preview-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.product-preview-heading strong,
.product-preview-heading small {
    display: block;
}

.product-preview-heading strong {
    font-size: 18px;
}

.product-preview-heading small {
    margin-top: 5px;
    color: var(--marketing-subtle);
    font-size: 9px;
}

.product-preview-avatar {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: linear-gradient(135deg, #c4b5fd, #7dd3fc);
}

.product-preview-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-top: 20px;
}

.product-preview-metrics > div,
.product-preview-chart,
.product-preview-alerts {
    border: 1px solid #e6e3ed;
    border-radius: 12px;
    background: #ffffff;
}

.product-preview-metrics > div {
    min-width: 0;
    padding: 12px;
}

.product-preview-metrics small,
.product-preview-metrics strong {
    display: block;
}

.product-preview-metrics small,
.product-preview-chart > small,
.product-preview-alerts > small {
    overflow: hidden;
    color: var(--marketing-subtle);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-preview-metrics strong {
    margin-top: 8px;
    font-size: 18px;
}

.product-preview-metrics i {
    display: block;
    width: 24px;
    height: 4px;
    margin-top: 8px;
    border-radius: 4px;
    background: var(--marketing-violet);
}

.product-preview-metrics > div:nth-child(2) i { background: #0ea5e9; }
.product-preview-metrics > div:nth-child(3) i { background: #22c55e; }

.product-preview-lower {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(118px, 0.7fr);
    gap: 10px;
    margin-top: 10px;
}

.product-preview-chart,
.product-preview-alerts {
    min-height: 164px;
    padding: 13px;
}

.product-preview-chart > div {
    display: flex;
    height: 112px;
    align-items: flex-end;
    gap: 7px;
    padding-top: 20px;
}

.product-preview-chart > div i {
    flex: 1;
    min-width: 5px;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(#8b5cf6, #4f46e5);
    opacity: 0.84;
}

.product-preview-chart > div i:nth-child(1) { height: 42%; }
.product-preview-chart > div i:nth-child(2) { height: 71%; }
.product-preview-chart > div i:nth-child(3) { height: 55%; }
.product-preview-chart > div i:nth-child(4) { height: 89%; }
.product-preview-chart > div i:nth-child(5) { height: 76%; }
.product-preview-chart > div i:nth-child(6) { height: 96%; }

.product-preview-alerts span {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    color: #6f6a7a;
    font-size: 8px;
}

.product-preview-alerts span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8b5cf6;
}

.product-preview-alerts span:nth-of-type(2) i { background: #0ea5e9; }
.product-preview-alerts span:nth-of-type(3) i { background: #22c55e; }

.product-preview-note {
    margin: 8px 4px 0;
    color: var(--marketing-subtle);
    font-size: 8px;
    text-align: right;
}

.technology-signature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 28px clamp(24px, 7vw, 110px);
    border-top: 1px solid var(--marketing-border);
    border-bottom: 1px solid var(--marketing-border);
    background: rgba(255, 255, 255, 0.54);
}

.technology-signature p {
    margin: 0;
    color: var(--marketing-muted);
    font-size: 13px;
}

.technology-signature p strong {
    color: var(--marketing-text);
}

.technology-signature > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 22px;
}

.technology-signature > div span {
    color: var(--marketing-subtle);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.technology-signature > div span::before {
    content: "◇";
    margin-right: 7px;
    color: var(--marketing-violet);
}

.marketing-section,
.marketing-panel-showcase,
.marketing-workflow-section,
.marketing-security,
.marketing-final-cta {
    width: min(1300px, calc(100% - 48px));
    margin-inline: auto;
}

.marketing-section {
    padding: 100px 0 72px;
}

.marketing-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.marketing-section-heading h2,
.marketing-workflow-panel h2,
.marketing-security h2,
.marketing-final-cta h2 {
    margin: 12px 0 0;
    font-size: clamp(31px, 4vw, 52px);
    line-height: 1.06;
    letter-spacing: -0.045em;
}

.marketing-section-heading h2 {
    max-width: 730px;
}

.marketing-section-heading > p {
    max-width: 460px;
    margin: 0;
    color: var(--marketing-muted);
    font-size: 14px;
    line-height: 1.7;
}

.marketing-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 36px;
}

.marketing-feature-grid article {
    min-height: 240px;
    padding: 27px;
    border: 1px solid var(--marketing-border);
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 17px 45px rgba(43, 35, 70, 0.05);
}

.marketing-feature-icon {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 13px;
    background: #eee9ff;
    color: #6d28d9;
    font-size: 18px;
    font-weight: 900;
}

.marketing-feature-grid h3 {
    margin: 24px 0 0;
    font-size: 19px;
    letter-spacing: -0.025em;
}

.marketing-feature-grid p {
    margin: 11px 0 0;
    color: var(--marketing-muted);
    font-size: 13px;
    line-height: 1.72;
}

.marketing-panel-showcase {
    padding: 72px 0 92px;
}

.marketing-panel-showcase-heading {
    max-width: 900px;
}

.marketing-panel-showcase-heading h2 {
    margin: 12px 0 0;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.marketing-panel-showcase-heading p {
    max-width: 720px;
    margin: 20px 0 0;
    color: var(--marketing-muted);
    font-size: 14px;
    line-height: 1.72;
}

.marketing-panel-modules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 36px;
}

.marketing-panel-module {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 122px;
    padding: 22px 24px;
    border: 1px solid var(--marketing-border);
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 38px rgba(43, 35, 70, 0.045);
}

.marketing-panel-module-primary {
    border-color: #c4b5fd;
    background: linear-gradient(135deg, #faf8ff, #f2f6ff);
}

.marketing-panel-module-number {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border-radius: 12px;
    background: #eee9ff;
    color: #6d28d9;
    font-size: 10px;
    font-weight: 900;
}

.marketing-panel-module strong {
    display: block;
    font-size: 15px;
    letter-spacing: -0.015em;
}

.marketing-panel-module p {
    margin: 7px 0 0;
    color: var(--marketing-muted);
    font-size: 11px;
    line-height: 1.55;
}

.marketing-panel-module > i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    background: var(--marketing-bg-soft);
    color: var(--marketing-violet);
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
}

.marketing-panel-showcase-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 18px;
    padding: 20px 24px;
    border: 1px solid var(--marketing-border);
    border-radius: 17px;
    background: rgba(246, 245, 251, 0.78);
}

.marketing-panel-showcase-footer p {
    margin: 0;
    color: var(--marketing-muted);
    font-size: 11px;
    line-height: 1.55;
}

.marketing-panel-showcase-footer p strong {
    color: var(--marketing-text);
}

.marketing-panel-showcase-footer a {
    flex: 0 0 auto;
    color: var(--marketing-indigo);
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
}

.marketing-workflow-section {
    display: grid;
    grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
    align-items: center;
    gap: clamp(48px, 8vw, 110px);
    padding: 80px 0 100px;
}

.marketing-workflow-panel > p {
    max-width: 600px;
    margin: 22px 0 0;
    color: var(--marketing-muted);
    font-size: 15px;
    line-height: 1.75;
}

.marketing-workflow-panel ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 20px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.marketing-workflow-panel li {
    position: relative;
    padding-left: 25px;
    color: #514c5f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.marketing-workflow-panel li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    border-radius: 50%;
    background: #ede9fe;
    color: #6d28d9;
    content: "✓";
    font-size: 9px;
    font-weight: 900;
}

.marketing-workflow-visual {
    position: relative;
    min-height: 480px;
    border: 1px solid var(--marketing-border);
    border-radius: 34px;
    background:
        radial-gradient(circle at center, rgba(124, 58, 237, 0.15), transparent 33%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(243, 241, 250, 0.9));
    box-shadow: var(--marketing-shadow);
}

.workflow-core,
.workflow-node {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 34px rgba(50, 38, 90, 0.14);
}

.workflow-core {
    top: 50%;
    left: 50%;
    width: 136px;
    height: 136px;
    border-radius: 34px;
    background: linear-gradient(145deg, #7c3aed, #4f46e5 58%, #2563eb);
    color: #ffffff;
    transform: translate(-50%, -50%) rotate(8deg);
}

.workflow-core strong,
.workflow-core small {
    position: absolute;
    transform: rotate(-8deg);
}

.workflow-core strong {
    top: 43px;
    font-size: 19px;
}

.workflow-core small {
    bottom: 43px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 9px;
}

.workflow-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(124, 58, 237, 0.22);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-one {
    width: 310px;
    height: 310px;
}

.orbit-two {
    width: 420px;
    height: 420px;
}

.workflow-node {
    min-width: 100px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 15px;
    color: #4e485c;
    font-size: 11px;
    font-weight: 800;
}

.workflow-node::before {
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    background: #8b5cf6;
    content: "";
}

.node-student { top: 62px; left: 57px; }
.node-teacher { top: 79px; right: 45px; }
.node-payment { right: 34px; bottom: 80px; }
.node-attendance { bottom: 59px; left: 48px; }
.node-teacher::before { background: #0ea5e9; }
.node-payment::before { background: #22c55e; }
.node-attendance::before { background: #f59e0b; }

.marketing-security {
    padding: 72px clamp(26px, 5vw, 72px);
    border: 1px solid #39305f;
    border-radius: 34px;
    background:
        radial-gradient(circle at 90% 10%, rgba(56, 189, 248, 0.14), transparent 28%),
        linear-gradient(145deg, #17132b, #241b49 58%, #102944);
    box-shadow: 0 32px 80px rgba(28, 22, 57, 0.24);
    color: #ffffff;
}

.marketing-security .marketing-section-kicker {
    color: #c4b5fd;
}

.marketing-security h2 {
    max-width: 850px;
}

.marketing-security-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 42px;
}

.marketing-security-grid article {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
}

.marketing-security-grid strong {
    font-size: 14px;
}

.marketing-security-grid p {
    margin: 9px 0 0;
    color: #b8b2cc;
    font-size: 12px;
    line-height: 1.65;
}

.marketing-final-cta {
    padding: 110px 0;
    text-align: center;
}

.marketing-final-cta h2 {
    max-width: 830px;
    margin-inline: auto;
}

.marketing-final-cta p {
    max-width: 600px;
    margin: 20px auto 0;
    color: var(--marketing-muted);
    font-size: 14px;
    line-height: 1.65;
}

.marketing-final-cta .marketing-primary-action {
    margin-top: 28px;
}

.marketing-footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    padding: 31px clamp(24px, 6vw, 90px);
    border-top: 1px solid var(--marketing-border);
    background: rgba(255, 255, 255, 0.65);
}

.marketing-footer-links,
.marketing-footer-meta {
    display: flex;
    align-items: center;
    gap: 18px;
}

.marketing-footer-links a,
.marketing-footer-meta {
    color: var(--marketing-subtle);
    font-size: 10px;
    font-weight: 700;
}

.marketing-footer-links a {
    text-decoration: none;
}

.marketing-footer-links a:hover,
.marketing-footer-links a:focus-visible {
    color: var(--marketing-indigo);
}

.marketing-footer-meta {
    justify-self: end;
}

.login-center-body {
    min-height: 100vh;
    background: #11101a;
    color: var(--marketing-text);
}

.login-center-layout {
    display: grid;
    grid-template-columns: minmax(390px, 0.86fr) minmax(560px, 1.14fr);
    min-height: 100vh;
}

.login-center-branding {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 48px clamp(34px, 5vw, 78px);
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.17), transparent 23%),
        radial-gradient(circle at 92% 86%, rgba(14, 165, 233, 0.25), transparent 30%),
        linear-gradient(155deg, #1e1b4b, #5b21b6 52%, #075985);
    color: #ffffff;
}

.login-center-branding::after {
    position: absolute;
    right: -120px;
    bottom: 90px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.035), 0 0 0 120px rgba(255, 255, 255, 0.025);
    content: "";
}

.login-center-brand {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.login-center-brand small {
    color: rgba(255, 255, 255, 0.65);
}

.login-center-message {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin-block: 80px;
}

.login-center-eyebrow {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #ddd6fe;
}

.login-center-message h1 {
    margin: 24px 0 0;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.login-center-message p {
    max-width: 520px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.72;
}

.login-center-assurance {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.login-center-assurance span::before {
    content: "✓";
    margin-right: 6px;
    color: #86efac;
}

.login-center-options {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 60px clamp(38px, 7vw, 110px);
    background:
        radial-gradient(circle at 100% 0, rgba(124, 58, 237, 0.11), transparent 32%),
        #fbfbfe;
}

.login-center-options-inner {
    width: min(100%, 680px);
}

.login-center-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 34px;
    color: var(--marketing-muted);
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
}

.login-center-back:hover,
.login-center-back:focus-visible {
    color: var(--marketing-indigo);
}

.login-center-options h2 {
    margin: 0;
    font-size: clamp(31px, 4vw, 45px);
    letter-spacing: -0.045em;
}

.login-center-options-inner > p {
    margin: 11px 0 27px;
    color: var(--marketing-muted);
    font-size: 13px;
    line-height: 1.6;
}

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

.login-role-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    min-height: 88px;
    padding: 16px;
    border: 1px solid var(--marketing-border);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(43, 35, 70, 0.04);
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.login-role-card:hover,
.login-role-card:focus-visible {
    border-color: #a78bfa;
    box-shadow: 0 16px 33px rgba(79, 70, 229, 0.12);
    transform: translateY(-2px);
}

.login-role-card-featured {
    border-color: #c4b5fd;
    background: linear-gradient(135deg, #faf8ff, #f4f7ff);
}

.login-role-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #eee9ff;
    color: #6d28d9;
    font-size: 13px;
    font-weight: 900;
}

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

.login-role-card strong {
    font-size: 13px;
}

.login-role-card small {
    margin-top: 5px;
    color: var(--marketing-subtle);
    font-size: 9px;
    line-height: 1.35;
}

.login-role-card > i {
    color: #8b5cf6;
    font-style: normal;
    font-weight: 900;
}

.login-role-card-platform {
    grid-column: 1 / -1;
}

.login-center-help {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 15px 17px;
    border: 1px solid #e4e1ec;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
}

.login-center-help > span {
    color: var(--marketing-violet);
    font-weight: 900;
}

.login-center-help p {
    margin: 0;
    color: var(--marketing-muted);
    font-size: 10px;
    line-height: 1.55;
}

.login-center-help strong {
    color: var(--marketing-text);
}

@media (max-width: 1080px) {
    .marketing-header {
        grid-template-columns: 1fr auto;
    }

    .marketing-nav {
        display: none;
    }

    .marketing-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .marketing-hero-copy {
        max-width: 820px;
    }

    .product-preview {
        width: min(100%, 760px);
        margin-inline: auto;
        transform: none;
    }

    .marketing-workflow-section {
        grid-template-columns: 1fr;
    }

    .marketing-workflow-visual {
        width: min(100%, 720px);
        margin-inline: auto;
    }

    .marketing-footer {
        grid-template-columns: 1fr auto;
    }

    .marketing-footer-links {
        display: none;
    }

    .login-center-layout {
        grid-template-columns: minmax(330px, 0.75fr) minmax(460px, 1.25fr);
    }
}

@media (max-width: 820px) {
    .marketing-section,
    .marketing-panel-showcase,
    .marketing-workflow-section,
    .marketing-security,
    .marketing-final-cta {
        width: min(100% - 36px, 680px);
    }

    .technology-signature,
    .marketing-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .technology-signature > div {
        justify-content: flex-start;
    }

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

    .marketing-panel-modules {
        grid-template-columns: 1fr;
    }

    .marketing-feature-grid article {
        min-height: auto;
    }

    .marketing-security {
        padding: 54px 26px;
    }

    .login-center-layout {
        grid-template-columns: 1fr;
    }

    .login-center-branding,
    .login-center-options {
        min-height: auto;
    }

    .login-center-branding {
        padding: 32px 24px 40px;
    }

    .login-center-message {
        margin-block: 70px;
    }

    .login-center-message h1 {
        font-size: clamp(45px, 11vw, 70px);
    }

    .login-center-options {
        padding: 48px 24px 60px;
    }
}

@media (max-width: 560px) {
    .marketing-header {
        min-height: 68px;
        gap: 12px;
        padding: 0 16px;
    }

    .marketing-brand-mark {
        width: 36px;
        height: 36px;
        border-radius: 11px;
    }

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

    .marketing-brand-copy small {
        display: none;
    }

    .marketing-login-link {
        min-height: 38px;
        padding: 0 12px;
        font-size: 10px;
    }

    .marketing-hero {
        gap: 42px;
        padding: 56px 18px 48px;
    }

    .marketing-hero h1 {
        font-size: clamp(42px, 13.5vw, 60px);
    }

    .marketing-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .marketing-primary-action,
    .marketing-secondary-action {
        width: 100%;
    }

    .marketing-trust-list {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .product-preview {
        padding: 8px;
        border-radius: 19px;
    }

    .product-preview-shell {
        grid-template-columns: 58px minmax(0, 1fr);
        min-height: 350px;
    }

    .product-preview-sidebar {
        padding-inline: 8px;
    }

    .product-preview-content {
        padding: 14px;
    }

    .product-preview-heading strong {
        font-size: 13px;
    }

    .product-preview-metrics {
        grid-template-columns: 1fr;
    }

    .product-preview-metrics > div {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 8px;
    }

    .product-preview-metrics strong {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        font-size: 13px;
    }

    .product-preview-metrics i {
        display: none;
    }

    .product-preview-lower {
        grid-template-columns: 1fr;
    }

    .product-preview-alerts {
        display: none;
    }

    .technology-signature {
        padding-inline: 20px;
    }

    .technology-signature > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .marketing-section {
        padding-top: 72px;
    }

    .marketing-panel-showcase {
        padding-block: 58px 70px;
    }

    .marketing-panel-module {
        grid-template-columns: auto minmax(0, 1fr);
        min-height: auto;
        padding: 18px;
    }

    .marketing-panel-module > i {
        display: none;
    }

    .marketing-panel-showcase-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .marketing-workflow-panel ul {
        grid-template-columns: 1fr;
    }

    .marketing-workflow-visual {
        min-height: 390px;
    }

    .orbit-one {
        width: 240px;
        height: 240px;
    }

    .orbit-two {
        width: 330px;
        height: 330px;
    }

    .workflow-core {
        width: 112px;
        height: 112px;
        border-radius: 28px;
    }

    .workflow-core strong { top: 35px; font-size: 16px; }
    .workflow-core small { bottom: 34px; }
    .workflow-node { min-width: 86px; min-height: 42px; font-size: 9px; }
    .node-student { top: 48px; left: 18px; }
    .node-teacher { top: 61px; right: 15px; }
    .node-payment { right: 14px; bottom: 61px; }
    .node-attendance { bottom: 48px; left: 14px; }

    .marketing-final-cta {
        padding-block: 80px;
    }

    .marketing-footer {
        grid-template-columns: 1fr;
        padding-inline: 20px;
    }

    .marketing-footer-meta {
        justify-self: start;
    }

    .login-role-grid {
        grid-template-columns: 1fr;
    }

    .login-role-card-platform {
        grid-column: auto;
    }

    .login-center-assurance {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
}

.marketing-pricing {
    padding-top: 100px;
}

.marketing-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 42px;
}

.marketing-pricing-grid article {
    position: relative;
    padding: 30px;
    border: 1px solid var(--marketing-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 45px rgba(48, 38, 81, 0.06);
}

.marketing-pricing-grid article.featured {
    border-color: #a78bfa;
    background: linear-gradient(165deg, #ffffff, #f5f3ff);
    box-shadow: 0 26px 64px rgba(91, 33, 182, 0.14);
    transform: translateY(-10px);
}

.pricing-popular {
    position: absolute;
    top: -13px;
    right: 22px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #5b21b6;
    color: #ffffff;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.marketing-pricing-grid article > span {
    color: #6d28d9;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.marketing-pricing-grid h3 {
    margin: 10px 0 0;
    font-size: 28px;
}

.marketing-pricing-grid p {
    min-height: 72px;
    margin: 14px 0 0;
    color: var(--marketing-muted);
    font-size: 13px;
    line-height: 1.7;
}

.marketing-pricing-grid ul {
    display: grid;
    gap: 11px;
    margin: 24px 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--marketing-border);
    color: var(--marketing-muted);
    font-size: 12px;
    list-style: none;
}

.marketing-pricing-grid li::before {
    margin-right: 8px;
    color: var(--marketing-success);
    content: "✓";
    font-weight: 900;
}

.marketing-pricing-grid article > a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    border: 1px solid var(--marketing-border-strong);
    border-radius: 12px;
    color: var(--marketing-indigo);
    font-size: 12px;
    font-weight: 850;
    text-decoration: none;
}

.marketing-pricing-grid .featured > a {
    border-color: transparent;
    background: #5b21b6;
    color: #ffffff;
}

.marketing-footer-meta a,
.marketing-footer-meta button {
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.lead-page-header {
    grid-template-columns: 1fr 1fr;
}

.lead-page-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(480px, 1.2fr);
    align-items: start;
    gap: clamp(40px, 8vw, 110px);
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 90px 0;
}

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

.lead-page-intro h1,
.legal-document h1 {
    margin: 17px 0 0;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.lead-page-intro > p {
    margin-top: 22px;
    color: var(--marketing-muted);
    line-height: 1.75;
}

.lead-page-intro ul {
    display: grid;
    gap: 12px;
    margin-top: 28px;
    padding: 0;
    color: var(--marketing-muted);
    font-size: 13px;
    list-style: none;
}

.lead-page-intro li::before {
    margin-right: 9px;
    color: var(--marketing-success);
    content: "✓";
    font-weight: 900;
}

.lead-form-card {
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid var(--marketing-border);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--marketing-shadow);
}

.lead-form-heading h2 { margin: 0; font-size: 25px; }
.lead-form-heading p { margin: 6px 0 0; color: var(--marketing-subtle); font-size: 11px; }

.lead-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 27px;
}

.lead-form label { display: grid; gap: 7px; }
.lead-form label > span { color: var(--marketing-muted); font-size: 11px; font-weight: 800; }
.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--marketing-border-strong);
    border-radius: 11px;
    outline: none;
    background: #ffffff;
    color: var(--marketing-text);
    font: inherit;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,.12); }
.lead-form-full { grid-column: 1 / -1; }
.lead-consent { grid-template-columns: auto 1fr !important; align-items: start; margin: 22px 0; }
.lead-consent input { width: 16px; margin-top: 2px; }
.lead-consent a { color: var(--marketing-indigo); }
.lead-honeypot { position: absolute; left: -10000px; }
.lead-errors { margin-top: 20px; padding: 14px; border: 1px solid #fecaca; border-radius: 11px; background: #fff1f2; color: #9f1239; font-size: 12px; }
.lead-errors ul { margin-bottom: 0; }
.lead-success { padding: 50px 12px; text-align: center; }
.lead-success::before { display: grid; width: 70px; height: 70px; margin: 0 auto 20px; place-items: center; border-radius: 50%; background: #dcfce7; color: #15803d; content: "✓"; font-size: 30px; font-weight: 900; }
.lead-success strong { font-size: 27px; }
.lead-success p { max-width: 450px; margin: 12px auto 22px; color: var(--marketing-muted); }
.lead-success a { color: var(--marketing-indigo); font-weight: 800; }

.legal-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 760px);
    justify-content: center;
    gap: 70px;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 80px 0 100px;
}
.legal-sidebar { position: sticky; top: 120px; height: fit-content; }
.legal-sidebar nav { display: grid; gap: 5px; margin-top: 18px; }
.legal-sidebar a { padding: 11px 13px; border-radius: 10px; color: var(--marketing-muted); font-size: 12px; font-weight: 750; text-decoration: none; }
.legal-sidebar a:hover { background: #ede9fe; color: #5b21b6; }
.legal-document { padding: clamp(24px, 5vw, 55px); border: 1px solid var(--marketing-border); border-radius: 24px; background: rgba(255,255,255,.88); box-shadow: 0 20px 55px rgba(45,35,78,.08); }
.legal-document h1 { font-size: clamp(36px, 5vw, 56px); }
.legal-document h2 { margin: 38px 0 10px; font-size: 20px; }
.legal-document p,
.legal-document li { color: var(--marketing-muted); font-size: 14px; line-height: 1.8; }
.legal-document a { color: var(--marketing-indigo); font-weight: 700; }
.legal-draft-note { margin: 0 0 32px !important; padding: 15px 16px; border: 1px solid #fde68a; border-radius: 12px; background: #fffbeb; color: #854d0e !important; font-size: 12px !important; }
.legal-updated { margin-top: 45px; padding-top: 20px; border-top: 1px solid var(--marketing-border); font-size: 11px !important; }
.legal-cookie-table { display: grid; gap: 10px; }
.legal-cookie-table > div { padding: 15px; border: 1px solid var(--marketing-border); border-radius: 12px; }
.legal-cookie-table strong,
.legal-cookie-table span,
.legal-cookie-table small { display: block; }
.legal-cookie-table span { margin-top: 5px; color: var(--marketing-muted); font-size: 13px; }
.legal-cookie-table small { margin-top: 5px; color: var(--marketing-subtle); }

.cookie-banner {
    position: fixed;
    z-index: 100;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    max-width: 1040px;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin: 0 auto;
    padding: 19px 21px;
    border: 1px solid #d8d3e5;
    border-radius: 17px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 25px 80px rgba(28,20,58,.22);
}
.cookie-banner[hidden], .cookie-modal[hidden] { display: none; }
.cookie-banner strong { font-size: 14px; }
.cookie-banner p { margin: 5px 0 0; color: var(--marketing-muted); font-size: 11px; line-height: 1.55; }
.cookie-banner a { color: var(--marketing-indigo); font-size: 10px; font-weight: 800; }
.cookie-banner-actions { display: flex; flex: 0 0 auto; gap: 7px; }
.cookie-banner-actions button,
.cookie-save { min-height: 39px; padding: 0 13px; border: 1px solid #cfc9dc; border-radius: 10px; background: #ffffff; color: var(--marketing-text); font-size: 10px; font-weight: 800; cursor: pointer; }
.cookie-banner-actions button:first-child,
.cookie-save { border-color: #5b21b6; background: #5b21b6; color: #ffffff; }
.cookie-modal { position: fixed; z-index: 110; inset: 0; display: grid; padding: 20px; place-items: center; background: rgba(23,19,40,.48); backdrop-filter: blur(4px); }
.cookie-modal-card { width: min(500px, 100%); padding: 25px; border-radius: 20px; background: #ffffff; box-shadow: 0 30px 100px rgba(15,10,35,.3); }
.cookie-modal-head { display: flex; justify-content: space-between; gap: 20px; }
.cookie-modal-head strong { font-size: 20px; }
.cookie-modal-head p { margin: 5px 0 0; color: var(--marketing-muted); font-size: 12px; }
.cookie-modal-head > button { border: 0; background: transparent; color: var(--marketing-subtle); font-size: 28px; cursor: pointer; }
.cookie-modal-card > label { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 14px; padding: 14px; border: 1px solid var(--marketing-border); border-radius: 12px; }
.cookie-modal-card label strong,
.cookie-modal-card label small { display: block; }
.cookie-modal-card label small { margin-top: 3px; color: var(--marketing-subtle); }
.cookie-save { width: 100%; margin-top: 18px; }

@media (max-width: 900px) {
    .marketing-pricing-grid { grid-template-columns: 1fr; }
    .marketing-pricing-grid article.featured { transform: none; }
    .lead-page-layout { grid-template-columns: 1fr; }
    .lead-page-intro { position: static; }
    .legal-layout { grid-template-columns: 1fr; gap: 26px; }
    .legal-sidebar { position: static; }
    .legal-sidebar nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    .lead-page-layout { width: min(100% - 28px, 1180px); padding: 55px 0; }
    .lead-form-grid { grid-template-columns: 1fr; }
    .lead-form-full { grid-column: auto; }
    .legal-layout { width: min(100% - 24px, 1120px); padding-top: 44px; }
    .legal-sidebar nav { grid-template-columns: 1fr; }
    .cookie-banner { align-items: stretch; flex-direction: column; }
    .cookie-banner-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .cookie-banner-actions button:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
