/* ── HEADER ──────────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0);
    backdrop-filter: blur(0);
    border-bottom: 1px solid transparent;
    transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    border-color: var(--border);
    box-shadow: 0 2px 20px rgba(124,58,237,.07);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 1.5rem;
}
.site-logo, .footer-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: .4rem;
    text-decoration: none;
}
.logo-icon { color: var(--primary); font-size: 1.5rem; }
.logo-text { display: flex; align-items: center; gap: .4rem; }

/* Custom logo image — shown when set via Grapphen Settings or WP Customizer */
.logo-img {
    max-height: 46px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: opacity .2s ease;
}
.site-logo:hover .logo-img { opacity: .85; }

/* WP custom_logo wrapper */
.site-logo .custom-logo-link { display: flex; align-items: center; }
.site-logo .custom-logo-link img { max-height: 46px; width: auto; display: block; }

/* Footer logo image (light/white version for dark background) */
.footer-logo-img {
    max-height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1); /* makes any logo white on dark bg */
    transition: opacity .2s ease;
}
.footer-logo:hover .footer-logo-img { opacity: .8; }

/* Nav */
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-list li { position: relative; }
.nav-list > li > a {
    padding: .5rem .85rem;
    font-weight: 500;
    font-size: .9375rem;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
}
.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 2px; left: .85rem; right: .85rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--pink));
    border-radius: 9999px;
    transform: scaleX(0);
    transition: transform var(--transition);
}
.nav-list > li > a:hover::after,
.nav-list > li.current-menu-item > a::after { transform: scaleX(1); }
.nav-list > li > a:hover { color: var(--primary); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: 100%;          /* flush — padding-top bridges the gap */
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: .75rem 0 .5rem;  /* top padding creates hover bridge */
    padding-top: calc(.5rem + 4px); /* extra buffer so mouse doesn't fall out */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease;
    /* delay hide so mouse can travel from link → dropdown */
    transition-delay: 0s;
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}
/* Keep visible briefly after mouse leaves (prevents flash-close) */
.has-dropdown .dropdown {
    transition-delay: 0s, 0s;
}
.has-dropdown:not(:hover):not(.open) .dropdown {
    transition-delay: .12s;  /* small grace period before hiding */
}
.dropdown li a {
    display: block;
    padding: .6rem 1.25rem;
    font-size: .9rem;
    color: var(--text);
    transition: background var(--transition), color var(--transition);
}
.dropdown li a:hover { background: var(--bg-soft); color: var(--primary); }

/* Header CTA & Hamburger */
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-cta { padding: .6rem 1.4rem; font-size: .875rem; }
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none; border: none; cursor: pointer;
    padding: .5rem;
}
.hamburger span {
    display: block; height: 2px; background: var(--text-dark);
    border-radius: 9999px; transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(31,16,53,.97);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity var(--transition);
    padding: 4rem 0 2rem 0; /* Space for close button and bottom edge */
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-nav-inner { 
    text-align: center; width: 100%; padding: 1rem 2rem; 
    max-height: 100%; overflow-y: auto; /* Enable scrolling when content exceeds viewport */
}
.mobile-nav-close { background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; position: absolute; top: 1.5rem; right: 1.5rem; z-index: 1000; }
.mobile-nav-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.mobile-nav-list li a { font-size: 1.25rem; font-weight: 600; color: #fff; padding: .5rem; display: block; transition: color var(--transition); }
.mobile-nav-list li a:hover { color: var(--primary-light); }
.mobile-nav-list .has-dropdown > a { display: block; text-align: center; }
.mobile-nav-list .has-dropdown > a::after { content: '▾'; display: inline-block; margin-left: 0.5rem; font-size: 0.8em; transition: transform var(--transition); }
.mobile-nav-list .has-dropdown.open > a::after { transform: rotate(180deg); }
.mobile-nav-list .dropdown { position: static; background: transparent; border: none; box-shadow: none; min-width: 0; padding: 0; margin-top: 0.5rem; display: none; opacity: 1; pointer-events: auto; transform: none; transition: none; }
.mobile-nav-list .has-dropdown.open .dropdown { display: block; }
.mobile-nav-list .dropdown li a { display: block; font-size: 1.1rem; padding: 0.5rem; color: #ffffff !important; text-align: center; }
.mobile-nav-list .dropdown li a:hover { background: rgba(255,255,255,0.1); color: var(--primary-light) !important; }

/* Mobile login accordion */
.mobile-login-accordion { width: 100%; }
.mobile-login-toggle {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: .5rem;
    background: transparent; border: 1.5px solid rgba(255,255,255,.4); border-radius: 9999px;
    color: #fff; font-size: .9375rem; font-weight: 600; padding: .75rem 1.5rem;
    cursor: pointer; font-family: inherit; transition: all var(--transition);
}
.mobile-login-toggle:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
.mobile-login-arrow { transition: transform var(--transition); flex-shrink: 0; }
.mobile-login-toggle[aria-expanded="true"] .mobile-login-arrow { transform: rotate(180deg); }
.mobile-login-panel { display: flex; flex-direction: column; gap: .5rem; margin-top: .6rem; padding: .5rem; background: rgba(255,255,255,.07); border-radius: var(--radius-sm); }
.mobile-login-panel[hidden] { display: none; }
.mobile-login-item {
    display: block; text-align: center; padding: .65rem 1rem;
    color: rgba(255,255,255,.9); font-size: .9rem; font-weight: 600;
    border-radius: var(--radius-sm); text-decoration: none;
    transition: background var(--transition), color var(--transition);
}
.mobile-login-item:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Main content offset for fixed header */
.site-main { padding-top: 70px; }

@media (max-width: 768px) {
    .primary-nav, .header-cta { display: none; }
    .header-login-desktop { display: none; } /* hide login dropdown on mobile — shown in mobile overlay instead */
    .hamburger { display: flex; }
}

/* ── HERO ────────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
    background: var(--bg-soft);
}
.hero-bg-gradient {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(167,139,250,.18) 0%, transparent 70%),
                radial-gradient(ellipse 60% 50% at 20% 80%, rgba(236,72,153,.12) 0%, transparent 70%);
    animation: hero-shift 10s ease-in-out infinite alternate;
}
@keyframes hero-shift {
    from { transform: scale(1) rotate(0deg); }
    to   { transform: scale(1.08) rotate(2deg); }
}
.hero-orb {
    position: absolute; border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}
.hero-orb-1 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(124,58,237,.15), transparent); top: -80px; right: 10%; animation-delay: 0s; }
.hero-orb-2 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(236,72,153,.12), transparent); bottom: 10%; left: 5%; animation-delay: 2s; }
.hero-orb-3 { width: 150px; height: 150px; background: radial-gradient(circle, rgba(16,185,129,.1), transparent); top: 30%; right: 30%; animation-delay: 4s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-content { max-width: 580px; }
.hero-badge { margin-bottom: 1.25rem; }
.hero-title { margin-bottom: 1.25rem; line-height: 1.15; }
.hero-subtitle { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-lg { padding: .9rem 2.1rem; font-size: 1rem; }
.hero-stats {
    display: flex; gap: 2rem; flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.hero-stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--primary); line-height: 1; }
.hero-stat span { font-size: .8125rem; color: var(--text-muted); font-weight: 500; }

/* Hero visual / mockup */
.hero-visual { position: relative; }
.hero-card-float {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: .75rem 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .8125rem;
    font-weight: 500;
    animation: float 4s ease-in-out infinite;
    z-index: 2;
}
.hero-card-float strong { display: block; font-size: .875rem; color: var(--text-dark); }
.hero-card-float p { color: var(--text-muted); font-size: .75rem; margin: 0; }
.hero-card-icon { font-size: 1.5rem; }
.hero-card-1 { top: -20px; left: -20px; animation-delay: 0s; }
.hero-card-2 { bottom: 60px; right: -20px; animation-delay: 1.5s; }
.hero-card-3 { bottom: -20px; left: 30px; animation-delay: 3s; }

.hero-mockup {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}
.mockup-bar { display: flex; gap: 6px; padding: .75rem 1rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.mockup-bar span { width: 12px; height: 12px; border-radius: 50%; background: #E5E7EB; }
.mockup-bar span:nth-child(1) { background: #FCA5A5; }
.mockup-bar span:nth-child(2) { background: #FCD34D; }
.mockup-bar span:nth-child(3) { background: #6EE7B7; }
.mockup-body { padding: 1rem; }
.mockup-header-row { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.mockup-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-light), var(--pink)); flex-shrink: 0; }
.mockup-text-block { flex: 1; }
.mockup-line { height: 8px; background: var(--surface); border-radius: 4px; margin-bottom: 6px; }
.mockup-line:last-child { margin-bottom: 0; }
.w-60 { width: 60%; }
.w-40 { width: 40%; }
.w-80 { width: 80%; }
.mockup-badge-purple { background: linear-gradient(135deg, #EDE9FE, #FCE7F3); color: var(--primary); font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: 9999px; white-space: nowrap; }
.mockup-pipeline { display: flex; gap: .5rem; overflow-x: auto; }
.pipeline-col { flex: 0 0 100px; }
.pipeline-label { font-size: .65rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5rem; }
.pipeline-card { display: flex; align-items: center; gap: .4rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: .5rem; padding: .35rem .5rem; margin-bottom: .35rem; }
.pipeline-avatar { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; }
.pipeline-col.active .pipeline-label { color: var(--primary); }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero-content { max-width: 100%; }
}

/* ── AI BANNER ───────────────────────────────────────────────────────────────── */
.ai-banner { background: var(--text-dark); overflow: hidden; }
.ai-banner-inner { text-align: center; }
.ai-banner-label { color: rgba(255,255,255,.7); font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; }
.ai-pills { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.ai-pill {
    padding: .45rem 1rem;
    border-radius: 9999px;
    background: rgba(124,58,237,.2);
    border: 1px solid rgba(167,139,250,.3);
    color: #DDD6FE;
    font-size: .8125rem;
    font-weight: 500;
    cursor: default;
    transition: all var(--transition);
}
.ai-pill:hover { background: rgba(124,58,237,.4); border-color: var(--primary-light); color: #fff; transform: translateY(-2px); }

/* ── HIGHLIGHT CARDS ─────────────────────────────────────────────────────────── */
.highlight-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.highlight-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    border: 2px solid var(--border);
    text-decoration: none;
    transition: all .35s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
}
.highlight-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: var(--radius) var(--radius) 0 0;
}
.highlight-card--violet::before  { background: linear-gradient(90deg, var(--primary), var(--pink)); }
.highlight-card--orange::before  { background: linear-gradient(90deg, var(--secondary), #FBBF24); }
.highlight-card--emerald::before { background: linear-gradient(90deg, var(--accent), #34D399); }
.highlight-card--pink::before    { background: linear-gradient(90deg, var(--pink), var(--primary)); }

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.highlight-card--violet:hover  { box-shadow: 0 16px 48px rgba(124,58,237,.2); }
.highlight-card--orange:hover  { box-shadow: 0 16px 48px rgba(249,115,22,.2); }
.highlight-card--emerald:hover { box-shadow: 0 16px 48px rgba(16,185,129,.2); }
.highlight-card--pink:hover    { box-shadow: 0 16px 48px rgba(236,72,153,.2); }

.hc-icon { font-size: 2.25rem; margin-bottom: .75rem; }
.hc-badge { margin-bottom: .75rem; align-self: flex-start; }
.hc-title { font-size: 1.2rem; margin-bottom: .6rem; color: var(--text-dark); }
.hc-desc  { font-size: .875rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; flex: 1; }
.hc-list  { margin-bottom: 1.5rem; }
.hc-list li { font-size: .8125rem; color: var(--text); padding: .2rem 0; font-weight: 500; }
.hc-cta {
    font-weight: 700;
    font-size: .875rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: auto;
    transition: gap var(--transition);
}
.highlight-card:hover .hc-cta { gap: .65rem; }
.highlight-card--orange .hc-cta  { color: var(--secondary); }
.highlight-card--emerald .hc-cta { color: var(--accent); }
.highlight-card--pink .hc-cta    { color: var(--pink); }

@media (max-width: 1024px) { .highlight-cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .highlight-cards { grid-template-columns: 1fr; } }

/* ── MODULE CARDS ────────────────────────────────────────────────────────────── */
.module-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.mc-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.module-card h4 { margin-bottom: .5rem; font-size: 1.0625rem; }
.module-card p { font-size: .875rem; color: var(--text-muted); margin-bottom: .75rem; }
.mc-link { font-size: .875rem; font-weight: 600; color: var(--primary); transition: gap var(--transition); }
.mc-link:hover { color: var(--primary-dark); }

/* ── STATS ───────────────────────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-emoji { font-size: 2rem; margin-bottom: .5rem; }
.stat-num { font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: .4rem; }
.stat-label { font-size: .9rem; color: var(--text-muted); font-weight: 500; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ── CTA SECTION ─────────────────────────────────────────────────────────────── */
.cta-section { padding: 5rem 0; }
.cta-inner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--pink));
    border-radius: 2rem;
    padding: 4rem 2rem;
    text-align: center;
}
.cta-orb {
    position: absolute; border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}
.cta-orb-1 { width: 300px; height: 300px; background: rgba(255,255,255,.08); top: -100px; left: -60px; }
.cta-orb-2 { width: 200px; height: 200px; background: rgba(255,255,255,.08); bottom: -60px; right: -40px; animation-delay: 3s; }

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */
.site-footer { background: var(--text-dark); }
.footer-top { padding: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .85fr 1fr 1fr; gap: 2.25rem; }
.footer-brand .footer-logo { color: #fff; font-size: 1.25rem; margin-bottom: 1rem; }
.footer-tagline { color: rgba(255,255,255,.55); font-size: .875rem; margin-bottom: 1.5rem; max-width: 240px; }
.footer-social { display: flex; gap: .75rem; }
.social-link {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: .85rem; font-weight: 700;
    transition: all var(--transition);
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-heading { color: #fff; font-size: .9375rem; font-weight: 700; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .875rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.5rem 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { color: rgba(255,255,255,.4); font-size: .8125rem; }
.footer-badges { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (max-width: 900px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .footer-grid { grid-template-columns: 1fr; } }

/* ── SECTION HEADER ──────────────────────────────────────────────────────────── */
.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-desc { font-size: 1.0625rem; color: var(--text-muted); max-width: 580px; margin: 0 auto; }

/* ── FEATURE DETAIL PAGES ────────────────────────────────────────────────────── */
.feature-page-hero {
    background: var(--bg-soft);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.feature-page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 60% at 70% 50%, rgba(167,139,250,.15) 0%, transparent 70%);
}
.feature-hero-inner { position: relative; max-width: 680px; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); }
.feature-hero-inner h1 { margin-bottom: 1rem; }
.feature-hero-inner p  { font-size: 1.125rem; color: var(--text-muted); max-width: 520px; }

.feature-detail-section { padding: 4rem 0; }
.feature-detail-section:nth-child(even) { background: var(--bg-soft); }

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-block-visual {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.feature-block-visual::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,.04), rgba(236,72,153,.04));
}
.feature-block-icon { font-size: 4rem; margin-bottom: 1rem; }
.feature-block-visual h3 { color: var(--text-dark); font-size: 1.1rem; }

.feature-block-text h3 { margin-bottom: 1rem; }
.feature-block-text p { margin-bottom: 1.25rem; color: var(--text-muted); }
.feature-list { display: flex; flex-direction: column; gap: .6rem; }
.feature-list li {
    display: flex; align-items: flex-start; gap: .6rem;
    font-size: .9375rem; color: var(--text);
}
.feature-list li::before {
    content: '✓';
    flex-shrink: 0;
    width: 20px; height: 20px;
    background: linear-gradient(135deg, #EDE9FE, #FCE7F3);
    color: var(--primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem; font-weight: 700;
    margin-top: 2px;
}

.ai-feature-tag {
    display: inline-flex; align-items: center; gap: .35rem;
    background: linear-gradient(135deg, #EDE9FE, #FCE7F3);
    border: 1px solid var(--primary-light);
    color: var(--primary);
    padding: .2rem .7rem;
    border-radius: 9999px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .75rem;
    display: inline-flex;
}

/* Feature cards grid on detail pages */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2rem; }
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary-light); /* Adds a colorful border to ALL cards */
    transition: all var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-card.ai-card { border-top: 3px solid var(--primary); }
.feature-card.ai-card:hover { box-shadow: 0 12px 40px rgba(124,58,237,.15); }
.fc-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.fc-title { font-size: 1.0625rem; margin-bottom: .5rem; }
.fc-desc { font-size: .875rem; color: var(--text-muted); margin-bottom: 1rem; }
.fc-list { display: flex; flex-direction: column; gap: .4rem; }
.fc-list li { font-size: .8125rem; color: var(--text); display: flex; align-items: baseline; gap: .4rem; }
.fc-list li::before { content: '›'; color: var(--primary); font-weight: 700; }

@media (max-width: 900px) { .feature-block { grid-template-columns: 1fr; } .feature-block.reverse { direction: ltr; } }
@media (max-width: 768px) { .features-grid { grid-template-columns: 1fr; } }

/* ── PRICING PAGE ────────────────────────────────────────────────────────────── */
.billing-toggle {
    display: inline-flex;
    background: var(--surface);
    border-radius: 9999px;
    padding: .25rem;
    gap: .25rem;
    margin-bottom: 1rem;
}
.toggle-btn {
    padding: .5rem 1.5rem;
    border-radius: 9999px;
    border: none; cursor: pointer;
    font-weight: 600; font-size: .9rem;
    background: transparent; color: var(--text-muted);
    transition: all var(--transition);
    display: flex; align-items: center; gap: .5rem;
    font-family: inherit;
}
.toggle-btn.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(124,58,237,.3); }
.toggle-save { background: rgba(16,185,129,.15); color: var(--accent); font-size: .7rem; font-weight: 700; padding: .15rem .45rem; border-radius: 9999px; }

.plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.plan-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    transition: all var(--transition);
    display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124,58,237,.08);
}
.plan-ribbon {
    position: absolute; top: -1px; right: 1.5rem;
    background: linear-gradient(135deg,var(--primary),var(--pink));
    color: #fff; font-size: .7rem; font-weight: 700;
    padding: .3rem .85rem;
    border-radius: 0 0 .75rem .75rem;
    text-transform: uppercase; letter-spacing: .06em;
}
.plan-name { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: .4rem; }
.plan-desc { font-size: .8125rem; color: var(--text-muted); margin-bottom: 1rem; }
.plan-price { display: flex; align-items: baseline; gap: .15rem; margin-bottom: .4rem; }
.plan-currency { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-top: .4rem; }
.plan-amount { font-size: 3rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.plan-period { font-size: .875rem; color: var(--text-muted); margin-left: .2rem; }
.plan-save { font-size: .8rem; color: var(--accent); font-weight: 600; margin-bottom: .5rem; }
.plan-trial { text-align: center; font-size: .775rem; color: var(--text-muted); margin-bottom: 1rem; }
.plan-features { flex: 1; display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 0; border-top: 1px solid var(--border); }
.plan-features li { display: flex; align-items: baseline; gap: .5rem; font-size: .875rem; color: var(--text); }
.plan-features li::before { content:'✓'; color:var(--accent); font-weight:700; flex-shrink:0; }
.plan-limit { font-size: .8rem; color: var(--text-muted); text-align: center; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.skeleton-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.skeleton-block { background: linear-gradient(90deg,var(--surface) 25%,var(--border) 50%,var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.pricing-error { text-align:center; color:var(--secondary); padding:2rem; font-weight:600; }

.credits-outer { margin-top: 2rem; }
.credit-tiers { margin-top: .75rem; display: flex; flex-direction: column; gap: .4rem; }
.credit-tier { display: flex; justify-content: space-between; align-items: center; padding: .4rem .6rem; border-radius: .5rem; background: var(--bg-soft); }
.ct-label { font-size: .8125rem; color: var(--text); }
.ct-price { font-size: .9rem; font-weight: 700; color: var(--primary); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
    width: 100%; background: none; border: none; padding: 1.25rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1rem; font-weight: 600; color: var(--text-dark); cursor: pointer;
    text-align: left; transition: background var(--transition); font-family: inherit;
}
.faq-q:hover { background: var(--bg-soft); }
.faq-arrow { color: var(--primary); font-size: 1.25rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 1.5rem 1.25rem; color: var(--text-muted); font-size: .9375rem; }

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

/* ── CONTACT PAGE ────────────────────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: all var(--transition); }
.contact-info-card:hover { box-shadow: var(--shadow); border-color: var(--primary-light); }
.ci-icon { font-size: 1.75rem; margin-bottom: .6rem; }
.contact-info-card h3 { font-size: 1.0625rem; margin-bottom: .4rem; }
.contact-info-card p { font-size: .875rem; color: var(--text-muted); }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }
.contact-form-wrap { position: sticky; top: 90px; }

/* CF7 global overrides */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%; padding: .75rem 1rem;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: .9375rem; font-family: inherit; color: var(--text-dark);
    background: var(--bg-soft); transition: border-color var(--transition);
    margin-bottom: 1rem; display: block;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus {
    outline: none; border-color: var(--primary); background: #fff;
    box-shadow: 0 0 0 3px rgba(124,58,237,.1);
}
.wpcf7-form label { font-size: .875rem; font-weight: 600; color: var(--text-dark); display: block; margin-bottom: .35rem; }
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-submit {
    background: linear-gradient(135deg,var(--primary),var(--pink)) !important;
    color: #fff !important; border: none !important;
    padding: .85rem 2rem !important; border-radius: 9999px !important;
    font-size: 1rem !important; font-weight: 700 !important;
    cursor: pointer !important; width: 100% !important;
    transition: all var(--transition) !important; font-family: inherit !important;
}
.wpcf7-submit:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 25px rgba(124,58,237,.35) !important; }
.wpcf7-not-valid-tip { color: #DC2626; font-size: .8rem; margin-top: -.75rem; margin-bottom: .5rem; }
.wpcf7-response-output { margin: 1rem 0; padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .9rem; }

/* CF7 — flatten any residual auto-<p>/<br> (wpcf7_autop_or_not filter is the primary fix) */
.wpcf7-form > p,
.wpcf7-form p { margin: 0 !important; padding: 0 !important; line-height: 0 !important; font-size: 0 !important; }
.wpcf7-form br { display: none !important; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; line-height: normal; font-size: 1rem; }

/* CF7 global field styles */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%; padding: .72rem 1rem;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-size: .9375rem; font-family: inherit; color: var(--text-dark);
    background: var(--bg-soft); transition: border-color var(--transition), box-shadow var(--transition);
    margin: 0; display: block; box-sizing: border-box; line-height: 1.5;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .wpcf7-form select:focus {
    outline: none; border-color: var(--primary); background: #fff;
    box-shadow: 0 0 0 3px rgba(124,58,237,.1);
}

/* Labels — tight spacing directly above each field */
.wpcf7-form label {
    font-size: .875rem; font-weight: 600; color: var(--text-dark);
    display: block; margin: 0 0 .3rem 0; line-height: 1.4;
}
.wpcf7-form label abbr { color: var(--primary); text-decoration: none; margin-left: .15rem; }

/* Textarea */
.wpcf7-form textarea { min-height: 130px; resize: vertical; }

/* Field wrapper — consistent bottom gap between each field */
.cf7-field { margin-bottom: 1.1rem; }

/* Two-column row */
.cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.1rem; }
.cf7-row .cf7-col { display: flex; flex-direction: column; }
.cf7-row .cf7-col label { margin-bottom: .3rem; }

/* Phone row: country-code select + tel input side by side */
.cf7-phone-row { display: flex; gap: .5rem; align-items: flex-start; }
.cf7-phone-row .wpcf7-form-control-wrap:first-child select { width: 130px; flex-shrink: 0; }
.cf7-phone-row .wpcf7-form-control-wrap:last-child { flex: 1; }

/* Time select — clock icon */
.wpcf7-form select.cf7-time-select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .85rem center;
    padding-right: 2.25rem;
}

/* Flatpickr date alt-input — calendar icon */
.wpcf7-form .cf7-date-display,
.wpcf7-form .flatpickr-input:not(.cf7-time-display):not([type="hidden"]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: right .85rem center !important;
    padding-right: 2.25rem !important; cursor: pointer !important;
}
/* Flatpickr time alt-input — clock icon */
.wpcf7-form .cf7-time-display {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important; background-position: right .85rem center !important;
    padding-right: 2.25rem !important; cursor: pointer !important;
}
.wpcf7-form .flatpickr-input::placeholder,
.wpcf7-form .cf7-date-display::placeholder,
.wpcf7-form .cf7-time-display::placeholder { color: #9CA3AF; }

/* Flatpickr — theme override */
.flatpickr-calendar {
    font-family: 'Inter', system-ui, sans-serif !important;
    border: 1.5px solid var(--border) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: var(--shadow-lg) !important;
    background: #fff !important;
}
.flatpickr-months { background: linear-gradient(135deg, var(--primary), var(--pink)) !important; border-radius: calc(var(--radius-sm) - 2px) calc(var(--radius-sm) - 2px) 0 0 !important; padding: .4rem 0 !important; }
.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-current-month .cur-month,
.flatpickr-current-month input.cur-year { color: #fff !important; fill: #fff !important; }
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg { fill: #fff !important; }
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg { fill: rgba(255,255,255,.7) !important; }
.flatpickr-weekdays { background: var(--bg-soft) !important; }
span.flatpickr-weekday { color: var(--primary) !important; font-weight: 700 !important; font-size: .75rem !important; }
.flatpickr-day { border-radius: var(--radius-sm) !important; color: var(--text-dark) !important; font-size: .875rem !important; }
.flatpickr-day:hover { background: var(--bg-soft) !important; border-color: var(--primary-light) !important; color: var(--primary) !important; }
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: linear-gradient(135deg, var(--primary), var(--pink)) !important;
    border-color: var(--primary) !important; color: #fff !important;
}
.flatpickr-day.today { border-color: var(--primary) !important; color: var(--primary) !important; font-weight: 700 !important; }
.flatpickr-day.today.selected { color: #fff !important; }
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover { color: var(--border) !important; }
.flatpickr-input { cursor: pointer !important; }
.flatpickr-input.active { border-color: var(--primary) !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(124,58,237,.1) !important; }

/* Submit button — covers both <input> and <button> CF7 generates */
.wpcf7-submit,
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
    display: block; width: 100%; margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--pink)) !important;
    color: #fff !important; border: none !important;
    padding: .9rem 2rem !important; border-radius: 9999px !important;
    font-size: 1rem !important; font-weight: 700 !important;
    cursor: pointer !important; font-family: inherit !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
    letter-spacing: .02em !important;
}
.wpcf7-submit:hover,
.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(124,58,237,.35) !important;
}

/* Validation & response */
.wpcf7-not-valid-tip { color: #DC2626; font-size: .8rem; margin-top: .25rem; display: block; }
.wpcf7-response-output { margin: 1rem 0 0; padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .9rem; }

@media (max-width: 600px) {
    .cf7-row { grid-template-columns: 1fr; }
    .cf7-phone-row { flex-direction: column; }
    .cf7-phone-row .wpcf7-form-control-wrap:first-child select { width: 100%; }
}

@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } .contact-form-wrap { position: static; } }

/* ── BOOK TRIAL PAGE ─────────────────────────────────────────────────────────── */
.trial-hero {
    background: linear-gradient(135deg,var(--primary),var(--pink));
    padding: 5rem 0 4rem;
    position: relative; overflow: hidden;
}
.trial-hero .hero-bg-gradient,
.trial-hero .hero-orb { opacity: .2; }
.trial-hero-inner { position: relative; z-index: 2; max-width: 600px; }
.trial-hero-inner .section-label { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.1); }
.trial-hero-inner h1 { color: #fff; }
.trial-hero-inner h1 .gradient-text { background: linear-gradient(90deg,#FDE68A,#FCD34D); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.trial-hero-inner p { color: rgba(255,255,255,.85); font-size: 1.125rem; margin-bottom: 1.5rem; }
.trial-perks { display: flex; flex-wrap: wrap; gap: .75rem; }
.trial-perk { display: flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 9999px; padding: .4rem 1rem; font-size: .875rem; font-weight: 500; color: #fff; }
.tp-icon { color: #6EE7B7; font-weight: 800; }

.trial-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.trial-steps { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.trial-step { display: flex; gap: 1rem; align-items: flex-start; }
.ts-num { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .875rem; color: #fff; flex-shrink: 0; }
.ts-content strong { display: block; font-size: .9375rem; color: var(--text-dark); margin-bottom: .2rem; }
.ts-content p { font-size: .875rem; color: var(--text-muted); margin: 0; }
.testimonials-mini { display: flex; flex-direction: column; gap: 1rem; }
.testi-mini { background: var(--bg-soft); border-left: 3px solid var(--primary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 1rem 1.25rem; }
.testi-quote { font-size: .875rem; color: var(--text); margin-bottom: .4rem; font-style: italic; }
.testi-author { font-size: .775rem; color: var(--text-muted); font-weight: 600; }
.trial-form-card { background: #fff; border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.trial-form-wrap { position: sticky; top: 90px; }
.trial-form-header { text-align: center; margin-bottom: 2rem; }
.trial-social-proof h3 { font-size: 1.0625rem; color: var(--text-dark); }

/* ── AGENTIC AI SECTION ──────────────────────────────────────────────────────── */
.agentic-ai-section {
    background: linear-gradient(150deg, #F5F3FF 0%, #EDE9FE 40%, #FDF4FF 70%, #FFF7ED 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.agentic-ai-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 10% 50%, rgba(124,58,237,.08) 0%, transparent 55%),
                radial-gradient(ellipse at 90% 50%, rgba(249,115,22,.06) 0%, transparent 55%);
    pointer-events: none;
}
.agentic-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.agentic-badge-row { margin-bottom: 1.25rem; }
.badge-agentic {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(124,58,237,.1);
    border: 1px solid rgba(124,58,237,.3);
    color: var(--primary);
    padding: .35rem 1rem;
    border-radius: 2rem;
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .03em;
}
.agentic-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.agentic-desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.agentic-agents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.agent-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    text-align: left;
    box-shadow: var(--shadow-sm);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.agent-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 28px rgba(124,58,237,.12);
    transform: translateY(-3px);
}
.agent-icon {
    font-size: 2rem;
    margin-bottom: .75rem;
}
.agent-body h4 {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: .35rem;
}
.agent-body p {
    font-size: .8125rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ── INTEGRATIONS PAGE ───────────────────────────────────────────────────────── */
.integration-logo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}
.integration-logo-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .6rem 1.25rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.integration-logo-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 16px rgba(124,58,237,.12);
    transform: translateY(-2px);
}
.int-logo-icon { font-size: 1rem; }

/* ── CAREERS PAGE ───────────────────────────────────────────────────────────── */
.careers-list { display: flex; flex-direction: column; gap: .75rem; }
.career-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.5rem;
    transition: border-color .2s, box-shadow .2s;
}
.career-row:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); }
.career-dept {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--primary);
    background: var(--primary-light);
    padding: .25rem .65rem;
    border-radius: 2rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.career-title { font-weight: 600; font-size: 1rem; color: var(--text-dark); flex: 1; min-width: 0; }
.career-meta { display: flex; gap: .5rem; flex-shrink: 0; }
.career-tag {
    font-size: .8rem;
    color: var(--text-muted);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: .2rem .65rem;
}
@media (max-width: 640px) {
    .career-row { flex-wrap: wrap; gap: .75rem; }
    .career-meta { display: none; }
}

/* ── HUMAN-FIRST BAR ─────────────────────────────────────────────────────────── */
.human-first-bar {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border-top: 1px solid #FDE68A;
    border-bottom: 1px solid #FDE68A;
    padding: 1.25rem 0;
}
.human-first-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 860px;
    margin: 0 auto;
}
.human-first-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1.5;
}
.human-first-text {
    font-size: .9375rem;
    color: #78350F;
    line-height: 1.65;
}
.human-first-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: .25rem;
    color: #92400E;
}

@media (max-width: 900px) { .trial-layout { grid-template-columns: 1fr; } .trial-form-wrap { position: static; } }

/* ── NEWSLETTER SUBSCRIBE SECTION ────────────────────────────────────────── */
.subscribe-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1F1035, #3B0764, #1F1035);
    position: relative;
    overflow: hidden;
}
.subscribe-section::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 10% 50%, rgba(167,139,250,.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 90% 50%, rgba(236,72,153,.12) 0%, transparent 60%);
    pointer-events: none;
}
.subscribe-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Left copy */
.subscribe-copy .section-label {
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.9);
}
.subscribe-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 1rem 0 1.25rem;
}
.subscribe-highlight {
    background: linear-gradient(135deg, #A78BFA, #F9A8D4);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subscribe-desc {
    color: rgba(255,255,255,.7);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}
.subscribe-perks {
    display: flex;
    flex-direction: column;
    gap: .65rem;
    list-style: none;
}
.subscribe-perks li {
    color: rgba(255,255,255,.8);
    font-size: .9375rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* Right card */
.subscribe-form-card {
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.subscribe-form-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(167,139,250,.3), rgba(249,168,212,.3));
    border: 1px solid rgba(167,139,250,.4);
    color: #DDD6FE;
    font-size: .75rem;
    font-weight: 700;
    padding: .3rem .85rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1rem;
}
.subscribe-form-title {
    color: #fff;
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: .5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.subscribe-form-sub {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    margin-bottom: 1.75rem;
}

/* Honeypot */
.subscribe-hp { position: absolute; left:-9999px; top:-9999px; visibility:hidden; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* Input row */
.subscribe-field-wrap { margin-bottom: 1rem; }
.subscribe-input-row {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.2);
    border-radius: 9999px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.subscribe-input-row:focus-within {
    border-color: #A78BFA;
    box-shadow: 0 0 0 3px rgba(167,139,250,.25);
    background: rgba(255,255,255,.1);
}
.subscribe-input-icon {
    color: rgba(255,255,255,.5);
    padding: 0 .85rem;
    font-size: 1rem;
    flex-shrink: 0;
}
.subscribe-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: .9375rem;
    font-family: inherit;
    padding: .85rem .5rem;
    min-width: 0;
}
.subscribe-input::placeholder { color: rgba(255,255,255,.35); }
.subscribe-btn {
    background: linear-gradient(135deg, #7C3AED, #EC4899);
    color: #fff;
    border: none;
    padding: .75rem 1.5rem;
    border-radius: 9999px;
    font-size: .875rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin: .35rem;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s;
    display: flex;
    align-items: center;
    gap: .5rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.subscribe-btn:hover { transform: scale(1.04); box-shadow: 0 6px 20px rgba(124,58,237,.45); }
.subscribe-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* Spinner */
.sub-btn-spinner {
    display: none;
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
.sub-loading .sub-btn-spinner { display: block; }
.sub-loading .sub-btn-text { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Message feedback */
.subscribe-message {
    font-size: .875rem;
    border-radius: var(--radius-sm, .5rem);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
}
.subscribe-message.show {
    max-height: 80px;
    padding: .65rem 1rem;
    margin-top: .5rem;
}
.subscribe-message.success {
    background: rgba(16,185,129,.15);
    border: 1px solid rgba(16,185,129,.35);
    color: #6EE7B7;
}
.subscribe-message.error {
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.3);
    color: #FCA5A5;
}
.subscribe-privacy {
    font-size: .775rem;
    color: rgba(255,255,255,.4);
    margin-top: 1rem;
    text-align: center;
}

@media (max-width: 900px) {
    .subscribe-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .subscribe-copy { text-align: center; }
    .subscribe-perks { align-items: center; }
}
@media (max-width: 480px) {
    .subscribe-input-row { flex-direction: column; border-radius: 1rem; padding-bottom: .35rem; }
    .subscribe-input { padding: .75rem 1rem; width: 100%; }
    .subscribe-btn { width: calc(100% - .7rem); justify-content: center; }
    .subscribe-input-icon { display: none; }
}

/* ── LEGAL PAGES (Privacy Policy & Terms of Service) ──────────────────────── */

/* Hero */
.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #FAF5FF 0%, #EFF6FF 50%, #F0FDF4 100%);
}
.legal-hero--terms {
    background: linear-gradient(135deg, #FFF7ED 0%, #FAF5FF 50%, #EFF6FF 100%);
}
.legal-hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite;
}
.legal-hero-glow-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(124,58,237,.1), transparent);
    top: -150px; right: -100px; animation-delay: 0s;
}
.legal-hero-glow-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(236,72,153,.08), transparent);
    bottom: -80px; left: 5%; animation-delay: 4s;
}
.legal-hero-inner {
    position: relative; z-index: 2;
    max-width: 780px; margin: 0 auto; text-align: center;
}
.legal-hero-inner h1 { margin-bottom: 1rem; }
.legal-hero-sub { font-size: 1.125rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 1.75rem; }
.legal-meta-row { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }
.legal-meta-badge {
    display: inline-flex; align-items: center; gap: .35rem;
    background: rgba(255,255,255,.8);
    border: 1px solid var(--border);
    border-radius: 9999px;
    padding: .35rem .9rem;
    font-size: .8125rem; font-weight: 600; color: var(--text-dark);
    backdrop-filter: blur(8px);
}

/* Compliance badge strip */
.compliance-badges { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.comp-badge {
    padding: .35rem .85rem;
    border-radius: 9999px;
    font-size: .75rem; font-weight: 700;
    letter-spacing: .02em;
    border: 1px solid transparent;
}
.comp-badge--purple  { background: #EDE9FE; color: #5B21B6; border-color: #C4B5FD; }
.comp-badge--blue    { background: #EFF6FF; color: #1D4ED8; border-color: #BFDBFE; }
.comp-badge--gold    { background: #FFFBEB; color: #92400E; border-color: #FCD34D; }
.comp-badge--green   { background: #ECFDF5; color: #065F46; border-color: #6EE7B7; }
.comp-badge--teal    { background: #F0FDFA; color: #0F766E; border-color: #99F6E4; }
.comp-badge--orange  { background: #FFF7ED; color: #C2410C; border-color: #FDBA74; }
.comp-badge--red     { background: #FEF2F2; color: #991B1B; border-color: #FCA5A5; }
.comp-badge--indigo  { background: #EEF2FF; color: #3730A3; border-color: #C7D2FE; }
.comp-badge--pink    { background: #FDF2F8; color: #9D174D; border-color: #F9A8D4; }
.comp-badge--cyan    { background: #ECFEFF; color: #164E63; border-color: #A5F3FC; }
.comp-badge--amber   { background: #FFFBEB; color: #78350F; border-color: #FDE68A; }
.comp-badge--slate   { background: #F8FAFC; color: #334155; border-color: #CBD5E1; }
.comp-badge--rose    { background: #FFF1F2; color: #9F1239; border-color: #FECDD3; }

/* Layout */
.legal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    padding: 3rem 0 4rem;
    align-items: start;
}

/* Sidebar TOC */
.legal-toc {
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}
.legal-toc::-webkit-scrollbar { width: 4px; }
.legal-toc::-webkit-scrollbar-track { background: transparent; }
.legal-toc::-webkit-scrollbar-thumb { background: var(--border); border-radius: 9999px; }
.legal-toc-inner {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}
.legal-toc-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.legal-toc-list {
    list-style: none;
    display: flex; flex-direction: column; gap: .1rem;
    padding: 0; margin: 0;
}
.legal-toc-list li { list-style: none; }
.legal-toc-list a {
    display: block;
    font-size: .8125rem; color: var(--text);
    padding: .3rem .5rem;
    border-radius: .35rem;
    transition: all var(--transition);
    line-height: 1.4;
    text-decoration: none;
}
.legal-toc-list a:hover { color: var(--primary); background: var(--bg-soft); }
.legal-toc-list a.toc-active {
    color: var(--primary);
    background: var(--primary-light);
    font-weight: 600;
    border-left: 3px solid var(--primary);
    padding-left: calc(.5rem - 3px);
}

/* Body */
.legal-body { min-width: 0; }

/* Sections */
.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 90px;
}
.legal-section:last-child { border-bottom: none; }
.legal-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.legal-section-icon { font-size: 2rem; flex-shrink: 0; }
.legal-section h2 { margin: 0; font-size: 1.5rem; color: var(--text-dark); }
.legal-section h3 { font-size: 1.125rem; margin: 1.5rem 0 .75rem; color: var(--text-dark); }
.legal-section p { color: var(--text); margin-bottom: 1rem; line-height: 1.75; }
.legal-section a { color: var(--primary); }
.legal-section a:hover { text-decoration: underline; }

/* Info Card */
.legal-info-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
}
.legal-info-card p { margin: 0 0 .4rem; font-size: .9rem; }
.legal-info-card p:last-child { margin-bottom: 0; }

/* Callouts */
.legal-callout {
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    font-size: .9375rem;
    border: 1px solid transparent;
    line-height: 1.65;
}
.legal-callout--purple { background: #EDE9FE; border-color: #C4B5FD; color: #4C1D95; }
.legal-callout--green  { background: #ECFDF5; border-color: #6EE7B7; color: #064E3B; }
.legal-callout--gold   { background: #FFFBEB; border-color: #FCD34D; color: #78350F; }
.legal-callout--red    { background: #FEF2F2; border-color: #FCA5A5; color: #991B1B; }
.legal-callout--orange { background: #FFF7ED; border-color: #FDBA74; color: #C2410C; }
.legal-callout--indigo { background: #EEF2FF; border-color: #C7D2FE; color: #3730A3; }
.legal-callout--pink   { background: #FDF2F8; border-color: #F9A8D4; color: #9D174D; }
.legal-callout--teal   { background: #F0FDFA; border-color: #99F6E4; color: #0F766E; }
.legal-callout--slate  { background: #F8FAFC; border-color: #CBD5E1; color: #334155; }
.legal-callout--amber  { background: #FFFBEB; border-color: #FDE68A; color: #78350F; }

/* Legal List — base (plain bullet items) */
.legal-list {
    display: flex; flex-direction: column;
    gap: .5rem; margin: 0 0 1.25rem; padding: 0;
}
.legal-list li {
    display: flex; align-items: flex-start; gap: .65rem;
    font-size: .9375rem; color: var(--text); line-height: 1.7;
    list-style: none;
}
.legal-list li::before {
    content: '→';
    color: var(--primary); font-weight: 700;
    flex-shrink: 0; margin-top: .12em; font-size: .875rem;
}

/* Legal List — labeled card items (li that starts with <strong>) */
.legal-list li:has(> strong:first-child) {
    flex-direction: column; gap: .25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary-light, #C4B5FD);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: .9rem 1.1rem .9rem 1rem;
    transition: border-left-color .2s ease, box-shadow .2s ease;
    margin-bottom: .15rem;
}
.legal-list li:has(> strong:first-child):hover {
    border-left-color: var(--primary);
    box-shadow: 0 2px 12px rgba(124,58,237,.08);
}
.legal-list li:has(> strong:first-child)::before { display: none; }
.legal-list li:has(> strong:first-child) > strong {
    display: block;
    font-size: .875rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.4;
}

/* Tables */
.legal-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.legal-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.legal-table thead tr { background: linear-gradient(135deg, #EDE9FE, #FCE7F3); }
.legal-table th {
    padding: .85rem 1rem;
    text-align: left;
    font-size: .8125rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .04em;
    border-bottom: 2px solid #C4B5FD;
    white-space: nowrap;
}
.legal-table td {
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    color: var(--text);
    line-height: 1.6;
}
.legal-table tbody tr:last-child td { border-bottom: none; }
.legal-table tbody tr:nth-child(even) td { background: var(--bg-soft); }
.legal-table tbody tr:hover td { background: #F5F3FF; }

/* Rights Grid */
.legal-rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0 1.5rem; }
.legal-right-card {
    display: flex; align-items: flex-start; gap: .85rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.1rem;
    transition: all var(--transition);
}
.legal-right-card:hover { border-color: var(--primary-light); box-shadow: 0 4px 12px rgba(124,58,237,.1); transform: translateY(-2px); }
.legal-right-icon { font-size: 1.5rem; flex-shrink: 0; }
.legal-right-title { display: block; font-size: .9375rem; color: var(--text-dark); margin-bottom: .25rem; }
.legal-right-card p { font-size: .8125rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* Contact Grid */
.legal-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.5rem 0; }
.legal-contact-card {
    display: flex; flex-direction: column; gap: .35rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all var(--transition);
    text-align: center; align-items: center;
}
.legal-contact-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.legal-contact-icon { font-size: 2rem; }
.legal-contact-card strong { font-size: .9375rem; color: var(--text-dark); }
.legal-contact-card a, .legal-contact-card span { font-size: .875rem; color: var(--text-muted); }
.legal-contact-card a { color: var(--primary); }
.legal-contact-card a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1100px) {
    .legal-layout { grid-template-columns: 220px 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { position: static; max-height: none; }
    .legal-toc-list { flex-direction: row; flex-wrap: wrap; gap: .25rem; }
    .legal-toc-list a { font-size: .75rem; }
    .legal-rights-grid { grid-template-columns: 1fr; }
    .legal-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .legal-hero { padding: 4rem 0 3rem; }
    .legal-section h2 { font-size: 1.25rem; }
    .legal-section-icon { font-size: 1.5rem; }
}

