:root {
    --white: #ffffff;
    --black: #121212;
    --text: #182230;
    --text-muted: #667085;
    --text-soft: rgba(255, 255, 255, 0.88);
    --line-dark: rgba(18, 18, 18, 0.08);
    --line-light: rgba(255, 255, 255, 0.55);
    --bg-light: #f6f7f9;
    --bg-soft: #f3f4f6;
    --overlay: rgba(18, 18, 18, 0.42);
    --shadow-soft: 0 14px 40px rgba(18, 18, 18, 0.08);
    --shadow-menu: 0 18px 40px rgba(18, 18, 18, 0.12);
    --accent: #3b76f6;
    --container: 1360px;
    --transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.drawer-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 300;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(18, 18, 18, 0.06);
    backdrop-filter: blur(12px);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-mark {
    width: 18px;
    height: 18px;
    border-left: 4px solid var(--black);
    border-top: 4px solid var(--black);
    transform: rotate(45deg) skew(-8deg, -8deg);
    display: inline-block;
    margin-top: 1px;
}

.brand-name {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--black);
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: 28px;
}

.nav-link,
.nav-link-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    background: transparent;
    border: 0;
    color: #1f2937;
    font-size: 0.96rem;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition);
}

.nav-link:hover,
.nav-link-button:hover {
    color: var(--black);
}

.nav-dropdown {
    position: relative;
}

.nav-caret {
    width: 8px;
    height: 8px;
    border-right: 2px solid #4b5563;
    border-bottom: 2px solid #4b5563;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform var(--transition);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 250px;
    padding: 8px;
    background: var(--white);
    border: 1px solid rgba(18, 18, 18, 0.06);
    border-radius: 14px;
    box-shadow: var(--shadow-menu);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.dropdown-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: #1f2937;
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.4;
    transition: background var(--transition), color var(--transition);
}

.dropdown-menu a:hover {
    background: #f4f6f8;
    color: var(--black);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    color: #1f2937;
    font-size: 0.94rem;
    font-weight: 600;
    border-radius: 10px;
    transition: background var(--transition), color var(--transition);
}

.login-btn:hover {
    background: #f3f4f6;
    color: var(--black);
}

.trial-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    background: var(--black);
    color: var(--white);
    font-size: 0.94rem;
    font-weight: 700;
    border-radius: 10px;
    transition: opacity var(--transition);
}

.trial-btn:hover {
    opacity: 0.9;
}

.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--black);
    border-radius: 999px;
}

.mobile-toggle span:nth-child(2) {
    width: 16px;
    margin-left: 4px;
}

.mobile-toggle span:nth-child(3) {
    width: 12px;
    margin-left: 8px;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 310;
    transition: opacity var(--transition), visibility var(--transition);
}

.mobile-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(380px, 100%);
    height: 100vh;
    background: var(--white);
    z-index: 320;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -24px 0 60px rgba(18, 18, 18, 0.16);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

.mobile-drawer-header {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid var(--line-dark);
}

.mobile-drawer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
}

.mobile-close {
    position: relative;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-close span {
    position: absolute;
    left: 10px;
    top: 19px;
    width: 20px;
    height: 2px;
    background: var(--black);
    border-radius: 999px;
}

.mobile-close span:first-child {
    transform: rotate(45deg);
}

.mobile-close span:last-child {
    transform: rotate(-45deg);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px 20px 24px;
    overflow-y: auto;
}

.mobile-nav-links {
    list-style: none;
}

.mobile-nav-links > li {
    border-bottom: 1px solid var(--line-dark);
}

.mobile-nav-links a,
.mobile-link-button {
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: 0;
    color: var(--black);
    font-size: 0.98rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.mobile-dropdown-menu {
    display: none;
    padding: 0 0 10px;
}

.mobile-dropdown.is-open .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown.is-open .nav-caret {
    transform: rotate(225deg);
    margin-top: 3px;
}

.mobile-dropdown-menu a {
    display: block;
    padding: 10px 0 10px 14px;
    border-left: 2px solid rgba(18, 18, 18, 0.08);
    color: #374151;
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.4;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.mobile-actions .login-btn,
.mobile-actions .trial-btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
}

.hero-section {
    position: relative;
    min-height: 680px;
    width: 100%;
    background-image: url('img/hero.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.46);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 160px 24px 92px;
    color: var(--white);
}

.hero-top h1 {
    max-width: 760px;
    font-size: clamp(3.2rem, 5.8vw, 5rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.045em;
}

.hero-divider {
    width: 100%;
    height: 2px;
    background: var(--line-light);
    margin: 34px 0;
}

.hero-bottom {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(300px, 460px);
    gap: 64px;
    align-items: start;
}

.hero-left p {
    max-width: 620px;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-soft);
    font-weight: 400;
    margin-bottom: 28px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    background: var(--white);
    color: var(--black);
    font-size: 0.96rem;
    font-weight: 700;
    border-radius: 12px;
    transition: opacity var(--transition);
}

.hero-btn:hover {
    opacity: 0.92;
}

.hero-list {
    list-style: none;
}

.hero-list li {
    position: relative;
    padding-left: 34px;
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--white);
    margin-bottom: 6px;
    font-weight: 500;
}

.hero-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--white);
    font-weight: 700;
}

.system-section {
    padding: 88px 0 84px;
    background: #f7f8fa;
}

.system-heading {
    max-width: 980px;
    margin: 0 auto 48px;
    text-align: center;
}

.system-heading h2 {
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: #1b2431;
}

.system-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px 28px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.system-tab {
    padding: 8px 0;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.system-tab:hover {
    color: #1f2937;
}

.system-tab.is-active {
    color: var(--accent);
    border-color: var(--accent);
}

.system-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.system-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #eef2f5;
}

.system-image img {
    width: 100%;
    height: auto;
    display: block;
}

.system-content h3 {
    font-size: 1.6rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #1b2431;
    margin-bottom: 20px;
}

.system-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6b7280;
    margin-bottom: 28px;
}

.system-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    background: transparent;
    border: 1.5px solid var(--accent);
    border-radius: 8px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.system-cta:hover {
    background: var(--accent);
    color: var(--white);
}

.content-section {
    padding: 78px 0;
    background: var(--white);
}

.content-section.light {
    background: var(--bg-light);
}

.content-block {
    max-width: 760px;
}

.content-block h2 {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1b2431;
}

.content-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

@media (min-width: 1025px) {
    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-dropdown:hover .nav-caret,
    .nav-dropdown:focus-within .nav-caret {
        transform: rotate(225deg);
        margin-top: 3px;
    }

    .mobile-overlay,
    .mobile-drawer {
        display: none;
    }
}

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

    .mobile-toggle {
        display: inline-flex;
    }

    .hero-inner {
        padding: 118px 24px 64px;
    }

    .hero-bottom {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .system-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        margin-bottom: 40px;
    }

    .system-tabs::-webkit-scrollbar {
        height: 4px;
    }

    .system-tabs::-webkit-scrollbar-thumb {
        background: rgba(18, 18, 18, 0.12);
        border-radius: 999px;
    }

    .system-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .system-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .system-content {
        max-width: 760px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        min-height: 74px;
    }

    .brand-name {
        font-size: 1.4rem;
    }

    .hero-section {
        min-height: 620px;
    }

    .hero-top h1 {
        font-size: 2.55rem;
    }

    .hero-divider {
        margin: 26px 0;
    }

    .hero-left p,
    .hero-list li {
        font-size: 0.98rem;
    }
    
    .system-section {
        padding: 68px 0 64px;
    }

    .system-heading h2 {
        font-size: 1.6rem;
    }

    .system-layout {
        gap: 32px;
    }

    .system-content h3 {
        font-size: 1.4rem;
    }

    .content-section {
        padding: 60px 0;
    }

    .content-block h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 520px) {
    .hero-inner {
        padding: 96px 16px 54px;
    }

    .hero-top h1 {
        font-size: 2rem;
    }

    .mobile-drawer {
        width: 100%;
    }

    .mobile-drawer-header,
    .mobile-nav {
        padding-left: 16px;
        padding-right: 16px;
    }
}


.stats-section {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    text-align: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #8b9eb0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@media (max-width: 768px) {
    .stats-section {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}


.section-shell {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.section-heading--left {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(59, 118, 246, 0.08);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.section-heading h2,
.records-content h2,
.cta-copy h2 {
    font-size: 2.35rem;
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 700;
    color: #101828;
}

.section-heading p,
.records-content p,
.cta-copy p {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.soft-card,
.soft-panel {
    background: var(--white);
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.06);
}

.pain-section,
.benefits-section,
.faq-section {
    padding: 88px 0;
}

.records-section,
.comparison-section,
.cta-section {
    padding: 88px 0;
    background: #f8fafc;
}

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

.pain-card,
.benefit-card {
    padding: 28px;
}

.card-index {
    display: inline-flex;
    margin-bottom: 18px;
    color: #98a2b3;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.pain-card h3,
.benefit-card h3,
.comparison-top h3 {
    font-size: 1.12rem;
    line-height: 1.3;
    color: #101828;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.pain-card p,
.benefit-card p,
.comparison-row span,
.record-card p,
.record-point span,
.record-meta span,
.records-search-label {
    color: #667085;
    font-size: 0.95rem;
    line-height: 1.7;
}

.records-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 44px;
    align-items: center;
}

.records-list {
    display: grid;
    gap: 16px;
    margin-top: 32px;
}

.record-point {
    padding: 18px 20px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.record-point strong,
.record-card-top strong,
.record-meta strong,
.records-search-box,
.comparison-label {
    color: #101828;
}

.record-point strong {
    display: block;
    margin-bottom: 6px;
    font-size: 0.98rem;
}

.records-panel {
    padding: 24px;
}

.records-search {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.records-search-box {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(16, 24, 40, 0.08);
    font-size: 0.95rem;
    font-weight: 500;
}

.records-stack {
    display: grid;
    gap: 14px;
}

.record-card {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: var(--white);
}

.record-card.is-active {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border-color: rgba(59, 118, 246, 0.22);
}

.record-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.record-card-top strong,
.record-meta strong {
    font-size: 0.96rem;
}

.record-card-top span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(59, 118, 246, 0.08);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
}

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

.record-meta {
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(16, 24, 40, 0.08);
}

.record-meta span {
    display: block;
    margin-bottom: 6px;
    font-size: 0.84rem;
}

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

.comparison-column {
    padding: 28px;
    border-radius: 24px;
    background: var(--white);
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.06);
}

.comparison-column--accent {
    border-color: rgba(59, 118, 246, 0.18);
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.comparison-top {
    margin-bottom: 18px;
}

.comparison-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #98a2b3;
    text-transform: uppercase;
}

.comparison-column--accent .comparison-label {
    color: var(--accent);
}

.comparison-row {
    padding: 18px 0;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
}

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

.faq-item {
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 20px;
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(16, 24, 40, 0.04);
}

.faq-question {
    width: 100%;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 24px;
    border: 0;
    background: transparent;
    color: #101828;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #344054;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-icon::after {
    transform: rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
    opacity: 0;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
    overflow: hidden;
    padding: 0 24px;
    color: #667085;
    line-height: 1.8;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
    padding-bottom: 24px;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 38px;
    border-radius: 28px;
    background: #101828;
    color: var(--white);
    box-shadow: 0 26px 60px rgba(16, 24, 40, 0.14);
}

.cta-copy {
    max-width: 760px;
}

.cta-copy .section-kicker {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
}

.cta-copy h2,
.cta-copy p {
    color: var(--white);
}

.cta-copy p {
    color: rgba(255, 255, 255, 0.76);
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

.nav-link:focus-visible,
.nav-link-button:focus-visible,
.login-btn:focus-visible,
.trial-btn:focus-visible,
.mobile-toggle:focus-visible,
.mobile-close:focus-visible,
.mobile-link-button:focus-visible,
.system-tab:focus-visible,
.system-cta:focus-visible,
.hero-btn:focus-visible,
.faq-question:focus-visible {
    outline: 2px solid rgba(59, 118, 246, 0.5);
    outline-offset: 3px;
}

@media (max-width: 1024px) {
    .pain-grid,
    .benefits-grid,
    .comparison-board,
    .records-layout {
        grid-template-columns: 1fr;
    }

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

    .section-heading h2,
    .records-content h2,
    .cta-copy h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .pain-section,
    .records-section,
    .benefits-section,
    .comparison-section,
    .faq-section,
    .cta-section {
        padding: 68px 0;
    }

    .pain-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-heading h2,
    .records-content h2,
    .cta-copy h2 {
        font-size: 1.7rem;
    }

    .pain-card,
    .benefit-card,
    .comparison-column,
    .records-panel,
    .cta-box {
        padding: 24px;
    }

    .faq-question {
        min-height: 70px;
        padding: 0 18px;
    }

    .faq-answer p {
        padding-left: 18px;
        padding-right: 18px;
    }

    .faq-item.is-open .faq-answer p {
        padding-bottom: 20px;
    }
}

@media (max-width: 520px) {
    .record-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .record-meta-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-actions .trial-btn,
    .cta-actions .login-btn {
        width: 100%;
        justify-content: center;
    }
}


/* Modernized content sections */
.section-heading--compact {
    max-width: 760px;
}

.pain-grid--modern,
.benefits-grid--modern {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
}

.pain-row,
.benefit-line,
.record-line {
    position: relative;
}

.pain-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0 18px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.pain-number {
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 2px;
    color: #98a2b3;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.pain-copy h3,
.record-line h3,
.benefit-copy h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    color: #101828;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.pain-copy p,
.record-line p,
.benefit-copy p {
    margin: 0;
    color: #667085;
    font-size: 0.96rem;
    line-height: 1.75;
}

.records-layout--visual {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 56px;
    align-items: center;
}

.records-list--modern {
    display: grid;
    gap: 0;
    margin-top: 36px;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
}

.record-line {
    padding: 22px 0;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.records-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.records-frame {
    width: 100%;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.08);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.records-frame-top {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 56px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    background: rgba(255, 255, 255, 0.76);
}

.records-frame-top span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(16, 24, 40, 0.18);
}

.records-placeholder {
    position: relative;
    min-height: 420px;
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 247, 250, 0.92) 100%),
        repeating-linear-gradient(
            90deg,
            rgba(59, 118, 246, 0.05) 0,
            rgba(59, 118, 246, 0.05) 1px,
            transparent 1px,
            transparent 72px
        ),
        repeating-linear-gradient(
            180deg,
            rgba(16, 24, 40, 0.04) 0,
            rgba(16, 24, 40, 0.04) 1px,
            transparent 1px,
            transparent 72px
        );
}

.records-placeholder::before {
    content: "";
    position: absolute;
    inset: 28px;
    border-radius: 22px;
    border: 1px dashed rgba(16, 24, 40, 0.14);
}

.records-placeholder-inner {
    position: absolute;
    inset: 50%;
    width: min(320px, calc(100% - 56px));
    transform: translate(-50%, -50%);
    display: grid;
    gap: 8px;
    text-align: center;
    padding: 28px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.07);
}

.records-placeholder-inner strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: #101828;
}

.records-placeholder-inner span,
.records-placeholder-inner small {
    color: #667085;
    font-size: 0.95rem;
    line-height: 1.7;
}

.benefits-grid--modern {
    column-gap: 36px;
}

.benefit-line {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 0 18px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.benefit-mark {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-top: 8px;
    background: linear-gradient(180deg, rgba(59, 118, 246, 1) 0%, rgba(59, 118, 246, 0.32) 100%);
    box-shadow: 0 0 0 6px rgba(59, 118, 246, 0.08);
}

.faq-list {
    gap: 0;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
}

.faq-item {
    border: 0;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.faq-question {
    min-height: 82px;
    padding: 0 4px;
}

.faq-icon {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-right: 1.5px solid #344054;
    border-bottom: 1.5px solid #344054;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
    display: none;
}

.faq-item.is-open .faq-icon {
    transform: rotate(-135deg);
}

.faq-answer p {
    padding: 0 44px 0 4px;
}

.faq-item.is-open .faq-answer p {
    padding-bottom: 24px;
}

@media (max-width: 1024px) {
    .pain-grid--modern,
    .benefits-grid--modern,
    .records-layout--visual {
        grid-template-columns: 1fr;
    }

    .records-layout--visual {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .pain-grid--modern,
    .benefits-grid--modern {
        gap: 0;
    }

    .pain-row {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 0 14px;
        padding: 22px 0;
    }

    .benefit-line {
        grid-template-columns: 14px minmax(0, 1fr);
        gap: 0 14px;
        padding: 22px 0;
    }

    .records-placeholder {
        min-height: 320px;
        padding: 18px;
    }

    .records-placeholder::before {
        inset: 18px;
        border-radius: 18px;
    }

    .records-placeholder-inner {
        width: calc(100% - 36px);
        padding: 22px 18px;
    }

    .faq-question {
        min-height: 72px;
    }

    .faq-answer p {
        padding-right: 12px;
    }
}


/* Refined SaaS-style homepage sections */
.value-strip-section {
    padding: 32px 0 84px;
    background: var(--white);
}

.value-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 28px 0 0;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
}

.value-strip-item {
    display: grid;
    gap: 10px;
    padding-right: 18px;
}

.value-strip-item strong {
    font-size: 0.98rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #101828;
}

.value-strip-item span {
    font-size: 0.94rem;
    line-height: 1.75;
    color: #667085;
}

.editorial-section,
.product-showcase,
.comparison-layout-clean,
.faq-layout-clean {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

.editorial-section--balanced {
    grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
}

.editorial-aside h2,
.product-showcase-copy h2,
.comparison-copy-clean h2,
.faq-copy-clean h2,
.cta-inline-clean h2 {
    font-size: 2.35rem;
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: #101828;
}

.editorial-aside p,
.product-showcase-copy p,
.comparison-copy-clean p,
.faq-copy-clean p,
.cta-inline-clean p {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.82;
    color: #667085;
}

.editorial-list,
.benefits-list-clean,
.showcase-list,
.comparison-table-clean,
.faq-list {
    border-top: 1px solid rgba(16, 24, 40, 0.08);
}

.editorial-row,
.benefit-row-clean,
.showcase-row,
.comparison-table-row {
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.editorial-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
}

.editorial-index {
    color: #98a2b3;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding-top: 4px;
}

.editorial-copy h3,
.benefit-row-clean h3 {
    font-size: 1.08rem;
    line-height: 1.34;
    letter-spacing: -0.02em;
    color: #101828;
    margin-bottom: 8px;
}

.editorial-copy p,
.benefit-row-clean p,
.showcase-row span,
.comparison-table-cell {
    font-size: 0.96rem;
    line-height: 1.76;
    color: #667085;
}

.product-showcase {
    align-items: center;
}

.showcase-list {
    margin-top: 34px;
}

.showcase-row {
    display: grid;
    gap: 8px;
    padding: 22px 0;
}

.showcase-row strong {
    font-size: 1rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #101828;
}

.product-showcase-media {
    min-width: 0;
}

.screen-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 28px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 26px 60px rgba(16, 24, 40, 0.08);
    overflow: hidden;
}

.screen-placeholder::before {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 20px;
    border: 1px dashed rgba(16, 24, 40, 0.14);
}

.screen-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 24, 40, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 24, 40, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.08));
}

.screen-placeholder-note {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: grid;
    gap: 8px;
    width: min(360px, calc(100% - 56px));
    text-align: center;
    padding: 26px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.06);
}

.screen-placeholder-note strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: #101828;
}

.screen-placeholder-note span,
.screen-placeholder-note small {
    font-size: 0.94rem;
    line-height: 1.7;
    color: #667085;
}

.benefits-list-clean {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
}

.benefit-row-clean {
    padding: 22px 0;
}

.comparison-table-clean {
    display: grid;
}

.comparison-table-head,
.comparison-table-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.comparison-table-head {
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.comparison-table-cell {
    padding: 22px 24px;
}

.comparison-table-cell--head {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #98a2b3;
}

.comparison-table-cell--accent {
    color: #101828;
    border-left: 1px solid rgba(16, 24, 40, 0.08);
}

.comparison-table-head .comparison-table-cell--accent {
    color: var(--accent);
}

.faq-list {
    gap: 0;
}

.faq-question {
    min-height: 82px;
    padding: 0 4px;
}

.faq-answer p {
    padding: 0 36px 0 4px;
}

.cta-inline-clean {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 40px 44px;
    border-radius: 28px;
    background: #101828;
    box-shadow: 0 28px 60px rgba(16, 24, 40, 0.14);
}

.cta-inline-clean h2,
.cta-inline-clean p {
    color: var(--white);
}

.cta-inline-clean p {
    color: rgba(255, 255, 255, 0.74);
}

.cta-inline-clean .cta-copy {
    max-width: 760px;
}

@media (max-width: 1200px) {
    .value-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .editorial-section,
    .editorial-section--balanced,
    .product-showcase,
    .comparison-layout-clean,
    .faq-layout-clean {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefits-list-clean {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .cta-inline-clean {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .value-strip-section {
        padding: 24px 0 68px;
    }

    .value-strip {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-top: 22px;
    }

    .editorial-aside h2,
    .product-showcase-copy h2,
    .comparison-copy-clean h2,
    .faq-copy-clean h2,
    .cta-inline-clean h2 {
        font-size: 1.72rem;
    }

    .editorial-row {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 14px;
        padding: 20px 0;
    }

    .comparison-table-head,
    .comparison-table-row {
        grid-template-columns: 1fr;
    }

    .comparison-table-cell {
        padding: 18px 0;
    }

    .comparison-table-cell--accent {
        border-left: 0;
        border-top: 1px solid rgba(16, 24, 40, 0.08);
    }

    .screen-placeholder {
        border-radius: 22px;
    }

    .screen-placeholder::before {
        inset: 16px;
        border-radius: 16px;
    }

    .screen-placeholder-note {
        width: calc(100% - 32px);
        padding: 20px 18px;
    }

    .cta-inline-clean {
        padding: 28px 24px;
        border-radius: 22px;
    }

    .faq-question {
        min-height: 72px;
    }

    .faq-answer p {
        padding-right: 8px;
    }
}

.pain-layout,
.benefits-layout,
.cta-panel {
    display: grid;
    gap: 56px;
}

.pain-layout {
    grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
    align-items: start;
}

.benefits-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
    align-items: center;
}

.pain-copy h2,
.benefits-copy h2,
.cta-panel h2 {
    font-size: 2.35rem;
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: #101828;
}

.pain-copy p,
.benefits-copy p {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.82;
    color: #667085;
}

.pain-stage {
    display: grid;
    gap: 30px;
}

.pain-list,
.benefits-list-clean {
    background: #ffffff;
}

.benefits-copy {
    min-width: 0;
}

.pain-visual,
.benefits-visual,
.faq-visual,
.cta-visual {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 26px 60px rgba(16, 24, 40, 0.08);
}

.pain-visual {
    aspect-ratio: 16 / 9;
}

.benefits-visual {
    aspect-ratio: 16 / 11;
}

.faq-layout-clean--enhanced {
    align-items: center;
}

.faq-visual {
    margin-top: 34px;
    aspect-ratio: 16 / 10;
}

.cta-panel {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    padding: 40px 44px;
    border-radius: 32px;
    background: #101828;
    box-shadow: 0 28px 60px rgba(16, 24, 40, 0.16);
    position: relative;
    overflow: hidden;
}

.cta-panel::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -140px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 68%);
    pointer-events: none;
}

.cta-panel .cta-copy {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.cta-panel .cta-copy h2,
.cta-panel .cta-copy p {
    color: #ffffff;
}

.cta-panel .cta-copy p {
    color: rgba(255, 255, 255, 0.74);
}

.cta-panel .cta-actions {
    margin-top: 28px;
}

.cta-panel .trial-btn {
    background: #ffffff;
    color: #101828;
}

.cta-panel .login-btn,
.cta-panel .cta-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-panel .login-btn:hover,
.cta-panel .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.cta-visual {
    aspect-ratio: 16 / 10;
    border-color: rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.04) 100%);
    box-shadow: none;
}

.pain-visual::before,
.benefits-visual::before,
.faq-visual::before,
.cta-visual::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 54px;
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    background:
        radial-gradient(circle at 28px 27px, rgba(16, 24, 40, 0.18) 0 4px, transparent 4.5px),
        radial-gradient(circle at 44px 27px, rgba(16, 24, 40, 0.12) 0 4px, transparent 4.5px),
        radial-gradient(circle at 60px 27px, rgba(16, 24, 40, 0.08) 0 4px, transparent 4.5px),
        rgba(255, 255, 255, 0.9);
}

.cta-visual::before {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 28px 27px, rgba(255, 255, 255, 0.28) 0 4px, transparent 4.5px),
        radial-gradient(circle at 44px 27px, rgba(255, 255, 255, 0.18) 0 4px, transparent 4.5px),
        radial-gradient(circle at 60px 27px, rgba(255, 255, 255, 0.12) 0 4px, transparent 4.5px),
        rgba(255, 255, 255, 0.02);
}

.pain-visual::after,
.benefits-visual::after,
.faq-visual::after,
.cta-visual::after {
    content: "";
    position: absolute;
    inset: 78px 24px 24px;
    border-radius: 20px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background:
        linear-gradient(90deg, rgba(16, 24, 40, 0.05) 0 26%, rgba(255, 255, 255, 0.9) 26% 100%),
        linear-gradient(180deg, rgba(16, 24, 40, 0.05), rgba(16, 24, 40, 0.05));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.cta-visual::after {
    border-color: rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 26%, rgba(255, 255, 255, 0.03) 26% 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pain-visual-note,
.benefits-visual-note,
.faq-visual-note,
.cta-visual-note {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -40%);
    z-index: 1;
    width: min(360px, calc(100% - 56px));
    display: grid;
    gap: 8px;
    text-align: center;
    padding: 24px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}

.cta-visual-note {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    backdrop-filter: blur(8px);
}

.pain-visual-note strong,
.benefits-visual-note strong,
.faq-visual-note strong,
.cta-visual-note strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: #101828;
}

.pain-visual-note span,
.pain-visual-note small,
.benefits-visual-note span,
.benefits-visual-note small,
.faq-visual-note span,
.faq-visual-note small,
.cta-visual-note span,
.cta-visual-note small {
    font-size: 0.94rem;
    line-height: 1.7;
    color: #667085;
}

.cta-visual-note strong,
.cta-visual-note span,
.cta-visual-note small {
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 1024px) {
    .pain-layout,
    .benefits-layout,
    .cta-panel {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .pain-copy h2,
    .benefits-copy h2,
    .cta-panel h2 {
        font-size: 1.72rem;
    }

    .pain-visual,
    .benefits-visual,
    .faq-visual,
    .cta-visual {
        border-radius: 22px;
    }

    .pain-visual::after,
    .benefits-visual::after,
    .faq-visual::after,
    .cta-visual::after {
        inset: 72px 16px 16px;
        border-radius: 16px;
    }

    .pain-visual-note,
    .benefits-visual-note,
    .faq-visual-note,
    .cta-visual-note {
        width: calc(100% - 32px);
        padding: 20px 18px;
    }

    .cta-panel {
        padding: 28px 24px;
        border-radius: 22px;
    }
}
