/* ========================================
   ROI SPHERE — Modern Marketing Website
   Light Theme · Metric-Rich · Professional
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2B7DE9;
    --primary-dark: #1A5BB5;
    --primary-light: #EBF3FE;
    --navy: #1B2A4A;
    --navy-light: #2D3F5E;
    --text: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --bg: #FFFFFF;
    --bg-off: #F8FAFC;
    --bg-card: #FFFFFF;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    --green: #10B981;
    --green-light: #ECFDF5;
    --amber: #F59E0B;
    --purple: #8B5CF6;
    --red: #F87171;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
}

/* --- Typography --- */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #6366F1, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === GRADIENT ACCENTS SYSTEM === */
/* Gradient border mixin via pseudo-element */
.gradient-border-top {
    position: relative;
}
.gradient-border-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    border-radius: 3px 3px 0 0;
}

/* Gradient line decorators */
.gradient-line {
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6, transparent);
    border-radius: 2px;
    margin: 24px 0;
}

.gradient-line-center {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), #6366F1, #8B5CF6, transparent);
    border-radius: 2px;
    margin: 24px auto;
    max-width: 200px;
}

/* Gradient glow effect for cards on hover */
.gradient-glow:hover {
    box-shadow: 0 8px 32px rgba(43,125,233,0.15), 0 0 0 1px rgba(99,102,241,0.1);
}

/* Gradient icon backgrounds */
.gradient-icon-bg {
    background: linear-gradient(135deg, var(--primary), #6366F1) !important;
    color: #fff !important;
}

/* Gradient badge pill */
.gradient-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #6366F1);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Section gradient divider */
.section-gradient-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), #6366F1, transparent);
    opacity: 0.3;
}

.eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 16px;
    font-family: 'JetBrains Mono', monospace;
}

.eyebrow.light {
    color: rgba(255,255,255,0.8);
}

.section-title {
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin-bottom: 56px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(43,125,233,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 24px rgba(43,125,233,0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-off);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border-light);
    border-color: var(--text-muted);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: 12px;
}

.btn .arrow {
    transition: transform 0.2s;
}

.btn:hover .arrow {
    transform: translateX(3px);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.logo-accent {
    color: var(--text-secondary);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.25s ease !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 140px 0 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-off) 0%, var(--bg) 100%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(43,125,233,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43,125,233,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 80px;
}

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

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 24px 0 36px;
    max-width: 520px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero Dashboard Visuals */
.hero-visual {
    position: relative;
    height: 420px;
    z-index: 2;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.hero-visual > .dashboard-card:first-child {
    position: absolute;
    top: 20px;
    left: 0;
    right: 40px;
    z-index: 1;
}

.floating-card {
    position: absolute;
    z-index: 2;
    padding: 16px 20px;
    animation: float 6s ease-in-out infinite;
}

.card-roas {
    top: 180px;
    right: 0;
    animation-delay: 0s;
}

.card-cpa {
    bottom: 40px;
    left: 20px;
    animation-delay: 2s;
}

.card-conv {
    bottom: 20px;
    right: 50px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dash-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dash-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.live-badge {
    background: var(--green-light);
    color: var(--green);
}

.dashboard-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'JetBrains Mono', monospace;
}

.dashboard-value.small {
    font-size: 1.3rem;
}

.dashboard-change {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
}

.dashboard-change.positive {
    color: var(--green);
}

.mini-chart {
    margin-top: 16px;
    height: 60px;
    position: relative;
}

.mini-line-chart {
    margin-top: 8px;
    height: 30px;
}

.spark-bar {
    margin-top: 10px;
    height: 6px;
    background: var(--border-light);
    border-radius: 3px;
    overflow: hidden;
    width: 100px;
}

.spark-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    animation: sparkGrow 2s ease forwards;
}

@keyframes sparkGrow {
    from { width: 0; }
}

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

.trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
}

/* --- Key Metrics --- */
.metrics {
    padding: 80px 0;
    background: var(--bg);
    position: relative;
}

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

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.metric-graph {
    margin-bottom: 16px;
}

.metric-sparkline {
    width: 100%;
    height: 40px;
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* --- Services --- */
.services {
    padding: 100px 0;
    background: var(--bg-off);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    margin-bottom: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 14px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 5px 12px;
    background: var(--bg-off);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
}

/* --- Process --- */
.process {
    padding: 100px 0;
    background: var(--bg);
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 36px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
}

.process-step {
    display: grid;
    grid-template-columns: 72px 1fr 180px;
    gap: 24px;
    align-items: start;
    margin-bottom: 48px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 72px;
    height: 72px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(43,125,233,0.3);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    padding-top: 4px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.step-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-visual svg {
    width: 100%;
    height: auto;
}

/* --- Results --- */
.results {
    padding: 100px 0;
    background: var(--bg-off);
}

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

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.result-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.result-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow);
}

.result-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.result-chart {
    margin-bottom: 20px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-chart svg {
    width: 100%;
    height: 100%;
}

.result-hero-metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.metric-direction {
    font-size: 1.2rem;
    font-weight: 700;
}

.metric-direction.up { color: var(--green); }
.metric-direction.down { color: var(--primary); }

.metric-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'JetBrains Mono', monospace;
}

.metric-type {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.result-description {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.result-details span {
    font-size: 0.78rem;
    color: var(--text-muted);
    padding-left: 14px;
    position: relative;
}

.result-details span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 48px;
    align-items: start;
}

.about-quote {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.5;
    margin-bottom: 28px;
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.about-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-light);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-stat-card {
    background: var(--bg-off);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.3s ease;
}

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

.about-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
}

.about-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.about-stat-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: var(--bg-off);
}

.cta-card {
    background: linear-gradient(135deg, var(--navy) 0%, #1E3A5F 50%, var(--navy-light) 100%);
    border-radius: var(--radius-xl);
    padding: 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(43,125,233,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(99,102,241,0.1) 0%, transparent 50%);
}

.cta-card h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.cta-card > p {
    color: rgba(255,255,255,0.7);
    max-width: 580px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-footnote {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

/* --- Logo Image --- */
.logo-img {
    border-radius: 4px;
    object-fit: contain;
}

/* --- Contact Form (CF7 Styling for Dark Background) --- */
.contact-form-wrapper {
    max-width: 600px;
    margin: 36px auto 0;
    position: relative;
    z-index: 2;
    text-align: left;
}

/* CF7 Labels */
.cta-card .contact-form-wrapper label,
.contact-form-wrapper .wpcf7-form label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7) !important;
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 16px;
    text-align: left;
}

/* CF7 Inputs, Selects, Textareas */
.cta-card .contact-form-wrapper input[type="text"],
.cta-card .contact-form-wrapper input[type="email"],
.cta-card .contact-form-wrapper input[type="tel"],
.cta-card .contact-form-wrapper input[type="url"],
.cta-card .contact-form-wrapper select,
.cta-card .contact-form-wrapper textarea,
.contact-form-wrapper .wpcf7-form input[type="text"],
.contact-form-wrapper .wpcf7-form input[type="email"],
.contact-form-wrapper .wpcf7-form input[type="tel"],
.contact-form-wrapper .wpcf7-form input[type="url"],
.contact-form-wrapper .wpcf7-form select,
.contact-form-wrapper .wpcf7-form textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1.5px solid rgba(255,255,255,0.15) !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem !important;
    transition: all 0.2s ease;
    outline: none;
    margin-top: 6px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.cta-card .contact-form-wrapper input::placeholder,
.cta-card .contact-form-wrapper textarea::placeholder,
.contact-form-wrapper .wpcf7-form input::placeholder,
.contact-form-wrapper .wpcf7-form textarea::placeholder {
    color: rgba(255,255,255,0.35) !important;
}

.cta-card .contact-form-wrapper input:focus,
.cta-card .contact-form-wrapper select:focus,
.cta-card .contact-form-wrapper textarea:focus,
.contact-form-wrapper .wpcf7-form input:focus,
.contact-form-wrapper .wpcf7-form select:focus,
.contact-form-wrapper .wpcf7-form textarea:focus {
    border-color: var(--primary) !important;
    background: rgba(255,255,255,0.12) !important;
    box-shadow: 0 0 0 3px rgba(43,125,233,0.2) !important;
}

.cta-card .contact-form-wrapper textarea,
.contact-form-wrapper .wpcf7-form textarea {
    resize: vertical;
    min-height: 100px;
}

.cta-card .contact-form-wrapper select,
.contact-form-wrapper .wpcf7-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
    cursor: pointer;
}

.cta-card .contact-form-wrapper select option,
.contact-form-wrapper .wpcf7-form select option {
    background: var(--navy);
    color: #fff;
}

/* CF7 Submit Button */
.cta-card .contact-form-wrapper input[type="submit"],
.contact-form-wrapper .wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(43,125,233,0.3);
    transition: all 0.25s ease;
    margin-top: 8px;
}

.cta-card .contact-form-wrapper input[type="submit"]:hover,
.contact-form-wrapper .wpcf7-form input[type="submit"]:hover {
    background: var(--primary-dark) !important;
    box-shadow: 0 6px 24px rgba(43,125,233,0.4);
    transform: translateY(-1px);
}

/* CF7 Validation & Response Messages */
.contact-form-wrapper .wpcf7-not-valid-tip {
    color: var(--red);
    font-size: 0.78rem;
    margin-top: 4px;
}

.contact-form-wrapper .wpcf7-response-output {
    border: none !important;
    padding: 12px 16px !important;
    margin: 16px 0 0 !important;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
}

.contact-form-wrapper .wpcf7-mail-sent-ok,
.contact-form-wrapper .wpcf7 form.sent .wpcf7-response-output {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
}

.contact-form-wrapper .wpcf7-validation-errors,
.contact-form-wrapper .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-wrapper .wpcf7 form.failed .wpcf7-response-output {
    background: rgba(248, 113, 113, 0.15);
    color: var(--red);
}

.contact-form-wrapper .wpcf7-not-valid {
    border-color: var(--red) !important;
}

/* CF7 Spinner */
.contact-form-wrapper .wpcf7-spinner {
    display: block;
    margin: 12px auto 0;
}

/* CF7 form rows — use <div class="form-row"> in CF7 form markup */
.contact-form-wrapper .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
}

@media (max-width: 768px) {
    .contact-form-wrapper .form-row {
        grid-template-columns: 1fr !important;
    }
}

/* ===========================
   CONTACT PAGE
   =========================== */

/* Contact Hero */
.contact-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--bg-off);
    border-bottom: 1px solid var(--border-light);
}

.contact-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--navy);
    margin: 16px 0 12px;
    letter-spacing: -0.02em;
}

.contact-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Contact Grid */
.contact-content {
    padding: 80px 0;
}

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

/* Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--border);
}

.info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 12px;
}

.info-details h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.info-details a,
.info-details p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.info-details a:hover {
    color: var(--primary);
}

/* Contact Trust Badges */
.contact-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.contact-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--primary-light);
    padding: 6px 12px;
    border-radius: 20px;
}

/* Contact Form Card */
.contact-form-card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.form-card-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(43, 125, 233, 0.12) !important;
}

.contact-form-card button[type="submit"]:hover {
    background: #1a5fbd !important;
    box-shadow: 0 6px 24px rgba(43, 125, 233, 0.4) !important;
    transform: translateY(-1px);
}

/* FAQ Section */
.contact-faq {
    padding: 80px 0;
    background: var(--bg-off);
    border-top: 1px solid var(--border-light);
}

.faq-grid {
    max-width: 720px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    gap: 16px;
}

.faq-chevron {
    min-width: 20px;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* CTA Banner */
.contact-cta-banner {
    padding: 60px 0;
    border-top: 1px solid var(--border-light);
}

.contact-cta-banner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.contact-cta-banner p {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 48px;
    }

    .contact-hero-title {
        font-size: 1.8rem;
    }

    .contact-content {
        padding: 48px 0;
    }

    .contact-form-card {
        padding: 28px 20px;
    }

    .contact-faq {
        padding: 48px 0;
    }

    .contact-cta-banner {
        padding: 40px 0;
    }
}

@media (max-width: 600px) {
    .contact-form-card .form-row {
        grid-template-columns: 1fr !important;
    }
}

/* AI Marketing Banner Card (Homepage) */
.aim-banner-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    padding: 28px 36px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.aim-banner-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.aim-banner-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aim-banner-badge {
    display: inline-block;
    width: fit-content;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    margin-bottom: 4px;
}

.aim-banner-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.aim-banner-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin: 0;
}

.aim-banner-arrow {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.5);
    transition: all 0.25s ease;
    min-width: 32px;
}

.aim-banner-card:hover .aim-banner-arrow {
    color: #fff;
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .aim-banner-card {
        padding: 24px;
    }

    .aim-banner-arrow {
        display: none;
    }
}

/* ===========================
   AI MARKETING PAGE
   =========================== */

/* AI Marketing Hero */
.aim-hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-off) 0%, var(--bg) 100%);
}

.aim-hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(43,125,233,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43,125,233,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.aim-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 800px;
    margin: 16px auto 24px;
}

.aim-hero-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto 40px;
}

/* Problem Section */
.aim-problem {
    padding: 100px 0;
}

.aim-problem-content {
    max-width: 780px;
    margin: 32px auto 0;
}

.aim-problem-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* AI Stats Bar */
.aim-stats-bar {
    padding: 64px 0;
    background: var(--navy);
}

.aim-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.aim-stat-card {
    text-align: center;
    padding: 32px 24px;
}

.aim-stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.aim-stat-label {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin-bottom: 8px;
}

.aim-stat-context {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    font-style: italic;
}

/* Approach Section */
.aim-approach {
    padding: 100px 0;
}

/* Comparison Card */
.aim-comparison-card {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    box-shadow: var(--shadow);
    margin-top: 48px;
}

.aim-comparison-col h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.aim-comparison-old h3 {
    color: var(--text-muted);
}

.aim-comparison-new h3 {
    color: var(--navy);
}

.aim-comparison-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aim-comparison-col li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 10px 0;
}

.aim-comparison-col li svg {
    min-width: 16px;
    margin-top: 4px;
}

.aim-comparison-divider {
    width: 1px;
    background: var(--border);
    margin: 0 32px;
}

/* Capabilities Section */
.aim-capabilities {
    padding: 100px 0;
    background: var(--bg-off);
}

.aim-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.aim-capability-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s ease;
}

.aim-capability-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.aim-capability-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 20px 0 12px;
}

.aim-capability-card > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.aim-capability-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

.aim-capability-bullets li {
    position: relative;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 6px 0 6px 20px;
}

.aim-capability-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.5;
}

/* Philosophy Section */
.aim-philosophy {
    padding: 100px 0;
    background: var(--bg-off);
}

.aim-philosophy-content {
    max-width: 780px;
    margin: 32px auto 0;
}

.aim-philosophy-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Audience Section */
.aim-audience {
    padding: 100px 0;
}

.aim-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.aim-audience-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.aim-audience-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-sm);
}

.aim-check-circle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-light);
    border-radius: 50%;
}

.aim-audience-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Tech Stack Section */
.aim-techstack {
    padding: 100px 0;
    background: var(--bg-off);
}

.aim-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.aim-tech-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.2s ease;
}

.aim-tech-category:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.aim-tech-category h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.aim-tech-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.aim-tech-badge {
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 14px;
    background: var(--primary-light);
    border-radius: 6px;
    color: var(--navy);
}

/* Trust Line (in CTA) */
.aim-trust-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}

/* AI Marketing Responsive */
@media (max-width: 1024px) {
    .aim-hero h1 {
        font-size: 2.4rem;
    }

    .aim-capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aim-comparison-card {
        grid-template-columns: 1fr;
        padding: 36px;
    }

    .aim-comparison-divider {
        width: 100%;
        height: 1px;
        margin: 24px 0;
    }
}

@media (max-width: 768px) {
    .aim-hero {
        padding: 120px 0 64px;
    }

    .aim-hero h1 {
        font-size: 1.9rem;
    }

    .aim-stats-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .aim-stat-card {
        padding: 24px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .aim-stat-card:last-child {
        border-bottom: none;
    }

    .aim-capabilities-grid {
        grid-template-columns: 1fr;
    }

    .aim-audience-grid {
        grid-template-columns: 1fr;
    }

    .aim-comparison-card {
        padding: 24px;
    }

    .aim-problem,
    .aim-approach,
    .aim-capabilities,
    .aim-philosophy,
    .aim-audience,
    .aim-techstack {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .aim-hero h1 {
        font-size: 1.6rem;
    }

    .aim-hero .hero-ctas {
        flex-direction: column;
    }

    .aim-hero .hero-ctas .btn {
        justify-content: center;
    }

    .aim-stat-value {
        font-size: 2.4rem;
    }
}

/* ===========================
   HOMEPAGE — PAIN POINTS
   =========================== */
.pain-points {
    padding: 100px 0;
    background: var(--bg);
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.pain-point-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pain-point-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pain-point-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.pain-point-card:hover::before {
    opacity: 1;
}

.pain-point-quote {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 8px;
}

.pain-point-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================
   HOMEPAGE — WHY US
   =========================== */
.why-us {
    padding: 100px 0;
    background: var(--bg-off);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.why-us-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: all 0.3s ease;
}

.why-us-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.why-us-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    margin: 0 auto 20px;
}

.why-us-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.why-us-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   HOMEPAGE — EDGE TEASER
   =========================== */
.edge-teaser {
    padding: 60px 0;
    background: var(--bg);
}

.edge-teaser-content {
    background: linear-gradient(135deg, var(--navy) 0%, #1E3A5F 50%, var(--navy-light) 100%);
    border-radius: var(--radius-xl);
    padding: 56px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.edge-teaser-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(43,125,233,0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(99,102,241,0.08) 0%, transparent 50%);
}

.edge-teaser-text {
    position: relative;
    z-index: 2;
    flex: 1;
}

.edge-teaser-text h2 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.edge-teaser-text p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.edge-teaser-cta {
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

/* ===========================
   SERVICES PAGE
   =========================== */
.svc-detail {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-light);
}

.svc-detail:nth-child(even) {
    background: var(--bg-off);
}

.svc-detail:last-of-type {
    border-bottom: none;
}

.svc-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.svc-detail:nth-child(even) .svc-detail-grid {
    direction: rtl;
}

.svc-detail:nth-child(even) .svc-detail-grid > * {
    direction: ltr;
}

.svc-detail-number {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 16px;
}

.svc-detail-info h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 16px;
}

.svc-detail-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.svc-checklist-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.svc-checklist-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.svc-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.svc-checklist-item svg {
    min-width: 20px;
    margin-top: 2px;
    color: var(--green);
}

/* ===========================
   RESULTS PAGE
   =========================== */

/* Stats bar — reuse .aim-stats-bar but allow 4 cols */
.aim-stats-grid.four-col {
    grid-template-columns: repeat(4, 1fr);
}

/* Case Studies */
.case-studies-section {
    padding: 100px 0;
}

.case-study {
    padding: 64px 0;
    border-bottom: 1px solid var(--border-light);
}

.case-study:last-of-type {
    border-bottom: none;
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.case-study:nth-child(even) .case-study-grid {
    direction: rtl;
}

.case-study:nth-child(even) .case-study-grid > * {
    direction: ltr;
}

.case-study-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    margin-bottom: 16px;
}

.case-study-metric {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--navy);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.case-study-metric-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 24px;
}

.case-study-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.case-study-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-study-results {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-study-results li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding: 6px 0;
}

.case-study-results li svg {
    min-width: 16px;
    margin-top: 3px;
    color: var(--green);
}

/* Industries Grid */
.industries-section {
    padding: 100px 0;
    background: var(--bg-off);
}

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

.industry-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.industry-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.industry-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 14px;
    margin: 0 auto 16px;
}

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

.industry-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===========================
   AI MARKETING / OUR EDGE PAGE
   =========================== */

/* Edge Shifts */
.edge-shift {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-light);
}

.edge-shift:nth-child(even) {
    background: var(--bg-off);
}

.edge-shift-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 32px;
}

.edge-shift-number {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.edge-shift-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
}

.edge-shift-body {
    max-width: 780px;
}

.edge-shift-body p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.edge-data-points {
    display: flex;
    gap: 24px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.edge-data-point {
    background: var(--bg-off);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    flex: 1;
    min-width: 160px;
    text-align: center;
}

.edge-data-point .value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 4px;
}

.edge-data-point .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.edge-approach-box {
    background: var(--primary-light);
    border: 1px solid rgba(43,125,233,0.15);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-top: 24px;
}

.edge-approach-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.edge-approach-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Edge Bottom Line */
.edge-bottom-line {
    padding: 80px 0;
    text-align: center;
}

.edge-bottom-line-content {
    max-width: 720px;
    margin: 0 auto;
}

.edge-bottom-line h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 16px;
}

.edge-bottom-line p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   ABOUT PAGE
   =========================== */

/* Founder Section */
.founder-section {
    padding: 100px 0;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 56px;
    align-items: start;
}

.founder-bio h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
}

.founder-bio p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.founder-credentials {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.credential-card {
    background: var(--bg-off);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

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

.credential-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 10px;
}

.credential-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2px;
}

.credential-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Philosophy Section */
.philosophy {
    padding: 100px 0;
    background: var(--bg-off);
}

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

.philosophy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.philosophy-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 12px;
}

.philosophy-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

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

/* ===========================
   CONTACT PAGE — DARK LAYOUT
   =========================== */
.contact-dark-page {
    background: linear-gradient(180deg, var(--navy) 0%, #0F1B2D 100%);
    min-height: 100vh;
}

.contact-dark-page .navbar {
    background: rgba(27,42,74,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.contact-dark-page .navbar.scrolled {
    border-bottom-color: rgba(255,255,255,0.1);
}

.contact-dark-page .nav-links a {
    color: rgba(255,255,255,0.7);
}

.contact-dark-page .nav-links a:hover {
    color: #fff;
}

.contact-dark-page .logo-text {
    color: #fff;
}

.contact-dark-page .logo-accent {
    color: rgba(255,255,255,0.6);
}

.contact-dark-page .nav-toggle span {
    background: #fff;
}

.contact-dark-hero {
    padding: 160px 0 60px;
    text-align: center;
}

.contact-dark-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.contact-dark-hero p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-dark-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
    padding: 48px 0 80px;
}

/* "What You Get" List */
.wyg-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
}

.wyg-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wyg-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.wyg-item:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(43,125,233,0.3);
}

.wyg-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(43,125,233,0.15);
    border-radius: 10px;
}

.wyg-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.wyg-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

/* Sticky Form */
.contact-form-sticky {
    position: sticky;
    top: 100px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-form-sticky h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.contact-form-sticky .form-card-subtitle {
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}

.contact-form-sticky label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 16px;
}

.contact-form-sticky input[type="text"],
.contact-form-sticky input[type="email"],
.contact-form-sticky input[type="tel"],
.contact-form-sticky select,
.contact-form-sticky textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    transition: all 0.2s ease;
    outline: none;
    margin-top: 6px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.contact-form-sticky input::placeholder,
.contact-form-sticky textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.contact-form-sticky input:focus,
.contact-form-sticky select:focus,
.contact-form-sticky textarea:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 3px rgba(43,125,233,0.2);
}

.contact-form-sticky textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form-sticky select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.contact-form-sticky select option {
    background: var(--navy);
    color: #fff;
}

.contact-form-sticky button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(43,125,233,0.3);
    transition: all 0.25s ease;
    margin-top: 8px;
}

.contact-form-sticky button[type="submit"]:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 24px rgba(43,125,233,0.4);
    transform: translateY(-1px);
}

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

/* Dark FAQ */
.contact-dark-page .contact-faq {
    background: transparent;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-dark-page .contact-faq .eyebrow {
    color: var(--primary);
}

.contact-dark-page .contact-faq .section-title {
    color: #fff;
}

.contact-dark-page .faq-item {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

.contact-dark-page .faq-item:hover {
    border-color: rgba(255,255,255,0.15);
}

.contact-dark-page .faq-question {
    color: #fff;
}

.contact-dark-page .faq-chevron {
    color: rgba(255,255,255,0.4);
}

.contact-dark-page .faq-answer p {
    color: rgba(255,255,255,0.6);
}

/* Dark page gradient text override (lighter so it shows on dark bg) */
.contact-dark-page .gradient-text {
    background: linear-gradient(135deg, #5BA3F5, #818CF8, #A78BFA);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark Footer */
.contact-dark-page .footer {
    background: transparent;
    border-top-color: rgba(255,255,255,0.08);
}

.contact-dark-page .footer-copy {
    color: rgba(255,255,255,0.4);
}

.contact-dark-page .footer-links a {
    color: rgba(255,255,255,0.5);
}

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

.contact-dark-footnote {
    text-align: center;
    padding: 0 0 40px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* ===========================
   SECTION LINK (View All →)
   =========================== */
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    transition: all 0.2s ease;
}

.section-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.section-link .arrow {
    transition: transform 0.2s;
}

.section-link:hover .arrow {
    transform: translateX(3px);
}

/* ===========================
   GRADIENT ENHANCEMENTS
   (Rich gradient accents across all pages)
   =========================== */

/* --- Service Cards: gradient top border on hover --- */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::before {
    transform: scaleX(1);
}

/* --- Service Icon: gradient background on hover --- */
.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), #6366F1);
}
.service-card:hover .service-icon svg {
    filter: brightness(10);
}

/* --- Metric Cards: gradient bottom accent --- */
.metric-card {
    position: relative;
    overflow: hidden;
}
.metric-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), #6366F1, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.metric-card:hover::after {
    opacity: 1;
}

/* --- Pain Point Cards: animated gradient left bar --- */
.pain-point-card::before {
    background: linear-gradient(180deg, var(--primary), #6366F1, #8B5CF6);
}

/* --- Why Us Cards: gradient top bar + gradient icon bg on hover --- */
.why-us-card {
    position: relative;
    overflow: hidden;
}
.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}
.why-us-card:hover::before {
    transform: scaleX(1);
}
.why-us-card:hover .why-us-icon {
    background: linear-gradient(135deg, var(--primary), #6366F1);
}
.why-us-card:hover .why-us-icon svg {
    stroke: #fff;
}

/* --- Edge Teaser: richer gradient background --- */
.edge-teaser-content {
    background: linear-gradient(135deg, var(--navy) 0%, #1a2d50 30%, #1E3A5F 60%, #2B4570 100%);
}
.edge-teaser-content::before {
    background-image:
        radial-gradient(circle at 15% 50%, rgba(43,125,233,0.2) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(99,102,241,0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(139,92,246,0.1) 0%, transparent 40%);
}

/* --- Service Detail Numbers: gradient text --- */
.svc-detail-number {
    background: linear-gradient(135deg, var(--primary), #6366F1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

/* --- Service Checklist Card: gradient top accent --- */
.svc-checklist-card {
    position: relative;
    overflow: hidden;
}
.svc-checklist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
}

/* --- Case Study Metric: gradient text --- */
.case-study-metric {
    background: linear-gradient(135deg, var(--navy), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Case Study Badge: gradient background --- */
.case-study-badge {
    background: linear-gradient(135deg, rgba(43,125,233,0.12), rgba(99,102,241,0.12));
    color: var(--primary);
}

/* --- Industry Cards: gradient icon on hover --- */
.industry-card {
    position: relative;
    overflow: hidden;
}
.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}
.industry-card:hover::before {
    transform: scaleX(1);
}
.industry-card:hover .industry-icon {
    background: linear-gradient(135deg, var(--primary), #6366F1);
}
.industry-card:hover .industry-icon svg {
    stroke: #fff;
}

/* --- Edge Shift Number: gradient text --- */
.edge-shift-number {
    background: linear-gradient(135deg, var(--primary), #6366F1, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

/* --- Edge Approach Box: gradient left border --- */
.edge-approach-box {
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, var(--primary), #6366F1, #8B5CF6) 1;
}

/* --- Philosophy Number: gradient text --- */
.philosophy-number {
    background: linear-gradient(135deg, var(--primary), #6366F1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.25;
}

/* --- Philosophy Card: gradient top border on hover --- */
.philosophy-card {
    position: relative;
    overflow: hidden;
}
.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}
.philosophy-card:hover::before {
    transform: scaleX(1);
}

/* --- Credential Card: gradient left accent --- */
.credential-card {
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, var(--primary), #6366F1) 1;
}
.credential-card .credential-icon {
    background: linear-gradient(135deg, rgba(43,125,233,0.12), rgba(99,102,241,0.12));
}

/* --- Stats Bar: gradient bottom glow --- */
.aim-stats-bar::after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), #6366F1, #8B5CF6, transparent);
    opacity: 0.4;
}

/* --- AIM Stat Card: gradient number text on hover --- */
.aim-stat-card:hover .aim-stat-value {
    background: linear-gradient(135deg, #fff, rgba(99,102,241,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- AIM Capability Card: gradient top bar on hover --- */
.aim-capability-card {
    position: relative;
    overflow: hidden;
}
.aim-capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.aim-capability-card:hover::before {
    transform: scaleX(1);
}

/* --- CTA Card: gradient border glow --- */
.cta-card {
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
}
.cta-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(43,125,233,0.3), rgba(99,102,241,0.2), rgba(139,92,246,0.15));
    z-index: -1;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1px;
}

/* --- Process Step Number: gradient text --- */
.step-number {
    background: linear-gradient(135deg, var(--primary), #6366F1) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    border-color: var(--primary) !important;
}

/* --- Result Card: gradient top accent on hover --- */
.result-card {
    position: relative;
    overflow: hidden;
}
.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}
.result-card:hover::before {
    transform: scaleX(1);
}

/* --- About Stat Card: gradient accent --- */
.about-stat-card {
    position: relative;
    overflow: hidden;
}
.about-stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), #6366F1, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.about-stat-card:hover::after {
    opacity: 1;
}

/* --- Section Link: gradient underline on hover --- */
.section-link::after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #6366F1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.section-link:hover::after {
    transform: scaleX(1);
}

/* --- WYG Items (Contact dark): gradient icon glow --- */
.wyg-icon {
    background: linear-gradient(135deg, rgba(43,125,233,0.15), rgba(99,102,241,0.12)) !important;
}
.wyg-item:hover .wyg-icon {
    background: linear-gradient(135deg, rgba(43,125,233,0.25), rgba(99,102,241,0.2)) !important;
    box-shadow: 0 0 20px rgba(43,125,233,0.15);
}

/* --- Contact Form Sticky: gradient top border --- */
.contact-form-sticky::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* --- FAQ Items: gradient left border on open --- */
.faq-item.open {
    border-left: 3px solid transparent;
    border-image: linear-gradient(180deg, var(--primary), #6366F1) 1;
}

/* --- Edge Data Points: gradient border on hover --- */
.edge-data-point:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(43,125,233,0.1);
}
.edge-data-point .value {
    background: linear-gradient(135deg, var(--navy), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Hero: gradient line accent under heading --- */
.hero-content h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    margin-top: 20px;
    border-radius: 2px;
}

/* --- AIM Hero: gradient line accent --- */
.aim-hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* --- Contact Dark Hero: gradient line --- */
.contact-dark-hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* --- BTN Primary: richer gradient hover --- */
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary), #4F8FEE) !important;
}

/* --- Nav CTA: gradient background --- */
.nav-cta {
    background: linear-gradient(135deg, var(--primary), #4F6FE9) !important;
}
.nav-cta:hover {
    background: linear-gradient(135deg, #4F6FE9, #6366F1) !important;
}

/* --- Trust Bar Items: gradient icon glow on hover --- */
.trust-item:hover svg {
    filter: drop-shadow(0 0 6px rgba(43,125,233,0.4));
}

/* --- Edge Bottom Line: gradient underline --- */
.edge-bottom-line h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    margin: 24px auto 0;
    border-radius: 2px;
}

/* --- Process Line: gradient --- */
.process-line {
    background: linear-gradient(180deg, var(--primary), #6366F1, #8B5CF6, transparent) !important;
}

/* ===========================
   NEW RESPONSIVE ADDITIONS
   =========================== */
@media (max-width: 1024px) {
    /* Pain Points */
    .pain-points-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Services Page */
    .svc-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .svc-detail:nth-child(even) .svc-detail-grid {
        direction: ltr;
    }

    /* Case Studies */
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .case-study:nth-child(even) .case-study-grid {
        direction: ltr;
    }

    /* Industries */
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats 4-col */
    .aim-stats-grid.four-col {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Founder */
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Edge Teaser */
    .edge-teaser-content {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    /* Contact Dark Grid */
    .contact-dark-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-sticky {
        position: static;
    }
}

@media (max-width: 768px) {
    /* Pain Points */
    .pain-points-grid {
        grid-template-columns: 1fr;
    }

    .pain-points {
        padding: 64px 0;
    }

    /* Why Us */
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-us {
        padding: 64px 0;
    }

    /* Edge Teaser */
    .edge-teaser-content {
        padding: 32px 24px;
    }

    .edge-teaser-text h2 {
        font-size: 1.3rem;
    }

    /* Services Page */
    .svc-detail {
        padding: 48px 0;
    }

    .svc-detail-number {
        font-size: 3rem;
    }

    /* Case Studies */
    .case-study {
        padding: 40px 0;
    }

    .case-study-metric {
        font-size: 2.5rem;
    }

    /* Industries */
    .industries-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .industries-section {
        padding: 64px 0;
    }

    /* Edge Shifts */
    .edge-shift {
        padding: 48px 0;
    }

    .edge-shift-header {
        flex-direction: column;
        gap: 8px;
    }

    .edge-shift-number {
        font-size: 2.5rem;
    }

    .edge-shift-header h2 {
        font-size: 1.4rem;
    }

    .edge-data-points {
        flex-direction: column;
    }

    /* About Page */
    .founder-section {
        padding: 64px 0;
    }

    .founder-bio h2 {
        font-size: 1.4rem;
    }

    .philosophy {
        padding: 64px 0;
    }

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

    /* Contact Dark */
    .contact-dark-hero {
        padding: 120px 0 40px;
    }

    .contact-dark-hero h1 {
        font-size: 2rem;
    }

    .contact-form-sticky {
        padding: 28px 20px;
    }

    .contact-form-sticky .form-row {
        grid-template-columns: 1fr;
    }

    /* Edge Bottom Line */
    .edge-bottom-line h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .aim-stats-grid.four-col {
        grid-template-columns: 1fr;
    }

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

    .edge-teaser-text h2 {
        font-size: 1.1rem;
    }

    .contact-dark-hero h1 {
        font-size: 1.6rem;
    }

    .case-study-metric {
        font-size: 2rem;
    }
}

/* --- Footer --- */
.footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* SVG Path Drawing Animation */
@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* Pulse for live badge */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.live-badge {
    animation: pulse 2s ease-in-out infinite;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        height: 320px;
        max-width: 500px;
        margin: 0 auto;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .process-step {
        grid-template-columns: 72px 1fr;
    }

    .step-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 110px;
    }

    .hero-visual {
        height: 280px;
    }

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

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .metric-value {
        font-size: 1.6rem;
    }

    .trust-items {
        flex-direction: column;
        gap: 12px;
    }

    .trust-divider {
        display: none;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .process-step {
        grid-template-columns: 48px 1fr;
        gap: 16px;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 0.9rem;
    }

    .process-line {
        left: 24px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 8px;
    }
}

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

    .metric-card {
        padding: 20px 16px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ─── Contact Page Email Link ─── */
.form-card-email {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 24px;
}
.form-card-email a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}
.form-card-email a:hover {
    text-decoration: underline;
}

/* ─── Custom Contact Form — Dark Theme ─── */
.hubspot-form-wrap {
    max-width: 560px;
    margin: 32px auto 0;
    text-align: left;
    position: relative;
    z-index: 2;
}
/* Contact page — wider form */
.contact-form-sticky .hubspot-form-wrap {
    max-width: 100%;
}
/* Form reset */
.roisphere-custom-form {
    font-family: 'Inter', sans-serif;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}
/* Form groups */
.roisphere-custom-form .form-group {
    margin-bottom: 18px;
}
/* Two-column row */
.roisphere-custom-form .form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
/* Labels */
.roisphere-custom-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
}
.roisphere-custom-form label .req {
    color: #F87171;
}
/* Inputs & Textarea */
.roisphere-custom-form input[type="text"],
.roisphere-custom-form input[type="email"],
.roisphere-custom-form input[type="tel"],
.roisphere-custom-form textarea,
.roisphere-custom-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    -webkit-appearance: none;
    outline: none;
}
.roisphere-custom-form textarea {
    resize: vertical;
    min-height: 100px;
}
.roisphere-custom-form input::placeholder,
.roisphere-custom-form textarea::placeholder {
    color: rgba(255,255,255,0.3);
}
.roisphere-custom-form input:focus,
.roisphere-custom-form textarea:focus,
.roisphere-custom-form select:focus {
    border-color: #2B7DE9;
    box-shadow: 0 0 0 3px rgba(43,125,233,0.15);
}
/* Validation error state */
.roisphere-custom-form input.field-error,
.roisphere-custom-form textarea.field-error {
    border-color: #F87171;
    box-shadow: 0 0 0 3px rgba(248,113,113,0.15);
}
/* Submit button */
.roisphere-custom-form .form-submit-btn {
    width: 100%;
    padding: 14px 32px;
    background: #2B7DE9;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s, transform 0.15s;
    margin-top: 8px;
    -webkit-appearance: none;
}
.roisphere-custom-form .form-submit-btn:hover {
    background: #1a6bd4;
    transform: translateY(-1px);
}
.roisphere-custom-form .form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
/* Status messages */
.form-status {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
}
.form-status.form-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.form-status.form-success svg {
    display: block;
    margin: 0 auto 8px;
}
.form-status.form-error {
    background: rgba(248, 113, 113, 0.1);
    color: #F87171;
    border: 1px solid rgba(248, 113, 113, 0.2);
}
/* Responsive */
@media (max-width: 600px) {
    .roisphere-custom-form .form-row-2col {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   DASHBOARDS PAGE
   =========================== */
/* Hero value props */
.dash-hero-props {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 24px 0 32px;
    flex-wrap: wrap;
}
.dash-hero-prop {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}
/* Hero dashboard widget */
.dash-hero-widget {
    margin-top: 48px;
}
.dash-hero-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
    text-align: center;
}
.dash-hero-metric {
    padding: 8px;
}
.dash-metric-label-sm {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 6px;
}
/* Problem section */
.dash-problem { padding: 100px 0; }
.dash-attribution-gap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 48px 0 16px;
    flex-wrap: wrap;
}
.dash-gap-claim, .dash-gap-actual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    text-align: center;
    transition: all 0.3s ease;
}
.dash-gap-actual {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow);
    background: var(--primary-light);
}
.dash-gap-platform {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
}
.dash-gap-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    font-family: 'JetBrains Mono', monospace;
}
.dash-gap-actual .dash-gap-value {
    color: var(--primary);
}
.dash-gap-plus, .dash-gap-equals, .dash-gap-vs {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
}
.dash-gap-vs {
    color: var(--red);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
/* Dashboard Showcase */
.dash-showcase { padding: 100px 0; background: var(--bg-off); }
.dash-example { margin-bottom: 64px; }
.dash-example:last-child { margin-bottom: 0; }
.dash-example-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}
.dash-example-number {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}
.dash-example-header h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 4px;
}
.dash-example-audience {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}
.dash-example-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.dash-example-topbar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 32px;
    border-bottom: 1px solid var(--border-light);
    background: var(--bg-off);
}
.dash-example-tab {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: default;
    padding-bottom: 4px;
}
.dash-example-tab.active {
    color: var(--navy);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}
.dash-example-topbar .dash-badge {
    margin-left: auto;
}
.dash-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding: 28px 32px;
}
.dash-metric-block {
    text-align: center;
}
.dash-metric-block .dashboard-value {
    display: block;
}
.dash-metric-block .dashboard-change {
    font-size: 0.75rem;
}
/* Secondary metrics row */
.dash-secondary-metrics {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 16px 32px 28px;
    border-top: 1px solid var(--border-light);
}
.dash-secondary-item {
    text-align: center;
}
.dash-secondary-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 4px;
}
.dash-secondary-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    font-family: 'JetBrains Mono', monospace;
}
/* Funnel */
.dash-funnel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px 32px;
}
.dash-funnel-step {
    width: var(--width);
    margin: 0 auto;
    background: var(--primary-light);
    border: 1px solid rgba(43,125,233,0.12);
    border-radius: 8px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.dash-funnel-step:hover {
    background: rgba(43,125,233,0.12);
    border-color: rgba(43,125,233,0.25);
}
.dash-funnel-label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.85rem;
}
.dash-funnel-rate {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
}
.dash-funnel-flag .dash-funnel-step,
.dash-funnel-step.dash-funnel-flag {
    border-color: rgba(248,113,113,0.3);
    background: rgba(248,113,113,0.06);
}
.dash-flag {
    display: inline-block;
    background: rgba(248,113,113,0.15);
    color: var(--red);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* Table */
.dash-table-wrap {
    overflow-x: auto;
    padding: 24px 32px;
}
.dash-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.dash-table th {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 12px 16px;
    border-bottom: 2px solid var(--border-light);
    text-align: left;
    font-family: 'JetBrains Mono', monospace;
}
.dash-table td {
    padding: 16px;
    font-size: 0.9rem;
    color: var(--text);
    border-bottom: 1px solid var(--border-light);
}
.dash-table td.mono {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--navy);
}
.dash-table tr:hover td {
    background: var(--bg-off);
}
.dash-action-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.dash-action-badge.scale { background: rgba(16,185,129,0.1); color: #10B981; }
.dash-action-badge.hold { background: rgba(245,158,11,0.1); color: #F59E0B; }
.dash-action-badge.cut { background: rgba(248,113,113,0.1); color: #F87171; }
/* How It Works */
.dash-how-it-works { padding: 100px 0; }
.dash-layers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.dash-layer-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s ease;
}
.dash-layer-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.dash-layer-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    opacity: 0.15;
    margin-bottom: 12px;
    line-height: 1;
}
.dash-layer-card .service-icon {
    margin-bottom: 16px;
}
.dash-layer-card h3 {
    margin-bottom: 12px;
}
.dash-layer-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
/* Metrics We Track */
.dash-metrics-tracked { padding: 100px 0; background: var(--bg-off); }
.dash-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.dash-metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s ease;
}
.dash-metric-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.dash-metric-card .service-icon {
    margin-bottom: 16px;
}
.dash-metric-card h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.dash-metric-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
/* Dashboards responsive */
@media (max-width: 1024px) {
    .dash-metrics-row { grid-template-columns: repeat(2, 1fr); }
    .dash-layers-grid { grid-template-columns: 1fr; }
    .dash-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-hero-metrics-row { grid-template-columns: repeat(3, 1fr); }
    .dash-secondary-metrics { gap: 24px; flex-wrap: wrap; }
}
@media (max-width: 768px) {
    .dash-attribution-gap { flex-direction: column; gap: 12px; }
    .dash-hero-props { flex-direction: column; align-items: center; gap: 12px; }
    .dash-metrics-row { padding: 20px 16px; }
    .dash-funnel { padding: 20px 16px; }
    .dash-table-wrap { padding: 16px; }
    .dash-example-topbar { padding: 12px 16px; gap: 16px; overflow-x: auto; }
    .dash-example-number { font-size: 2.5rem; }
}
@media (max-width: 480px) {
    .dash-metrics-grid { grid-template-columns: 1fr; }
    .dash-hero-metrics-row { grid-template-columns: 1fr; }
    .dash-secondary-metrics { flex-direction: column; gap: 16px; }
}

/* ===========================
   LANDING PAGE (FREE AUDIT)
   =========================== */
.landing-page { background: var(--bg); }
.landing-nav .nav-links,
.landing-nav .nav-toggle { display: none !important; }
/* Hero */
.landing-hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-off) 0%, var(--bg) 100%);
}
.landing-hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(43,125,233,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43,125,233,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.landing-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    position: relative;
    z-index: 2;
}
.landing-hero-content h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: 16px 0 20px;
}
.landing-hero-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}
/* Trust box */
.landing-trust-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    padding: 20px 24px;
    background: var(--bg-off);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.landing-trust-box h4 {
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 4px;
}
.landing-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 500;
}
/* Proof stats */
.landing-proof-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.landing-proof-stat { text-align: center; }
.landing-proof-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    display: block;
}
.landing-proof-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* Form card */
.landing-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
}
.landing-form-card h2 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 6px;
}
.landing-form-card .form-card-subtitle {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 24px;
}
/* Light-theme form overrides */
.landing-form label {
    color: var(--text) !important;
}
.landing-form label .req {
    color: var(--red) !important;
}
.landing-form input[type="text"],
.landing-form input[type="email"],
.landing-form input[type="url"],
.landing-form select,
.landing-form textarea {
    background: var(--bg-off) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
}
.landing-form input::placeholder,
.landing-form textarea::placeholder {
    color: var(--text-muted) !important;
}
.landing-form input:focus,
.landing-form select:focus,
.landing-form textarea:focus {
    border-color: var(--primary) !important;
    background: var(--bg) !important;
    box-shadow: 0 0 0 3px rgba(43,125,233,0.1) !important;
}
.landing-form select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 40px !important;
}
.landing-form .field-error {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(248,113,113,0.1) !important;
}
.landing-form-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}
/* Ticker */
.landing-ticker {
    padding: 16px 0;
    background: var(--navy);
    overflow: hidden;
}
.landing-ticker-track {
    display: flex;
    overflow: hidden;
}
.landing-ticker-content {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    animation: tickerScroll 35s linear infinite;
}
.landing-ticker-item {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    font-family: 'JetBrains Mono', monospace;
}
.landing-ticker-divider {
    color: rgba(255,255,255,0.25);
    font-size: 0.5rem;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* Audit section */
.landing-audit-section { padding: 100px 0; background: var(--bg-off); }
.landing-audit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.landing-audit-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}
.landing-audit-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.landing-audit-num {
    font-size: 2rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    opacity: 0.12;
    position: absolute;
    top: 20px;
    right: 24px;
    line-height: 1;
}
.landing-audit-card .service-icon { margin-bottom: 16px; }
.landing-audit-card h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 10px;
}
.landing-audit-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
/* Pain points */
.landing-pain-points { padding: 100px 0; }
.landing-pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.landing-pain-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}
.landing-pain-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.landing-pain-quote {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}
.landing-pain-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
/* Results */
.landing-results { padding: 100px 0; background: var(--bg-off); }
.landing-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.landing-result-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}
.landing-result-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.landing-result-type {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}
.landing-result-metric {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
}
.landing-result-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
/* How It Works */
.landing-how-it-works { padding: 100px 0; }
.landing-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.landing-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
    text-align: center;
}
.landing-step-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.landing-step-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 16px;
}
.landing-step-card h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 10px;
}
.landing-step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
/* FAQ (reuses existing faq-item styles) */
.landing-faq { padding: 100px 0; background: var(--bg-off); }
/* Final CTA */
.landing-final-cta { padding: 100px 0; }
.landing-final-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.landing-final-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--navy);
    margin-bottom: 16px;
}
.landing-final-content > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}
.landing-final-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.landing-final-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}
/* Landing responsive */
@media (max-width: 1024px) {
    .landing-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .landing-form-card { position: static; }
    .landing-final-grid { grid-template-columns: 1fr; gap: 40px; }
    .landing-audit-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .landing-hero { padding: 120px 0 60px; }
    .landing-proof-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .landing-pain-grid { grid-template-columns: 1fr; }
    .landing-results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .landing-audit-grid { grid-template-columns: 1fr; }
    .landing-steps-grid { grid-template-columns: 1fr; }
    .landing-proof-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   TEAM LANDING PAGE — Unique Sections
   (Slug: your-marketing-team)
   ======================================== */

/* --- Cost Breakdown Table (Hero) --- */
.team-cost-table {
    margin: 28px 0;
    padding: 24px;
    background: var(--bg-off);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.team-cost-table h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 16px;
}
.team-cost-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.team-cost-row:last-child {
    border-bottom: none;
}
.team-cost-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.team-cost-value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
    white-space: nowrap;
}
.team-cost-total {
    border-top: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    margin-top: 4px;
    padding: 12px 0;
}
.team-cost-total .team-cost-label,
.team-cost-total .team-cost-value {
    font-weight: 800;
    color: var(--navy);
    font-size: 0.95rem;
}
.team-cost-highlight {
    background: linear-gradient(135deg, rgba(43,125,233,0.08), rgba(99,102,241,0.08));
    margin: 8px -24px -24px;
    padding: 16px 24px;
    border-radius: 0 0 var(--radius) var(--radius);
    border-bottom: none;
}
.team-cost-highlight .team-cost-label {
    font-weight: 700;
    color: var(--navy);
}

/* --- Persona Cards ("Is This You?") --- */
.team-persona-section {
    padding: 100px 0;
    background: var(--bg-off);
}
.team-persona-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.team-persona-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all 0.3s ease;
}
.team-persona-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(43, 125, 233, 0.1);
    transform: translateY(-4px);
}
.team-persona-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(43,125,233,0.1), rgba(99,102,241,0.1));
}
.team-persona-card h3 {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 700;
}
.team-persona-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Services Grid ("What You Get") --- */
.team-services-section {
    padding: 100px 0;
}
.team-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.team-service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.team-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #6366F1, #8B5CF6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.team-service-card:hover::before {
    transform: scaleX(1);
}
.team-service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(43, 125, 233, 0.1);
    transform: translateY(-4px);
}
.team-service-icon {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(43,125,233,0.1), rgba(99,102,241,0.1));
}
.team-service-card h3 {
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 700;
}
.team-service-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}
.team-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.team-service-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--bg-off);
    color: var(--primary);
    border: 1px solid rgba(43, 125, 233, 0.15);
    letter-spacing: 0.02em;
}

/* --- Comparison Table --- */
.team-comparison-section {
    padding: 100px 0;
    background: var(--bg-off);
}
.team-comparison-wrap {
    margin-top: 48px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
}
.team-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    min-width: 640px;
}
.team-comparison-table thead th {
    padding: 20px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    background: var(--bg-off);
    border-bottom: 2px solid var(--border);
    text-align: left;
}
.team-comparison-table thead th:first-child {
    width: 180px;
}
.team-comparison-table thead .team-highlight-col {
    background: var(--primary);
    color: #fff;
}
.team-comparison-table tbody td {
    padding: 16px 24px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.5;
}
.team-comparison-table tbody tr:last-child td {
    border-bottom: none;
}
.team-comparison-label {
    font-weight: 600;
    color: var(--navy) !important;
}
.team-comparison-table tbody .team-highlight-col {
    background: rgba(43, 125, 233, 0.04);
    color: var(--navy) !important;
    font-weight: 600;
}

/* --- "What Changes" Benefit Cards --- */
.team-changes-section {
    padding: 100px 0;
}
.team-changes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.team-change-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: all 0.3s ease;
    text-align: center;
}
.team-change-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(43, 125, 233, 0.1);
    transform: translateY(-4px);
}
.team-change-icon {
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(43,125,233,0.1), rgba(99,102,241,0.1));
}
.team-change-card h3 {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 700;
}
.team-change-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Result setup line --- */
.team-result-setup {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 8px;
    font-style: italic;
}

/* --- Team Landing Responsive --- */
@media (max-width: 1024px) {
    .team-persona-grid { grid-template-columns: repeat(2, 1fr); }
    .team-services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-changes-grid { grid-template-columns: repeat(2, 1fr); }
    .team-comparison-table { font-size: 0.82rem; }
    .team-comparison-table thead th,
    .team-comparison-table tbody td { padding: 12px 16px; }
}
@media (max-width: 768px) {
    .team-persona-grid { grid-template-columns: 1fr; }
    .team-services-grid { grid-template-columns: 1fr; }
    .team-changes-grid { grid-template-columns: repeat(2, 1fr); }
    .team-comparison-wrap { margin: 48px -16px 0; padding: 0 16px; }
}
@media (max-width: 480px) {
    .team-changes-grid { grid-template-columns: 1fr; }
    .team-cost-table { padding: 16px; }
    .team-cost-highlight { margin: 8px -16px -16px; padding: 12px 16px; }
}

/* ========================================
   CURRENCY TOGGLE
   ======================================== */
.rs-currency-toggle {
    position: relative;
    margin-right: 12px;
    display: inline-flex;
}
.rs-currency-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.rs-currency-btn:hover {
    border-color: var(--primary);
    background: rgba(43, 125, 233, 0.04);
}
.rs-currency-icon {
    min-width: 16px;
    text-align: center;
}
.rs-currency-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 4px;
    min-width: 110px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    z-index: 1000;
}
.rs-currency-toggle.open .rs-currency-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.rs-currency-option {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: none;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    text-align: left;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s ease;
    white-space: nowrap;
}
.rs-currency-option:hover {
    background: var(--bg-off);
}
.rs-currency-option.active {
    background: rgba(43, 125, 233, 0.08);
    color: var(--primary);
    font-weight: 600;
}
/* Scanner wrapper — invisible */
.rs-scanned-wrap {
    display: inline;
}
/* Landing page nav override */
.landing-nav .rs-currency-btn {
    border-color: var(--border);
    background: var(--bg-card);
}
/* Mobile: compact toggle */
@media (max-width: 768px) {
    .rs-currency-toggle { margin-right: 8px; }
    .rs-currency-btn { padding: 5px 8px; font-size: 0.72rem; }
    .rs-currency-btn svg { display: none; }
    .rs-currency-dropdown { right: -8px; }
}
