/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #fff 10%, #f5f9ff 100%);
}

.hero-layout {
    min-height: 590px;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    align-items: center;
    gap: 45px;
    padding-top: 55px;
    padding-bottom: 70px;
}

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

.eyebrow, .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    background: #edf5ff;
    border-radius: 30px;
    padding: 7px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .65px;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}

.hero h1 {
    margin-top: 23px;
    max-width: 560px;
    font-size: clamp(39px, 4.1vw, 55px);
    line-height: 1.12;
    letter-spacing: -2.3px;
    font-weight: 800;
}

.hero h1 span, .section-heading h2 span, .detail-content h2 span, .mini-feature-grid h2 span {
    display: block;
    color: var(--blue);
}

.hero-content > p {
    max-width: 520px;
    margin-top: 20px;
    color: var(--text);
    font-size: 14px;
    line-height: 1.9;
}

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

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
    color: #6c809b;
    font-size: 10px;
}

.hero-points span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-points i {
    display: grid;
    place-items: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #e5f5ee;
    color: #159567;
    font-size: 9px;
    font-style: normal;
}

/* Hero dashboard illustration */
.hero-visual {
    min-width: 0;
    position: relative;
    padding: 35px 0;
}

.visual-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-radius: 50%;
    background: #dcecff;
    filter: blur(65px);
}

.dashboard-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #dfe9f5;
    border-radius: 13px;
    background: white;
    box-shadow: 0 30px 80px #204e821c, 0 5px 20px #204e820b;
    transform: perspective(1200px) rotateY(-2deg);
}

.dash-topbar {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 53px;
    padding: 0 18px;
    border-bottom: 1px solid #edf1f7;
}

.dash-brand { color: var(--blue); font-weight: 800; font-size: 17px; }
.dash-brand span { color: #74aaff; }

.dash-search {
    flex: 1;
    max-width: 210px;
    margin-left: auto;
    padding: 7px 10px;
    border-radius: 5px;
    background: #f5f8fc;
    color: #9ba9bb;
    font-size: 9px;
}

.dash-avatar {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--blue);
    background: #e8f1ff;
    font-size: 9px;
    font-weight: 700;
}

.dash-body { display: grid; grid-template-columns: 130px minmax(0, 1fr); min-height: 350px; }

.dash-sidebar { padding: 18px 10px; background: #f9fbfe; border-right: 1px solid #edf1f7; }

.side-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 9px;
    margin-bottom: 4px;
    color: #7a8ba2;
    border-radius: 5px;
    font-size: 9px;
}

.side-link.selected { color: var(--blue); background: #eaf3ff; font-weight: 700; }

.dash-main { min-width: 0; padding: 20px 16px; background: #fff; }

.dash-welcome { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dash-welcome small { color: #94a3b7; font-size: 7px; letter-spacing: .5px; }
.dash-welcome h3 { margin-top: 3px; font-size: 13px; }

.dash-date { border: 1px solid #e3eaf3; padding: 5px 8px; border-radius: 5px; font-size: 8px; color: #637993; }

.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 17px; }

.metric { min-width: 0; padding: 12px 10px; border: 1px solid #e7edf5; border-radius: 7px; }
.metric span, .metric strong, .metric small { display: block; }
.metric span { color: #75869d; font-size: 8px; }
.metric strong { margin: 7px 0 3px; font-size: 22px; line-height: 1.2; }
.metric small { color: #9ba8b8; font-size: 7px; }
.metric .blue-text { color: var(--blue); }

.dash-panel { margin-top: 12px; padding: 13px; border: 1px solid #e7edf5; border-radius: 7px; }
.panel-title { display: flex; justify-content: space-between; font-size: 9px; }
.panel-title span { color: var(--blue); font-size: 8px; }

.activity-row { display: flex; align-items: center; gap: 9px; padding: 12px 0; border-bottom: 1px solid #f0f3f8; }
.activity-row:last-child { border-bottom: 0; padding-bottom: 0; }

.activity-icon { display: grid; place-items: center; flex-shrink: 0; width: 27px; height: 27px; border-radius: 6px; font-size: 11px; }
.blue-bg { background: #eaf3ff; color: #0866e8; }
.purple-bg { background: #f1ecff; color: #8063d7; }
.green-bg { background: #e6f8f0; color: #1b9b70; }

.activity-info { min-width: 0; flex: 1; }
.activity-info b, .activity-info small { display: block; }
.activity-info b { font-size: 8px; }
.activity-info small { margin-top: 2px; color: #8d9cb0; font-size: 7px; }

.status { padding: 4px 6px; border-radius: 4px; font-size: 7px; white-space: nowrap; }
.status-blue { background: #edf5ff; color: #0866e8; }
.status-orange { background: #fff5e8; color: #bd7a22; }
.status-green { background: #e9f8f0; color: #21865f; }

.floating-note {
    position: absolute;
    right: -15px;
    bottom: 7px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 17px;
    border: 1px solid #e4edf7;
    border-radius: 10px;
    background: white;
    box-shadow: 0 15px 35px #234d781c;
}

.floating-check { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; background: #e6f8ef; color: #139b66; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { font-size: 10px; }
.floating-note small { color: #8495ab; font-size: 8px; }

.hero-orb { position: absolute; pointer-events: none; border-radius: 50%; background: #e8f2ff; }
.orb-one { width: 270px; height: 270px; right: -130px; top: -140px; }
.orb-two { width: 120px; height: 120px; left: 44%; bottom: -90px; }

/* =========================================
   VALUE STRIP
========================================= */
.value-strip { padding: 0 0 75px; }
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px 28px;
    background: #fff;
}

.value-grid > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    padding: 5px 15px;
    border-right: 1px solid var(--border);
}

.value-grid > div:last-child { border: 0; }

.value-icon {
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    border-radius: 9px;
    background: #edf5ff;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.value-grid b, .value-grid small { display: block; }
.value-grid b { font-size: 12px; }
.value-grid small { margin-top: 3px; color: var(--muted); font-size: 10px; }

/* =========================================
   FEATURE GRID
========================================= */
.features-section { padding: 75px 0 90px; background: #f8fbff; }

.section-heading { max-width: 720px; margin: auto; text-align: center; }
.section-heading h2, .mini-feature-grid h2 { margin-top: 17px; font-size: clamp(29px, 3.5vw, 39px); line-height: 1.2; letter-spacing: -1.3px; }
.section-heading p { max-width: 610px; margin: 15px auto 0; color: var(--text); font-size: 13px; line-height: 1.85; }

.feature-controls { margin-top: 38px; }
.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    height: 46px;
    margin: 0 auto 19px;
    padding: 0 14px;
    border: 1px solid #dce7f4;
    border-radius: 7px;
    background: white;
    color: #8798ae;
}

.search-box span { font-size: 23px; }
.search-box input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--navy); background: transparent; font-size: 12px; }
.search-box:focus-within { border-color: #80b2f4; box-shadow: 0 0 0 3px #0866e811; }

.filter-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.filter-btn {
    padding: 9px 15px;
    border: 1px solid #dfe8f3;
    border-radius: 6px;
    background: white;
    color: #637994;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.filter-btn:hover, .filter-btn.active { border-color: var(--blue); color: var(--blue); background: #edf5ff; }

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

.feature-card {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 24px;
    border: 1px solid #e1eaf5;
    border-radius: 9px;
    background: white;
    transition: transform .22s, box-shadow .22s, border-color .22s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #c5dcf8;
    box-shadow: 0 18px 38px #214e7c0c;
}

.feature-card-top { display: flex; align-items: center; justify-content: space-between; }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; font-size: 21px; }

.icon-blue { background: #eaf3ff; color: #0866e8; }
.icon-purple { background: #f0edff; color: #765bd3; }
.icon-green { background: #e8f8f0; color: #16976a; }
.icon-orange { background: #fff3e6; color: #d88635; }

.feature-number { color: #bdcadd; font-size: 11px; font-weight: 700; }
.feature-card h3 { margin-top: 19px; font-size: 15px; letter-spacing: -.2px; }
.feature-card p { margin-top: 9px; color: #74869e; font-size: 11px; line-height: 1.85; }

.feature-card > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 19px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 700;
}

.feature-card > a span { transition: transform .2s; }
.feature-card > a:hover span { transform: translateX(4px); }
.feature-card[hidden] { display: none !important; }

.feature-count { margin-top: 23px; text-align: center; color: #8494a9; font-size: 10px; }
.empty-state { margin-top: 30px; padding: 50px 20px; text-align: center; border: 1px dashed #cbd9eb; border-radius: 10px; background: white; }
.empty-state > div { color: var(--blue); font-size: 35px; }
.empty-state h3 { margin-top: 10px; font-size: 18px; }
.empty-state p { margin: 8px 0 18px; color: var(--text); font-size: 12px; }

/* =========================================
   DETAIL SECTIONS
========================================= */
.detail-section { padding: 100px 0; }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; }
.detail-content h2 { margin-top: 19px; font-size: clamp(30px, 3.5vw, 39px); line-height: 1.2; letter-spacing: -1.2px; }
.detail-content > p { margin-top: 17px; color: var(--text); font-size: 13px; line-height: 1.9; }

.check-list { list-style: none; display: grid; gap: 13px; margin-top: 24px; }
.check-list li { display: flex; align-items: center; gap: 11px; color: #4e6481; font-size: 12px; }
.check-list li span { display: grid; place-items: center; width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; color: var(--blue); background: #eaf3ff; font-size: 10px; }

.text-link { display: inline-block; margin-top: 26px; color: var(--blue); font-size: 12px; font-weight: 700; }
.soft-section { background: #f7faff; }
.reverse-layout .detail-content { order: 1; }
.reverse-layout .detail-visual { order: 2; }

/* Illustrative compliance window */
.detail-visual {
    min-width: 0;
    padding: 28px;
    border: 1px solid #e3ecf7;
    border-radius: 14px;
    background: linear-gradient(145deg, #f1f7ff, #fbfdff);
}

.detail-window, .team-board {
    padding: 23px;
    border: 1px solid #e4ebf5;
    border-radius: 10px;
    background: white;
    box-shadow: 0 20px 45px #214d7b0d;
}

.detail-window-head, .board-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 700; }
.tiny-pill { padding: 5px 8px; border-radius: 5px; background: #eef5ff; color: var(--blue); font-size: 8px; }

.compliance-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 15px; }
.compliance-stat-row > div { padding: 15px; border: 1px solid #e8eef6; border-radius: 7px; }
.compliance-stat-row small, .compliance-stat-row b { display: block; }
.compliance-stat-row small { color: #7c8ca3; font-size: 9px; }
.compliance-stat-row b { margin-top: 6px; font-size: 24px; }

.schedule-row { display: flex; align-items: center; gap: 10px; padding: 15px 0; border-bottom: 1px solid #eef2f7; }
.schedule-row:last-of-type { border-bottom: 0; }
.schedule-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: #2479e9; }
.purple-dot { background: #896de0; }
.green-dot { background: #20a374; }

.schedule-row > div { flex: 1; }
.schedule-row b, .schedule-row small { display: block; }
.schedule-row b { font-size: 10px; }
.schedule-row small { margin-top: 3px; color: #8898ad; font-size: 9px; }
.schedule-row > span:last-child { color: #72839a; font-size: 9px; }

.mockup-disclaimer { margin-top: 13px; color: #a0adbe; font-size: 8px; text-align: right; }

/* Team board */
.board-head span { color: #7488a1; font-size: 9px; font-weight: 500; }
.board-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 23px; }
.board-column { min-width: 0; padding: 11px; border-radius: 7px; background: #f7f9fd; }
.column-label { display: flex; justify-content: space-between; color: #71839d; font-size: 8px; font-weight: 700; }
.column-label i { font-style: normal; color: var(--blue); }

.task-tile {
    position: relative;
    margin-top: 12px;
    padding: 13px 10px;
    border: 1px solid #e5ebf4;
    border-radius: 6px;
    background: white;
}

.task-tile > small, .task-tile > b, .task-tile > span { display: block; }
.task-tile > small { color: var(--blue); font-size: 7px; font-weight: 700; }
.task-tile > b { margin-top: 7px; font-size: 9px; }
.task-tile > span { margin-top: 5px; color: #8392a7; font-size: 8px; }

.task-owner { display: grid; place-items: center; width: 23px; height: 23px; margin-top: 12px; border-radius: 50%; background: #e5efff; color: var(--blue); font-size: 7px; font-weight: 700; }
.purple-owner { background: #eee8ff; color: #765bd3; }
.green-owner { background: #e4f7ed; color: #198b63; }

/* Automation flow */
.automation-panel {
    padding: 26px;
    border-radius: 10px;
    border: 1px solid #e2eaf5;
    background: white;
    box-shadow: 0 20px 45px #214d7b0b;
}

.automation-panel h3 { margin-top: 17px; margin-bottom: 22px; font-size: 17px; line-height: 1.4; }
.flow-step { display: flex; align-items: center; gap: 13px; padding: 14px; border: 1px solid #e4ebf5; border-radius: 8px; background: #fff; }
.flow-step > span { display: grid; place-items: center; width: 31px; height: 31px; flex-shrink: 0; border-radius: 8px; background: #eaf3ff; color: var(--blue); font-size: 11px; font-weight: 800; }
.flow-step b, .flow-step small { display: block; }
.flow-step b { font-size: 10px; }
.flow-step small { margin-top: 4px; color: #8594a9; font-size: 9px; }
.flow-connector { height: 17px; width: 1px; margin-left: 29px; background: #cbdcf1; }

/* =========================================
   DOCUMENTS / MINI FEATURE
========================================= */
.mini-feature-section { padding: 80px 0; background: #f6f9ff; }
.mini-feature-grid { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 80px; }
.mini-feature-grid h2 { max-width: 470px; }
.mini-feature-grid > div:first-child > p { max-width: 480px; margin-top: 15px; color: var(--text); font-size: 13px; line-height: 1.9; }

.mini-feature-list { padding: 12px 23px; border: 1px solid #e0e9f5; border-radius: 10px; background: white; }
.mini-feature-list > div { display: flex; gap: 13px; padding: 19px 0; border-bottom: 1px solid #edf1f7; }
.mini-feature-list > div:last-child { border: 0; }
.mini-icon { display: grid; place-items: center; width: 39px; height: 39px; flex-shrink: 0; border-radius: 9px; color: var(--blue); background: #edf5ff; }
.mini-feature-list b, .mini-feature-list small { display: block; }
.mini-feature-list b { font-size: 11px; }
.mini-feature-list small { margin-top: 4px; color: #8291a7; font-size: 10px; }

/* =========================================
   OTHER FEATURES GRID
========================================= */
.other-features { padding: 85px 0; }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; margin-top: 36px; }
.other-grid article { padding: 25px; border: 1px solid var(--border); border-radius: 9px; scroll-margin-top: 100px; }
.other-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 10px; background: #edf5ff; color: var(--blue); font-size: 20px; }
.other-grid h3 { margin-top: 16px; font-size: 14px; }
.other-grid p { margin-top: 8px; color: var(--text); font-size: 11px; line-height: 1.8; }

/* =========================================
   CTA SECTION
========================================= */
.cta-section { padding: 0 0 85px; }
.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 42px 48px;
    border-radius: 12px;
    color: white;
    background: linear-gradient(110deg, #0756c9, #0873ed);
}

.cta-kicker { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: #d3e6ff; }
.cta-box h2 { margin-top: 9px; font-size: clamp(23px, 3vw, 31px); line-height: 1.25; letter-spacing: -.7px; }
.cta-box p { max-width: 520px; margin-top: 10px; color: #e0edff; font-size: 11px; line-height: 1.8; }

.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; }
.cta-secondary { color: white; font-size: 10px; font-weight: 600; }

/* =========================================
   RESPONSIVE (FEATURES PAGE SPECIFICS)
========================================= */
@media (max-width: 1000px) {
    .hero-layout { gap: 25px; }
    .dash-body { grid-template-columns: 105px minmax(0, 1fr); }
    .side-link { padding-inline: 6px; }
    .floating-note { right: -5px; }
    .detail-layout { gap: 38px; }
    .detail-visual { padding: 18px; }
    .mini-feature-grid { gap: 40px; }
}

@media (max-width: 800px) {
    .hero-layout { grid-template-columns: 1fr; padding-top: 65px; }
    .hero-content { text-align: center; }
    .hero h1, .hero-content > p { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-points { justify-content: center; }
    .hero-visual { width: min(100%, 610px); margin: auto; }
    
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .detail-layout, .mini-feature-grid { grid-template-columns: 1fr; gap: 35px; }
    .reverse-layout .detail-content, .reverse-layout .detail-visual { order: initial; }
    .detail-content { max-width: 650px; }
    .other-grid { grid-template-columns: 1fr 1fr; }
    .cta-box { align-items: flex-start; }
}

@media (max-width: 560px) {
    .hero h1 { font-size: 38px; letter-spacing: -1.7px; }
    .hero-content > p { font-size: 12px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-points { gap: 9px 13px; font-size: 9px; }

    .dash-body { grid-template-columns: 76px minmax(0, 1fr); }
    .dash-sidebar { padding: 12px 5px; }
    .side-link { justify-content: center; font-size: 13px; }
    .side-link span { display: none; }
    .dash-main { padding: 13px 9px; }
    .dash-topbar { padding-inline: 10px; gap: 7px; }
    .dash-search { font-size: 7px; }
    .metric-grid { gap: 5px; }
    .metric { padding: 9px 6px; }
    .metric strong { font-size: 18px; }
    .floating-note { right: -3px; bottom: -13px; padding: 9px 11px; }

    .value-strip { padding-bottom: 55px; }
    .value-grid { grid-template-columns: 1fr; padding: 12px 18px; }
    .value-grid > div { justify-content: flex-start; padding: 13px 4px; border-right: 0; border-bottom: 1px solid var(--border); }
    .value-grid > div:last-child { border-bottom: 0; }

    .filter-buttons { justify-content: flex-start; }
    .features-grid, .other-grid { grid-template-columns: 1fr; }
    
    .detail-window, .team-board, .automation-panel { padding: 16px; }
    .board-columns { gap: 7px; }
    .cta-box { flex-direction: column; padding: 30px 23px; }
    .cta-actions { align-items: flex-start; }
}