:root {
    --primary: #6d3cf0;
    --primary-dark: #5122c7;
    --primary-soft: #eee8ff;
    --ink: #201d2b;
    --muted: #6d687b;
    --line: #e9e6ef;
    --surface: #ffffff;
    --surface-alt: #f8f7fb;
    --green: #25b778;
    --green-soft: #e7f8ef;
    --orange: #ef8a4c;
    --orange-soft: #fff0e6;
    --shadow-sm: 0 10px 30px rgba(46, 35, 76, 0.08);
    --shadow-lg: 0 28px 70px rgba(48, 32, 92, 0.16);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --container: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(109, 60, 240, 0.3);
    outline-offset: 3px;
}

section[id] {
    scroll-margin-top: 76px;
}

svg {
    display: block;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    left: 0;
    border-bottom: 1px solid transparent;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
    border-color: rgba(233, 230, 239, 0.8);
    box-shadow: 0 8px 30px rgba(37, 29, 59, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.brand > span:last-child > span {
    color: var(--primary);
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(145deg, #8057f5, var(--primary-dark));
    box-shadow: 0 8px 20px rgba(109, 60, 240, 0.24);
}

.brand-mark svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: auto;
}

.primary-navigation > a,
.login-link {
    color: #514c5e;
    font-size: 14px;
    font-weight: 650;
    transition: color 160ms ease;
}

.primary-navigation > a:hover,
.login-link:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.logout-form {
    margin: 0;
}

.logout-button {
    padding: 0;
    color: var(--primary);
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.logout-button:hover {
    color: var(--primary-dark);
}

.flash-messages {
    position: fixed;
    z-index: 30;
    top: 92px;
    right: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.flash-message {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    width: min(100%, 390px);
    padding: 13px 15px;
    color: #28634c;
    border: 1px solid #bde5d2;
    border-radius: 13px;
    background: rgba(244, 255, 249, 0.97);
    box-shadow: var(--shadow-sm);
    pointer-events: auto;
}

.flash-message > span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--green);
    font-size: 12px;
    font-weight: 900;
}

.flash-message p {
    margin: 0;
    font-size: 12px;
    font-weight: 650;
}

.flash-message button {
    color: #6f8d80;
    border: 0;
    background: transparent;
    font-size: 19px;
    cursor: pointer;
}

.mobile-actions,
.menu-toggle {
    display: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 15px;
    font-weight: 750;
    line-height: 1;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button svg {
    width: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, #7645f4, #5c2bd9);
    box-shadow: 0 12px 24px rgba(109, 60, 240, 0.22);
}

.button-primary:hover {
    box-shadow: 0 16px 30px rgba(109, 60, 240, 0.3);
}

.button-small {
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
}

.button-large {
    min-height: 56px;
    padding: 0 26px;
}

.button-light {
    color: var(--primary-dark);
    background: #fff;
    box-shadow: 0 12px 28px rgba(32, 15, 75, 0.2);
}

.button-ghost {
    color: var(--primary);
    border-color: var(--line);
    background: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 156px 0 0;
    background: linear-gradient(180deg, #fcfbff 0%, #fff 68%);
}

.hero::before {
    position: absolute;
    top: 108px;
    right: -130px;
    width: 450px;
    height: 450px;
    border: 1px solid rgba(109, 60, 240, 0.09);
    border-radius: 50%;
    content: "";
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

.hero-glow-left {
    top: 140px;
    left: -250px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(227, 215, 255, 0.55), transparent 68%);
}

.hero-glow-right {
    top: 30px;
    right: -80px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(235, 226, 255, 0.68), transparent 66%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
    align-items: center;
    gap: 62px;
}

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow {
    padding: 8px 12px;
    border: 1px solid #e3dbfb;
    border-radius: 999px;
    background: rgba(248, 245, 255, 0.82);
    letter-spacing: 0.03em;
    text-transform: none;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(37, 183, 120, 0.12);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 650px;
    margin: 24px 0 24px;
    font-size: clamp(44px, 4.4vw, 60px);
    line-height: 1.06;
    letter-spacing: -3.2px;
}

h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 590px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-price-note {
    margin: 16px 0 0;
    color: #7a7485;
    font-size: 12px;
    line-height: 1.5;
}

.hero-price-note strong {
    color: #4b4555;
}

.hero-actions,
.cta-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #504a60;
    font-size: 14px;
    font-weight: 750;
}

.text-link span {
    color: var(--primary);
    font-size: 18px;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    margin: 25px 0 0;
    color: #706a7c;
    font-size: 12px;
    list-style: none;
}

.trust-list span {
    display: inline-grid;
    width: 18px;
    height: 18px;
    margin-right: 5px;
    place-items: center;
    color: var(--green);
    border-radius: 50%;
    background: var(--green-soft);
    font-weight: 900;
}

.hero-visual {
    position: relative;
    min-height: 570px;
    padding: 35px 0 60px 34px;
}

.dashboard-card {
    position: relative;
    width: min(100%, 555px);
    padding: 27px;
    border: 1px solid rgba(226, 220, 238, 0.9);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-lg);
    transform: rotate(1.2deg);
}

.dashboard-topbar,
.schedule-heading,
.whatsapp-header,
.calendar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-topbar > div {
    display: flex;
    flex-direction: column;
}

.dashboard-kicker {
    color: #8b849a;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-topbar strong {
    margin-top: 2px;
    font-size: 18px;
}

.avatar,
.client-avatar,
.chat-avatar {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    font-weight: 800;
}

.avatar {
    width: 38px;
    height: 38px;
    color: #fff;
    background: linear-gradient(145deg, #ca9cf4, #7e4fd4);
    font-size: 11px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 12px;
    margin: 22px 0 16px;
}

.stat-card {
    display: grid;
    padding: 17px 18px;
    border: 1px solid #ebe7f1;
    border-radius: 15px;
    background: #faf9fc;
}

.stat-card-primary {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #7042e8, #8b5df5);
}

.stat-card span,
.stat-card small {
    color: #837d90;
    font-size: 9px;
    font-weight: 650;
}

.stat-card-primary span,
.stat-card-primary small {
    color: rgba(255, 255, 255, 0.75);
}

.stat-card strong {
    margin: 2px 0;
    font-size: 24px;
    line-height: 1.1;
}

.schedule-card {
    padding: 17px 17px 5px;
    border: 1px solid #ebe7f1;
    border-radius: 16px;
}

.schedule-heading {
    padding-bottom: 12px;
    font-size: 11px;
}

.schedule-heading span {
    color: var(--primary);
    font-size: 9px;
    font-weight: 750;
}

.appointment {
    display: grid;
    grid-template-columns: 38px 3px 31px minmax(100px, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 63px;
    border-top: 1px solid #efedf3;
    color: #777181;
    font-size: 9px;
}

.appointment-active {
    margin-inline: -9px;
    padding-inline: 9px;
    border-top-color: transparent;
    border-radius: 10px;
    background: #f8f5ff;
}

.appointment-line {
    width: 3px;
    height: 32px;
    border-radius: 99px;
    background: #d6c5ff;
}

.client-avatar {
    width: 31px;
    height: 31px;
    color: #7445bf;
    font-size: 8px;
}

.client-avatar-peach { background: #ffe5d8; color: #a75935; }
.client-avatar-lilac { background: #eadfff; color: #7042b8; }
.client-avatar-mint { background: #dbf5e8; color: #318161; }

.appointment > span:nth-child(4) {
    display: flex;
    flex-direction: column;
}

.appointment strong {
    color: #3d3848;
    font-size: 10px;
}

.appointment small {
    color: #908a9a;
    font-size: 8px;
}

.appointment-status {
    padding: 4px 7px;
    color: #27825d;
    border-radius: 99px;
    background: #e4f7ee;
    font-size: 7px;
    font-weight: 750;
}

.appointment-status.pending {
    color: #9a6929;
    background: #fff3db;
}

.whatsapp-card {
    position: absolute;
    right: -6px;
    bottom: 30px;
    width: 315px;
    padding: 17px;
    border: 1px solid rgba(207, 233, 219, 0.9);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(39, 87, 64, 0.17);
    transform: rotate(-1.5deg);
}

.whatsapp-header {
    justify-content: flex-start;
    gap: 10px;
}

.whatsapp-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    border-radius: 10px;
    background: var(--green);
}

.whatsapp-icon svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.whatsapp-header > span:nth-child(2) {
    display: flex;
    flex-direction: column;
    font-size: 10px;
}

.whatsapp-header small {
    color: #908a9a;
}

.live-dot {
    width: 7px;
    height: 7px;
    margin-left: auto;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px var(--green-soft);
}

.whatsapp-card p {
    margin: 14px 0 0;
    color: #645e6e;
    font-size: 10px;
    line-height: 1.6;
}

.whatsapp-card p strong {
    color: #3e3947;
}

.decorative-dot {
    position: absolute;
    border-radius: 50%;
}

.decorative-dot-one {
    top: 20px;
    right: 12px;
    width: 18px;
    height: 18px;
    background: #f4b994;
    box-shadow: 0 0 0 10px rgba(244, 185, 148, 0.14);
}

.decorative-dot-two {
    bottom: 60px;
    left: 5px;
    width: 11px;
    height: 11px;
    background: #9f80f6;
    box-shadow: 0 0 0 8px rgba(159, 128, 246, 0.13);
}

.social-proof {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: center;
    gap: 30px;
    padding-top: 54px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line);
}

.social-proof p {
    margin: 0;
    color: #716b7b;
    font-size: 13px;
    font-weight: 700;
}

.business-types {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    color: #5e5869;
    font-size: 11px;
    font-weight: 750;
}

.business-types span {
    position: relative;
    padding-left: 16px;
}

.business-types span::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cbbbf4;
    content: "";
    transform: translateY(-50%);
}

.section {
    padding: 92px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 70px;
    margin-bottom: 48px;
}

.section-heading.centered {
    display: block;
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}

.section h2 {
    margin: 12px 0 16px;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -2.2px;
}

.section-heading p,
.section-intro,
.final-cta p {
    color: var(--muted);
}

.section-heading > p {
    max-width: 430px;
    margin-bottom: 8px;
}

.benefits {
    background: #fff;
}

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

.benefit-card,
.resource-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.benefit-card {
    padding: 30px;
}

.benefit-card:hover,
.resource-card:hover {
    border-color: #dcd3ef;
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.feature-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    place-items: center;
    border-radius: 14px;
}

.feature-icon svg {
    width: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-icon-purple { color: var(--primary); background: var(--primary-soft); }
.feature-icon-green { color: #249967; background: var(--green-soft); }
.feature-icon-orange { color: #d66e32; background: var(--orange-soft); }

.benefit-card h3,
.resource-card h3 {
    margin-bottom: 10px;
    font-size: 19px;
    letter-spacing: -0.5px;
}

.benefit-card p,
.resource-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.how-it-works {
    overflow: hidden;
    background: var(--surface-alt);
}

.split-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 110px;
}

.flow-preview {
    position: relative;
    min-height: 590px;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 30% 20%, #e5dbff, transparent 42%), linear-gradient(145deg, #f1edfb, #e5def5);
}

.phone-frame {
    position: absolute;
    top: 45px;
    right: 50%;
    width: 280px;
    height: 520px;
    overflow: hidden;
    border: 7px solid #292433;
    border-radius: 38px;
    background: #f2ede5;
    box-shadow: 0 30px 60px rgba(59, 42, 94, 0.24);
    transform: translateX(50%) rotate(-2deg);
}

.phone-speaker {
    position: absolute;
    z-index: 2;
    top: 9px;
    left: 50%;
    width: 68px;
    height: 18px;
    border-radius: 20px;
    background: #292433;
    transform: translateX(-50%);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 78px;
    padding: 24px 15px 9px;
    color: #fff;
    background: #156e58;
}

.chat-avatar {
    width: 34px;
    height: 34px;
    color: #6b3cc6;
    background: #efe5ff;
    font-size: 9px;
}

.chat-header > span:last-child {
    display: flex;
    flex-direction: column;
    font-size: 11px;
}

.chat-header small {
    color: rgba(255, 255, 255, 0.75);
    font-size: 8px;
}

.chat-header i {
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 3px;
    border-radius: 50%;
    background: #68d8a4;
}

.chat-area {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    height: calc(100% - 78px);
    padding: 18px 12px;
    background-color: #efeae2;
    background-image: radial-gradient(rgba(98, 84, 69, 0.07) 1px, transparent 1px);
    background-size: 13px 13px;
}

.chat-time {
    align-self: center;
    padding: 4px 8px;
    color: #827a73;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 7px;
    font-weight: 700;
}

.chat-bubble {
    max-width: 88%;
    padding: 10px 11px;
    margin-top: 13px;
    color: #403c3a;
    border-radius: 5px 12px 12px 12px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(67, 54, 42, 0.08);
    font-size: 9px;
}

.chat-bubble.compact {
    margin-top: 10px;
}

.chat-options {
    display: grid;
    gap: 5px;
    margin-top: 10px;
}

.chat-options span {
    padding: 6px 7px;
    color: #276d5b;
    border: 1px solid #d5ebe3;
    border-radius: 6px;
    background: #f4fbf8;
    font-weight: 700;
}

.user-message {
    align-self: flex-end;
    border-radius: 12px 5px 12px 12px;
    background: #d6f6c5;
}

.user-message small {
    display: block;
    color: #56917d;
    font-size: 7px;
    text-align: right;
}

.floating-badge {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    color: #625a6d;
    border: 1px solid rgba(222, 214, 237, 0.9);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    font-size: 10px;
}

.floating-badge b {
    color: var(--primary);
}

.floating-badge-top { top: 115px; right: 18px; }
.floating-badge-bottom { bottom: 87px; left: 18px; }
.floating-badge-bottom b { color: var(--green); }

.steps-content h2 {
    max-width: 620px;
}

.section-intro {
    max-width: 600px;
    margin-bottom: 34px;
}

.steps-list {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.steps-list li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 23px 0;
    border-bottom: 1px solid #e3dfeb;
}

.steps-list li:last-child {
    border-bottom: 0;
}

.step-number {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    color: var(--primary);
    border: 1px solid #dacdf9;
    border-radius: 13px;
    background: #f0eaff;
    font-size: 12px;
    font-weight: 850;
}

.steps-list h3 {
    margin: 0 0 5px;
    font-size: 17px;
}

.steps-list p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.resource-card {
    min-height: 230px;
    padding: 32px;
}

.resource-card-wide {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 30px;
    grid-column: 1 / -1;
    min-height: 330px;
    overflow: hidden;
    background: linear-gradient(135deg, #faf8ff, #fff);
}

.mini-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.resource-card-wide h3,
.resource-card-accent h3 {
    font-size: 28px;
    line-height: 1.2;
}

.mini-calendar {
    padding: 22px;
    border: 1px solid #e4deed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(57, 44, 89, 0.1);
    transform: rotate(1deg) translateY(20px);
}

.calendar-head {
    margin-bottom: 15px;
    font-size: 12px;
}

.calendar-head span {
    color: var(--primary);
}

.weekdays,
.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.weekdays {
    color: #a29daa;
    font-size: 8px;
}

.days {
    margin-top: 7px;
    color: #625d6b;
    font-size: 9px;
}

.days span {
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 7px;
}

.days .selected {
    color: #fff;
    background: var(--primary);
}

.calendar-event {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-top: 16px;
    border-radius: 10px;
    background: #f5f0ff;
}

.calendar-event i {
    width: 4px;
    height: 30px;
    border-radius: 4px;
    background: var(--primary);
}

.calendar-event span {
    display: flex;
    flex-direction: column;
    font-size: 9px;
}

.calendar-event small {
    color: #898291;
    font-size: 8px;
}

.resource-card-accent {
    color: #fff;
    background: linear-gradient(145deg, #6e3dde, #4e26b3);
}

.resource-card-accent .mini-label,
.resource-card-accent p {
    color: rgba(255, 255, 255, 0.73);
}

.availability-bars {
    display: grid;
    gap: 9px;
    margin-top: 25px;
}

.availability-bars span {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 8px;
}

.availability-bars i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 8px;
    font-style: normal;
}

.availability-bars b {
    position: relative;
    display: block;
    width: 100%;
    height: 5px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.15);
}

.availability-bars b::after {
    display: block;
    width: var(--size);
    height: 100%;
    border-radius: inherit;
    background: #cbb7ff;
    content: "";
}

.plans {
    padding-top: 40px;
}

.plan-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 80px;
    padding: 72px;
    overflow: hidden;
    color: #fff;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 85% 0%, rgba(176, 143, 255, 0.55), transparent 35%), linear-gradient(135deg, #3f1b93, #6d3ce3 65%, #7f54eb);
    box-shadow: 0 30px 70px rgba(74, 37, 155, 0.22);
}

.section-label.light,
.plan-copy p {
    color: rgba(255, 255, 255, 0.72);
}

.plan-copy h2 {
    max-width: 620px;
}

.plan-copy p {
    max-width: 560px;
    margin-bottom: 30px;
}

.plan-card {
    padding: 32px;
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 45px rgba(37, 15, 82, 0.2);
}

.plan-pill {
    display: inline-block;
    padding: 6px 10px;
    color: var(--primary);
    border-radius: 99px;
    background: var(--primary-soft);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.plan-card h3 {
    margin: 18px 0;
    font-size: 24px;
    line-height: 1.25;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 17px 0 1px;
}

.plan-price strong {
    color: #2c2637;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -2px;
}

.plan-price span {
    color: #777080;
    font-size: 13px;
    font-weight: 700;
}

.plan-card .plan-price-caption {
    padding: 0;
    margin: 0 0 22px;
    border: 0;
    color: #777080;
    font-size: 11px;
}

.plan-card ul {
    display: grid;
    gap: 13px;
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
}

.plan-card li {
    color: #5e5868;
    font-size: 13px;
}

.plan-card li span {
    display: inline-grid;
    width: 20px;
    height: 20px;
    margin-right: 7px;
    place-items: center;
    color: var(--green);
    border-radius: 50%;
    background: var(--green-soft);
    font-weight: 900;
}

.plan-card p {
    padding-top: 17px;
    margin: 0;
    color: #8b8495;
    border-top: 1px solid var(--line);
    font-size: 11px;
}

.plan-card p strong {
    color: #5d536d;
}

.final-cta {
    padding-bottom: 100px;
}

.centered {
    text-align: center;
}

.final-cta h2 {
    margin-inline: auto;
}

.final-cta p {
    margin-bottom: 28px;
}

.final-cta .cta-actions {
    justify-content: center;
}

.site-footer {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 30px;
}

.brand-footer {
    font-size: 16px;
}

.brand-footer .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

.brand-footer .brand-mark svg {
    width: 18px;
}

.site-footer p,
.site-footer small,
.site-footer nav {
    margin: 0;
    color: #8d8797;
    font-size: 11px;
}

.site-footer nav {
    display: flex;
    gap: 18px;
}

.site-footer nav a:hover {
    color: var(--primary);
}

@media (max-width: 1050px) {
    .primary-navigation {
        gap: 18px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
        gap: 25px;
    }

    .dashboard-card {
        padding: 22px;
    }

    .split-section {
        gap: 60px;
    }

    .plan-panel {
        gap: 45px;
        padding: 55px;
    }

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

    .site-footer small {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .header-inner {
        min-height: 68px;
    }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        position: relative;
        z-index: 3;
        display: grid;
        width: 42px;
        height: 42px;
        padding: 10px;
        place-content: center;
        gap: 4px;
        border: 1px solid var(--line);
        border-radius: 11px;
        background: #fff;
    }

    .menu-toggle span:not(.sr-only) {
        display: block;
        width: 19px;
        height: 2px;
        border-radius: 2px;
        background: var(--ink);
        transition: transform 160ms ease, opacity 160ms ease;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(4) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .primary-navigation {
        position: fixed;
        z-index: 2;
        top: 68px;
        right: 0;
        left: 0;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        padding: 0 16px;
        overflow: hidden;
        border-bottom: 1px solid transparent;
        background: rgba(255, 255, 255, 0.98);
        opacity: 0;
        visibility: hidden;
        transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease;
    }

    .primary-navigation.is-open {
        max-height: calc(100dvh - 68px);
        padding-block: 16px 24px;
        overflow-y: auto;
        border-color: var(--line);
        opacity: 1;
        visibility: visible;
    }

    .primary-navigation > a {
        padding: 13px 4px;
        border-bottom: 1px solid #f0edf4;
        font-size: 15px;
    }

    .mobile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 18px;
    }

    .mobile-actions .logout-form .button {
        width: 100%;
    }

    .flash-messages {
        top: 78px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-grid,
    .split-section,
    .plan-panel {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-copy {
        max-width: 680px;
    }

    h1 {
        font-size: clamp(43px, 9vw, 62px);
    }

    .hero-visual {
        width: min(100%, 620px);
        margin-inline: auto;
    }

    .social-proof {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .business-types {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .section {
        padding: 74px 0;
    }

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

    .benefit-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 20px;
    }

    .benefit-card .feature-icon {
        grid-row: 1 / 3;
    }

    .benefit-card h3 {
        align-self: end;
        margin: 0 0 5px;
    }

    .split-section {
        gap: 65px;
    }

    .flow-preview {
        width: min(100%, 560px);
        margin-inline: auto;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .plan-panel {
        padding: 50px;
    }

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

    .site-footer p {
        display: none;
    }

    .site-footer small {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand {
        font-size: 18px;
    }

    .brand-mark {
        width: 35px;
        height: 35px;
    }

    .hero {
        padding-top: 96px;
    }

    h1 {
        margin: 18px 0 17px;
        font-size: clamp(36px, 10.7vw, 43px);
        line-height: 1.08;
        letter-spacing: -2.2px;
    }

    .hero-description {
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-actions,
    .cta-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
    }

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

    .text-link,
    .cta-actions .login-link {
        justify-content: center;
    }

    .trust-list {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 18px;
    }

    .hero-visual {
        min-height: 445px;
        padding: 8px 0 42px;
    }

    .dashboard-card {
        padding: 16px;
        border-radius: 20px;
        transform: none;
    }

    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
    }

    .appointment {
        grid-template-columns: 34px 3px 28px 1fr;
    }

    .appointment-status {
        display: none;
    }

    .whatsapp-card {
        right: 4px;
        bottom: 0;
        width: min(88%, 315px);
    }

    .social-proof {
        gap: 12px;
        padding-top: 28px;
    }

    .business-types {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .section {
        padding: 62px 0;
    }

    .section h2 {
        font-size: 31px;
        line-height: 1.15;
        letter-spacing: -1.6px;
    }

    .section-heading,
    .section-heading.centered {
        margin-bottom: 32px;
    }

    .benefit-card {
        display: block;
        padding: 23px;
    }

    .benefit-card h3 {
        margin-bottom: 8px;
    }

    .flow-preview {
        min-height: 510px;
    }

    .phone-frame {
        top: 30px;
        width: 250px;
        height: 480px;
    }

    .floating-badge-top { top: 110px; right: 0; }
    .floating-badge-bottom { bottom: 65px; left: 0; }

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

    .resource-card-wide {
        grid-template-columns: 1fr;
        grid-column: auto;
    }

    .resource-card {
        min-height: 0;
        padding: 23px;
    }

    .mini-calendar {
        transform: none;
    }

    .plan-panel {
        width: auto;
        padding: 34px 20px;
        border-radius: 24px;
    }

    .plans .container {
        width: min(calc(100% - 20px), var(--container));
    }

    .plan-card {
        padding: 25px 21px;
    }

    .plan-price strong {
        font-size: 34px;
    }

    .site-footer {
        padding: 35px 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .site-footer nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-footer small {
        grid-column: auto;
    }
}

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

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

