/* AUTO-GENERATED by GenerateCoreCssBundle MSBuild target — edit default.css or shared/header.css then rebuild. */
/* ═══════════════════════════════════════════════════════
DATABAY — Global Design Tokens & Base Styles
Premium SaaS Design System
═══════════════════════════════════════════════════════ */
:root {
/* ─── Core Palette ─── */
--db-navy: #091B36;
--db-navy-mid: #0c1a30;
--db-navy-deep: #060e1f;
--db-blue: #3D7FFC;
--db-blue-hover: #2563eb;
--db-blue-dark: #1d4ed8;
--db-cyan: #15C1E6;
--db-cyan-light: #57F9E6;
--db-green: #22c55e;
--db-purple: #9333ea;
--db-orange: #f97316;
/* ─── Text Colors ─── */
--db-text: #0f172a;
--db-text-secondary: #475569;
--db-text-muted: #94a3b8;
/* ─── Surfaces ─── */
--db-border: #e2e8f0;
--db-border-light: #f1f5f9;
--db-bg: #ffffff;
--db-bg-alt: #f8fafc;
--db-bg-dark: #0f172a;
/* ─── Radii ─── */
--db-radius: 12px;
--db-radius-lg: 16px;
--db-radius-sm: 8px;
--db-radius-xs: 6px;
/* ─── Shadows ─── */
--db-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
--db-shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
--db-shadow-lg: 0 20px 60px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.05);
--db-shadow-xl: 0 32px 80px rgba(0,0,0,0.12), 0 12px 32px rgba(0,0,0,0.06);
--db-shadow-blue: 0 4px 14px rgba(61,127,252,0.25);
--db-shadow-blue-lg: 0 8px 30px rgba(61,127,252,0.3);
/* ─── Typography ─── */
--db-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
--db-font-display: 'Space Grotesk', 'Inter', sans-serif;
--db-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
/* ─── Motion ─── */
--db-ease: cubic-bezier(0.16, 1, 0.3, 1);
--db-ease-out: cubic-bezier(0.33, 1, 0.68, 1);
--db-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
/* ─── Layout ─── */
--db-wrap: 1280px;
/* ─── Gradients ─── */
--db-gradient-hero: linear-gradient(165deg, #091B36 0%, #0a1e3d 30%, #0f2547 50%, #091B36 100%);
--db-gradient-blue-cyan: linear-gradient(135deg, var(--db-blue) 0%, var(--db-cyan) 100%);
--db-gradient-text: linear-gradient(135deg, #60a5fa 0%, var(--db-cyan) 50%, var(--db-cyan-light) 100%);
--db-gradient-border: linear-gradient(135deg, var(--db-blue), var(--db-cyan), var(--db-purple), var(--db-blue));
}
/* ─── Reset & Base ─── */
*, *::before, *::after {
box-sizing: border-box;
}
body {
font-family: var(--db-font);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: var(--db-text);
margin: 0;
overflow-x: hidden;
text-rendering: optimizeLegibility;
}
/* ─── Page Wrapper ─── */
.db-page {
font-family: var(--db-font);
color: var(--db-text);
overflow-x: hidden;
}
.db-wrap {
max-width: var(--db-wrap);
margin: 0 auto;
padding: 0 2rem;
}
/* ─── Scroll Reveal ─── */
.reveal {
opacity: 0;
transform: translateY(24px);
transition: opacity 0.6s var(--db-ease), transform 0.6s var(--db-ease);
}
.revealed {
opacity: 1;
transform: translateY(0);
}
/* ─── Section Styles ─── */
.db-section {
padding: 5.5rem 0;
position: relative;
}
.db-section--alt {
background: var(--db-bg-alt);
}
.db-section--dark {
background: var(--db-navy);
color: #e2e8f0;
}
.db-section--gradient {
position: relative;
background: var(--db-gradient-hero);
color: #e2e8f0;
overflow: hidden;
}
.db-section--gradient::before {
content: '';
position: absolute;
inset: 0;
background:
radial-gradient(ellipse 60% 50% at 20% 30%, rgba(61,127,252,0.08), transparent),
radial-gradient(ellipse 40% 40% at 80% 70%, rgba(21,193,230,0.06), transparent);
pointer-events: none;
}
/* Section Headers */
.db-section-head {
text-align: center;
margin-bottom: 3.5rem;
}
.db-label {
display: inline-block;
font-family: var(--db-font);
font-size: 0.8125rem;
font-weight: 600;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--db-blue);
background: rgba(61, 127, 252, 0.08);
padding: 0.375rem 1rem;
border-radius: 100px;
margin-bottom: 1.25rem;
}
.db-section--dark .db-label,
.db-section--gradient .db-label {
background: rgba(255, 255, 255, 0.06);
color: var(--db-cyan);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.db-section-head h2 {
font-family: var(--db-font-display);
font-size: clamp(2rem, 3.5vw, 2.75rem);
font-weight: 700;
letter-spacing: -0.02em;
color: var(--db-text);
margin: 0 0 1rem;
line-height: 1.2;
}
.db-section--dark .db-section-head h2,
.db-section--gradient .db-section-head h2 {
color: #ffffff;
}
.db-section-head p {
font-size: 1.125rem;
color: var(--db-text-secondary);
max-width: 680px;
margin: 0 auto;
line-height: 1.7;
}
.db-section--dark .db-section-head p,
.db-section--gradient .db-section-head p {
color: #94a3b8;
}
/* ─── Hero ─── */
.db-hero {
position: relative;
background: var(--db-gradient-hero);
padding: 7rem 0 6rem;
overflow: hidden;
margin-top: -72px;
padding-top: calc(7rem + 72px);
}
.db-hero__bg {
position: absolute;
inset: 0;
pointer-events: none;
overflow: hidden;
}
.db-hero__orb {
position: absolute;
border-radius: 50%;
filter: blur(120px);
opacity: 0.25;
}
.db-hero__orb--1 {
width: 700px;
height: 700px;
background: var(--db-blue);
top: -250px;
right: -150px;
}
.db-hero__orb--2 {
width: 500px;
height: 500px;
background: var(--db-cyan);
bottom: -150px;
left: -150px;
}
.db-hero__orb--3 {
width: 300px;
height: 300px;
background: var(--db-purple);
top: 40%;
left: 20%;
opacity: 0.12;
}
.db-hero__inner {
position: relative;
z-index: 1;
text-align: center;
max-width: 820px;
margin: 0 auto;
}
.db-hero__badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 100px;
padding: 0.375rem 1rem;
font-size: 0.8125rem;
font-weight: 500;
color: rgba(255, 255, 255, 0.85);
margin-bottom: 2rem;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.db-hero h1 {
font-family: var(--db-font-display);
font-size: clamp(2.25rem, 5vw, 3.75rem);
font-weight: 700;
letter-spacing: -0.025em;
line-height: 1.12;
color: #ffffff;
margin: 0 0 1.5rem;
}
.db-hero h1 span {
background: var(--db-gradient-text);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.db-hero p {
font-size: 1.1875rem;
line-height: 1.7;
color: #94a3b8;
margin: 0 0 2.5rem;
max-width: 640px;
margin-left: auto;
margin-right: auto;
}
.db-hero__actions {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}
/* Hero Split Layout */
.db-hero--split .db-hero__inner {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
text-align: left;
max-width: 1280px;
}
.db-hero--split .db-hero__content {
max-width: 580px;
}
.db-hero--split .db-hero__visual {
display: flex;
align-items: center;
justify-content: center;
}
.db-hero--split .db-hero__actions {
justify-content: flex-start;
}
/* ─── Buttons ─── */
.db-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
font-family: var(--db-font);
font-weight: 600;
text-decoration: none;
border-radius: var(--db-radius-sm);
transition: all 0.2s var(--db-ease);
cursor: pointer;
border: none;
line-height: 1;
position: relative;
overflow: hidden;
}
.db-btn--lg {
font-size: 0.9375rem;
padding: 0.9375rem 1.875rem;
}
.db-btn--md {
font-size: 0.875rem;
padding: 0.6875rem 1.375rem;
}
.db-btn--sm {
font-size: 0.8125rem;
padding: 0.5rem 1rem;
}
.db-btn--primary {
background: var(--db-blue);
color: #ffffff;
box-shadow: 0 1px 2px rgba(61,127,252,0.2);
}
.db-btn--primary:hover {
background: var(--db-blue-hover);
color: #ffffff;
box-shadow: var(--db-shadow-blue);
transform: translateY(-2px);
}
.db-btn--primary:active {
transform: translateY(0);
}
.db-btn--gradient {
background: var(--db-gradient-blue-cyan);
color: #ffffff;
box-shadow: 0 2px 8px rgba(61,127,252,0.25);
}
.db-btn--gradient:hover {
box-shadow: var(--db-shadow-blue-lg);
transform: translateY(-2px);
filter: brightness(1.05);
color: #ffffff;
}
.db-btn--white {
background: #ffffff;
color: var(--db-blue);
box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.db-btn--white:hover {
background: #f8fafc;
color: var(--db-blue-hover);
box-shadow: var(--db-shadow-md);
transform: translateY(-2px);
}
.db-btn--outline {
background: transparent;
color: #ffffff;
border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.db-btn--outline:hover {
background: rgba(255, 255, 255, 0.08);
color: #ffffff;
border-color: rgba(255, 255, 255, 0.4);
transform: translateY(-1px);
}
.db-btn--outline-dark {
background: transparent;
color: var(--db-text);
border: 1.5px solid var(--db-border);
}
.db-btn--outline-dark:hover {
border-color: var(--db-blue);
color: var(--db-blue);
transform: translateY(-1px);
}
.db-btn--ghost {
background: transparent;
color: var(--db-blue);
padding: 0.625rem 0;
}
.db-btn--ghost:hover {
color: var(--db-blue-hover);
}
.db-btn--ghost svg {
transition: transform 0.2s ease;
}
.db-btn--ghost:hover svg {
transform: translateX(3px);
}
/* ─── Cards ─── */
.db-card {
background: var(--db-bg);
border: 1px solid var(--db-border);
border-radius: var(--db-radius-lg);
padding: 2rem;
transition: all 0.3s var(--db-ease);
}
.db-card:hover {
box-shadow: var(--db-shadow-lg);
transform: translateY(-4px);
border-color: rgba(61,127,252,0.15);
}
/* ─── Badge ─── */
.db-badge {
display: inline-flex;
align-items: center;
gap: 0.375rem;
font-family: var(--db-font);
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
padding: 0.25rem 0.75rem;
border-radius: 100px;
white-space: nowrap;
}
.db-badge--blue {
background: rgba(61,127,252,0.1);
color: var(--db-blue);
}
.db-badge--green {
background: rgba(34,197,94,0.1);
color: var(--db-green);
}
.db-badge--cyan {
background: rgba(21,193,230,0.1);
color: var(--db-cyan);
}
.db-badge--purple {
background: rgba(147,51,234,0.1);
color: var(--db-purple);
}
.db-badge--dark {
background: rgba(255,255,255,0.06);
color: rgba(255,255,255,0.85);
border: 1px solid rgba(255,255,255,0.08);
}
/* ─── Trust Bar ─── */
.db-trust-bar {
display: flex;
align-items: center;
justify-content: center;
gap: 2rem;
padding: 1.5rem 0;
flex-wrap: wrap;
}
.db-trust-bar__item {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
font-weight: 500;
color: rgba(255,255,255,0.7);
white-space: nowrap;
}
.db-trust-bar__item svg {
flex-shrink: 0;
color: var(--db-cyan);
}
.db-trust-bar__stars {
display: flex;
gap: 2px;
color: #fbbf24;
}
.db-trust-bar--light .db-trust-bar__item {
color: var(--db-text-secondary);
}
.db-trust-bar--light .db-trust-bar__item svg {
color: var(--db-blue);
}
/* ─── Logo Carousel ─── */
.db-logo-carousel {
padding: 2.5rem 0;
overflow: hidden;
position: relative;
}
.db-logo-carousel::before,
.db-logo-carousel::after {
content: '';
position: absolute;
top: 0;
bottom: 0;
width: 100px;
z-index: 2;
pointer-events: none;
}
.db-logo-carousel::before {
left: 0;
background: linear-gradient(90deg, var(--db-bg) 0%, transparent 100%);
}
.db-logo-carousel::after {
right: 0;
background: linear-gradient(270deg, var(--db-bg) 0%, transparent 100%);
}
.db-logo-carousel--dark::before {
background: linear-gradient(90deg, var(--db-navy) 0%, transparent 100%);
}
.db-logo-carousel--dark::after {
background: linear-gradient(270deg, var(--db-navy) 0%, transparent 100%);
}
.db-logo-carousel__track {
display: flex;
align-items: center;
gap: 3rem;
width: max-content;
}
.db-logo-carousel__item {
flex-shrink: 0;
opacity: 0.4;
transition: opacity 0.3s ease;
filter: grayscale(100%);
}
.db-logo-carousel__item:hover {
opacity: 0.8;
filter: grayscale(0%);
}
.db-logo-carousel__item img,
.db-logo-carousel__item svg {
height: 28px;
width: auto;
}
/* ─── Stat Grid ─── */
.db-stat-grid {
display: flex;
align-items: stretch;
justify-content: center;
gap: 0;
flex-wrap: wrap;
}
.db-stat-grid__item {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 2rem 3rem;
position: relative;
}
.db-stat-grid__item + .db-stat-grid__item::before {
content: '';
position: absolute;
left: 0;
top: 20%;
bottom: 20%;
width: 1px;
background: rgba(255,255,255,0.1);
}
.db-stat-grid--light .db-stat-grid__item + .db-stat-grid__item::before {
background: var(--db-border);
}
.db-stat-grid__value {
font-family: var(--db-font-display);
font-size: clamp(2rem, 4vw, 3rem);
font-weight: 700;
line-height: 1;
color: #ffffff;
}
.db-stat-grid--light .db-stat-grid__value {
color: var(--db-text);
}
.db-stat-grid__label {
font-size: 0.875rem;
color: rgba(255,255,255,0.6);
margin-top: 0.5rem;
font-weight: 500;
letter-spacing: 0.02em;
}
.db-stat-grid--light .db-stat-grid__label {
color: var(--db-text-secondary);
}
/* ─── Glass Card ─── */
.db-glass {
background: rgba(255, 255, 255, 0.04);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: var(--db-radius);
transition: all 0.3s ease;
}
.db-glass:hover {
background: rgba(255, 255, 255, 0.07);
border-color: rgba(255, 255, 255, 0.14);
}
.db-glass--light {
background: rgba(255, 255, 255, 0.75);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid rgba(255, 255, 255, 0.3);
}
/* ─── Gradient Utilities ─── */
.db-gradient-text {
background: var(--db-gradient-text);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.db-gradient-border {
position: relative;
background: var(--db-bg);
border-radius: var(--db-radius);
}
.db-gradient-border::before {
content: '';
position: absolute;
inset: -2px;
border-radius: calc(var(--db-radius) + 2px);
background: var(--db-gradient-border);
background-size: 300% 300%;
z-index: -1;
opacity: 0;
transition: opacity 0.3s ease;
}
.db-gradient-border:hover::before {
opacity: 1;
}
.db-gradient-border--always::before {
opacity: 1;
}
/* Gradient Mesh Background */
.db-gradient-mesh {
position: relative;
}
.db-gradient-mesh::before {
content: '';
position: absolute;
inset: 0;
background:
radial-gradient(ellipse 50% 40% at 15% 25%, rgba(61,127,252,0.12), transparent),
radial-gradient(ellipse 40% 35% at 85% 75%, rgba(21,193,230,0.08), transparent),
radial-gradient(ellipse 35% 30% at 50% 50%, rgba(147,51,234,0.06), transparent);
pointer-events: none;
z-index: 0;
}
/* ─── CTA Banner ─── */
.db-cta-banner {
position: relative;
padding: 5rem 0;
overflow: hidden;
background: linear-gradient(135deg, var(--db-navy) 0%, #1a1145 50%, var(--db-navy) 100%);
}
.db-cta-banner::before {
content: '';
position: absolute;
inset: 0;
background:
radial-gradient(ellipse at 30% 50%, rgba(61,127,252,0.15), transparent 50%),
radial-gradient(ellipse at 70% 50%, rgba(21,193,230,0.1), transparent 50%);
pointer-events: none;
}
.db-cta-banner__inner {
position: relative;
z-index: 1;
text-align: center;
max-width: 700px;
margin: 0 auto;
}
.db-cta-banner__title {
font-family: var(--db-font-display);
font-size: clamp(1.75rem, 3.5vw, 2.5rem);
font-weight: 700;
color: #ffffff;
margin: 0 0 1.25rem;
line-height: 1.2;
letter-spacing: -0.02em;
}
.db-cta-banner__desc {
font-size: 1.0625rem;
color: #94a3b8;
margin: 0 0 2rem;
line-height: 1.7;
}
.db-cta-banner__actions {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}
/* ─── Icon Box ─── */
.db-icon-box {
width: 56px;
height: 56px;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
position: relative;
transition: all 0.3s var(--db-ease);
flex-shrink: 0;
}
.db-icon-box:hover {
transform: scale(1.08);
}
.db-icon-box--blue { background: rgba(61,127,252,0.1); color: var(--db-blue); }
.db-icon-box--green { background: rgba(34,197,94,0.1); color: var(--db-green); }
.db-icon-box--cyan { background: rgba(21,193,230,0.1); color: var(--db-cyan); }
.db-icon-box--purple { background: rgba(147,51,234,0.1); color: var(--db-purple); }
.db-icon-box--orange { background: rgba(249,115,22,0.1); color: var(--db-orange); }
.db-icon-box svg {
width: 24px;
height: 24px;
}
/* ─── Code Block ─── */
.db-code-block {
border-radius: var(--db-radius);
overflow: hidden;
background: #0d1117;
border: 1px solid rgba(255,255,255,0.06);
box-shadow: var(--db-shadow-lg);
}
.db-code-block__tabs {
display: flex;
gap: 0;
background: rgba(255,255,255,0.04);
border-bottom: 1px solid rgba(255,255,255,0.06);
padding: 0 0.5rem;
overflow-x: auto;
}
.db-code-block__tab {
font-family: var(--db-font-mono);
font-size: 0.8125rem;
font-weight: 500;
color: rgba(255,255,255,0.45);
background: none;
border: none;
padding: 0.75rem 1rem;
cursor: pointer;
border-bottom: 2px solid transparent;
transition: all 0.2s ease;
white-space: nowrap;
}
.db-code-block__tab:hover {
color: rgba(255,255,255,0.7);
}
.db-code-block__tab--active {
color: var(--db-cyan);
border-bottom-color: var(--db-cyan);
}
.db-code-block__body {
position: relative;
padding: 1.25rem 1.5rem;
overflow-x: auto;
}
.db-code-block__copy {
position: absolute;
top: 0.75rem;
right: 0.75rem;
background: rgba(255,255,255,0.06);
border: 1px solid rgba(255,255,255,0.08);
border-radius: var(--db-radius-xs);
color: rgba(255,255,255,0.5);
padding: 0.375rem 0.5rem;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
align-items: center;
gap: 0.375rem;
font-family: var(--db-font);
font-size: 0.75rem;
}
.db-code-block__copy:hover {
background: rgba(255,255,255,0.1);
color: rgba(255,255,255,0.8);
}
.db-code-block pre {
margin: 0;
font-family: var(--db-font-mono);
font-size: 0.8125rem;
line-height: 1.7;
color: #e6edf3;
white-space: pre-wrap;
word-wrap: break-word;
overflow-wrap: break-word;
tab-size: 4;
}
.db-code-block code {
font-family: inherit;
}
/* ─── FAQ Accordion (native details) ─── */
.db-faq {
max-width: 800px;
margin: 0 auto;
}
.db-faq details {
border-bottom: 1px solid var(--db-border);
}
.db-faq summary {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1.25rem 0;
font-size: 1.0625rem;
font-weight: 600;
color: var(--db-text);
cursor: pointer;
list-style: none;
transition: color 0.2s ease;
}
.db-faq summary::-webkit-details-marker { display: none; }
.db-faq summary::after {
content: '+';
font-size: 1.25rem;
font-weight: 400;
color: var(--db-text-muted);
flex-shrink: 0;
margin-left: 1rem;
transition: transform 0.25s var(--db-ease);
}
.db-faq details[open] > summary::after {
content: '\2212';
}
.db-faq details[open] > summary {
color: var(--db-blue);
}
.db-faq .db-faq__answer {
padding: 0 0 1.25rem;
font-size: 0.9375rem;
line-height: 1.7;
color: var(--db-text-secondary);
}
.db-faq .db-faq__answer a {
color: var(--db-blue);
text-decoration: none;
}
.db-faq .db-faq__answer a:hover {
text-decoration: underline;
}
/* ─── Content Sections (alternating text/image) ─── */
.db-content-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
padding: 3rem 0;
}
.db-content-row--reverse {
direction: rtl;
}
.db-content-row--reverse > * {
direction: ltr;
}
.db-content-row__text h2,
.db-content-row__text h3 {
font-family: var(--db-font-display);
font-size: 1.75rem;
font-weight: 700;
letter-spacing: -0.02em;
color: var(--db-text);
margin: 0 0 1rem;
line-height: 1.25;
}
.db-content-row__text p {
font-size: 1rem;
line-height: 1.75;
color: var(--db-text-secondary);
margin: 0 0 1.5rem;
}
.db-content-row__text p:last-child {
margin-bottom: 0;
}
.db-content-row__image {
display: flex;
align-items: center;
justify-content: center;
}
.db-content-row__image img {
max-width: 100%;
height: auto;
}
/* ─── Comparison Table ─── */
.db-table-wrap {
overflow-x: auto;
border: 1px solid var(--db-border);
border-radius: var(--db-radius);
margin: 2rem 0;
}
.db-table {
width: 100%;
border-collapse: collapse;
font-size: 0.875rem;
}
.db-table th,
.db-table td {
padding: 0.875rem 1.25rem;
text-align: left;
border-bottom: 1px solid var(--db-border);
}
.db-table thead th {
background: var(--db-bg-alt);
font-weight: 600;
color: var(--db-text);
font-size: 0.8125rem;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.db-table thead th a {
color: var(--db-blue);
text-decoration: none;
}
.db-table tbody tr:last-child td {
border-bottom: none;
}
.db-table tbody tr:hover {
background: var(--db-bg-alt);
}
.db-table td strong {
color: var(--db-text);
}
/* ─── Feature Grid ─── */
.db-features {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}
.db-feature {
padding: 2rem;
border: 1px solid var(--db-border);
border-radius: var(--db-radius);
transition: all 0.3s var(--db-ease);
position: relative;
overflow: hidden;
}
.db-feature::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: var(--db-gradient-blue-cyan);
opacity: 0;
transition: opacity 0.3s ease;
}
.db-feature:hover {
box-shadow: var(--db-shadow-md);
transform: translateY(-3px);
border-color: rgba(61,127,252,0.15);
}
.db-feature:hover::before {
opacity: 1;
}
.db-feature__icon {
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.25rem;
transition: transform 0.3s var(--db-ease);
}
.db-feature:hover .db-feature__icon {
transform: scale(1.08);
}
.db-feature__icon--blue { background: rgba(61,127,252,0.08); color: var(--db-blue); }
.db-feature__icon--green { background: rgba(34, 197, 94, 0.08); color: var(--db-green); }
.db-feature__icon--purple { background: rgba(147, 51, 234, 0.08); color: var(--db-purple); }
.db-feature__icon--cyan { background: rgba(21,193,230,0.08); color: var(--db-cyan); }
.db-feature h3 {
font-size: 1.125rem;
font-weight: 600;
margin: 0 0 0.5rem;
color: var(--db-text);
}
.db-feature p {
font-size: 0.9375rem;
line-height: 1.65;
color: var(--db-text-secondary);
margin: 0;
}
/* ─── Features Bar (horizontal 4-col) ─── */
.db-features-bar {
background: var(--db-bg-alt);
border-top: 1px solid var(--db-border);
border-bottom: 1px solid var(--db-border);
padding: 2.5rem 0;
}
.db-features-bar__grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 2rem;
}
.db-features-bar__item {
display: flex;
align-items: center;
gap: 1rem;
text-align: left;
}
.db-features-bar__icon {
flex-shrink: 0;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.db-features-bar__icon img {
width: 40px;
height: 40px;
object-fit: contain;
}
.db-features-bar__title {
font-family: var(--db-font);
font-size: 0.875rem;
font-weight: 600;
color: var(--db-text);
line-height: 1.4;
margin: 0;
}
/* ─── Breadcrumb Navigation ─── */
.breadcrumb-nav {
padding: 0.75rem 0;
}
.breadcrumb {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 0;
list-style: none;
margin: 0;
padding: 0;
font-family: var(--db-font);
font-size: 0.8125rem;
}
.breadcrumb-item {
display: flex;
align-items: center;
gap: 0.375rem;
}
.breadcrumb-item a {
color: var(--db-text-muted);
text-decoration: none;
transition: color 0.15s ease;
font-weight: 500;
}
.breadcrumb-item a:hover {
color: var(--db-blue);
}
.breadcrumb-item.active span {
color: var(--db-text);
font-weight: 600;
}
.breadcrumb-separator {
color: var(--db-text-muted);
margin: 0 0.25rem;
flex-shrink: 0;
opacity: 0.5;
}
/* ─── Responsive Defaults ─── */
@media (max-width: 992px) {
.db-features-bar__grid {
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}
.db-hero {
padding: 5rem 0 4rem;
margin-top: -64px;
padding-top: calc(5rem + 64px);
}
.db-hero--split .db-hero__inner {
grid-template-columns: 1fr;
text-align: center;
gap: 2rem;
}
.db-hero--split .db-hero__content {
max-width: 100%;
}
.db-hero--split .db-hero__actions {
justify-content: center;
}
.db-section {
padding: 4rem 0;
}
.db-content-row {
grid-template-columns: 1fr;
gap: 2rem;
}
.db-content-row--reverse {
direction: ltr;
}
.db-features {
grid-template-columns: repeat(2, 1fr);
}
.db-stat-grid__item {
padding: 1.5rem 2rem;
}
.db-cta-banner {
padding: 4rem 0;
}
}
@media (max-width: 768px) {
.db-wrap {
padding: 0 1.25rem;
}
.db-hero {
margin-top: -56px;
padding-top: calc(4rem + 56px);
padding-bottom: 3rem;
}
.db-hero h1 {
font-size: 2rem;
}
.db-hero p {
font-size: 1rem;
}
.db-features {
grid-template-columns: 1fr;
}
.db-hero__actions {
flex-direction: column;
}
.db-features-bar {
padding: 2rem 0;
}
.db-features-bar__grid {
grid-template-columns: 1fr;
gap: 1.25rem;
}
.db-features-bar__title {
font-size: 0.8125rem;
}
.db-trust-bar {
gap: 1rem;
}
.db-trust-bar__item {
font-size: 0.8125rem;
}
.db-stat-grid {
flex-direction: column;
gap: 0;
}
.db-stat-grid__item + .db-stat-grid__item::before {
left: 20%;
right: 20%;
top: 0;
bottom: auto;
width: auto;
height: 1px;
}
.db-stat-grid__item {
padding: 1.25rem 1.5rem;
}
.db-section-head {
margin-bottom: 2.5rem;
}
.db-cta-banner {
padding: 3rem 0;
}
.db-cta-banner__actions {
flex-direction: column;
}
.db-code-block__body {
padding: 1rem;
}
.db-code-block pre {
font-size: 0.75rem;
}
}
@media (max-width: 480px) {
.db-logo-carousel__track {
gap: 2rem;
}
.db-logo-carousel__item img,
.db-logo-carousel__item svg {
height: 22px;
}
}
/* ─── Large Screen / TV Responsive ─── */
@media (min-width: 1440px) {
.db-wrap {
padding: 0 3rem;
}
.db-section {
padding: 6.5rem 0;
}
.db-hero {
padding: 8rem 0 7rem;
padding-top: calc(8rem + 72px);
}
.db-section-head h2 {
font-size: 3rem;
}
.db-hero h1 {
font-size: 4rem;
}
.db-cta-banner {
padding: 6rem 0;
}
.db-cta-banner__title {
font-size: 2.75rem;
}
}
@media (min-width: 1920px) {
:root {
--db-wrap: 1440px;
}
.db-wrap {
padding: 0 4rem;
}
.db-section {
padding: 7.5rem 0;
}
.db-hero {
padding: 9rem 0 8rem;
padding-top: calc(9rem + 72px);
}
.db-section-head h2 {
font-size: 3.25rem;
}
.db-section-head p {
font-size: 1.25rem;
}
.db-hero h1 {
font-size: 4.5rem;
}
.db-hero p {
font-size: 1.375rem;
}
.db-features {
gap: 2.5rem;
}
.db-feature {
padding: 2.5rem;
}
.db-stat-grid__value {
font-size: 3.5rem;
}
.db-cta-banner__title {
font-size: 3rem;
}
.db-code-block pre {
font-size: 0.875rem;
}
}
@media (min-width: 2560px) {
:root {
--db-wrap: 1600px;
}
.db-wrap {
padding: 0 5rem;
}
.db-section {
padding: 9rem 0;
}
.db-hero {
padding: 10rem 0 9rem;
padding-top: calc(10rem + 72px);
}
.db-section-head h2 {
font-size: 3.5rem;
}
.db-hero h1 {
font-size: 5rem;
}
.db-hero p {
font-size: 1.5rem;
max-width: 720px;
}
.db-btn--lg {
font-size: 1.0625rem;
padding: 1.125rem 2.25rem;
}
.db-features {
gap: 3rem;
}
.db-feature {
padding: 3rem;
}
.db-feature h3 {
font-size: 1.25rem;
}
.db-feature p {
font-size: 1rem;
}
.db-stat-grid__value {
font-size: 4rem;
}
.db-stat-grid__label {
font-size: 1rem;
}
.db-content-row {
gap: 5rem;
}
.db-content-row__text h2,
.db-content-row__text h3 {
font-size: 2rem;
}
.db-content-row__text p {
font-size: 1.0625rem;
}
.db-cta-banner {
padding: 7rem 0;
}
.db-cta-banner__title {
font-size: 3.25rem;
}
.db-faq summary {
font-size: 1.1875rem;
padding: 1.5rem 0;
}
.db-faq .db-faq__answer {
font-size: 1rem;
}
}
@media (min-width: 3840px) {
:root {
--db-wrap: 2000px;
}
.db-wrap {
padding: 0 6rem;
}
body {
font-size: 1.125rem;
}
.db-section {
padding: 11rem 0;
}
.db-hero {
padding: 12rem 0 11rem;
padding-top: calc(12rem + 80px);
}
.db-section-head h2 {
font-size: 4rem;
}
.db-section-head p {
font-size: 1.5rem;
max-width: 800px;
}
.db-hero h1 {
font-size: 6rem;
}
.db-hero p {
font-size: 1.75rem;
max-width: 800px;
}
.db-btn--lg {
font-size: 1.1875rem;
padding: 1.25rem 2.5rem;
}
.db-features {
gap: 3.5rem;
}
.db-feature {
padding: 3.5rem;
}
.db-stat-grid__value {
font-size: 5rem;
}
.db-cta-banner__title {
font-size: 3.75rem;
}
.db-faq summary {
font-size: 1.375rem;
}
}
/* ─── Last Updated ─── */
.db-last-updated {
font-size: 0.8125rem;
color: var(--db-text-muted);
font-weight: 500;
margin: 0.75rem 0 0;
letter-spacing: 0.01em;
}
/* ─── Screen-reader only ─── */
.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;
}
@media (prefers-reduced-motion: reduce) {
.reveal { transition: none !important; }
.db-btn, .db-card, .db-feature, .db-icon-box { transition: none !important; }
.db-btn:hover, .db-card:hover, .db-feature:hover { transform: none !important; }
}
/* ─── Author byline (_ReviewedBy partial) — minimal, low-profile ─── */
.db-byline {
display: inline-flex;
align-items: center;
gap: 8px;
margin-top: 14px;
font-size: 12px;
line-height: 1.4;
color: rgba(255, 255, 255, 0.5);
}
.db-byline__avatar {
width: 20px;
height: 20px;
border-radius: 50%;
flex-shrink: 0;
object-fit: cover;
opacity: 0.75;
}
.db-byline__body { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.db-byline__line { display: inline-flex; align-items: center; gap: 3px; }
.db-byline__line--meta { color: rgba(255, 255, 255, 0.35); }
.db-byline__label { color: inherit; font-weight: 400; }
.db-byline__name { color: rgba(255, 255, 255, 0.72); font-weight: 500; text-decoration: none; }
.db-byline__name:hover { color: rgba(255, 255, 255, 0.95); text-decoration: underline; text-underline-offset: 2px; }
.db-byline__title { color: inherit; font-weight: 400; }
.db-byline__meta { display: inline-flex; align-items: center; gap: 3px; }
.db-byline__meta svg { opacity: 0.5; }
.db-byline__meta-sep { color: rgba(255, 255, 255, 0.22); margin: 0 2px; }
/* Byline on light backgrounds */
.db-section .db-byline,
.db-section--alt .db-byline,
.resi-section .db-byline,
.dc-section .db-byline,
.mob-section .db-byline { color: rgba(10, 15, 30, 0.48); }
.db-section .db-byline__line--meta,
.db-section--alt .db-byline__line--meta,
.resi-section .db-byline__line--meta,
.dc-section .db-byline__line--meta,
.mob-section .db-byline__line--meta { color: rgba(10, 15, 30, 0.38); }
.db-section .db-byline__name,
.db-section--alt .db-byline__name,
.resi-section .db-byline__name,
.dc-section .db-byline__name,
.mob-section .db-byline__name { color: rgba(10, 15, 30, 0.72); }
.db-section .db-byline__name:hover,
.db-section--alt .db-byline__name:hover,
.resi-section .db-byline__name:hover,
.dc-section .db-byline__name:hover,
.mob-section .db-byline__name:hover { color: #2563eb; }
.db-section .db-byline__meta-sep,
.db-section--alt .db-byline__meta-sep,
.resi-section .db-byline__meta-sep,
.dc-section .db-byline__meta-sep,
.mob-section .db-byline__meta-sep { color: rgba(10, 15, 30, 0.2); }
@media (max-width: 640px) {
.db-byline { font-size: 11px; gap: 6px; }
.db-byline__avatar { width: 18px; height: 18px; }
}
/* ─── Partner logo strip (_db-partners) — shared across product pages ─── */
.db-partners {
margin-top: 2.5rem;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.08);
text-align: center;
}
.db-partners__label {
display: block;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
font-size: 0.72rem;
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.4);
margin-bottom: 1.25rem;
}
.db-partners__logos {
display: flex;
align-items: center;
justify-content: center;
gap: 2.5rem;
flex-wrap: wrap;
}
.db-partners__logos img {
height: 22px;
width: auto;
filter: brightness(0) invert(1);
opacity: 0.4;
transition: opacity 0.2s ease;
}
.db-partners__logos img:hover { opacity: 0.7; }
/* Partners on light backgrounds (inside sections, not dark heroes) */
.db-section .db-partners__label,
.db-section--alt .db-partners__label,
.resi-section .db-partners__label,
.dc-section .db-partners__label,
.mob-section .db-partners__label { color: rgba(10, 15, 30, 0.45); }
.db-section .db-partners__logos img,
.db-section--alt .db-partners__logos img,
.resi-section .db-partners__logos img,
.dc-section .db-partners__logos img,
.mob-section .db-partners__logos img {
filter: brightness(0);
opacity: 0.35;
}
.db-section .db-partners__logos img:hover,
.db-section--alt .db-partners__logos img:hover,
.resi-section .db-partners__logos img:hover,
.dc-section .db-partners__logos img:hover,
.mob-section .db-partners__logos img:hover { opacity: 0.6; }
@media (max-width: 640px) {
.db-partners { margin-top: 2rem; padding-top: 1.5rem; }
.db-partners__logos { gap: 1.5rem; }
.db-partners__logos img { height: 18px; }
}
/* ─── shared/header.css ─── */
/* ═══════════════════════════════════════════════════════
DATABAY HEADER — Premium Navigation System
Hover-to-open mega menus, modern SaaS design
═══════════════════════════════════════════════════════ */
/* ─── Overlay ─── */
.db-header-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
z-index: 998;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.db-header-overlay--active {
opacity: 1;
visibility: visible;
}
/* ─── Header Bar ─── */
.db-header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
background: transparent;
backdrop-filter: blur(20px) saturate(180%);
-webkit-backdrop-filter: blur(20px) saturate(180%);
border-bottom: 1px solid transparent;
transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
/* Spacer to reserve header height in flow (heroes with margin-top:-72px overlap it) */
.db-header-spacer { height: 72px; }
/* ── Scrolled: frosted glass ── */
.db-header--scrolled {
background: rgba(255, 255, 255, 0.72);
border-bottom-color: rgba(0,0,0,0.06);
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.db-header--scrolled::after {
content: '';
position: absolute;
bottom: -1px;
left: 0;
right: 0;
height: 1px;
background: linear-gradient(90deg, transparent 0%, rgba(61,127,252,0.2) 30%, rgba(21,193,230,0.2) 70%, transparent 100%);
}
/* ── Dark scrolled: frosted dark glass ── */
.db-header--dark.db-header--scrolled {
background: rgb(0 34 85 / 85%);
border-bottom-color: rgba(255, 255, 255, 0.06);
box-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}
.db-header--dark.db-header--scrolled::after {
background: linear-gradient(90deg, transparent 0%, rgba(61,127,252,0.15) 30%, rgba(21,193,230,0.15) 70%, transparent 100%);
}
.db-header__inner {
display: flex;
align-items: center;
justify-content: space-between;
max-width: 1320px;
margin: 0 auto;
padding: 0 2rem;
height: 72px;
}
/* ─── Bootstrap Anchor Reset ─── */
/* Neutralize Bootstrap a / a:hover color overrides inside the header */
.db-header a,
.db-header a:hover,
.db-header a:focus,
.db-header a:active,
.db-header a:visited,
.db-mega a,
.db-mega a:hover,
.db-mega a:focus,
.db-mega a:active,
.db-mega a:visited {
color: inherit;
text-decoration: none;
}
/* ─── Logo ─── */
.db-header__logo {
flex-shrink: 0;
display: flex;
align-items: center;
text-decoration: none;
}
.db-header__logo-img {
width: 130px;
height: auto;
display: block;
transition: opacity 0.2s ease;
}
.db-header__logo:hover .db-header__logo-img {
opacity: 0.85;
}
/* Light header: show color logo, hide white logo */
.db-header:not(.db-header--dark) .db-header__logo-img--white {
display: none;
}
.db-header:not(.db-header--dark) .db-header__logo-img--color {
display: block;
}
/* Dark header: show white logo, hide color logo */
.db-header__logo-img--color {
display: none;
}
/* ─── Desktop Navigation ─── */
.db-nav {
display: flex;
align-items: center;
justify-content: center;
flex: 1;
min-width: 0;
}
.db-nav__list {
display: flex;
align-items: center;
list-style: none;
margin: 0;
padding: 0;
gap: 0.25rem;
}
.db-nav__item {
position: relative;
}
/* Button reset + link style for nav triggers */
.db-nav__link {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.5rem 1rem;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
font-size: 0.9375rem;
font-weight: 500;
color: #374151;
text-decoration: none;
border-radius: 8px;
transition: color 0.15s ease, background 0.15s ease;
white-space: nowrap;
cursor: pointer;
/* Button reset */
border: none;
background: none;
outline: none;
line-height: 1.5;
}
.db-nav__link:hover,
.db-nav__item--has-menu:hover > .db-nav__link {
color: #111827;
background: #f3f4f6;
}
.db-nav__chevron {
transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
opacity: 0.5;
}
.db-nav__item--has-menu:hover .db-nav__chevron {
transform: rotate(180deg);
opacity: 1;
}
/* ─── Mega Menu Container ─── */
.db-mega {
position: absolute;
top: calc(100% + 0.75rem);
left: 50%;
transform: translateX(-50%) translateY(8px);
opacity: 0;
visibility: hidden;
transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
visibility 0.25s ease,
transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
pointer-events: none;
}
/* Hover-to-open */
.db-nav__item--has-menu:hover > .db-mega {
opacity: 1;
visibility: visible;
pointer-events: auto;
transform: translateX(-50%) translateY(0);
}
/* Invisible bridge on the parent item to span the full gap between
the nav link and the dropdown panel. Uses the item's ::after so
the hover zone is contiguous — the mouse never leaves the item.
Width extends well beyond the nav item to cover wide dropdowns. */
.db-nav__item--has-menu::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
width: 700px;
height: calc(0.75rem + 8px);  /* matches gap (0.75rem) + translateY offset (8px) */
pointer-events: none;
}
.db-nav__item--has-menu:hover::after {
pointer-events: auto;
}
.db-mega__inner {
position: relative;
background: #ffffff;
border: 1px solid rgba(0,0,0,0.06);
border-radius: 16px;
box-shadow:
0 4px 6px -1px rgba(0, 0, 0, 0.04),
0 20px 50px -8px rgba(0, 0, 0, 0.12),
0 0 0 1px rgba(0, 0, 0, 0.02);
overflow: hidden;
}
/* Pointer arrow */
.db-mega__inner::before {
content: '';
position: absolute;
top: -6px;
left: 50%;
transform: translateX(-50%) rotate(45deg);
width: 12px;
height: 12px;
background: #ffffff;
border-top: 1px solid rgba(0,0,0,0.06);
border-left: 1px solid rgba(0,0,0,0.06);
border-radius: 2px 0 0 0;
z-index: 1;
}
/* ─── Column Layouts ─── */
/* Products: two sections + divider between */
.db-mega__cols--products {
display: grid;
grid-template-columns: 1.3fr auto 1fr;
gap: 0;
padding: 1.5rem;
min-width: 560px;
}
.db-mega__cols--products > .db-mega__section:first-child {
padding-right: 1.5rem;
}
.db-mega__cols--products > .db-mega__section:last-child {
padding-left: 1.5rem;
}
/* Resources: three equal columns */
.db-mega__cols--resources {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1.5rem;
padding: 1.5rem;
min-width: 640px;
}
/* ─── Mega Sections ─── */
.db-mega__section {
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.db-mega__label {
display: block;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 0.6875rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #9ca3af;
padding: 0 0.75rem;
margin-bottom: 0.5rem;
}
/* ─── Vertical Divider ─── */
.db-mega__divider {
width: 1px;
background: #f1f5f9;
align-self: stretch;
}
/* ─── Product Cards ─── */
.db-mega__card {
display: flex;
align-items: flex-start;
gap: 0.875rem;
padding: 0.75rem;
border-radius: 12px;
text-decoration: none;
color: inherit;
transition: background 0.15s ease, transform 0.15s ease;
}
.db-mega__card:hover {
background: #f8fafc;
transform: translateX(2px);
}
.db-mega__icon {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 10px;
flex-shrink: 0;
transition: transform 0.2s ease;
}
.db-mega__card:hover .db-mega__icon {
transform: scale(1.06);
}
.db-mega__icon--green {
background: rgba(34, 197, 94, 0.08);
color: #16a34a;
}
.db-mega__icon--blue {
background: rgba(61, 127, 252, 0.08);
color: #3D7FFC;
}
.db-mega__icon--purple {
background: rgba(168, 85, 247, 0.08);
color: #9333ea;
}
.db-mega__icon svg {
width: 20px;
height: 20px;
}
.db-mega__card-body {
display: flex;
flex-direction: column;
gap: 0.125rem;
min-width: 0;
}
.db-mega__card-body strong {
font-size: 0.9375rem;
font-weight: 600;
color: #111827;
line-height: 1.3;
}
.db-mega__card-body span {
font-size: 0.8125rem;
color: #6b7280;
line-height: 1.4;
}
/* ─── Mega Footer CTA ─── */
.db-mega__footer {
display: flex;
align-items: center;
padding: 0.875rem 1.5rem;
background: #f9fafb;
border-top: 1px solid #f1f5f9;
}
.db-mega__footer a {
display: inline-flex;
align-items: center;
gap: 0.5rem;
font-size: 0.8125rem;
font-weight: 600;
color: #3D7FFC;
text-decoration: none;
transition: gap 0.2s ease, color 0.15s ease;
}
.db-mega__footer a:hover {
color: #2563eb;
gap: 0.75rem;
}
.db-mega__footer a svg {
transition: transform 0.2s ease;
}
.db-mega__footer a:hover svg {
transform: translateX(2px);
}
/* ─── Mega Links (Use Cases / Resources) ─── */
.db-mega__link {
display: flex;
align-items: center;
gap: 0.625rem;
padding: 0.5rem 0.75rem;
font-size: 0.875rem;
font-weight: 500;
color: #374151;
text-decoration: none;
border-radius: 8px;
transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
white-space: nowrap;
}
.db-mega__link:hover {
background: #f8fafc;
color: #3D7FFC;
transform: translateX(2px);
}
.db-mega__link svg {
flex-shrink: 0;
color: #9ca3af;
transition: color 0.15s ease;
}
.db-mega__link:hover svg {
color: #3D7FFC;
}
/* "FREE" Badge */
.db-mega__badge {
display: inline-flex;
align-items: center;
padding: 0.125rem 0.4rem;
font-size: 0.625rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
color: #16a34a;
background: rgba(34, 197, 94, 0.1);
border-radius: 4px;
margin-left: 0.375rem;
line-height: 1.4;
}
/* ─── Pricing Cards Layout ─── */
.db-mega__grid--pricing {
display: flex;
gap: 0;
padding: 0;
min-width: 520px;
}
.db-mega__price-card {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
padding: 1.5rem 1.75rem;
text-decoration: none;
color: inherit;
flex: 1;
text-align: center;
position: relative;
transition: background 0.15s ease, transform 0.15s ease;
}
.db-mega__price-card:hover {
background: #f8fafc;
transform: translateY(-2px);
}
/* Divider between price cards */
.db-mega__price-card + .db-mega__price-card::before {
content: '';
position: absolute;
left: 0;
top: 1.25rem;
bottom: 1.25rem;
width: 1px;
background: #f1f5f9;
}
.db-mega__price-card .db-mega__icon {
width: 44px;
height: 44px;
border-radius: 12px;
margin-bottom: 0.25rem;
}
.db-mega__price-card .db-mega__icon svg {
width: 22px;
height: 22px;
}
.db-mega__price-card strong {
font-size: 0.9375rem;
font-weight: 600;
color: #111827;
line-height: 1.2;
}
.db-mega__price {
font-size: 0.8125rem;
color: #6b7280;
line-height: 1.3;
}
.db-mega__price em {
font-style: normal;
font-weight: 700;
color: #3D7FFC;
font-size: 1rem;
}
.db-mega__price-desc {
font-size: 0.75rem;
color: #9ca3af;
line-height: 1.3;
}
/* ─── Auth Buttons ─── */
.db-header__actions {
display: flex;
align-items: center;
gap: 0.75rem;
flex-shrink: 0;
margin-left: 1.5rem;
}
.db-header__login {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 0.9375rem;
font-weight: 500;
color: #374151;
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 8px;
transition: color 0.15s ease, background 0.15s ease;
}
.db-header__login:hover {
color: #3D7FFC;
background: rgba(61, 127, 252, 0.04);
}
.db-header__cta {
display: inline-flex;
align-items: center;
justify-content: center;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 0.875rem;
font-weight: 600;
color: #ffffff;
background: #3D7FFC;
padding: 0.5625rem 1.25rem;
border-radius: 8px;
text-decoration: none;
transition: all 0.2s ease;
box-shadow: 0 1px 3px rgba(61,127,252,0.2);
}
.db-header__cta:hover {
background: #2563eb;
color: #ffffff;
box-shadow: 0 4px 14px rgba(61,127,252,0.3);
transform: translateY(-1px);
}
.db-header__cta:active {
transform: translateY(0);
}
/* ─── Mobile Burger ─── */
.db-header__burger {
display: none;
flex-direction: column;
justify-content: center;
align-items: center;
width: 44px;
height: 44px;
padding: 0;
border: none;
background: none;
cursor: pointer;
gap: 5px;
border-radius: 8px;
transition: background 0.15s ease;
}
.db-header__burger:hover {
background: #f3f4f6;
}
.db-header__burger span {
display: block;
width: 22px;
height: 2px;
background: #374151;
border-radius: 2px;
transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
/* ─── Mobile Navigation Panel ─── */
.db-mobile-nav {
position: fixed;
top: 0;
right: 0;
width: 100%;
max-width: 420px;
height: 100%;
background: #ffffff;
z-index: 1000;
transform: translateX(100%);
transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
display: flex;
flex-direction: column;
overflow: hidden;
box-shadow: -8px 0 30px rgba(0,0,0,0.1);
}
.db-mobile-nav--open {
transform: translateX(0);
}
.db-mobile-nav__inner {
display: flex;
flex-direction: column;
height: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.db-mobile-nav__header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 1.5rem;
border-bottom: 1px solid #f3f4f6;
flex-shrink: 0;
}
.db-mobile-nav__header .db-header__logo img {
width: 120px;
}
.db-mobile-nav__close {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border: none;
background: #f3f4f6;
border-radius: 10px;
cursor: pointer;
color: #374151;
transition: background 0.15s ease, transform 0.15s ease;
}
.db-mobile-nav__close:hover {
background: #e5e7eb;
transform: rotate(90deg);
}
.db-mobile-nav__body {
flex: 1;
padding: 1rem 1.5rem;
overflow-y: auto;
}
/* Accordion Groups */
.db-mobile-nav__group {
border-bottom: 1px solid #f3f4f6;
}
.db-mobile-nav__trigger {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 1rem 0;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 1.0625rem;
font-weight: 600;
color: #111827;
cursor: pointer;
list-style: none;
}
.db-mobile-nav__trigger::-webkit-details-marker {
display: none;
}
.db-mobile-nav__trigger::after {
content: '';
width: 8px;
height: 8px;
border-right: 2px solid #9ca3af;
border-bottom: 2px solid #9ca3af;
transform: rotate(45deg);
transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
flex-shrink: 0;
}
.db-mobile-nav__group[open] > .db-mobile-nav__trigger::after {
transform: rotate(-135deg);
}
.db-mobile-nav__panel {
display: flex;
flex-direction: column;
padding-bottom: 0.75rem;
}
.db-mobile-nav__link {
padding: 0.625rem 0 0.625rem 0.75rem;
font-size: 0.9375rem;
font-weight: 500;
color: #6b7280;
text-decoration: none;
border-radius: 8px;
transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.db-mobile-nav__link:hover {
color: #3D7FFC;
background: rgba(61, 127, 252, 0.04);
transform: translateX(4px);
}
.db-mobile-nav__top-link {
display: block;
padding: 1rem 0;
font-size: 1.0625rem;
font-weight: 600;
color: #111827;
text-decoration: none;
border-bottom: 1px solid #f3f4f6;
}
.db-mobile-nav__top-link:hover {
color: #3D7FFC;
}
/* Mobile CTA Buttons */
.db-mobile-nav__footer {
padding: 1.5rem;
border-top: 1px solid #f3f4f6;
display: flex;
flex-direction: column;
gap: 0.75rem;
flex-shrink: 0;
}
.db-mobile-nav__btn {
display: flex;
align-items: center;
justify-content: center;
padding: 0.875rem 1.5rem;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
font-size: 0.9375rem;
font-weight: 600;
border-radius: 10px;
text-decoration: none;
transition: all 0.2s ease;
}
.db-mobile-nav__btn--primary {
background: #3D7FFC;
color: #ffffff;
}
.db-mobile-nav__btn--primary:hover {
background: #2563eb;
box-shadow: 0 4px 12px rgba(61,127,252,0.25);
}
.db-mobile-nav__btn--outline {
background: transparent;
color: #374151;
border: 1.5px solid #e5e7eb;
}
.db-mobile-nav__btn--outline:hover {
border-color: #3D7FFC;
color: #3D7FFC;
}
/* ═══════════════════════════════════════════════════════
RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════════ */
/* ─── <= 1200px: Tighten spacing ─── */
@media (max-width: 1200px) {
.db-header__inner {
padding: 0 1.5rem;
}
.db-nav__link {
font-size: 0.875rem;
padding: 0.5rem 0.75rem;
}
.db-header__cta {
font-size: 0.8125rem;
padding: 0.5rem 1rem;
}
/* Shrink mega menus */
.db-mega__cols--products {
min-width: 480px;
}
.db-mega__cols--resources {
min-width: 560px;
}
.db-mega__grid--pricing {
min-width: 440px;
}
.db-mega__price-card {
padding: 1.25rem 1.25rem;
}
}
/* ─── <= 992px: Switch to mobile layout ─── */
@media (max-width: 992px) {
.db-nav {
display: none;
}
.db-header__actions {
display: none;
}
.db-header__burger {
display: flex;
}
.db-header__inner {
height: 64px;
padding: 0 1.25rem;
}
.db-header-spacer { height: 64px; }
.db-header__logo svg {
width: 120px;
}
}
/* ─── <= 576px: Compact mobile ─── */
@media (max-width: 576px) {
.db-header__inner {
height: 56px;
padding: 0 1rem;
}
.db-header-spacer { height: 56px; }
.db-header__logo svg {
width: 110px;
}
.db-mobile-nav {
max-width: 100%;
}
.db-mobile-nav__header {
padding: 0.875rem 1.25rem;
}
.db-mobile-nav__body {
padding: 0.75rem 1.25rem;
}
.db-mobile-nav__footer {
padding: 1.25rem;
}
.db-mobile-nav__trigger {
font-size: 1rem;
}
.db-mobile-nav__link {
font-size: 0.875rem;
}
}
/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
.db-header,
.db-mega,
.db-mobile-nav,
.db-header-overlay,
.db-header__burger span,
.db-nav__chevron,
.db-mega__footer a,
.db-mega__footer a svg,
.db-mega__card,
.db-mega__link,
.db-mega__price-card,
.db-mobile-nav__close,
.db-mobile-nav__link {
transition: none !important;
}
}
/* ═══════════════════════════════════════════════════════
DARK HEADER VARIANT
═══════════════════════════════════════════════════════ */
/* ── Base: dark text colour so "color: inherit" anchors resolve white ── */
.db-header--dark {
color: rgba(255, 255, 255, 0.75);
}
/* ── Non-scrolled: fully transparent — hero shows through directly ── */
.db-header--dark:not(.db-header--scrolled) {
background: transparent;
backdrop-filter: none;
-webkit-backdrop-filter: none;
}
/* ── Spacer: match dark hero so no white gap shows behind header ── */
.db-header--dark ~ .db-header-spacer {
background: #0a0f1e;
}
/* ── Nav link colours ── */
.db-header--dark .db-nav__link {
color: rgba(255, 255, 255, 0.75);
}
.db-header--dark .db-nav__link:hover,
.db-header--dark .db-nav__item--has-menu:hover > .db-nav__link {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
}
.db-header--dark .db-nav__chevron {
opacity: 0.4;
}
.db-header--dark .db-nav__item--has-menu:hover .db-nav__chevron {
opacity: 0.9;
}
/* ── Auth buttons ── */
.db-header--dark .db-header__login {
color: rgba(255, 255, 255, 0.75);
}
.db-header--dark .db-header__login:hover {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
}
.db-header--dark .db-header__cta {
background: rgba(255, 255, 255, 0.12);
border: 1px solid rgba(255, 255, 255, 0.15);
color: #ffffff;
box-shadow: none;
}
.db-header--dark .db-header__cta:hover {
background: rgba(255, 255, 255, 0.18);
border-color: rgba(255, 255, 255, 0.25);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* ── Burger icon ── */
.db-header--dark .db-header__burger span {
background: rgba(255, 255, 255, 0.8);
}
.db-header--dark .db-header__burger:hover {
background: rgba(255, 255, 255, 0.08);
}
/* ── Mega menus: reset to dark text (white bg dropdowns) ── */
.db-header--dark .db-mega__inner {
color: #374151;
}
/* ── Logo: white logo on dark header, hide color logo ── */
.db-header--dark .db-header__logo-img--white {
display: block;
}
.db-header--dark .db-header__logo-img--color {
display: none;
}
/* ── When scrolled on dark, revert to standard look ── */
.db-header--dark.db-header--scrolled .db-nav__link {
color: rgba(255, 255, 255, 0.8);
}
.db-header--dark.db-header--scrolled .db-nav__link:hover,
.db-header--dark.db-header--scrolled .db-nav__item--has-menu:hover > .db-nav__link {
color: #ffffff;
background: rgba(255, 255, 255, 0.08);
}
.db-header--dark.db-header--scrolled .db-header__login {
color: rgba(255, 255, 255, 0.8);
}
.db-header--dark.db-header--scrolled .db-header__cta {
background: #3D7FFC;
border: none;
color: #ffffff;
box-shadow: 0 1px 3px rgba(61,127,252,0.2);
}
.db-header--dark.db-header--scrolled .db-header__cta:hover {
background: #2563eb;
box-shadow: 0 4px 14px rgba(61,127,252,0.3);
}
/* Logo stays white on dark scrolled header */
.db-header--dark.db-header--scrolled .db-header__logo-img--white {
display: block;
}
.db-header--dark.db-header--scrolled .db-header__logo-img--color {
display: none;
}
