/**
 * ===========================================
 * GlazeOps Public Website Styles
 * ===========================================
 * Industrial refined aesthetic with glass effects
 */

/* =========================================
   CSS Variables
   ========================================= */
:root {
    --pub-primary: #32374A;
    --pub-primary-dark: #1a1d27;
    --pub-primary-light: #3f455c;
    --pub-primary-lighter: #4d546e;
    --pub-accent-blue: #3b82f6;
    --pub-accent-green: #10b981;
    --pub-accent-amber: #f59e0b;
    --pub-accent-red: #ef4444;
    --pub-accent-purple: #8b5cf6;
    --pub-text: #e2e8f0;
    --pub-text-muted: #94a3b8;
    --pub-text-dark: #1e293b;
    --pub-text-body-dark: #475569;
    --pub-surface: #ffffff;
    --pub-surface-alt: #f8fafc;
    --pub-border: rgba(255,255,255,0.08);
    --pub-border-light: #e2e8f0;
    --pub-container: 1200px;
    --pub-radius: 12px;
    --pub-radius-lg: 20px;
    --pub-radius-xl: 28px;
    --pub-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* =========================================
   Base / Reset
   ========================================= */
.public-page {
    font-family: var(--font-body);
    color: var(--pub-text-dark);
    background: var(--pub-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.public-page *, .public-page *::before, .public-page *::after {
    box-sizing: border-box;
}

.public-page h1, .public-page h2, .public-page h3, .public-page h4, .public-page h5 {
    font-family: var(--font-display);
    line-height: 1.15;
    color: var(--pub-primary-dark);
    margin: 0;
}

.public-page p { margin: 0; }
.public-page ul { list-style: none; padding: 0; margin: 0; }
.public-page a { text-decoration: none; color: inherit; }

.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;
}

.skip-nav {
    position: absolute; top: -100%; left: 16px; z-index: 10000;
    padding: 12px 24px; background: var(--pub-accent-blue); color: #fff;
    border-radius: 0 0 8px 8px; font-weight: 600; transition: top 0.2s;
}
.skip-nav:focus { top: 0; }

/* =========================================
   Container
   ========================================= */
.pub-container {
    max-width: var(--pub-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   Header / Navigation
   ========================================= */
.pub-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: background var(--pub-transition), box-shadow var(--pub-transition);
}

.pub-header.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

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

.pub-logo {
    display: flex; align-items: center; gap: 10px;
    color: var(--pub-primary); font-weight: 700; font-size: 1.25rem;
    font-family: var(--font-display);
    flex-shrink: 0;
}
.pub-logo-icon { color: var(--pub-primary); }

.pub-nav-links {
    display: flex; align-items: center; gap: 4px;
}
.pub-nav-links a {
    padding: 8px 16px;
    font-size: 0.9375rem; font-weight: 500;
    color: var(--pub-text-body-dark);
    border-radius: 8px;
    transition: color var(--pub-transition), background var(--pub-transition);
}
.pub-nav-links a:hover { color: var(--pub-primary-dark); background: rgba(50,55,74,0.05); }
.pub-nav-links a.active { color: var(--pub-accent-blue); background: rgba(59,130,246,0.06); }

.pub-nav-actions {
    display: flex; align-items: center; gap: 12px;
    flex-shrink: 0;
}

/* Mobile Toggle */
.pub-mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 44px; height: 44px; padding: 10px;
    flex-direction: column; justify-content: center; gap: 5px;
}
.pub-mobile-toggle span {
    display: block; height: 2px; background: var(--pub-primary);
    border-radius: 2px; transition: all 0.3s;
}
.pub-mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pub-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.pub-mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.pub-mobile-menu {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 16px 24px 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.pub-mobile-menu.open { display: block; animation: slideDown 0.3s ease; }

.pub-mobile-links { display: flex; flex-direction: column; gap: 4px; }
.pub-mobile-links a {
    display: block; padding: 12px 16px; font-size: 1rem; font-weight: 500;
    color: var(--pub-text-body-dark); border-radius: 8px;
    transition: background 0.2s;
}
.pub-mobile-links a:hover, .pub-mobile-links a.active { background: rgba(50,55,74,0.05); color: var(--pub-accent-blue); }
.pub-mobile-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--pub-border-light); }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Buttons
   ========================================= */
.pub-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 22px; font-size: 0.9375rem; font-weight: 600;
    font-family: var(--font-body);
    border-radius: 10px; border: none; cursor: pointer;
    transition: all var(--pub-transition);
    white-space: nowrap;
}
.pub-btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 12px; }
.pub-btn-block { width: 100%; }

.pub-btn-primary {
    background: var(--pub-primary) !important; color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(50,55,74,0.3);
}
.pub-btn-primary:hover {
    background: var(--pub-primary-dark) !important; color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(50,55,74,0.4);
    transform: translateY(-1px);
}

.pub-btn-ghost { background: transparent; color: var(--pub-primary); }
.pub-btn-ghost:hover { background: rgba(50,55,74,0.06); }

.pub-btn-outline {
    background: transparent; color: var(--pub-primary);
    border: 2px solid var(--pub-primary);
}
.pub-btn-outline:hover {
    background: var(--pub-primary); color: #ffffff !important;
}

.pub-btn-white {
    background: #fff !important; color: var(--pub-primary) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.pub-btn-white:hover {
    background: #f8fafc !important; color: var(--pub-primary) !important; transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.pub-btn-ghost-white {
    background: transparent; color: #ffffff !important;
    border: 2px solid rgba(255,255,255,0.3);
}
.pub-btn-ghost-white:hover {
    border-color: #fff; background: rgba(255,255,255,0.1); color: #ffffff !important;
}

.pub-btn-primary svg, .pub-btn-ghost-white svg { color: #ffffff !important; stroke: #ffffff !important; }
.pub-btn-white svg { color: var(--pub-primary) !important; stroke: var(--pub-primary) !important; }

/* =========================================
   Section Utilities
   ========================================= */
.pub-section {
    padding: 100px 0;
    position: relative;
}
.pub-section-alt {
    background: var(--pub-surface-alt);
}
.pub-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.pub-section-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.8125rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--pub-accent-blue);
    background: rgba(59,130,246,0.08);
    border-radius: 100px;
    margin-bottom: 20px;
}
.pub-section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.pub-section-subtitle {
    font-size: 1.125rem;
    color: var(--pub-text-body-dark);
    line-height: 1.7;
}
.pub-section-cta { text-align: center; margin-top: 48px; }

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 30%, #f0f5ff 60%, #f8fafc 100%);
}
.hero-grid-pattern {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(50,55,74,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(50,55,74,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-glow {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4;
}
.hero-glow-1 {
    width: 600px; height: 600px; top: -200px; right: -100px;
    background: rgba(59,130,246,0.15);
}
.hero-glow-2 {
    width: 400px; height: 400px; bottom: -100px; left: -50px;
    background: rgba(139,92,246,0.1);
}

.hero-content {
    position: relative; z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    gap: 28px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px;
    font-size: 0.875rem; font-weight: 600;
    color: var(--pub-accent-blue);
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.15);
    border-radius: 100px;
}
.hero-badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--pub-accent-green);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    width: 100%;
}
.hero-gradient-text {
    background: linear-gradient(135deg, var(--pub-accent-blue), var(--pub-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--pub-text-body-dark);
    max-width: 640px;
    text-align: center;
}

.hero-actions {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex; align-items: center; justify-content: center;
    gap: 24px; flex-wrap: wrap;
}
.hero-meta-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.875rem; font-weight: 500;
    color: var(--pub-text-body-dark);
}
.hero-meta-item svg { color: var(--pub-accent-green); }

/* Dashboard Preview Mock */
.hero-preview {
    position: relative; z-index: 1;
    margin-top: 64px;
    max-width: 1140px;
    margin-left: auto; margin-right: auto;
    border-radius: var(--pub-radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(50,55,74,0.2), 0 0 0 1px rgba(0,0,0,0.06);
}
.hero-browser-frame {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    background: #1e2130;
}
.hero-browser-dots { display: flex; gap: 6px; }
.hero-browser-dots span {
    width: 10px; height: 10px; border-radius: 50%;
}
.hero-browser-dots span:nth-child(1) { background: #ef4444; }
.hero-browser-dots span:nth-child(2) { background: #f59e0b; }
.hero-browser-dots span:nth-child(3) { background: #10b981; }
.hero-browser-bar {
    flex: 1; text-align: center;
    font-size: 0.75rem; font-family: var(--font-mono);
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.06);
    padding: 6px 16px; border-radius: 6px;
}

.hero-dashboard-mock {
    display: flex;
    background: #252936;
    min-height: 360px;
}
.mock-sidebar {
    width: 200px; padding: 16px;
    background: #1e2130;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex; flex-direction: column; gap: 4px;
}
.mock-sidebar-item {
    height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.04);
}
.mock-sidebar-item.active { background: rgba(59,130,246,0.2); }

.mock-main { flex: 1; padding: 20px; }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.mock-stat-card {
    background: rgba(255,255,255,0.04);
    border-radius: 10px; padding: 16px;
    border: 1px solid rgba(255,255,255,0.04);
}
.mock-stat-label { height: 10px; width: 60%; background: rgba(255,255,255,0.1); border-radius: 4px; margin-bottom: 10px; }
.mock-stat-value { height: 20px; background: rgba(59,130,246,0.3); border-radius: 4px; }

.mock-table { background: rgba(255,255,255,0.02); border-radius: 10px; overflow: hidden; }
.mock-table-header { height: 36px; background: rgba(255,255,255,0.04); }
.mock-table-row {
    display: flex; align-items: center; justify-content: space-between;
    height: 44px; padding: 0 16px;
    border-top: 1px solid rgba(255,255,255,0.03);
}
.mock-badge {
    display: inline-block;
    padding: 4px 12px; border-radius: 10px;
    font-size: 0.6875rem; font-weight: 600;
    white-space: nowrap;
    line-height: 1.3;
}
.mock-badge.green { background: rgba(16,185,129,0.25); color: #059669; }
.mock-badge.amber { background: rgba(245,158,11,0.25); color: #b45309; }
.mock-badge.blue { background: rgba(59,130,246,0.25); color: #2563eb; }
.mock-badge.red { background: rgba(239,68,68,0.25); color: #dc2626; }
.mock-badge.gray { background: rgba(148,163,184,0.2); color: #64748b; }

/* =========================================
   Problem / Solution Section
   ========================================= */
.problem-section { background: var(--pub-surface-alt); }
.problem-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-bottom: 48px;
}
.problem-card {
    padding: 32px;
    border-radius: var(--pub-radius);
    background: var(--pub-surface);
    border: 1px solid var(--pub-border-light);
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
}
.problem-card-bad { }
.problem-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    grid-column: 1; grid-row: 1;
}
.problem-card-bad .problem-icon { background: rgba(239,68,68,0.08); color: var(--pub-accent-red); }
.problem-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0; grid-column: 2; grid-row: 1; align-self: center; }
.problem-card p { font-size: 0.9375rem; color: var(--pub-text-body-dark); line-height: 1.6; grid-column: 1 / -1; margin-top: 14px; }

.solution-arrow {
    text-align: center; color: var(--pub-accent-blue);
    margin-bottom: 32px;
    animation: bounceDown 2s infinite;
}
@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.solution-card {
    text-align: center;
    padding: 48px;
    background: linear-gradient(135deg, var(--pub-primary), var(--pub-primary-light));
    color: #fff;
    border-radius: var(--pub-radius-lg);
    box-shadow: 0 12px 40px rgba(50,55,74,0.3);
}
.solution-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.15);
    margin: 0 auto 20px;
    color: #fff;
}
.solution-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; color: #fff; }
.solution-card p { font-size: 1.0625rem; color: rgba(255,255,255,0.85); line-height: 1.7; max-width: 600px; margin: 0 auto; }

/* =========================================
   Features Grid
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 32px;
    background: var(--pub-surface);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius);
    transition: all var(--pub-transition);
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
}
.feature-card:hover {
    border-color: rgba(59,130,246,0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    grid-column: 1; grid-row: 1;
}
.feature-icon-lg { width: 56px; height: 56px; border-radius: 14px; }
.feature-icon-blue { background: rgba(59,130,246,0.08); color: var(--pub-accent-blue); }
.feature-icon-green { background: rgba(16,185,129,0.08); color: var(--pub-accent-green); }
.feature-icon-amber { background: rgba(245,158,11,0.08); color: var(--pub-accent-amber); }
.feature-icon-red { background: rgba(239,68,68,0.08); color: var(--pub-accent-red); }
.feature-icon-purple { background: rgba(139,92,246,0.08); color: var(--pub-accent-purple); }
.feature-icon-teal { background: rgba(20,184,166,0.08); color: #14b8a6; }

.feature-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0; grid-column: 2; grid-row: 1; align-self: center; }
.feature-card p { font-size: 0.9375rem; color: var(--pub-text-body-dark); line-height: 1.6; grid-column: 1 / -1; margin-top: 14px; }

/* =========================================
   Hero Screenshot
   ========================================= */
.hero-screenshot {
    background: #252936;
}
.hero-screenshot img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================
   Feature Showcase — Alternating Image/Text
   ========================================= */
.feature-showcase {
    background: var(--pub-surface-alt);
}
.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}
.showcase-row:last-child { margin-bottom: 0; }

.showcase-row-reverse .showcase-text { order: 2; }
.showcase-row-reverse .showcase-image { order: 1; }

.showcase-text h3 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--pub-text-heading);
}
.showcase-text p {
    font-size: 1rem;
    color: var(--pub-text-body-dark);
    line-height: 1.7;
}
.showcase-text .pub-section-tag { margin-bottom: 12px; }

.showcase-browser-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(50,55,74,0.15), 0 0 0 1px rgba(0,0,0,0.06);
    background: #1e2130;
}
.showcase-browser-chrome {
    display: flex; gap: 6px;
    padding: 10px 14px;
    background: #1e2130;
}
.showcase-browser-chrome span {
    width: 8px; height: 8px; border-radius: 50%;
}
.showcase-browser-chrome span:nth-child(1) { background: #ef4444; }
.showcase-browser-chrome span:nth-child(2) { background: #f59e0b; }
.showcase-browser-chrome span:nth-child(3) { background: #10b981; }
.showcase-browser-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================
   How It Works / Steps
   ========================================= */
.how-it-works { background: var(--pub-surface-alt); }
.steps-grid {
    display: flex; align-items: flex-start; justify-content: center; gap: 0;
}
.step-card {
    flex: 1; max-width: 260px; text-align: center; padding: 0 16px;
}
.step-number {
    font-family: var(--font-display);
    font-size: 3rem; font-weight: 900;
    background: linear-gradient(135deg, var(--pub-accent-blue), var(--pub-accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}
.step-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 0.9375rem; color: var(--pub-text-body-dark); line-height: 1.6; }
.step-connector {
    display: flex; align-items: center; padding-top: 28px; color: var(--pub-text-muted);
    flex-shrink: 0;
}

/* =========================================
   Stats Section
   ========================================= */
.stats-section {
    background: linear-gradient(135deg, var(--pub-primary-dark), var(--pub-primary));
    padding: 80px 0;
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
    text-align: center;
}
.stat-value {
    font-family: var(--font-display);
    font-size: 2.75rem; font-weight: 900; color: #fff;
    margin-bottom: 4px;
}
.stat-label { font-size: 0.9375rem; color: rgba(255,255,255,0.65); font-weight: 500; }

/* =========================================
   Built For Section
   ========================================= */
.built-for-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.built-for-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem); font-weight: 800; margin-bottom: 16px;
}
.built-for-content > p {
    font-size: 1.0625rem; color: var(--pub-text-body-dark); line-height: 1.7; margin-bottom: 28px;
}
.built-for-list { display: flex; flex-direction: column; gap: 12px; }
.built-for-list li {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.9375rem; font-weight: 500; color: var(--pub-text-body-dark);
}
.built-for-list svg { color: var(--pub-accent-green); flex-shrink: 0; }

/* Built-for visual cards */
.built-for-visual {
    position: relative;
}
.built-for-visual .showcase-browser-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(50,55,74,0.15), 0 0 0 1px rgba(0,0,0,0.06);
}
.built-for-visual .showcase-browser-frame img {
    display: block;
    width: 100%;
    height: auto;
}
.bf-card {
    position: absolute;
    background: var(--pub-surface);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius);
    padding: 20px;
    width: 300px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform var(--pub-transition);
}
.bf-card:hover { transform: translateY(-4px) !important; }
.bf-card-1 { top: 0; left: 0; z-index: 3; }
.bf-card-2 { top: 80px; left: 120px; z-index: 2; }
.bf-card-3 { top: 200px; left: 30px; z-index: 1; }
.bf-card-header {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.875rem; font-weight: 700; color: var(--pub-primary-dark);
    margin-bottom: 12px;
}
.bf-badge {
    padding: 3px 10px; border-radius: 100px;
    font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
}
.bf-badge-green { background: rgba(16,185,129,0.12); color: #059669; }
.bf-badge-amber { background: rgba(245,158,11,0.12); color: #d97706; }
.bf-badge-blue { background: rgba(59,130,246,0.12); color: #2563eb; }
.bf-card-body { display: flex; flex-direction: column; gap: 6px; }
.bf-field {
    font-size: 0.8125rem; color: var(--pub-text-body-dark);
}
.bf-field span { font-weight: 600; color: var(--pub-primary-dark); }

/* =========================================
   CTA Section
   ========================================= */
.cta-section { padding: 60px 0 100px; }
.cta-card {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--pub-primary-dark), var(--pub-primary), var(--pub-primary-light));
    border-radius: var(--pub-radius-xl);
    padding: 80px 60px;
    text-align: center;
}
.cta-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
.cta-card h2 {
    position: relative; z-index: 1;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800; color: #fff; margin-bottom: 12px;
}
.cta-card > p {
    position: relative; z-index: 1;
    font-size: 1.125rem; color: rgba(255,255,255,0.75);
    margin-bottom: 36px; line-height: 1.6;
}
.cta-actions {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    gap: 16px; flex-wrap: wrap;
}

/* =========================================
   Page Hero (sub-pages)
   ========================================= */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
}
.page-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 50%, #f8fafc 100%);
}
.page-hero-content {
    position: relative; z-index: 1;
    text-align: center; max-width: 700px; margin: 0 auto;
}
.page-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.page-hero-subtitle {
    font-size: 1.125rem;
    color: var(--pub-text-body-dark);
    line-height: 1.7;
}

/* =========================================
   Feature Detail Sections (Features Page)
   ========================================= */
.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.feature-detail-right .feature-detail-content { order: 2; }
.feature-detail-right .feature-detail-visual { order: 1; }

.feature-detail-content {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 16px;
}
.feature-detail-content .feature-icon {
    grid-column: 1; grid-row: 1; margin-bottom: 0;
}
.feature-detail-content h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0; grid-column: 2; grid-row: 1; align-self: center; }
.feature-detail-content > p { font-size: 1rem; color: var(--pub-text-body-dark); line-height: 1.7; margin-bottom: 24px; margin-top: 16px; grid-column: 1 / -1; }
.feature-detail-list { display: flex; flex-direction: column; gap: 10px; grid-column: 1 / -1; }
.feature-detail-list li {
    position: relative; padding-left: 24px;
    font-size: 0.9375rem; color: var(--pub-text-body-dark); line-height: 1.5;
}
.feature-detail-list li::before {
    content: ''; position: absolute; left: 0; top: 7px;
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--pub-accent-blue);
}

/* Feature Detail Visual Mocks */
.fd-mock {
    background: var(--pub-surface);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.fd-mock-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px;
    background: var(--pub-surface-alt);
    border-bottom: 1px solid var(--pub-border-light);
}
.fd-mock-title { font-weight: 700; font-size: 0.875rem; font-family: var(--font-display); }
.fd-mock-actions { display: flex; gap: 6px; }
.fd-mock-actions span { width: 28px; height: 28px; border-radius: 6px; background: var(--pub-border-light); }

.fd-mock-table { padding: 8px; }
.fd-mock-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 6px;
    font-size: 0.8125rem;
}
.fd-mock-row:hover { background: var(--pub-surface-alt); }
.fd-num { font-family: var(--font-mono); font-weight: 600; color: var(--pub-primary); width: 48px; flex-shrink: 0; }
.fd-text { flex: 1; color: var(--pub-text-body-dark); min-width: 0; }
.fd-mock-row .mock-badge { flex-shrink: 0; }

.fd-mock-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    padding: 20px 20px;
}
.fd-stat { text-align: center; padding: 8px 4px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fd-stat-val {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
    color: var(--pub-primary-dark);
    display: block;
    line-height: 1;
}
.fd-stat-lbl { font-size: 0.75rem; color: var(--pub-text-muted); line-height: 1.3; display: block; }

/* Kanban mock for bidding feature */
.fd-mock-kanban { display: flex; gap: 8px; padding: 10px; overflow: hidden; }
.fd-kanban-col { flex: 1; min-width: 0; }
.fd-kanban-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--pub-text-muted); margin-bottom: 6px; padding-left: 2px; }
.fd-kanban-card { background: var(--pub-surface-alt, #f3f4f6); border-radius: 6px; padding: 8px 10px; margin-bottom: 6px; border: 1px solid var(--pub-border-light, #e5e7eb); }
.fd-kanban-card .fd-text { display: block; font-size: 0.78rem; font-weight: 600; color: var(--pub-text-body-dark, #1f2937); }
.fd-kanban-card .fd-sub { display: block; font-size: 0.7rem; font-family: var(--font-mono); color: var(--pub-text-muted, #6b7280); margin-top: 2px; }
.fd-kanban-won .fd-kanban-label { color: #10b981; }
.fd-kanban-won .fd-kanban-card { border-color: rgba(16, 185, 129, 0.3); background: rgba(16, 185, 129, 0.06); }

.fd-gantt-rows { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.fd-gantt-row { display: flex; align-items: center; gap: 12px; }
.fd-gantt-label { width: 120px; font-size: 0.8125rem; font-weight: 600; color: var(--pub-primary); }
.fd-gantt-bar {
    height: 24px; border-radius: 6px;
}
.fd-bar-blue { background: linear-gradient(90deg, rgba(59,130,246,0.3), rgba(59,130,246,0.6)); }
.fd-bar-green { background: linear-gradient(90deg, rgba(16,185,129,0.3), rgba(16,185,129,0.6)); }
.fd-bar-purple { background: linear-gradient(90deg, rgba(139,92,246,0.3), rgba(139,92,246,0.6)); }
.fd-bar-amber { background: linear-gradient(90deg, rgba(245,158,11,0.3), rgba(245,158,11,0.6)); }

.fd-daily-fields { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.fd-daily-field {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.875rem; color: var(--pub-text-body-dark);
    padding: 10px 16px; background: var(--pub-surface-alt); border-radius: 8px;
}
.fd-daily-icon { font-size: 1.25rem; }

/* Work Order Mock */
.fd-wo-stats { display: flex; gap: 12px; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.fd-wo-stat { flex: 1; text-align: center; padding: 8px; background: rgba(255,255,255,0.04); border-radius: 8px; }
.fd-wo-num { display: block; font-size: 1.1rem; font-weight: 700; color: #e5e7eb; }
.fd-wo-label { display: block; font-size: 0.65rem; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.fd-wo-stat-green .fd-wo-num { color: #6ee7b7; }
.fd-wo-rows { padding: 12px 20px; display: flex; flex-direction: column; gap: 8px; }
.fd-wo-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(255,255,255,0.03); border-radius: 6px; border: 1px solid rgba(255,255,255,0.06); }
.fd-wo-row .fd-text { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: #93c5fd; font-weight: 600; flex-shrink: 0; }
.fd-wo-row .fd-badge { font-size: 0.6rem; padding: 2px 8px; border-radius: 99px; font-weight: 600; flex-shrink: 0; }
.fd-badge-blue { background: rgba(59,130,246,0.2); color: #93c5fd; }
.fd-badge-amber { background: rgba(245,158,11,0.2); color: #fcd34d; }
.fd-badge-green { background: rgba(16,185,129,0.2); color: #6ee7b7; }
.fd-wo-row .fd-sub { font-size: 0.75rem; color: #9ca3af; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* More Features Grid */
.more-features-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.more-feature-card {
    padding: 24px;
    background: var(--pub-surface);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius);
    transition: all var(--pub-transition);
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 12px;
}
.more-feature-card:hover {
    border-color: rgba(59,130,246,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.more-feature-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.06); color: var(--pub-accent-blue);
    grid-column: 1; grid-row: 1;
}
.more-feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0; grid-column: 2; grid-row: 1; align-self: center; }
.more-feature-card p { font-size: 0.875rem; color: var(--pub-text-body-dark); line-height: 1.5; grid-column: 1 / -1; margin-top: 10px; }

/* =========================================
   About Page
   ========================================= */
.about-story {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.about-story-content h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 20px; }
.about-story-content p {
    font-size: 1rem; color: var(--pub-text-body-dark); line-height: 1.8; margin-bottom: 16px;
}

.about-values-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.about-value-card {
    padding: 28px;
    background: var(--pub-surface);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius);
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
}
.about-value-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.06); color: var(--pub-accent-blue);
    grid-column: 1; grid-row: 1;
}
.about-value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0; grid-column: 2; grid-row: 1; align-self: center; }
.about-value-card p { font-size: 0.875rem; color: var(--pub-text-body-dark); line-height: 1.5; grid-column: 1 / -1; margin-top: 10px; }

.trades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trade-card {
    padding: 32px;
    background: var(--pub-surface);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius);
    transition: all var(--pub-transition);
}
.trade-card:hover {
    border-color: rgba(59,130,246,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transform: translateY(-2px);
}
.trade-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.trade-card p { font-size: 0.9375rem; color: var(--pub-text-body-dark); line-height: 1.6; }

/* =========================================
   Knowledge Base
   ========================================= */
.kb-category {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--pub-border-light);
}
.kb-category:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.kb-category-header {
    display: flex; align-items: flex-start; gap: 16px;
    margin-bottom: 24px;
}
.kb-category-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.kb-icon-blue { background: rgba(59,130,246,0.08); color: var(--pub-accent-blue); }
.kb-icon-green { background: rgba(16,185,129,0.08); color: var(--pub-accent-green); }
.kb-icon-purple { background: rgba(139,92,246,0.08); color: var(--pub-accent-purple); }
.kb-icon-amber { background: rgba(245,158,11,0.08); color: var(--pub-accent-amber); }

.kb-category-header h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.kb-category-header p { font-size: 0.875rem; color: var(--pub-text-muted); }

.kb-articles { display: flex; flex-direction: column; gap: 16px; padding-left: 64px; }
.kb-article {
    padding: 24px 28px;
    background: var(--pub-surface);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius);
    transition: border-color var(--pub-transition);
}
.kb-article:hover { border-color: rgba(59,130,246,0.2); }
.kb-article h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--pub-primary-dark); }
.kb-article p { font-size: 0.9375rem; color: var(--pub-text-body-dark); line-height: 1.7; }
.kb-article strong { color: var(--pub-primary-dark); }

/* =========================================
   Contact Page
   ========================================= */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
}
.contact-methods { display: flex; flex-direction: column; gap: 24px; }
.contact-method-card {
    padding: 32px;
    background: var(--pub-surface-alt);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius);
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
}
.contact-method-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(59,130,246,0.08); color: var(--pub-accent-blue);
    align-self: center;
}
.contact-method-card h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0; align-self: center; }
.contact-method-card p { font-size: 0.9375rem; color: var(--pub-text-body-dark); line-height: 1.6; margin-top: 16px; margin-bottom: 12px; grid-column: 1 / -1; }
.contact-method-link {
    font-size: 0.9375rem; font-weight: 600; color: var(--pub-accent-blue);
    transition: color var(--pub-transition);
    grid-column: 1 / -1;
}
.contact-method-link:hover { color: #2563eb; }

.contact-faq h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 20px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius);
    overflow: hidden;
    transition: border-color var(--pub-transition);
}
.faq-item:hover { border-color: rgba(59,130,246,0.15); }
.faq-item summary {
    padding: 16px 20px;
    font-size: 0.9375rem; font-weight: 600;
    cursor: pointer;
    color: var(--pub-primary-dark);
    display: flex; align-items: center; justify-content: space-between;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 1.25rem; font-weight: 300;
    color: var(--pub-text-muted);
    transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
    padding: 0 20px 16px;
    font-size: 0.9375rem; color: var(--pub-text-body-dark); line-height: 1.7;
}

/* =========================================
   Footer
   ========================================= */
.pub-footer {
    background: var(--pub-primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 40px;
}
.pub-footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
.pub-footer-brand .pub-logo { color: #fff; margin-bottom: 16px; }
.pub-footer-tagline { font-size: 0.9375rem; line-height: 1.6; color: rgba(255,255,255,0.5); max-width: 280px; }

.pub-footer-col h4 {
    font-family: var(--font-display); font-size: 0.875rem; font-weight: 700;
    color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.06em;
}
.pub-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.pub-footer-col a {
    font-size: 0.9375rem; color: rgba(255,255,255,0.55);
    transition: color var(--pub-transition);
}
.pub-footer-col a:hover { color: #fff; }

.pub-footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8125rem;
}
.pub-footer-built { color: rgba(255,255,255,0.35); }

/* =========================================
   Animations
   ========================================= */
[data-animate] {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
    opacity: 1; transform: translateY(0);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .more-features-grid { grid-template-columns: repeat(2, 1fr); }
    .pub-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .built-for-grid { grid-template-columns: 1fr; gap: 48px; }
    .built-for-visual { min-height: 300px; }
    .feature-detail { grid-template-columns: 1fr; gap: 40px; }
    .feature-detail-right .feature-detail-content,
    .feature-detail-right .feature-detail-visual { order: unset; }
    .about-story { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .pub-nav-links, .pub-nav-actions { display: none; }
    .pub-mobile-toggle { display: flex; }

    .hero { padding: 130px 0 60px; }
    .hero h1 { font-size: clamp(2rem, 7vw, 2.75rem); }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-meta { flex-direction: column; gap: 8px; }
    .hero-preview { margin-top: 40px; }
    .mock-sidebar { width: 80px; }
    .mock-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-dashboard-mock { min-height: 280px; }

    .pub-section { padding: 64px 0; }
    .page-hero { padding: 130px 0 60px; }
    .pub-section-header { margin-bottom: 40px; }

    .problem-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .showcase-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
    .showcase-row-reverse .showcase-text { order: 1; }
    .showcase-row-reverse .showcase-image { order: 2; }
    .showcase-text h3 { font-size: 1.375rem; }
    .more-features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .trades-grid { grid-template-columns: 1fr; }

    .steps-grid { flex-direction: column; align-items: center; gap: 24px; }
    .step-connector { transform: rotate(90deg); padding-top: 0; }
    .step-card { max-width: 100%; }

    .fd-mock-stats { grid-template-columns: repeat(2, 1fr); }
    .fd-gantt-label { width: 80px; font-size: 0.75rem; }

    .bf-card { position: relative; width: 100%; }
    .bf-card-1, .bf-card-2, .bf-card-3 { top: auto; left: auto; }
    .built-for-visual { display: flex; flex-direction: column; gap: 16px; min-height: auto; }

    .about-values-grid { grid-template-columns: 1fr; }
    .kb-articles { padding-left: 0; }

    .cta-card { padding: 48px 24px; }
    .pub-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .pub-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.875rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .pub-btn { width: 100%; }
    .mock-sidebar { display: none; }
    .stat-value { font-size: 2rem; }
    .cta-actions { flex-direction: column; }
    .cta-actions .pub-btn { width: 100%; }
}

/* ===========================================
   Contact Form
   =========================================== */
.contact-form-section {
    background: var(--pub-surface-alt);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius-lg);
    padding: 40px;
}

.contact-form-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-form-subtitle {
    font-size: 0.9375rem;
    color: var(--pub-text-body-dark);
    margin-bottom: 28px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.contact-form-row .contact-form-group {
    margin-bottom: 0;
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pub-text-dark);
    margin-bottom: 6px;
}

.contact-label .required {
    color: var(--pub-accent-red);
}

.contact-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--pub-text-dark);
    background: #fff;
    border: 1px solid var(--pub-border-light);
    border-radius: 10px;
    transition: border-color var(--pub-transition), box-shadow var(--pub-transition);
}

.contact-input:focus {
    outline: none;
    border-color: var(--pub-accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.contact-input::placeholder {
    color: #94a3b8;
}

.contact-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.contact-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-submit-btn {
    width: 100%;
    margin-top: 8px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Public alert (flash messages on public pages) */
.pub-alert {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 24px;
    border-left: 4px solid;
}

.pub-alert-success {
    background: #ecfdf5;
    border-color: #10b981;
    color: #065f46;
}

.pub-alert-error {
    background: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

@media (max-width: 768px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-section {
        padding: 24px;
    }
}

/* ===========================================
   Origin / Founder Story Section
   =========================================== */
.origin-section {
    padding: 100px 0;
}

.origin-card {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius-xl);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.origin-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.origin-content {
    max-width: 720px;
}

.origin-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.origin-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--pub-text-body-dark);
    margin-bottom: 16px;
}

.origin-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--pub-border-light);
}

.origin-highlight {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.origin-highlight strong {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--pub-text-dark);
}

.origin-highlight span {
    font-size: 0.875rem;
    color: var(--pub-text-body-dark);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .origin-card {
        padding: 32px 24px;
    }
    .origin-content h2 {
        font-size: 1.75rem;
    }
    .origin-highlights {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ===========================================
   Differentiator Flow Section
   =========================================== */
.differentiator-section {
    padding: 100px 0;
    background: var(--pub-surface-alt);
}

.diff-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 56px;
    flex-wrap: wrap;
}

.diff-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--pub-border-light);
    border-radius: var(--pub-radius);
    padding: 20px 22px;
    min-width: 180px;
    max-width: 210px;
    flex: 0 0 auto;
    transition: transform var(--pub-transition), box-shadow var(--pub-transition);
}

.diff-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.diff-step-highlight {
    border-color: var(--pub-accent-blue);
    background: rgba(59,130,246,0.04);
    box-shadow: 0 0 0 1px var(--pub-accent-blue);
}

.diff-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pub-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.diff-step-highlight .diff-step-num {
    background: var(--pub-accent-blue);
}

.diff-step-content h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.diff-step-content p {
    font-size: 0.8125rem;
    color: var(--pub-text-body-dark);
    line-height: 1.5;
    margin: 0;
}

.diff-arrow {
    color: var(--pub-accent-blue);
    flex-shrink: 0;
    opacity: 0.4;
}

@media (max-width: 1024px) {
    .diff-flow {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .diff-step {
        max-width: none;
    }
    .diff-arrow {
        transform: rotate(90deg);
        align-self: center;
    }
}
