:root {
    --ee-primary: #7a6fbe;
    --ee-primary-dark: #5f55aa;
    --ee-accent: #f6b21a;
    --ee-info: #55b5cf;
    --ee-ink: #172033;
    --ee-muted: #667085;
    --ee-border: #e6e8f3;
    --ee-soft: #f7f8ff;
    --bs-border-radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    background:
        linear-gradient(180deg, rgba(248, 249, 255, 0.58), rgba(255, 255, 255, 0) 360px),
        #fff;
    color: var(--ee-ink);
    font-family: "Poppins", Arial, sans-serif;
}

a {
    text-decoration: none;
}

.site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(122, 111, 190, 0.12);
    backdrop-filter: blur(12px);
    left: 0;
    position: sticky;
    right: 0;
    top: 0;
    z-index: 50;
}

.navbar {
    padding: 14px 0;
}

.navbar-brand {
    align-items: center;
    color: var(--ee-ink);
    display: inline-flex;
    font-weight: 800;
    gap: 10px;
}

.navbar-brand img {
    height: 62px;
    width: 336px;
}

.navbar-nav .nav-link {
    color: #4b5565;
    font-weight: 700;
    padding-left: 14px;
    padding-right: 14px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--ee-primary);
}

.navbar-toggler {
    border: 1px solid var(--ee-border);
    color: var(--ee-primary);
    font-size: 26px;
    height: 42px;
    line-height: 1;
    width: 42px;
}

.btn-ee,
.btn-ee-light {
    align-items: center;
    border-radius: var(--bs-border-radius);
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 42px;
}

.btn-ee {
    background: linear-gradient(135deg, var(--ee-primary), var(--ee-primary-dark));
    border-color: var(--ee-primary);
    box-shadow: 0 12px 24px rgba(122, 111, 190, 0.22);
    color: #fff;
}

.btn-ee:hover,
.btn-ee:focus {
    background: linear-gradient(135deg, #6f62c2, #51469e);
    border-color: var(--ee-primary-dark);
    color: #fff;
}

.btn-ee-light {
    background: rgba(122, 111, 190, 0.1);
    border: 1px solid rgba(122, 111, 190, 0.22);
    color: var(--ee-primary-dark);
}

.btn-ee-light:hover,
.btn-ee-light:focus {
    background: rgba(122, 111, 190, 0.16);
    color: var(--ee-primary-dark);
}

.hero-section {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 45%, rgba(255, 255, 255, 0.66) 100%),
        radial-gradient(circle at 8% 18%, rgba(246, 178, 26, 0.24) 0 120px, transparent 122px),
        radial-gradient(circle at 90% 12%, rgba(85, 181, 207, 0.24) 0 140px, transparent 142px),
        url("../images/crmbg.jpg") center/cover no-repeat;
    overflow: hidden;
    padding: 82px 0 74px;
    position: relative;
}

.hero-section::before {
    background-image:
        radial-gradient(circle, rgba(122, 111, 190, 0.22) 0 1.4px, transparent 1.8px),
        linear-gradient(120deg, rgba(255,255,255,0.56), rgba(255,255,255,0));
    background-size: 34px 34px, cover;
    content: "";
    inset: 0;
    opacity: 0.55;
    pointer-events: none;
    position: absolute;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-title span {
    align-items: center;
    color: var(--ee-primary-dark);
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 7px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-copy h1 {
    color: var(--ee-ink);
    font-size: 52px;
    font-weight: 950;
    line-height: 1.05;
    margin-bottom: 18px;
    max-width: 720px;
}

.hero-lead {
    color: var(--ee-muted);
    font-size: 19px;
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 670px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-trust {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 640px;
}

.hero-trust div {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(122, 111, 190, 0.16);
    border-radius: var(--bs-border-radius);
    box-shadow: 0 12px 28px rgba(37, 43, 59, 0.06);
    padding: 18px;
}

.hero-trust strong,
.hero-trust span {
    display: block;
}

.hero-trust strong {
    color: var(--ee-primary-dark);
    font-size: 27px;
    line-height: 1;
    margin-bottom: 7px;
}

.hero-trust span {
    color: var(--ee-muted);
    font-size: 13px;
    font-weight: 700;
}

.demo-card {
    background:
        linear-gradient(180deg, rgba(122, 111, 190, 0.08), rgba(255, 255, 255, 0) 190px),
        rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(122, 111, 190, 0.16);
    border-radius: var(--bs-border-radius);
    box-shadow: 0 28px 72px rgba(37, 43, 59, 0.18);
    padding: 26px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.demo-card.demo-card-focus {
    box-shadow:
        0 28px 72px rgba(37, 43, 59, 0.18),
        0 0 0 4px rgba(246, 178, 26, 0.34);
}

#home,
#book-demo,
#modules,
#roles,
#workflow,
#pricing {
    scroll-margin-top: 92px;
}

.hero-demo-column {
    margin-left: auto;
    transform: translate(18px, -26px);
}

.visual-proof-section {
    background:
        radial-gradient(circle at 8% 10%, rgba(246, 178, 26, 0.13) 0 120px, transparent 122px),
        radial-gradient(circle at 92% 12%, rgba(85, 181, 207, 0.14) 0 150px, transparent 152px),
        linear-gradient(180deg, #fff 0%, #f8f9ff 100%);
    border-bottom: 1px solid rgba(122, 111, 190, 0.1);
    border-top: 1px solid rgba(122, 111, 190, 0.08);
    padding: 72px 0;
    position: relative;
    z-index: 2;
}

.visual-proof-title {
    margin-bottom: 30px;
}

.visual-proof-grid {
    display: grid;
    align-items: stretch;
    gap: 22px;
    grid-template-columns: 1.14fr 0.93fr 0.93fr;
}

.visual-proof-card {
    background: #fff;
    border: 1px solid rgba(122, 111, 190, 0.16);
    border-radius: var(--bs-border-radius);
    box-shadow: 0 18px 44px rgba(37, 43, 59, 0.09);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.visual-proof-card:hover {
    box-shadow: 0 24px 54px rgba(37, 43, 59, 0.13);
    transform: translateY(-4px);
}

.visual-proof-card img {
    background: #f8f9fc;
    border-bottom: 1px solid rgba(122, 111, 190, 0.12);
    display: block;
    height: 260px;
    object-fit: contain;
    object-position: top left;
    padding: 12px;
    width: 100%;
}

.visual-proof-card.wide img {
    height: 285px;
}

.visual-proof-card::after {
    display: none;
}

.visual-proof-card.accent::after {
    display: none;
}

.visual-proof-card div {
    background:
        linear-gradient(135deg, rgba(122, 111, 190, 0.05), rgba(255, 255, 255, 0) 62%),
        #fff;
    color: var(--ee-ink);
    flex: 1;
    padding: 22px 24px 24px;
}

.visual-proof-card span,
.visual-proof-card strong {
    display: block;
}

.visual-proof-card span {
    color: var(--ee-primary-dark);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.visual-proof-card strong {
    font-size: 23px;
    line-height: 1.25;
}

.demo-card-head {
    align-items: center;
    border-bottom: 1px solid rgba(122, 111, 190, 0.14);
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 18px;
}

.demo-card-head span,
.feature-card i,
.role-grid i {
    align-items: center;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.22) 0 18px, transparent 19px),
        linear-gradient(135deg, var(--ee-primary), var(--ee-primary-dark));
    border-radius: var(--bs-border-radius);
    color: #fff;
    display: inline-flex;
    justify-content: center;
}

.demo-card-head span {
    flex: 0 0 54px;
    font-size: 29px;
    height: 54px;
    width: 54px;
}

.demo-card h2 {
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 4px;
}

.demo-card p {
    color: var(--ee-muted);
    margin-bottom: 0;
}

.demo-form .form-label {
    color: var(--ee-ink);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 7px;
}

.demo-form .form-control,
.demo-form .form-select {
    border-color: var(--ee-border);
    border-radius: var(--bs-border-radius);
    min-height: 43px;
}

.demo-form .form-control:focus,
.demo-form .form-select:focus {
    border-color: var(--ee-primary);
    box-shadow: 0 0 0 0.16rem rgba(122, 111, 190, 0.16);
}

.sms-hidden-field {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    width: 0;
}

.demo-message {
    border-radius: var(--bs-border-radius);
    display: none;
    font-size: 13px;
    font-weight: 800;
    margin-top: 12px;
    padding: 11px 12px;
}

.demo-success {
    background: rgba(52, 195, 143, 0.12);
    border: 1px solid rgba(52, 195, 143, 0.22);
    color: #257d5e;
}

.demo-error {
    background: rgba(241, 85, 108, 0.12);
    border: 1px solid rgba(241, 85, 108, 0.24);
    color: #b33347;
}

.section-pad {
    padding: 78px 0;
}

.section-title {
    margin: 0 auto 38px;
    max-width: 760px;
    text-align: center;
}

.section-title h2,
.pricing-card h2 {
    color: var(--ee-ink);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.16;
    margin-bottom: 12px;
}

.section-title p,
.pricing-card p {
    color: var(--ee-muted);
    font-size: 16px;
    line-height: 1.7;
}

.feature-card,
.faq-card {
    background: #fff;
    border: 1px solid var(--ee-border);
    border-radius: var(--bs-border-radius);
    box-shadow: 0 14px 32px rgba(37, 43, 59, 0.07);
    height: 100%;
    padding: 24px;
    position: relative;
}

.feature-card {
    overflow: hidden;
    padding-top: 172px;
}

.feature-card::before {
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.22) 0 34px, transparent 35px),
        linear-gradient(135deg, rgba(122, 111, 190, 0.1), rgba(85, 181, 207, 0.08));
    content: "";
    height: 152px;
    inset: 0 0 auto;
    position: absolute;
}

.feature-card-purple { border-color: rgba(122, 111, 190, 0.24); }
.feature-card-cyan { border-color: rgba(85, 181, 207, 0.26); }
.feature-card-green { border-color: rgba(52, 195, 143, 0.26); }
.feature-card-amber { border-color: rgba(246, 178, 26, 0.32); }

.feature-card-purple::before { background: linear-gradient(135deg, rgba(122, 111, 190, 0.24), rgba(95, 85, 170, 0.08)); }
.feature-card-cyan::before { background: linear-gradient(135deg, rgba(85, 181, 207, 0.26), rgba(122, 111, 190, 0.08)); }
.feature-card-green::before { background: linear-gradient(135deg, rgba(52, 195, 143, 0.24), rgba(85, 181, 207, 0.08)); }
.feature-card-amber::before { background: linear-gradient(135deg, rgba(246, 178, 26, 0.3), rgba(122, 111, 190, 0.08)); }

.feature-image {
    background: #fff;
    border-radius: var(--bs-border-radius);
    box-shadow: 0 12px 28px rgba(37, 43, 59, 0.15);
    height: 134px;
    left: 18px;
    overflow: hidden;
    padding: 6px;
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 1;
}

.feature-image img {
    display: block;
    height: 100%;
    object-fit: contain;
    object-position: top left;
    width: 100%;
}

.feature-card i {
    font-size: 28px;
    height: 52px;
    margin-bottom: 18px;
    position: relative;
    width: 52px;
    z-index: 2;
}

.feature-card h3,
.faq-card h3,
.timeline-item h3 {
    color: var(--ee-ink);
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 10px;
}

.feature-card p,
.faq-card p,
.timeline-item p {
    color: var(--ee-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

.feature-card h3,
.feature-card p {
    position: relative;
    z-index: 2;
}

.soft-band {
    background:
        linear-gradient(135deg, rgba(248, 249, 255, 0.94), rgba(238, 249, 251, 0.9)),
        url("../images/directory-bg.jpg") center/cover no-repeat;
}

.role-image-card {
    background: #fff;
    border: 1px solid rgba(122, 111, 190, 0.16);
    border-radius: var(--bs-border-radius);
    box-shadow: 0 18px 42px rgba(37, 43, 59, 0.12);
    margin-top: 24px;
    overflow: hidden;
    position: relative;
}

.role-image-card img {
    display: block;
    background: #f8f9fc;
    height: auto;
    max-height: 260px;
    object-fit: contain;
    object-position: top left;
    padding: 8px;
    width: 100%;
}

.role-image-card div {
    align-items: center;
    background: linear-gradient(135deg, var(--ee-primary), var(--ee-primary-dark));
    color: #fff;
    display: flex;
    font-weight: 900;
    gap: 9px;
    padding: 14px 16px;
}

.role-image-card i {
    color: var(--ee-accent);
    font-size: 22px;
}

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

.role-grid div {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(122, 111, 190, 0.16);
    border-radius: var(--bs-border-radius);
    display: grid;
    gap: 2px 14px;
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 17px;
}

.role-grid i {
    font-size: 24px;
    grid-row: span 2;
    height: 48px;
    width: 48px;
}

.role-grid strong,
.role-grid span {
    display: block;
}

.role-grid strong {
    font-weight: 900;
}

.role-grid span {
    color: var(--ee-muted);
    font-size: 13px;
    line-height: 1.45;
}

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

.timeline-item {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)),
        url("../images/crmbg.jpg") center/cover no-repeat;
    border: 1px solid var(--ee-border);
    border-radius: var(--bs-border-radius);
    padding: 22px;
    position: relative;
}

.timeline-item b {
    align-items: center;
    background: rgba(122, 111, 190, 0.1);
    border-radius: var(--bs-border-radius);
    color: var(--ee-primary-dark);
    display: inline-flex;
    font-size: 15px;
    height: 38px;
    justify-content: center;
    margin-bottom: 18px;
    width: 48px;
}

.pricing-section {
    padding-top: 0;
}

.pricing-card {
    align-items: center;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.22) 0 80px, transparent 82px),
        linear-gradient(135deg, var(--ee-primary), var(--ee-info));
    border-radius: var(--bs-border-radius);
    box-shadow: 0 24px 60px rgba(37, 43, 59, 0.15);
    color: #fff;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    padding: 32px;
}

.pricing-card .eyebrow,
.pricing-card h2,
.pricing-card p {
    color: #fff;
}

.pricing-card p {
    margin-bottom: 0;
    max-width: 760px;
}

.pricing-card .btn-ee-light {
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 28px rgba(37, 43, 59, 0.16);
    color: var(--ee-primary-dark);
    flex: 0 0 auto;
    padding-left: 22px;
    padding-right: 22px;
}

.pricing-card .btn-ee-light:hover,
.pricing-card .btn-ee-light:focus {
    background: var(--ee-accent);
    border-color: var(--ee-accent);
    color: #fff;
}

.faq-section {
    background:
        radial-gradient(circle at 12% 18%, rgba(246, 178, 26, 0.18) 0 120px, transparent 122px),
        radial-gradient(circle at 88% 18%, rgba(85, 181, 207, 0.16) 0 140px, transparent 142px),
        #fbfcff;
}

.site-footer {
    background: #111827;
    color: #d6d9e4;
    padding: 24px 0;
}

.footer-inner {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.footer-inner div {
    align-items: center;
    display: inline-flex;
    gap: 10px;
}

.footer-inner img {
    height: 48px;
    width: 260px;
}

.footer-inner p {
    margin-bottom: 0;
}

.footer-inner a {
    color: #fff;
    font-weight: 800;
}

.thankyou-page {
    background:
        radial-gradient(circle at 12% 18%, rgba(122, 111, 190, 0.18), transparent 280px),
        radial-gradient(circle at 88% 20%, rgba(85, 181, 207, 0.22), transparent 300px),
        radial-gradient(circle at 70% 86%, rgba(246, 178, 26, 0.16), transparent 260px),
        linear-gradient(135deg, #f8f9ff 0%, #eef9fc 48%, #fff9ed 100%);
    min-height: 100vh;
}

.thankyou-shell {
    align-items: center;
    display: flex;
    min-height: 100vh;
    padding: 32px 16px;
}

.thankyou-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(122, 111, 190, 0.16);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(37, 43, 59, 0.14);
    margin: 0 auto;
    max-width: 720px;
    overflow: hidden;
    padding: 46px;
    position: relative;
    text-align: center;
}

.thankyou-card::before {
    background:
        radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.28) 0 56px, transparent 58px),
        linear-gradient(135deg, var(--ee-primary), var(--ee-cyan));
    content: "";
    height: 9px;
    inset: 0 0 auto;
    position: absolute;
}

.thankyou-brand {
    align-items: center;
    color: var(--ee-ink);
    display: inline-flex;
    font-size: 22px;
    font-weight: 950;
    gap: 12px;
    margin-bottom: 28px;
}

.thankyou-brand img {
    height: 70px;
    width: 380px;
}

.thankyou-icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(52, 195, 143, 0.16), rgba(85, 181, 207, 0.15));
    border: 1px solid rgba(52, 195, 143, 0.22);
    border-radius: 50%;
    color: var(--ee-green);
    display: inline-flex;
    font-size: 34px;
    height: 86px;
    justify-content: center;
    margin-bottom: 22px;
    width: 86px;
}

.thankyou-card h1 {
    color: var(--ee-ink);
    font-size: 42px;
    font-weight: 950;
    line-height: 1.12;
    margin: 14px 0;
}

.thankyou-card p {
    color: var(--ee-muted);
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto 28px;
    max-width: 560px;
}

.thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (max-width: 1199.98px) {
    .hero-copy h1 {
        font-size: 44px;
    }

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

    .visual-proof-grid {
        grid-template-columns: 1fr 1fr;
    }

    .visual-proof-card.wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        border-top: 1px solid var(--ee-border);
        margin-top: 12px;
        padding-top: 12px;
    }

    .hero-section {
        padding: 54px 0;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

    .hero-demo-column {
        transform: none;
    }

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

    .visual-proof-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 48px;
        width: 260px;
    }

    .hero-copy h1 {
        font-size: 32px;
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-actions .btn,
    .pricing-card .btn {
        width: 100%;
    }

    .demo-card,
    .pricing-card {
        padding: 20px;
    }

    .role-image-card img {
        height: auto;
        max-height: 220px;
    }

    .feature-card {
        padding-top: 244px;
    }

    .feature-image {
        aspect-ratio: 16 / 9;
        height: auto;
        left: 22px;
        padding: 0;
        right: 22px;
    }

    .feature-image img {
        object-fit: cover;
        object-position: top left;
    }

    .visual-proof-section {
        padding: 56px 0;
    }

    .visual-proof-section .container {
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .visual-proof-card img,
    .visual-proof-card.wide img {
        height: auto;
        padding: 0;
    }

    .visual-proof-card div {
        padding: 18px 18px 20px;
    }

    .section-pad {
        padding: 54px 0;
    }

    .section-title h2,
    .pricing-card h2 {
        font-size: 30px;
    }

    .thankyou-card {
        padding: 34px 22px;
    }

    .thankyou-card h1 {
        font-size: 32px;
    }

    .thankyou-brand img {
        height: 56px;
        width: 300px;
    }

    .thankyou-actions .btn {
        width: 100%;
    }

    .timeline-row {
        grid-template-columns: 1fr;
    }
}
