/* Reset and Globals */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc; /* Slate 50 */
    --text-primary: #0f172a; /* Slate 900 */
    --text-secondary: #475569; /* Slate 600 */
    --accent-red: #d32f2f; /* Red circular node brand color */
    --accent-blue: #1e40af; /* Deep blue badge brand color */
    --accent-blue-hover: #1d4ed8;
    --border-color: #e2e8f0; /* Slate 200 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 15px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    /* Identical formatting (gradient, shadow, hover transition) as btn-hero-primary, sized for navbar */
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-blue) 100%);
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(211, 47, 47, 0.32);
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-blue) 100%);
    color: #fff;
    padding: 14px 28px;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.35);
}

.btn-hero-secondary {
    background-color: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 14px 28px;
    font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
}

.btn-hero-secondary:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* Top Notice Banner */
.top-notice-bar {
    background: linear-gradient(90deg, #0b132b 0%, #1e3a8a 50%, #0b132b 100%);
    color: #e2e8f0;
    padding: 8px 16px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-notice-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    text-align: center;
}

.notice-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(239, 68, 68, 0.22);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.4);
    padding: 2px 9px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.notice-text {
    color: #f1f5f9;
    font-weight: 500;
}

.notice-highlight {
    color: #fbbf24;
    font-weight: 700;
}

.notice-link {
    color: #93c5fd;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.notice-link:hover {
    color: #ffffff;
    transform: translateX(2px);
}

/* Header Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 0 24px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a.nav-signin-btn {
    padding: 7px 16px;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    color: var(--text-primary);
    font-weight: 600;
    background-color: #f8fafc;
    transition: all 0.2s ease;
}

.nav-menu a.nav-signin-btn:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

/* Hero Section */
.hero-section {
    padding-top: 135px;
    padding-bottom: 90px;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(30, 64, 175, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(211, 47, 47, 0.04) 0%, transparent 40%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(211, 47, 47, 0.08);
    color: var(--accent-red);
    border: 1px solid rgba(211, 47, 47, 0.15);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero Pedigree & Trust Bar */
.hero-pedigree-bar {
    margin-top: 24px;
    padding: 13px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--accent-blue);
    border-radius: 10px;
    max-width: 560px;
    text-align: left;
}

.hero-pedigree-title {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-blue);
    margin-bottom: 4px;
}

.hero-pedigree-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.48;
    margin-bottom: 0;
}

.hero-pedigree-text strong {
    color: var(--text-primary);
}

/* Visual Mockup Container */
.hero-preview {
    display: flex;
    justify-content: center;
    position: relative;
}

.canvas-mockup {
    width: 100%;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-lg), 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mockup-header {
    height: 38px;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.tab-title {
    margin-left: 20px;
    font-size: 0.75rem;
    color: #94a3b8;
    font-family: monospace;
}

.mockup-preview-tabs {
    margin-left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mockup-tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    color: #475569;
    background: #e2e8f0;
    transition: all 0.15s ease;
}

.mockup-tab-pill.active,
.mockup-tab-pill:hover {
    background: #1e40af;
    color: #ffffff;
}

.mockup-body {
    flex: 1;
    background-color: #ffffff;
    position: relative;
}

.mockup-body-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.mockup-interactive-badge {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.86);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.mockup-body-link:hover .mockup-interactive-badge {
    background: #1e40af;
    transform: translateX(-50%) translateY(-2px);
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Problem -> Proof Contrast Section (Why Not Excel) */
.contrast-section {
    padding: 95px 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 54px auto;
}

.section-header h2 {
    margin-bottom: 10px;
}

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

.contrast-card {
    border-radius: 12px;
    padding: 34px 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contrast-card-legacy {
    background-color: #fafafa;
    border-top: 4px solid #dc2626;
}

.contrast-card-modern {
    background: linear-gradient(180deg, rgba(30, 64, 175, 0.03) 0%, #ffffff 100%);
    border-color: rgba(30, 64, 175, 0.25);
    border-top: 4px solid var(--accent-blue);
    box-shadow: var(--shadow-md);
}

.contrast-card-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contrast-badge-legacy {
    background-color: #fee2e2;
    color: #b91c1c;
}

.contrast-badge-modern {
    background-color: #dbeafe;
    color: #1e40af;
}

.contrast-card h3 {
    font-size: 1.35rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.contrast-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contrast-list li {
    position: relative;
    padding-left: 26px;
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.contrast-list li strong {
    color: var(--text-primary);
}

.contrast-list-legacy li::before {
    content: "✕";
    position: absolute;
    left: 0;
    top: 1px;
    color: #dc2626;
    font-weight: 800;
    font-size: 0.95rem;
}

.contrast-list-modern li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-blue);
    font-weight: 800;
    font-size: 1rem;
}

/* Features Section (2x2 scannable grid) */
.features-section {
    background-color: var(--bg-secondary);
    padding: 95px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.features-detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.detailed-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--accent-red);
    border-radius: 10px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detailed-card:nth-child(even) {
    border-left-color: var(--accent-blue);
}

.detailed-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-num {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 3rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    user-select: none;
    z-index: 1;
}

.detailed-card h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.card-text {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.features-proof-bar {
    margin-top: 28px;
    padding: 16px 24px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.features-proof-link {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.features-proof-link:hover {
    text-decoration: underline;
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.step-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px 30px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-num {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 4px 10px rgba(211,47,47,0.2);
}

.step-card h3 {
    margin-top: 10px;
    font-size: 1.25rem;
}

.step-card p {
    font-size: 0.95rem;
    margin-top: 10px;
}

/* Footer Section */
.footer {
    background-color: var(--bg-secondary);
    padding: 85px 0 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.footer-cta {
    text-align: center;
    max-width: 700px;
}

.footer-cta h2 {
    margin-bottom: 10px;
}

.footer-cta p {
    margin-bottom: 20px;
}

/* Footer Notice Pill */
.footer-notice-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 22px;
    background: #ffffff;
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 9999px;
    color: var(--text-primary);
    font-size: 0.92rem;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    max-width: 660px;
    line-height: 1.45;
}

.footer-notice-pill strong {
    color: #b45309;
}

.footer-notice-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.hero-trial-subtext {
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.hero-trial-subtext strong {
    color: #059669;
    font-weight: 700;
}

/* Pricing Comparison Table Section */
.pricing-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.pricing-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 40px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    background: #ffffff;
}

.pricing-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
    text-align: left;
}

.pricing-comparison-table th,
.pricing-comparison-table td {
    padding: 16px 22px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.pricing-feature-col-header {
    width: 37%;
    vertical-align: bottom !important;
    padding: 28px 24px !important;
    background-color: #f8fafc;
    border-right: 1px solid var(--border-color);
}

.feature-col-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-col-sub {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pricing-tier-col-header {
    width: 21%;
    text-align: center;
    vertical-align: bottom !important;
    padding: 32px 20px 24px 20px !important;
    position: relative;
    background-color: #ffffff;
    border-right: 1px solid var(--border-color);
}

.pricing-tier-col-header:last-child {
    border-right: none;
}

.pricing-col-popular {
    background-color: rgba(37, 99, 235, 0.03);
    border-top: 4px solid #2563eb;
}

.pricing-col-lab {
    background-color: rgba(16, 185, 129, 0.03);
    border-top: 4px solid #10b981;
}

.pricing-popular-badge {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    padding: 3px 12px;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pricing-lab-badge {
    display: inline-block;
    background: #10b981;
    color: #ffffff;
    padding: 3px 12px;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pricing-tier-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pricing-tier-tagline {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-best-for {
    font-size: 0.76rem;
    line-height: 1.4;
    color: #334155;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    margin-bottom: 14px;
    min-height: 54px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-best-for strong {
    color: var(--text-primary);
    font-weight: 700;
}

.pricing-price-block {
    margin-bottom: 18px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-amount {
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-pricing-secondary,
.btn-pricing-primary,
.btn-pricing-lab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn-pricing-secondary {
    background-color: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-pricing-secondary:hover {
    background-color: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.btn-pricing-primary {
    background-color: #2563eb;
    color: #ffffff;
    border: 1px solid #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-pricing-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-pricing-lab {
    background-color: #10b981;
    color: #ffffff;
    border: 1px solid #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-pricing-lab:hover {
    background-color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.pricing-category-row td {
    background-color: #f1f5f9;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #334155;
    padding: 11px 22px !important;
}

.pricing-feature-name {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
    border-right: 1px solid var(--border-color);
}

.pricing-cell {
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.pricing-cell:last-child {
    border-right: none;
}

.pricing-col-popular-cell {
    background-color: rgba(37, 99, 235, 0.02);
}

.pricing-col-lab-cell {
    background-color: rgba(16, 185, 129, 0.02);
}

.pricing-comparison-table tbody tr:hover td:not([colspan]) {
    background-color: #f8fafc;
}

.icon-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #dcfce7;
    color: #16a34a;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1;
}

.icon-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #fee2e2;
    color: #dc2626;
    font-weight: 800;
    font-size: 0.9rem;
    line-height: 1;
}

.pricing-trial-banner {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(16, 185, 129, 0.06) 100%);
    border: 1px solid rgba(30, 64, 175, 0.18);
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.pricing-trial-banner-text {
    font-size: 0.96rem;
    color: var(--text-primary);
    flex: 1;
    min-width: 280px;
}

.pricing-banner-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pricing-banner-sub {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Executive White Papers & Decision-Science Briefs Section */
.briefs-section {
    padding: 85px 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.briefs-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: 16px;
    padding: 44px 48px;
    color: #ffffff;
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 44px;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.briefs-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #93c5fd;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.briefs-content h2 {
    color: #ffffff;
    font-size: 1.85rem;
    line-height: 1.25;
    margin-bottom: 14px;
}

.briefs-content p {
    color: #cbd5e1;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.briefs-content p strong {
    color: #ffffff;
}

.briefs-topics {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.briefs-topics li {
    position: relative;
    padding-left: 22px;
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.briefs-topics li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #34d399;
    font-weight: 800;
}

.briefs-topics li strong {
    color: #ffffff;
}

.briefs-form-box {
    background: #ffffff;
    color: var(--text-primary);
    border-radius: 12px;
    padding: 28px 26px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.briefs-form-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.briefs-form-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.briefs-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.briefs-name-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Exit-Intent Modal Popup */
.exit-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: exitModalFadeIn 0.22s ease-out;
}

@keyframes exitModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.exit-modal-card {
    max-width: 1080px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.exit-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.exit-modal-close:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: scale(1.05);
}

.briefs-input-group input,
.briefs-input-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-primary);
    background-color: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.briefs-input-group input:focus,
.briefs-input-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.14);
}

.briefs-submit-btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.96rem;
    border: none;
}

.briefs-success-msg {
    background-color: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

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

/* FAQ Section */
.faq-section {
    padding: 90px 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.faq-section .section-header {
    max-width: 1000px;
}

.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.faq-item[open] {
    border-color: rgba(30, 64, 175, 0.35);
    box-shadow: var(--shadow-md);
}

.faq-question {
    list-style: none;
    padding: 20px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: var(--accent-blue);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-item[open] .faq-question::after {
    content: "−";
    background-color: var(--accent-blue);
    color: #ffffff;
}

.faq-item::details-content {
    display: block;
}

.faq-answer {
    padding: 0 24px 22px 24px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.faq-answer p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.faq-answer code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.88em;
    background-color: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text-primary);
}

/* Life Sciences Vertical Solutions & Strategic Analysis Section */
.solutions-section {
    padding: 100px 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

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

.solution-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-blue);
    border-radius: 12px;
    padding: 34px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-card:nth-child(odd) {
    border-top-color: var(--accent-red);
}

.solution-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.solution-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.solution-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.solution-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-blue);
    margin-bottom: 4px;
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.solution-desc {
    font-size: 0.98rem;
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.6;
}

.solution-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.solution-bullets li {
    position: relative;
    padding-left: 22px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.solution-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-blue);
    font-weight: 800;
}

.solution-bullets li strong {
    color: var(--text-primary);
}

/* Mobile Navbar Hamburger Toggle & Pricing Swipe Hint (Hidden on Desktop) */
.nav-toggle-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: #f8fafc;
    color: var(--text-primary);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nav-toggle-btn:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.pricing-scroll-hint {
    display: none;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-blue);
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    padding: 5px 14px;
    margin: 0 auto 12px auto;
    width: fit-content;
}

/* Compact Laptop / Landscape Tablet Navbar Tuning (969px – 1140px) */
@media (max-width: 1140px) and (min-width: 969px) {
    .nav-container {
        gap: 16px;
        padding: 0 18px;
    }

    .nav-logo {
        height: 36px;
    }

    .nav-menu {
        gap: 14px;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }
}

/* Tablet & Mobile Responsiveness (<= 968px) */
@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-container {
        height: 68px;
        padding: 0 20px;
    }

    .nav-logo {
        height: 36px;
    }

    .nav-toggle-btn {
        display: inline-flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px 20px 20px;
        z-index: 1001;
    }

    .nav-menu.nav-menu-open {
        display: flex;
    }

    .nav-menu a {
        padding: 13px 8px;
        font-size: 0.98rem;
        font-weight: 600;
        color: var(--text-primary);
        border-bottom: 1px solid #f1f5f9;
        white-space: normal;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-menu a.nav-signin-btn {
        margin-top: 10px;
        text-align: center;
        padding: 12px 16px;
        background-color: var(--text-primary);
        color: #ffffff;
        border-color: var(--text-primary);
    }

    .hero-section {
        padding-top: 108px;
        padding-bottom: 68px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-ctas {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-pedigree-bar {
        margin: 22px auto 0 auto;
        text-align: left;
    }

    .top-notice-bar {
        font-size: 0.78rem;
        padding: 7px 12px;
    }

    .footer-notice-pill {
        font-size: 0.84rem;
        padding: 10px 16px;
        border-radius: 12px;
        text-align: center;
    }
    
    .contrast-grid {
        grid-template-columns: 1fr;
    }

    /* Keep 2x2 grid on portrait tablets (641px–968px) for clean tablet ergonomics */
    .features-detailed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .features-proof-bar {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 10px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-scroll-hint {
        display: block;
    }

    .pricing-table-wrapper {
        -webkit-overflow-scrolling: touch;
    }

    .pricing-trial-banner {
        flex-direction: column;
        text-align: center;
    }

    .briefs-card {
        grid-template-columns: 1fr;
        padding: 34px 28px;
        gap: 28px;
    }

    .exit-modal-overlay {
        padding: 14px;
        align-items: flex-start;
        overflow-y: auto;
    }

    .exit-modal-card {
        max-height: calc(100vh - 28px);
        overflow-y: auto;
        margin: auto 0;
    }
}

/* Smartphone Responsiveness (<= 640px) */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 1.95rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    h2 {
        font-size: 1.65rem;
        line-height: 1.28;
    }

    h3 {
        font-size: 1.18rem;
    }

    .hero-section {
        padding-top: 96px;
        padding-bottom: 52px;
    }

    .hero-container {
        padding: 0 16px;
        gap: 32px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 5px 10px;
        margin-bottom: 14px;
    }

    .hero-lead {
        font-size: 1.02rem;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .btn {
        white-space: normal;
        line-height: 1.35;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        padding: 14px 18px;
        font-size: 0.96rem;
    }

    .hero-trial-subtext {
        font-size: 0.82rem;
        line-height: 1.45;
    }

    .hero-pedigree-bar {
        padding: 12px 14px;
    }

    /* Hero Mockup Header & Interactive Badge on Phone */
    .mockup-header {
        height: auto;
        min-height: 38px;
        padding: 6px 10px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .dots {
        display: none;
    }

    .mockup-preview-tabs {
        margin-left: 0;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .mockup-tab-pill {
        font-size: 0.68rem;
        padding: 4px 8px;
    }

    .mockup-interactive-badge {
        position: static;
        transform: none;
        display: block;
        width: 100%;
        border-radius: 0;
        white-space: normal;
        text-align: center;
        font-size: 0.76rem;
        padding: 9px 12px;
        background: #0f172a;
        border: none;
        box-shadow: none;
    }

    .mockup-body-link:hover .mockup-interactive-badge {
        transform: none;
    }

    /* Collapse 2x2 grids to 1 column on smartphones */
    .features-detailed-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Compact Section & Card Spacing on Smartphones */
    .contrast-section,
    .features-section,
    .solutions-section,
    .pricing-section,
    .briefs-section,
    .faq-section {
        padding: 56px 0;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .contrast-card,
    .detailed-card,
    .solution-card {
        padding: 24px 20px;
    }

    .features-proof-bar {
        padding: 14px 16px;
        font-size: 0.88rem;
    }

    .features-proof-link {
        white-space: normal;
    }

    /* Pricing Table Sticky First Column & Compact Cells on Smartphones */
    .pricing-comparison-table {
        min-width: 680px;
    }

    .pricing-comparison-table th,
    .pricing-comparison-table td {
        padding: 12px 14px;
    }

    .pricing-feature-col-header {
        padding: 18px 14px !important;
        width: 34%;
    }

    .pricing-tier-col-header {
        padding: 20px 12px 18px 12px !important;
    }

    .pricing-amount {
        font-size: 1.75rem;
    }

    .pricing-feature-name {
        font-size: 0.84rem;
    }

    .pricing-trial-banner {
        padding: 20px 18px;
        gap: 16px;
    }

    .pricing-trial-banner-text {
        min-width: 0;
    }

    /* Executive Briefings & Exit Popup on Smartphones */
    .briefs-card {
        padding: 24px 18px;
        gap: 22px;
        border-radius: 14px;
    }

    .briefs-content h2 {
        font-size: 1.45rem;
    }

    .briefs-form-box {
        padding: 20px 16px;
    }

    .briefs-name-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* 16px (1rem) prevents iOS Safari automatic zoom on input focus */
    .briefs-input-group input,
    .briefs-input-group select {
        font-size: 1rem;
        padding: 12px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.96rem;
    }

    .faq-answer {
        padding: 14px 18px 18px 18px;
    }

    .faq-answer p {
        font-size: 0.92rem;
    }

    .footer {
        padding: 56px 0 32px 0;
    }
}
