:root {
    --primary: #0F172A;
    --primary-dark: #020617;
    --primary-light: #F1F5F9;
    --accent: #0D9488;
    --accent-dark: #0F766E;
    --accent-light: #F0FDFA;
    --text: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(15,23,42,0.08);
    --shadow-lg: 0 12px 40px rgba(15,23,42,0.1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

/* Header */
.site-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 72px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    text-decoration: none;
}

.logo:hover {
    color: var(--text);
}

.logo-accent { color: var(--accent); }

.main-nav {
    justify-self: center;
}

.header-actions {
    justify-self: end;
    flex-shrink: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.main-nav a:hover { color: var(--accent); }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    justify-self: end;
    grid-column: 3;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background: var(--bg-alt);
    border-color: var(--primary);
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* Hero — Hubs split layout */
.hero {
    background: var(--bg-alt);
    padding: 64px 0 80px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.hero-hubs > .container {
    display: block;
}

.hero-hubs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-hubs-content h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--primary);
}

.hero-hubs-quote {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.mode-tabs {
    display: inline-flex;
    gap: 0;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 28px;
}

.mode-tab {
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.mode-tab.active {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow);
}

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

.hero-features.active {
    display: flex;
}

.hero-features li {
    position: relative;
    padding-left: 28px;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}

.hero-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    background: var(--accent-light);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D9488' stroke-width='3'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-hubs-quote .hero-quote {
    width: 100%;
    max-width: none;
    margin: 0;
}

.hero-hubs .print3d-quote-widget {
    max-width: 100%;
}

.hero-hubs .upload-card {
    border: none;
    padding: 0;
    box-shadow: none;
    background: transparent;
}

.hero-hubs .quote-steps {
    margin-bottom: 16px;
}

.upload-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Logos strip */
.logos-section {
    padding: 32px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logos-label {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logos-row span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #94A3B8;
    letter-spacing: 0.02em;
}

/* Capabilities */
.capabilities-section {
    padding: 80px 0;
    background: var(--bg);
}

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

.capability-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.2s;
    background: #fff;
}

.capability-card:hover {
    border-color: #CBD5E1;
    box-shadow: var(--shadow-md);
}

.capability-head {
    margin-bottom: 20px;
}

.capability-tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

.capability-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.capability-specs {
    list-style: none;
    margin-bottom: 20px;
}

.capability-specs li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.capability-specs li:last-child {
    border-bottom: none;
}

.capability-specs span {
    color: var(--text-muted);
}

.capability-specs strong {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}

.capability-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}

.capability-link:hover {
    color: var(--accent-dark);
}

.hero-split .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--accent);
}

.hero-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.hero-checklist {
    list-style: none;
    margin-bottom: 28px;
}

.hero-checklist li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--text);
    font-size: 0.95rem;
}

.hero-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.hero-centered .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
}

.hero:not(.hero-centered):not(.hero-split):not(.hero-hubs) > .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-content > p,
.hero-centered > p,
.hero-container > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-quote {
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
}

.hero-quote .print3d-quote-widget {
    width: 100%;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats .stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--accent);
}

.hero-stats .stat span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Upload fallback — matches Hubs style when plugin CSS not loaded */
.hero-quote .upload-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.hero-quote .upload-dropzone {
    border: 2px dashed #CBD5E1;
    border-radius: 12px;
    padding: 0;
    background: #FAFBFC;
}

.hero-quote .upload-dropzone-inner {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 10px;
    padding: 32px;
    text-align: center;
}

.hero-quote .upload-drop-text {
    font-size: 1rem;
    font-weight: 600;
    color: #0F172A;
    margin: 0 0 6px;
}

.hero-quote .upload-drop-sub {
    display: none;
}

.hero-quote .upload-primary-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    margin-bottom: 16px;
    border: none;
    border-radius: 8px;
    background: #0F172A;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

/* Technology cards */
.tech-section {
    padding: 80px 0;
    background: var(--bg);
}

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

.tech-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.2s;
}

.tech-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.tech-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.tech-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.tech-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.tech-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.tech-link:hover {
    color: var(--primary-dark);
}

/* Quote info section */
.quote-info-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.quote-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.section-title-left {
    text-align: left;
}

.quote-info-lead {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.format-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.format-pills span {
    background: #fff;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
}

.quote-info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
}

.info-card strong {
    display: block;
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 4px;
}

.info-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Trust Bar */
.trust-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 0.9rem;
}

.trust-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Sections */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 48px;
}

/* Materials */
.materials-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.material-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.2s;
}

.material-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.material-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 16px;
}

.material-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.material-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.material-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.step-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.35;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Stats */
.stats-section {
    background: var(--primary);
    padding: 60px 0;
    color: #fff;
}

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

.stat-block strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-block span {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* CTA */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-inner h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.cta-inner p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Footer */
.site-footer {
    background: #0F172A;
    color: #CBD5E1;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
    color: #94A3B8;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-badges {
    display: flex;
    gap: 12px;
}

.badge {
    background: #1E293B;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Page content */
.page-content {
    padding: 40px 0;
}

.page-content h1 {
    font-size: 2rem;
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-hubs-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-hubs-content h1 { font-size: 2rem; }
    .hero-split .hero-grid { grid-template-columns: 1fr; }
    .quote-info-grid { grid-template-columns: 1fr; }
    .capabilities-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: 1fr; }
    .materials-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

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

    .main-nav {
        display: none;
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .header-actions { display: none; }
    .mobile-menu-toggle {
        display: flex;
        grid-column: 2;
    }
    .hero-hubs-content h1 { font-size: 1.75rem; }
    .hero-content h1 { font-size: 2rem; }
    .trust-items { grid-template-columns: repeat(2, 1fr); }
    .materials-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; }
    .logos-row { gap: 24px; }
}
