/* ============================================
   AnswerVault - Common Styles
   ============================================ */

:root {
    --catapult-purple: #6B21A8;
    --catapult-blue: #0EA5E9;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(to bottom, rgb(36, 24, 66), rgb(26, 17, 47));
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ============================================
   Navigation
   ============================================ */

nav {
    padding: 24px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.nav-center {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
}

.nav-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: rgb(115, 197, 176);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-chevron {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s;
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgb(36, 24, 66);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    padding: 8px 0;
    padding-top: 16px;
    margin-top: 0;
    min-width: 160px;
    list-style: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: #cbd5e1;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
    background: rgba(115, 197, 176, 0.1);
    color: rgb(115, 197, 176);
}

.btn-nav {
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.btn-nav-login {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.btn-nav-login:hover {
    border-color: rgba(115, 197, 176, 0.5);
    color: #e2e8f0;
}

.btn-nav-primary {
    background: linear-gradient(135deg, rgb(115, 197, 176), rgb(182, 228, 134));
    color: rgb(36, 24, 66);
    border: none;
}

.btn-nav-primary:hover {
    box-shadow: 0 4px 12px rgba(115, 197, 176, 0.4);
}

/* ============================================
   Header
   ============================================ */

header {
    padding: 60px 0 80px;
    text-align: center;
    overflow: hidden;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(to right, rgb(115, 197, 176), rgb(182, 228, 134));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.5rem;
    color: #94a3b8;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Buttons
   ============================================ */

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-screenshot {
    max-width: 700px;
    margin: 40px auto 0;
}

.hero-screenshot img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-screenshots {
    max-width: 1100px;
    margin: 40px auto 0;
}

.hero-stack {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.hero-stack img {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-stack-front {
    position: relative;
    z-index: 3;
    width: 630px;
    max-width: 60%;
}

.hero-stack-back {
    position: absolute;
    width: 600px;
    max-width: 55%;
    z-index: 1;
    opacity: 0.8;
    filter: blur(0.5px);
}

.hero-stack-left {
    left: -28%;
    transform: rotate(-3deg) scale(0.95);
}

.hero-stack-right {
    right: -28%;
    transform: rotate(3deg) scale(0.95);
}

.btn {
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, rgb(115, 197, 176), rgb(182, 228, 134));
    color: rgb(36, 24, 66);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(115, 197, 176, 0.4);
}

.btn-secondary {
    background: rgba(36, 24, 66, 0.8);
    color: #e2e8f0;
    border: 1px solid rgba(115, 197, 176, 0.3);
}

.btn-secondary:hover {
    background: rgba(36, 24, 66, 1);
    border-color: rgba(115, 197, 176, 0.5);
    transform: translateY(-2px);
}

/* ============================================
   Sections
   ============================================ */

.section {
    margin-bottom: 80px;
}

.section-band {
    padding: 80px 0;
}

.section-band--dark {
    background: rgb(36, 24, 66);
}

.section-band--light {
    background: #ffffff;
}

.section-band--light h2,
.section-band--light h3 {
    color: rgb(36, 24, 66);
}

.section-band--light p {
    color: #475569;
}

.section-band--light .use-case-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.section-band--light .use-case-card h3 {
    color: rgb(36, 24, 66);
}

.section-band--light .use-case-card p {
    color: #475569;
}

.section-band--light .use-case-icon svg {
    fill: rgb(36, 24, 66);
}

.section-band--light .benefits-header {
    color: rgb(36, 24, 66);
}

.section-band--light .benefits-header svg {
    fill: rgb(115, 197, 176);
}

.section-band--light .comparison-card {
    border-color: #e2e8f0;
}

.section-band--light .comparison-card--them {
    background: #f8fafc;
}

.section-band--light .comparison-card--them h3 {
    color: rgb(36, 24, 66);
}

.section-band--light .comparison-card ul li {
    color: #475569;
}

.section-band--light .comparison-card--us {
    background: rgba(115, 197, 176, 0.08);
    border-color: rgba(115, 197, 176, 0.3);
}

.section-band--light .integration-item {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.section-band--light .integration-item span {
    color: #334155;
}

.section-band--light .trust-signals {
    background: none;
}

.section-band--light .trust-item {
    background: rgba(115, 197, 176, 0.08);
    border: 1px solid rgba(115, 197, 176, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.section-band--light .trust-item svg {
    fill: rgb(115, 197, 176);
}

.section-band--light .trust-item h4 {
    color: rgb(36, 24, 66);
}

.section-band--light .trust-item p {
    color: #475569;
}

.section-band--light a[href="security.html"].btn {
    color: #e2e8f0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: #f1f5f9;
}

/* ============================================
   Feature Cards & Grid
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(115, 197, 176, 0.3);
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #f1f5f9;
}

.feature-card p {
    color: #cbd5e1;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgb(115, 197, 176), rgb(182, 228, 134));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgb(115, 197, 176), rgb(182, 228, 134));
    color: rgb(36, 24, 66);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.125rem;
    flex-shrink: 0;
}

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

.feature-list li {
    color: #94a3b8;
    padding: 8px 0 8px 20px;
    position: relative;
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: rgb(115, 197, 176);
    font-weight: bold;
    font-size: 0.85rem;
}

/* ============================================
   Benefits
   ============================================ */

.benefits {
    padding: 0;
    margin: 0;
}

.benefits-header {
    font-size: 2rem;
    color: #f1f5f9;
    text-align: center;
    margin-bottom: 24px;
}

.benefits-header svg {
    width: 1em;
    height: 1em;
    fill: rgb(115, 197, 176);
    vertical-align: -0.1em;
    margin-right: 8px;
}

.benefits ul {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.benefits li {
    font-size: 1.25rem;
    color: #cbd5e1;
    padding: 16px 0;
    padding-left: 32px;
    position: relative;
}

.benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgb(115, 197, 176);
    font-weight: bold;
    font-size: 1.5rem;
}

/* ============================================
   How It Works
   ============================================ */

.how-it-works {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 16px;
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.how-it-works ol {
    list-style: none;
    counter-reset: step-counter;
}

.how-it-works li {
    counter-increment: step-counter;
    font-size: 1.25rem;
    color: #cbd5e1;
    padding: 20px 0;
    padding-left: 60px;
    position: relative;
}

.how-it-works li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 16px;
    background: linear-gradient(135deg, rgb(115, 197, 176), rgb(182, 228, 134));
    color: rgb(36, 24, 66);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    padding: 0;
    text-align: center;
}

.content .cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    text-align: center;
    margin-top: 0;
}

.cta-section p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    color: rgb(36, 24, 66);
}

.cta-section .btn-secondary {
    color: #e2e8f0;
}

/* ============================================
   Integrations Carousel
   ============================================ */

.integrations {
    text-align: center;
    margin-top: 60px;
    padding: 0;
}

.integrations h3 {
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-carousel {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 24px;
    align-items: center;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    padding: 12px 24px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    flex-shrink: 0;
}

.logo-item img {
    height: 20px;
    width: auto;
    opacity: 0.8;
}

.logo-item span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
}

.logo-item-text {
    justify-content: center;
}

.logo-item--coming-soon {
    opacity: 0.4;
}

.logo-item--coming-soon .coming-soon-label {
    font-size: 0.55rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.logo-track--coming-soon {
    animation-direction: reverse;
}

.logo-carousel--coming-soon {
    margin-top: 16px;
}

/* ============================================
   Content Pages (docs, privacy, terms)
   ============================================ */

.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.content h2 {
    font-size: 1.75rem;
    color: #f1f5f9;
    margin-top: 48px;
    margin-bottom: 16px;
    text-align: left;
}

.content h3 {
    font-size: 1.25rem;
    color: #f1f5f9;
    margin-top: 24px;
    margin-bottom: 12px;
}

.content p {
    color: #cbd5e1;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.content ul, .content ol {
    color: #cbd5e1;
    margin-left: 24px;
    margin-bottom: 16px;
}

.content ul li, .content ol li {
    margin-bottom: 8px;
    padding-left: 8px;
}

.content a {
    color: rgb(115, 197, 176);
    text-decoration: none;
    transition: color 0.2s;
}

.content a:hover {
    color: rgb(182, 228, 134);
    text-decoration: underline;
}

.content strong {
    color: #f1f5f9;
}

/* ============================================
   Light Page Overrides (privacy, terms, security, docs)
   ============================================ */

.section-band--light .content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

.section-band--light .content h2 {
    color: rgb(36, 24, 66);
    text-align: left;
}

.section-band--light .content h3 {
    color: rgb(36, 24, 66);
}

.section-band--light .content p {
    color: #334155;
}

.section-band--light .content ul,
.section-band--light .content ol {
    color: #334155;
}

.section-band--light .content a {
    color: rgb(36, 24, 66);
    font-weight: 500;
}

.section-band--light .content a:hover {
    color: rgb(115, 197, 176);
}

.section-band--light .content strong {
    color: rgb(36, 24, 66);
}

.section-band--light .content .important-notice {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.section-band--light .content .important-notice p,
.section-band--light .content .important-notice strong {
    color: #334155;
}

.section-band--light .step-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.section-band--light .step-card h3 {
    color: rgb(36, 24, 66);
}

.section-band--light .step-card p,
.section-band--light .step-card li {
    color: #334155;
}

.section-band--light .step-card strong {
    color: rgb(36, 24, 66);
}

.section-band--light .content .step-card a {
    color: rgb(36, 24, 66);
}

.section-band--light .note {
    color: #334155;
}

.section-band--light .note strong {
    color: rgb(36, 24, 66);
}

.section-band--light .note p {
    color: #334155;
}

.section-band--light .code-block {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.section-band--light .content li strong {
    color: rgb(36, 24, 66);
}

.section-band--light .content table {
    color: #334155;
}

.section-band--light .content th {
    color: rgb(36, 24, 66);
}

.section-band--light .content code {
    color: rgb(36, 24, 66);
}

/* ============================================
   Docs-specific styles
   ============================================ */

.step-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
    border-left: 4px solid rgb(115, 197, 176);
}

.step-card h3 {
    margin-top: 0;
    color: rgb(115, 197, 176);
}

.code-block {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(115, 197, 176, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: #b4d7ff;
}

.note {
    background: rgba(115, 197, 176, 0.1);
    border-left: 3px solid rgb(115, 197, 176);
    padding: 16px;
    margin: 20px 0;
    border-radius: 4px;
}

.note strong {
    color: rgb(115, 197, 176);
}

.important-notice {
    background: rgba(115, 197, 176, 0.1);
    border-left: 4px solid rgb(115, 197, 176);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}

.important-notice p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.last-updated {
    color: #94a3b8;
    font-style: italic;
    font-size: 0.95rem;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

/* ============================================
   Pricing
   ============================================ */

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 20px 0;
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 12px;
    overflow: hidden;
}

.pricing-table thead th {
    background: rgba(30, 41, 59, 0.8);
    padding: 24px 16px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #cbd5e1;
    border-bottom: 2px solid rgba(115, 197, 176, 0.3);
}

.pricing-table thead th:first-child {
    text-align: left;
    padding-left: 32px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody td {
    padding: 20px 16px;
    text-align: center;
    color: #cbd5e1;
}

.pricing-table tbody td:first-child {
    text-align: left;
    padding-left: 32px;
    font-weight: 600;
    color: #f1f5f9;
}

.tier-header {
    background: rgba(30, 41, 59, 0.9) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    padding: 32px 16px !important;
}

.tier-starter {
    border-top: 3px solid #64748b;
}

.tier-pro {
    border-top: 3px solid rgb(115, 197, 176);
}

.tier-business {
    border-top: 3px solid rgb(182, 228, 134);
}

.tier-enterprise {
    border-top: 3px solid var(--catapult-purple);
}

.coming-soon-badge {
    display: inline-block;
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 12px;
    margin-left: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 8px;
}

.price-unit {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 400;
}

.checkmark {
    color: rgb(115, 197, 176);
    font-size: 1.5rem;
    font-weight: bold;
}

.dash {
    color: #64748b;
    font-size: 1.25rem;
}

.pricing-note {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 32px;
    font-style: italic;
}

/* ============================================
   Product Page - Architecture
   ============================================ */

.architecture-section {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 48px;
}

.architecture-diagram {
    background: rgba(36, 24, 66, 0.6);
    border: 2px solid rgba(115, 197, 176, 0.3);
    border-radius: 12px;
    padding: 40px;
    margin: 32px 0;
    text-align: center;
}

.diagram-layer {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    padding: 24px;
    margin: 16px 0;
}

.diagram-layer h4 {
    font-size: 1.25rem;
    color: rgb(115, 197, 176);
    margin-bottom: 12px;
}

.diagram-components {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.component-box {
    background: rgba(115, 197, 176, 0.1);
    border: 1px solid rgba(115, 197, 176, 0.3);
    border-radius: 6px;
    padding: 12px 20px;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

.arrow-down {
    text-align: center;
    margin: 8px 0;
    color: rgb(115, 197, 176);
    font-size: 2rem;
}

/* ============================================
   Product Page - Tech Stack & Security
   ============================================ */

.tech-stack {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
}

.tech-stack h4 {
    font-size: 1.25rem;
    color: #f1f5f9;
    margin-bottom: 16px;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-badge {
    background: rgba(115, 197, 176, 0.15);
    border: 1px solid rgba(115, 197, 176, 0.3);
    color: rgb(182, 228, 134);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.security-item {
    background: rgba(30, 41, 59, 0.3);
    border-left: 3px solid rgb(115, 197, 176);
    padding: 20px;
    border-radius: 8px;
}

.security-item h4 {
    color: #f1f5f9;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.security-item p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* ============================================
   Product Page - Screenshots
   ============================================ */

.screenshot-showcase {
    text-align: center;
    margin: 0 auto;
    max-width: 900px;
}

.screenshot-hero {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.screenshot-secondary {
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.screenshot-caption {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 16px;
    font-style: italic;
}

/* ============================================
   Product Page - Steps Grid
   ============================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.step-card-product {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 32px;
    transition: transform 0.2s, border-color 0.2s;
}

.step-card-product:hover {
    transform: translateY(-4px);
    border-color: rgba(115, 197, 176, 0.3);
}

.step-card-product-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.step-card-product h3 {
    font-size: 1.25rem;
    color: #f1f5f9;
}

.step-card-product p {
    color: #cbd5e1;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.step-screenshot {
    margin-top: 16px;
}

.step-screenshot img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.step-screenshots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 48px;
}

.step-screenshot-full img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.step-screenshot-label {
    color: #94a3b8;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .step-screenshots-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Comparison Cards
   ============================================ */

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.comparison-card {
    padding: 32px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.comparison-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.comparison-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-card ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.comparison-card--them {
    background: rgba(148, 163, 184, 0.05);
}

.comparison-card--them ul li::before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #f87171;
    font-weight: bold;
}

.comparison-card--us {
    background: rgba(115, 197, 176, 0.08);
    border-color: rgba(115, 197, 176, 0.25);
}

.comparison-card--us ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgb(115, 197, 176);
    font-weight: bold;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   How It Works Flow
   ============================================ */

.how-it-works-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.flow-step {
    flex: 1;
    text-align: center;
    max-width: 260px;
}

.flow-icon {
    width: 56px;
    height: 56px;
    background: rgba(115, 197, 176, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.flow-icon svg {
    width: 28px;
    height: 28px;
    fill: rgb(115, 197, 176);
}

.section-band--light .flow-step h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.section-band--light .flow-step p {
    font-size: 0.9rem;
    color: #64748b;
}

.flow-arrow {
    display: flex;
    align-items: center;
    padding-top: 16px;
}

.flow-arrow svg {
    width: 32px;
    height: 32px;
    fill: #94a3b8;
}

@media (max-width: 768px) {
    .how-it-works-flow {
        flex-direction: column;
        align-items: center;
    }

    .flow-arrow {
        transform: rotate(90deg);
        padding-top: 0;
    }
}

/* ============================================
   Use Case Cards
   ============================================ */

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.use-case-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.use-case-card:hover {
    transform: translateY(-4px);
    border-color: rgba(115, 197, 176, 0.3);
}

.use-case-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(115, 197, 176, 0.2), rgba(182, 228, 134, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-icon svg {
    width: 24px;
    height: 24px;
    fill: rgb(115, 197, 176);
}

.use-case-card h3 {
    font-size: 1.25rem;
    color: #f1f5f9;
    margin-bottom: 12px;
}

.use-case-card p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   Product Page - Integrations Grid
   ============================================ */

.integrations-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.integration-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.2s;
}

.integration-item:hover {
    border-color: rgba(115, 197, 176, 0.3);
}

.integration-item img {
    height: 24px;
    width: auto;
    opacity: 0.8;
}

.integration-item span {
    font-size: 1rem;
    font-weight: 500;
    color: #cbd5e1;
}

/* ============================================
   Product Page - Trust Signals
   ============================================ */

.trust-signals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
}

.trust-item svg {
    width: 32px;
    height: 32px;
    fill: rgb(115, 197, 176);
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-item h4 {
    color: #f1f5f9;
    font-size: 1rem;
    margin-bottom: 4px;
}

.trust-item p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ============================================
   Pricing Page - FAQ
   ============================================ */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 16px;
}

.faq-item h3 {
    color: #f1f5f9;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.faq-item p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-item a {
    color: rgb(115, 197, 176);
    text-decoration: none;
}

.faq-item a:hover {
    color: rgb(182, 228, 134);
    text-decoration: underline;
}

.section-band--light .faq-item {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.section-band--light .faq-item h3 {
    color: rgb(36, 24, 66);
}

.section-band--light .faq-item p {
    color: #475569;
}

.section-band--light .faq-item a {
    color: rgb(36, 24, 66);
    font-weight: 500;
}

.section-band--light .faq-item a:hover {
    color: rgb(115, 197, 176);
}

/* ============================================
   Footer
   ============================================ */

footer {
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding: 40px 0;
    margin-top: 80px;
}

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

.footer-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgb(115, 197, 176);
}

.footer-copy {
    color: #64748b;
    font-size: 0.875rem;
}

.footer-copy a {
    color: #64748b;
    text-decoration: none;
}

.footer-copy a:hover {
    color: #e2e8f0;
}

.footer-company-info {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    line-height: 1.5;
}

.footer-badges {
    display: flex;
    gap: 16px;
    align-items: center;
}

.compliance-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 6px;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s;
}

.compliance-badge:hover {
    border-color: rgba(115, 197, 176, 0.4);
}

.compliance-badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 28px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-logo img:hover {
    opacity: 1;
}

/* ============================================
   Responsive
   ============================================ */

/* Mobile pricing cards (hidden on desktop) */
.pricing-mobile {
    display: none;
}

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

    .pricing-mobile {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .pricing-card {
        background: rgba(30, 41, 59, 0.5);
        border: 1px solid rgba(148, 163, 184, 0.1);
        border-radius: 12px;
        overflow: hidden;
    }

    .tier-border-starter { border-top: 3px solid #64748b; }
    .tier-border-pro { border-top: 3px solid rgb(115, 197, 176); }
    .tier-border-business { border-top: 3px solid rgb(182, 228, 134); }
    .tier-border-enterprise { border-top: 3px solid var(--catapult-purple); }

    .pricing-card-header {
        background: rgba(30, 41, 59, 0.9);
        padding: 24px;
        text-align: center;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    }

    .pricing-card-header h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #f1f5f9;
        margin-bottom: 8px;
    }

    .pricing-card-header .price {
        font-size: 2rem;
        margin-bottom: 0;
    }

    .pricing-card-features {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .pricing-card-features li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 24px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.07);
        color: #cbd5e1;
        font-size: 0.95rem;
    }

    .pricing-card-features li:last-child {
        border-bottom: none;
    }

    .pricing-card-label {
        font-weight: 600;
        color: #f1f5f9;
    }
}

/* ============================================
   Docs Layout (sidebar + content)
   ============================================ */

.docs-layout {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.docs-sidebar {
    width: 220px;
    flex-shrink: 0;
    padding: 32px 0;
    position: sticky;
    top: 0;
    align-self: flex-start;
    max-height: 100vh;
    overflow-y: auto;
}

.docs-sidebar h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 12px;
    font-weight: 600;
}

.docs-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-sidebar li {
    margin-bottom: 2px;
}

.docs-sidebar a {
    display: block;
    padding: 8px 12px;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.docs-sidebar a:hover {
    background: rgba(107, 33, 168, 0.06);
    color: rgb(36, 24, 66);
}

.docs-sidebar a.active {
    background: rgba(107, 33, 168, 0.1);
    color: var(--catapult-purple);
    font-weight: 600;
}

.docs-content {
    flex: 1;
    min-width: 0;
    max-width: 900px;
    padding: 40px 0 80px;
}

.docs-content h2 {
    font-size: 1.75rem;
    color: rgb(36, 24, 66);
    margin-top: 48px;
    margin-bottom: 16px;
    text-align: left;
}

.docs-content h3 {
    font-size: 1.25rem;
    color: rgb(36, 24, 66);
    margin-top: 24px;
    margin-bottom: 12px;
}

.docs-content p {
    color: #334155;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.docs-content ul, .docs-content ol {
    color: #334155;
    margin-left: 24px;
    margin-bottom: 16px;
}

.docs-content ul li, .docs-content ol li {
    margin-bottom: 8px;
    padding-left: 8px;
}

.docs-content a {
    color: rgb(36, 24, 66);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.docs-content a:hover {
    color: rgb(115, 197, 176);
    text-decoration: underline;
}

.docs-content strong {
    color: rgb(36, 24, 66);
}

.docs-content code {
    color: rgb(36, 24, 66);
}

.docs-content li strong {
    color: rgb(36, 24, 66);
}

.docs-content .step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--catapult-purple);
}

.docs-content .step-card h3 {
    margin-top: 0;
    color: var(--catapult-purple);
}

.docs-content .note {
    background: rgba(107, 33, 168, 0.05);
    border-left-color: var(--catapult-purple);
}

.docs-content .note strong {
    color: var(--catapult-purple);
}

.docs-content .code-block {
    background: rgb(36, 24, 66);
    border-color: rgba(115, 197, 176, 0.2);
    color: #b4d7ff;
}

/* Architecture components on light background */
.docs-content .architecture-diagram {
    background: rgb(36, 24, 66);
    border: 2px solid rgba(115, 197, 176, 0.3);
}

.docs-content .diagram-layer {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(148, 163, 184, 0.2);
}

.docs-content .diagram-layer h4 {
    color: rgb(115, 197, 176);
}

.docs-content .component-box {
    background: rgba(115, 197, 176, 0.1);
    border-color: rgba(115, 197, 176, 0.3);
    color: #e2e8f0;
}

.docs-content .arrow-down {
    color: rgb(115, 197, 176);
}

.docs-content .feature-card {
    background: rgb(36, 24, 66);
    border-color: rgba(115, 197, 176, 0.2);
}

.docs-content .feature-card h3 {
    color: #f1f5f9;
}

.docs-content .feature-card p {
    color: #cbd5e1;
}

.docs-content .feature-list {
    margin-left: 0;
}

.docs-content .feature-list li {
    color: #cbd5e1;
    padding-left: 20px;
}

.docs-content .feature-list li::before {
    color: rgb(115, 197, 176);
}

.docs-content .tech-stack {
    background: rgb(36, 24, 66);
    border: 1px solid rgba(115, 197, 176, 0.2);
}

.docs-content .tech-stack h4 {
    color: #f1f5f9;
}

.docs-content .tech-badge {
    background: rgba(115, 197, 176, 0.15);
    border-color: rgba(115, 197, 176, 0.3);
    color: rgb(182, 228, 134);
}

.docs-content .security-features {
    margin-top: 32px;
}

.docs-content .security-item {
    background: rgb(36, 24, 66);
    border-left-color: rgb(115, 197, 176);
}

.docs-content .security-item h4 {
    color: #f1f5f9;
}

.docs-content .security-item p {
    color: #cbd5e1;
}

.docs-content .architecture-section {
    background: none;
    border: none;
    padding: 0;
}

.docs-content .section {
    padding: 0;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .docs-layout {
        flex-direction: column;
        gap: 0;
    }

    .docs-sidebar {
        width: 100%;
        position: static;
        padding: 20px 0 0;
        max-height: none;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    .docs-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .docs-sidebar li {
        margin-bottom: 0;
    }

    .docs-sidebar a {
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .docs-content {
        padding: 20px 0 60px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 2rem;
    }

    .benefits, .how-it-works, .cta-section, .architecture-section {
        padding: 32px 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .use-case-grid {
        grid-template-columns: 1fr;
    }

    .integrations-grid {
        gap: 12px;
    }

    .integration-item {
        padding: 16px 20px;
    }

    .trust-signals {
        grid-template-columns: 1fr;
    }

    .faq-item {
        padding: 20px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .nav-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav-center {
        flex-direction: column;
    }

    .nav-links {
        gap: 24px;
    }

    .nav-right {
        width: 100%;
    }

    .btn-nav {
        flex: 1;
    }

    .integrations h3 {
        font-size: 0.75rem;
    }

    .logo-track {
        gap: 16px;
    }

    .logo-item {
        padding: 8px 16px;
        height: 32px;
    }

    .logo-item img {
        height: 14px;
    }

    .logo-item span {
        font-size: 0.7rem;
    }

    .content {
        padding: 20px 0 60px;
    }

    .diagram-components {
        flex-direction: column;
    }

    .component-box {
        width: 100%;
    }

    .hero-screenshots {
        overflow: hidden;
    }

    .hero-stack-front {
        width: 85%;
        max-width: 85%;
    }

    .hero-stack-back {
        display: none;
    }

    .hero-screenshot {
        max-width: 100%;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .how-it-works-flow {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-badges {
        justify-content: center;
    }

    .footer-company-info {
        text-align: center;
    }
}
