:root {
    --bg-color: #f7f7f5;
    /* SimCare light off-white background */
    --surface-color: #ffffff;
    --text-main: #0a0a09;
    --text-muted: #5b5b5b;
    --border-color: #e5e7eb;
    --border-subtle: rgba(0, 0, 0, 0.06);
    --accent-blue: #4318ff;
    --accent-blue-hover: #320ec2;
    --accent-blue-light: #eef2ff;
    --font-ui: 'Inter', system-ui, sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.015em;
}

::selection {
    background: var(--accent-blue);
    color: white;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 800px;
    background: radial-gradient(circle at 50% 0%, rgba(67, 24, 255, 0.08) 0%, rgba(247, 247, 245, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.text-muted {
    color: var(--text-muted);
}

.text-accent {
    color: var(--accent-blue);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-large {
    padding: 0.8rem 1.75rem;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(67, 24, 255, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(67, 24, 255, 0.3);
}

.btn-secondary {
    background-color: #fff;
    color: var(--text-main);
    border-color: var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.btn-secondary:hover {
    border-color: #d1d5db;
    background-color: #fafafa;
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    color: var(--text-main);
    background-color: rgba(0, 0, 0, 0.04);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.pill-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.05em;
    color: var(--text-main);
}

.nav-links {
    display: none;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        gap: 2rem;
    }
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.hero-section {
    padding: 18vh 2rem 8vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.badge-wrapper {
    margin-bottom: 2rem;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-main);
    line-height: 1.05;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 640px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

.hero-microcopy {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.avatars-group {
    display: flex;
}

.avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    margin-left: -12px;
}

.avatar-small:first-child {
    margin-left: 0;
}

.visual-section {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 10;
    position: relative;
    perspective: 1000px;
}

.clean-mockup {
    background: #fff;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.clean-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(67, 24, 255, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.mockup-header-simple {
    background: #fafafa;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
}

.mac-controls-simple {
    display: flex;
    gap: 6px;
}

.mac-controls-simple span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e5e5;
}

.mac-controls-simple span:nth-child(1) {
    background: #ff5f56;
}

.mac-controls-simple span:nth-child(2) {
    background: #ffbd2e;
}

.mac-controls-simple span:nth-child(3) {
    background: #27c93f;
}

.mockup-body-simple {
    display: flex;
    height: 450px;
    background: #fff;
}

.mock-sidebar-simple {
    width: 220px;
    border-right: 1px solid var(--border-subtle);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fafafa;
}

@media (max-width: 768px) {
    .mock-sidebar-simple {
        display: none;
    }

    .mockup-body-simple {
        height: 350px;
    }
}

.skeleton-line-dark {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    width: 100%;
    opacity: 0.6;
}

.skeleton-line-dark.short {
    width: 40%;
    margin-bottom: 1rem;
}

.skeleton-box-dark.active {
    height: 32px;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.mock-content-simple {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.content-header-simple {
    margin-bottom: 2rem;
}

.search-skeleton-light {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.table-skeleton-light {
    flex: 1;
}

.table-row-light {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
    align-items: center;
}

.table-row-light.head {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.col {
    padding: 0 0.5rem;
}

.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%;
}

.flex-center {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.avatar.s1 {
    background: linear-gradient(135deg, #f6d365, #fda085);
}

.avatar.s2 {
    background: linear-gradient(135deg, #84fab0, #8fd3f4);
}

.avatar.s3 {
    background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
}

.skeleton-text-dark {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    width: 80px;
}

.skeleton-text-dark.l-long {
    width: 140px;
}

.skeleton-text-dark.l-short {
    width: 50px;
}

.status-pill-light {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    display: inline-block;
}

.status-pill-light.green {
    background: #ecfdf5;
    color: #059669;
}

.status-pill-light.blue {
    background: #eff6ff;
    color: #2563eb;
}

.trusted-section {
    padding: 4rem 2rem;
    text-align: center;
}

.trusted-label-dark {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.logo-grid-light {
    display: flex;
    justify-content: center;
    gap: 3vw;
    flex-wrap: wrap;
    align-items: center;
}

.abstract-logo-dark {
    font-weight: 700;
    font-size: 1.2rem;
    color: #a1a1aa;
    transition: color 0.3s ease;
    cursor: default;
}

.abstract-logo-dark:hover {
    color: var(--text-main);
}

.features-wrapper {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.section-heading-center {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-main);
}

.clean-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .clean-grid {
        grid-template-columns: 1fr;
    }
}

.clean-card {
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clean-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.icon-box-light {
    width: 48px;
    height: 48px;
    background: var(--accent-blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.clean-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.clean-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.final-cta-light {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-banner {
    background: var(--accent-blue);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(67, 24, 255, 0.1), 0 10px 10px -5px rgba(67, 24, 255, 0.04);
}

.cta-banner h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    color: #fff;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

.cta-buttons-inline {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 480px) {
    .cta-buttons-inline {
        flex-direction: column;
    }
}

.footer-light {
    background: #fff;
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.logo-dark {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.05em;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col-light h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.footer-col-light a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.footer-col-light a:hover {
    color: var(--text-main);
}

.footer-bottom-light {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links-dark {
    display: flex;
    gap: 1.5rem;
}

.social-links-dark a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
}

.social-links-dark a:hover {
    color: var(--text-main);
}

/* Keep scroll anims */
.fade-in-up {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}