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

:root {
    --color-accent: #ff8500;
    --color-accent-bright: #ffa333;
    --color-accent-glow: rgba(255, 133, 0, 0.18);
    --color-accent-tint: rgba(255, 133, 0, 0.08);

    --bg-page: #17323e;
    --bg-surface: #1e3f4d;
    --bg-elevated: #264b5c;
    --bg-header: rgba(23, 50, 62, 0.88);

    --text-primary: #FFFFFF;
    --text-secondary: #a3c0cf;
    --text-muted: #6b8a9a;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.10);
    --border-accent: rgba(255, 133, 0, 0.30);

    --font-sans: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: "Outfit", Georgia, serif;
    --font-mono: "Outfit", "SF Mono", ui-monospace, monospace;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    -webkit-tap-highlight-color: transparent;
}

/* =============================================
   HEADER - Glassmorphism Dark
   ============================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    padding: 1.5rem 0;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    cursor: pointer;
    min-height: 44px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
}

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

.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: var(--color-accent-tint);
    color: var(--color-accent);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.logo-icon {
    height: 72px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.cta-button {
    background: var(--color-accent);
    color: #FFFFFF;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--color-accent);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.cta-button:hover {
    background: var(--color-accent-bright);
    color: #FFFFFF;
}

/* Book a Demo shown only inside the mobile menu drawer (hidden on desktop). */
.nav-cta-mobile {
    display: none;
}

/* =============================================
   HERO SECTION (Two-Column Layout)
   ============================================= */
.hero {
    margin-top: 100px;
    padding: 3rem 1.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    min-height: calc(100vh - 100px);
    box-sizing: border-box;
    text-align: left;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    background: var(--color-accent-tint);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.hero-headline-serif {
    font-family: 'Zilla Slab', Georgia, serif;
    font-style: italic;
    font-weight: 400;
}

.hero-headline-sans {
    font-family: 'Space Grotesk', -apple-system, sans-serif;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 600px;
}

.hero-metrics {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.hero-metric {
    display: flex;
    flex-direction: column;
}

.hero-metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.2;
    font-family: var(--font-mono);
}

.hero-metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
}

.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 0;
}

.cta-button-primary {
    background: var(--color-accent);
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--color-accent);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    gap: 0;
}

.cta-button-primary::after {
    content: ' ↗';
    font-size: 0.9rem;
}

.cta-button-primary:hover {
    background: var(--color-accent-bright);
    border-color: var(--color-accent-bright);
}

.cta-button-outline {
    background: transparent;
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-default);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.cta-button-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.cta-button-secondary {
    background: var(--color-accent);
    color: #FFFFFF;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 1px solid var(--color-accent);
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    gap: 0.5rem;
}

.cta-button-secondary::after {
    content: '↘';
    font-size: 1.2rem;
}

.cta-button-secondary:hover {
    background: var(--color-accent-bright);
    border-color: var(--color-accent-bright);
}

.feature-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.badge {
    background: var(--bg-surface);
    border: 1px solid var(--border-accent);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.badge::before {
    content: '✓';
    width: 28px;
    height: 28px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    color: #FFFFFF;
}

/* =============================================
   HERO VISUAL - Flow Diagram
   ============================================= */
.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-flow-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    box-shadow: 0 0 40px var(--color-accent-glow);
}

.hero-flow-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* =============================================
   SECTIONS - Spacing, Headers, Badges
   ============================================= */
.section {
    padding: 3rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

#features {
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    color: var(--color-accent);
    font-weight: 500;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--color-accent-tint);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* =============================================
   FEATURES GRID
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Orange accent bar on hover — standardized to match the Benefits cards. */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-elevated);
}

.feature-card:hover::before {
    transform: scaleY(1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-icon-img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.feature-images {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.feature-images img {
    width: 60px;
    height: 60px;
    opacity: 0.7;
    filter: brightness(1.2);
}

/* =============================================
   BENEFITS SECTION
   ============================================= */
.benefits-section {
    background: var(--bg-page);
    padding: 3rem 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.benefit-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-elevated);
}

.benefit-card:hover::before {
    transform: scaleY(1);
}

.benefit-card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Standardized to match the Features icon (48px badge, 28px glyph). */
.benefit-card-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-card-icon img {
    /* !important overrides the inline width/height:40px in the benefit markup */
    width: 28px !important;
    height: 28px !important;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* =============================================
   PROCESS SECTION (Tech Flow)
   ============================================= */
.tech-flow-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 4rem;
    position: relative;
    padding: 3rem 0;
    flex-wrap: nowrap;
}

.flow-step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-step[data-step="1"],
.flow-step[data-step="3"] {
    padding-top: 0;
}

.flow-step[data-step="2"] {
    padding-top: 0;
}

.flow-node {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-icon {
    width: 96px;
    height: 96px;
    color: var(--color-accent);
    position: relative;
    z-index: 2;
}

.node-icon svg {
    width: 100%;
    height: 100%;
}

.node-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(118%) contrast(119%);
}

.node-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.flow-step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.flow-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.tech-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.4rem 1rem;
    background: var(--color-accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFFFFF;
}

.flow-connector {
    flex: 0 0 120px;
    height: 60px;
    position: relative;
    z-index: 1;
    margin-top: 60px;
}

.flow-connector svg {
    width: 100%;
    height: 100%;
}

.tech-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 5rem;
    padding: 2.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    justify-items: center;
}

.tech-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.stat-icon {
    font-size: 2rem;
}

.stat-icon img {
    filter: brightness(0) invert(1);
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.2;
    font-family: var(--font-mono);
}

.stat-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* =============================================
   WHY CHOOSE US SECTION
   ============================================= */
.why-choose-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    color: var(--color-accent);
    font-weight: 500;
    font-size: 0.8rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--color-accent-tint);
}

.why-choose-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-mono);
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

.benefit-feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
}

.benefit-feature-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-elevated);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefit-icon img {
    filter: brightness(0) invert(1);
}

.benefit-feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

/* =============================================
   CLIENTS SECTION
   ============================================= */
.clients-section {
    text-align: center;
    background: var(--bg-surface);
}

.clients-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    color: var(--color-accent);
    font-weight: 500;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--color-accent-tint);
}

.clients-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.clients-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.marquee-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1rem 0 3rem 0;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 4));
    }
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.client-logo-item {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 200px;
}

.client-logo-item img {
    height: 150px;
    width: auto;
}

.process-arrow {
    font-size: 2rem;
    color: var(--text-muted);
}

/* =============================================
   BLOG SECTION
   ============================================= */
.blog-section {
    background: var(--bg-page);
    padding: 3rem 1.5rem;
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.blog-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.blog-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-elevated);
}

.blog-card-locked {
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

.blog-card-locked:hover {
    border-color: var(--border-subtle);
}

.blog-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(247, 147, 26, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.coming-soon-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-read-more-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.blog-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-accent-tint) 0%, rgba(247, 147, 26, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 48%, var(--color-accent-tint) 49%, var(--color-accent-tint) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, var(--color-accent-tint) 49%, var(--color-accent-tint) 51%, transparent 52%);
    background-size: 20px 20px;
}

.blog-image-placeholder {
    font-size: 3rem;
    color: var(--color-accent);
    z-index: 1;
    opacity: 0.6;
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.blog-category {
    background: var(--color-accent);
    color: #FFFFFF;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.blog-read-more {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.blog-read-more:hover {
    gap: 1rem;
    color: var(--color-accent-bright);
}

.blog-read-more::after {
    content: '→';
}

/* =============================================
   USE CASES TABS
   ============================================= */
.use-cases {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.use-case-tab {
    padding: 0.75rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    touch-action: manipulation;
    color: var(--text-secondary);
}

.use-case-tab-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    shape-rendering: geometricPrecision;
    min-width: 32px;
    min-height: 32px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.use-case-tab.active .use-case-tab-icon {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.use-case-tab:hover .use-case-tab-icon {
    opacity: 1;
}

.use-case-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #FFFFFF;
}

.use-case-tab:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
}

.use-case-content {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 3rem;
    border-radius: var(--radius-lg);
    position: relative;
}

.use-case-item {
    display: none;
}

.use-case-item.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.use-case-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.use-case-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.use-case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.use-case-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    opacity: 0.9;
}

.collateral-icon-container {
    text-align: center;
    margin: 4rem 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 3rem;
}

.collateral-icon {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 8 / 5;
    border-radius: 0;
    border: 1px solid var(--border-accent);
    padding: 2rem;
    background: var(--bg-surface);
    object-fit: contain;
    display: block;
}

.collateral-crop {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--border-accent);
}

iframe.collateral-icon {
    position: absolute;
    top: -5.0%;
    left: 0;
    width: 100%;
    height: 111%;
    padding: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    max-width: none;
    aspect-ratio: unset;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 2rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-accent);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
    background: var(--bg-page);
    padding: 3rem 1.5rem;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.notion-form-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.notion-form-container::before {
    content: 'Loading contact form…';
    position: absolute;
    color: var(--text-muted);
    font-size: 0.9rem;
    z-index: 0;
}

.notion-form-container iframe {
    width: 100%;
    min-height: 400px;
    border: none;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    background: transparent;
}

.contact-info {
    margin-top: 3rem;
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid var(--border-subtle);
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-methods {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-method-icon img {
    filter: brightness(0) invert(1);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: var(--bg-elevated);
    border: 1px solid var(--border-accent);
    text-align: center;
    border-radius: var(--radius-lg);
    margin: 3rem 1.5rem;
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.5;
}

.cta-section h2,
.cta-section p {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: var(--text-secondary);
}

.cta-button-large {
    background: var(--color-accent);
    color: #FFFFFF;
    padding: 1rem 3rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border: 1px solid var(--color-accent);
    min-height: 44px;
    touch-action: manipulation;
}

.cta-button-large:hover {
    background: var(--color-accent-bright);
    border-color: var(--color-accent-bright);
}

/* =============================================
   FLAGS SECTION
   ============================================= */
.flags-container {
    padding: 2rem 0;
}

.flags-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: center;
    margin-bottom: 2rem;
}

.flags-grid .flag-item:nth-child(7) {
    grid-column: 2;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    width: 180px;
    height: 160px;
    min-width: 180px;
    min-height: 160px;
    max-width: 180px;
    max-height: 160px;
    box-sizing: border-box;
}

.flag-item:hover {
    border-color: var(--border-accent);
}

.flag-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 60px;
    margin: 0 auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.flag-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: auto;
    shape-rendering: geometricPrecision;
}

.flag-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 60px;
    margin: 0 auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.flag-logo img {
    width: 80px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.flag-label {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    text-align: center;
}

button.dropdown-trigger {
    background: transparent;
    border: none;
    font-family: inherit;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    min-height: 44px;
    padding: 0;
}

button.dropdown-trigger:hover {
    color: var(--color-accent);
}

/* =============================================
   PRICING COMPARISON SECTION
   ============================================= */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: stretch;
    margin-top: 2rem;
}

.comparison-table {
    height: 100%;
}

.pricing-metrics {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pricing-metric {
    padding: 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.pricing-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-mono);
    line-height: 1.1;
}

.pricing-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

.pricing-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comparison-table thead th {
    text-align: left;
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-accent);
    background: var(--bg-elevated);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border-subtle);
}

.comparison-table tbody td {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.comparison-row.highlight td {
    background: var(--color-accent-tint);
    color: var(--text-primary);
    font-weight: 500;
}

.comparison-row.highlight td:first-child {
    color: var(--color-accent);
}

.comparison-row:last-child td {
    border-bottom: none;
}

/* Per-route pricing table: bold currency column, centered figures */
.comparison-table tbody td:first-child {
    font-weight: 700;
}

.comparison-table th:nth-child(2),
.comparison-table th:nth-child(3),
.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3) {
    text-align: center;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--border-accent);
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
    padding-top: 1rem;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 0;
    font-size: 3rem;
    color: var(--color-accent);
    opacity: 0.4;
    font-family: 'Zilla Slab', Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* =============================================
   TEAM SECTION
   ============================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.team-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-elevated);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-bright));
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px var(--color-accent-glow);
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 320px;
    margin: 0 auto;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 3rem 2rem;
    text-align: center;
    color: var(--text-secondary);
    background: var(--bg-surface);
}

.footer-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

/* =============================================
   SUPPORTED BY SECTION
   ============================================= */
.supported-by {
    padding: 3rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.supported-by-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.supported-by-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.supported-by-logo {
    height: 36px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.supported-by-logo:hover {
    opacity: 1;
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.features-grid.revealed .feature-card:nth-child(1) { transition-delay: 0.1s; }
.features-grid.revealed .feature-card:nth-child(2) { transition-delay: 0.2s; }
.features-grid.revealed .feature-card:nth-child(3) { transition-delay: 0.3s; }
.features-grid.revealed .feature-card:nth-child(4) { transition-delay: 0.4s; }
.features-grid.revealed .feature-card:nth-child(5) { transition-delay: 0.5s; }
.features-grid.revealed .feature-card:nth-child(6) { transition-delay: 0.6s; }

.hero-metric-value.metric-animate {
    animation: metricIn 0.6s ease-out forwards;
}

@keyframes metricIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* =============================================
   BLOG POST PAGE STYLES
   ============================================= */
.blog-post-page {
    margin-top: 100px;
    background: var(--bg-page);
    color: var(--text-primary);
    min-height: calc(100vh - 100px);
}

.blog-post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.blog-post-date {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-family: var(--font-sans);
}

.blog-post-header {
    margin-bottom: 3rem;
}

.blog-post-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.blog-post-subtitle {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.blog-post-author-section {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.blog-post-author,
.blog-post-reviewed {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.author-label,
.reviewed-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.author-qualification {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.reviewed-placeholder {
    padding: 0.75rem 1rem;
    background: var(--bg-surface);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    min-width: 200px;
}

.blog-post-hero {
    position: relative;
    width: 100%;
    margin: 3rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.blog-post-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.blog-post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.blog-post-hero-overlay h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.3;
    max-width: 800px;
}

.blog-post-key-points {
    background: var(--bg-surface);
    border-left: 2px solid var(--color-accent);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 8px;
}

.key-points-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.key-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-points-list li {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.key-points-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.2;
}

.blog-post-content {
    margin-top: 4rem;
}

.blog-post-section {
    margin-bottom: 3rem;
}

.blog-post-section-title {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.blog-post-section p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.blog-post-image-wrapper {
    margin: 2rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.blog-post-content-image {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.blog-back-link {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-back-link:hover {
    color: var(--color-accent-bright);
}

/* =============================================
   RESPONSIVE - 1024px Breakpoint
   ============================================= */
@media (max-width: 1024px) {
    .flags-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =============================================
   RESPONSIVE - 900px Breakpoint
   ============================================= */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 1.5rem;
        text-align: center;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-metrics {
        justify-content: center;
    }

    .hero-cta-buttons {
        justify-content: center;
    }

    .hero-flow-container {
        max-width: 100%;
    }

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

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

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

/* =============================================
   RESPONSIVE - 768px Breakpoint
   ============================================= */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 0;
        min-height: 60px;
        height: auto;
    }

    nav {
        padding: 0 1rem;
        min-height: 60px;
        display: flex;
        align-items: center;
    }

    .hero {
        padding: 2rem 1.5rem;
        padding-top: 1.25rem;
        margin-top: 100px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero h1 {
        margin-top: 0;
        padding-top: 0;
        margin-bottom: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 1.3rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-badges {
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 1rem;
    }

    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

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

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-flow-container {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0;
        align-items: center;
    }

    .flow-step {
        max-width: 100%;
        padding: 0 1rem !important;
    }

    .flow-step[data-step="2"] {
        padding-top: 0 !important;
    }

    .flow-node {
        width: 100px;
        height: 100px;
    }

    .node-icon {
        width: 40px;
        height: 40px;
    }

    .flow-connector {
        display: none;
    }

    .tech-stats-bar {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-choose-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tech-stat {
        justify-content: flex-start;
    }

    .flags-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
        margin-bottom: 0;
        padding: 0 0.5rem;
    }

    /* Lone last tile: span both columns and center it (was stuck in column 2,
       inherited from the 3-column desktop rule). */
    .flags-grid .flag-item:nth-child(7) {
        display: flex;
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.5rem);
    }

    .flags-container {
        padding: 1rem 0.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .flag-item {
        width: 100%;
        height: 140px;
        min-width: 0;
        min-height: 140px;
        max-width: 100%;
        max-height: 140px;
        padding: 1rem;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

    .flag-image {
        width: 60px;
        height: 45px;
    }

    .flag-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .flag-logo {
        width: 60px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .flag-logo img {
        width: 60px;
        height: 45px;
        object-fit: contain;
    }

    .flag-label {
        font-size: 0.75rem;
        text-align: center;
        width: 100%;
        line-height: 1.2;
        display: flex;
        align-items: center;
        justify-content: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        margin: 0;
        padding: 0;
    }

    .clients-title {
        font-size: 2.5rem;
    }

    .clients-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .client-logo-item {
        font-size: 1.5rem;
        min-width: 120px;
        flex-shrink: 0;
    }

    .client-logo-item img {
        max-width: 200px;
        max-height: 80px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    .marquee-content {
        gap: 1.5rem;
    }

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

    .use-case-image {
        order: -1;
    }

    .use-case-image img {
        width: 120%;
        max-width: 120%;
        margin-left: -10%;
        margin-right: -10%;
    }

    /* Mobile: wrap the use-case tabs so every tab is visible and tappable at
       once — replaces the hard-to-use horizontal scroll / tiny scrollbar. */
    .use-cases {
        flex-wrap: wrap;
        justify-content: center;
        overflow: visible;
        gap: 0.6rem;
        padding: 0 0 0.5rem 0;
        margin-left: 0;
        margin-right: 0;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .use-cases::before,
    .use-cases::after {
        display: none;
    }

    .use-case-tab {
        flex: 0 1 auto;
        min-width: 0;
        padding: 0.5rem 0.85rem;
        justify-content: center;
    }

    .use-case-tab span {
        font-size: 0.85rem;
    }

    .use-case-tab-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
    }

    header {
        padding: 1rem 0;
        height: auto;
        min-height: 70px;
    }

    nav {
        padding: 0 1.5rem;
        flex-wrap: wrap;
        gap: 1rem;
        position: relative;
        width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-elevated);
        border: 1px solid var(--border-default);
        border-radius: var(--radius-md);
        padding: 1.5rem;
        margin-top: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        padding: 0.5rem 0 0 1rem;
        min-width: auto;
    }

    /* Slim mobile header to logo + hamburger: hide the header's Book a Demo.
       The same CTA lives inside the opened menu drawer instead. */
    nav > .cta-button {
        display: none;
    }

    .nav-links .nav-cta-mobile {
        display: block;
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 2rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .cta-section {
        margin: 2rem 1.5rem;
        padding: 2rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .cta-button-large {
        width: 100%;
        padding: 1rem 2rem;
    }

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

    .feature-card {
        padding: 2rem;
    }

    .flow-step h3 {
        font-size: 1.1rem;
    }

    .flow-step p {
        font-size: 0.9rem;
    }

    .notion-form-container {
        padding: 1.5rem;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    /* Match the Features tiles: icon-top, title-below, left-aligned
       (was centered, which diverged from Features on mobile). */
    .benefit-card-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }

    .benefit-card h3 {
        font-size: 1.2rem;
    }
}

/* =============================================
   BLOG POST MOBILE STYLES
   ============================================= */
@media (max-width: 768px) {
    .blog-post-container {
        padding: 2rem 1rem;
    }

    .blog-post-title {
        font-size: 2rem;
    }

    .blog-post-subtitle {
        font-size: 1.1rem;
    }

    .blog-post-hero-overlay h2 {
        font-size: 1.75rem;
    }

    .blog-post-author-section {
        flex-direction: column;
        gap: 2rem;
    }

    .blog-post-section-title {
        font-size: 1.5rem;
    }

    .blog-post-section p {
        font-size: 1rem;
    }

    .key-points-title {
        font-size: 1.25rem;
    }
}

/* =============================================
   RESPONSIVE - Mobile pricing section fit
   ============================================= */
@media (max-width: 768px) {
    /* Let the single-column pricing grid shrink to the viewport instead of
       blowing out to the comparison table's min-content width, which was
       clipping both the metric cards and the table's last column. */
    .pricing-grid > * {
        min-width: 0;
    }

    /* Comparison table: shrink to fit, with horizontal scroll as a safety net. */
    .comparison-table-wrapper {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Fixed layout makes the 3 columns share the width evenly and wrap,
       so the table fits the phone without a sideways scroll. */
    .comparison-table {
        table-layout: fixed;
        width: 100%;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.6rem 0.4rem;
        font-size: 0.78rem;
        overflow-wrap: break-word;
    }

    /* Proportion the 3 columns: the currency label needs the most room. */
    .comparison-table th:nth-child(1),
    .comparison-table td:nth-child(1) { width: 38%; }
    .comparison-table th:nth-child(2),
    .comparison-table td:nth-child(2) { width: 37%; }
    .comparison-table th:nth-child(3),
    .comparison-table td:nth-child(3) { width: 25%; }

    /* Keep fee ranges and settlement times on one line; only the currency
       label and the uppercase headers wrap (at spaces, not mid-word). */
    .comparison-table tbody td:nth-child(2),
    .comparison-table tbody td:nth-child(3) {
        white-space: nowrap;
    }

    .comparison-table thead th {
        font-size: 0.62rem;
        letter-spacing: 0.02em;
    }
}

/* =============================================
   HOVER POLISH — consistent interactive feedback (hybrid)
   Clickable controls/cards lift; display cards get one subtle
   uniform treatment; pure data (hero + why-us stats, table rows,
   client logos, logo) stays static. Motion respects reduced-motion.
   ============================================= */

/* Give cards whose transition didn't cover transform/shadow one that does. */
.team-card,
.testimonial-card,
.pricing-metric {
    transition: transform 0.3s ease, border-color 0.3s ease,
                background 0.3s ease, box-shadow 0.3s ease;
}

/* 1) Clickable controls (buttons): clear lift + accent glow. */
.cta-button:hover,
.cta-button-primary:hover,
.cta-button-secondary:hover,
.cta-button-outline:hover,
.cta-button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--color-accent-glow);
}

/* 2) Clickable cards / tabs: lift + soft shadow. */
.blog-card:hover,
.use-case-tab:hover,
.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

/* 3) Display cards: one uniform, subtle treatment. */
.feature-card:hover,
.benefit-card:hover,
.benefit-feature-card:hover,
.team-card:hover,
.testimonial-card:hover,
.flag-item:hover,
.pricing-metric:hover {
    transform: translateY(-2px);
    border-color: var(--border-accent);
    background: var(--bg-elevated);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

/* Accessibility: disable the movement for users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
    .cta-button:hover,
    .cta-button-primary:hover,
    .cta-button-secondary:hover,
    .cta-button-outline:hover,
    .cta-button-large:hover,
    .blog-card:hover,
    .use-case-tab:hover,
    .faq-item:hover,
    .feature-card:hover,
    .benefit-card:hover,
    .benefit-feature-card:hover,
    .team-card:hover,
    .testimonial-card:hover,
    .flag-item:hover,
    .pricing-metric:hover {
        transform: none;
    }
}

/* =============================================
   RESPONSIVE - Standardize section spacing on mobile
   These sections use bespoke classes (not .section), so they missed the
   .section mobile padding and stayed at 3rem. Bring them to 2rem to match.
   ============================================= */
@media (max-width: 768px) {
    .benefits-section,
    .contact-section,
    .blog-section,
    .supported-by {
        padding: 2rem 1.5rem;
    }
}
