/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    background: var(--navy);
    color: var(--white);
    padding: 9rem 0 5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.4) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.06;
    animation: gridDrift 30s linear infinite;
    pointer-events: none;
}

@keyframes gridDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(32px, 32px); }
}

.hero-glow {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 111, 191, 0.18) 0%, transparent 60%);
    pointer-events: none;
    filter: blur(40px);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-label {
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-headline .line {
    display: block;
}

.hero-headline .line-2 {
    color: var(--teal-light);
    padding-left: 0.6em;
}

.word {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    margin-right: 0.22em;
}

.word.in {
    animation: wordIn 700ms var(--ease) forwards;
}

@keyframes wordIn {
    to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
    max-width: 540px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.hero-sub.in {
    opacity: 1;
    transform: translateY(0);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.hero-cta.in {
    opacity: 1;
    transform: scale(1);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    opacity: 0;
    transition: opacity 700ms var(--ease);
}

.hero-trust.in {
    opacity: 1;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.55);
}

.trust-item svg {
    width: 14px;
    height: 14px;
    color: var(--teal-light);
}

/* Hero diagram */
.hero-diagram {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 620px;
    width: 100%;
    margin-left: auto;
}

.hero-diagram svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transform: translate(-50%, -50%);
}

.node-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-light);
    backdrop-filter: blur(8px);
    transition: all 300ms var(--ease);
    position: relative;
}

.node-circle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 111, 191, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 300ms var(--ease);
}

.node:hover .node-circle::before {
    opacity: 1;
}

.node-circle svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.75;
}

.node-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: -0.005em;
    white-space: nowrap;
}

.node-hub .node-circle {
    width: 116px;
    height: 116px;
    background: linear-gradient(135deg, var(--electric) 0%, var(--teal) 100%);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--white);
    box-shadow: 0 0 40px rgba(26, 111, 191, 0.4);
}

.node-hub .node-circle svg {
    width: 40px;
    height: 40px;
}

.node-hub .node-circle::after {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(26, 111, 191, 0.25);
    border-radius: 50%;
    animation: hubPulse 3s ease-in-out infinite;
}

@keyframes hubPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 0; }
}

.node-hub .node-label {
    color: var(--white);
    font-weight: 700;
    font-size: 0.9375rem;
}

.node-support { top: 12%; left: 50%; }
.node-marketing { top: 50%; left: 90%; }
.node-lead { top: 88%; left: 50%; }
.node-reporting { top: 50%; left: 10%; }
.node-hub-pos { top: 50%; left: 50%; }

.flow-line {
    stroke: rgba(255,255,255,0.18);
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 4 6;
    animation: flowDash 8s linear infinite;
}

@keyframes flowDash {
    to { stroke-dashoffset: -100; }
}

.flow-line-glow {
    stroke: var(--electric-light);
    stroke-width: 1.5;
    fill: none;
    stroke-dasharray: 6 200;
    opacity: 0.8;
    animation: flowGlow 4s linear infinite;
}

@keyframes flowGlow {
    to { stroke-dashoffset: -206; }
}

/* ========== SOCIAL PROOF ========== */
.social-proof {
    background: var(--off-white);
    padding: 3rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.social-proof-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--grey-text);
    margin-bottom: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--grey-text);
    line-height: 1.4;
}

/* ========== PROBLEM SECTION ========== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
    margin-bottom: 4rem;
}

.problem-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all var(--transition);
}

.problem-card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--light-blue);
    color: var(--electric);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.problem-card-icon svg {
    width: 22px;
    height: 22px;
}

.problem-stat {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.problem-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Before/After */
.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.compare-col {
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid;
}

.compare-without {
    background: #FDF2F2;
    border-color: #FAD5D5;
}

.compare-with {
    background: var(--light-teal);
    border-color: #C9E8E2;
}

.compare-title {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.compare-title svg {
    width: 18px;
    height: 18px;
}

.compare-without .compare-title svg { color: #C0392B; }
.compare-with .compare-title svg { color: var(--teal); }

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--grey-dark);
    line-height: 1.5;
}

.compare-list li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 4px;
}

.compare-without .compare-list li svg { color: #C0392B; }
.compare-with .compare-list li svg { color: var(--teal); }

/* ========== HOW IT WORKS ========== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    position: relative;
}

.step {
    position: relative;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.02);
    transition: all var(--transition);
}

.step:hover {
    border-color: rgba(26, 111, 191, 0.4);
    background: rgba(255,255,255,0.04);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    letter-spacing: -0.03em;
    line-height: 1;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(26, 111, 191, 0.12);
    color: var(--electric-light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.step-icon svg { width: 22px; height: 22px; }

.step h3 {
    color: var(--white);
    margin-bottom: 0.625rem;
    position: relative;
    z-index: 1;
}

.step p {
    font-size: 0.9375rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.timeline-line {
    position: absolute;
    top: 70px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    z-index: 0;
}

.timeline-line svg {
    width: 100%;
    height: 2px;
    overflow: visible;
}

.timeline-line path {
    stroke: rgba(26, 111, 191, 0.5);
    stroke-width: 1;
    stroke-dasharray: 4 4;
    fill: none;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s var(--ease);
}

.timeline-line.draw path {
    stroke-dashoffset: 0;
}

/* ========== AGENTS ========== */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
}

.agent-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.25rem 2rem;
    position: relative;
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--electric);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 300ms var(--ease);
}

.agent-card:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 111, 191, 0.3);
    box-shadow: 0 12px 32px rgba(13, 27, 42, 0.06);
}

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

.agent-card:hover .agent-icon {
    transform: rotate(8deg) scale(1.1);
}

.agent-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.agent-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--electric) 0%, var(--teal) 100%);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 300ms var(--ease);
}

.agent-icon svg { width: 22px; height: 22px; }

.agent-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--grey-text);
    letter-spacing: 0.1em;
}

.agent-card h3 {
    margin-bottom: 0.75rem;
}

.agent-card p {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.agent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.35rem 0.625rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0;
}

/* ========== RESULTS ========== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
    margin-bottom: 4rem;
}

.result-card {
    padding: 2.5rem 2rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.result-card:hover {
    border-color: rgba(26, 111, 191, 0.4);
}

.result-stat {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 0.875rem;
}

.result-stat .plus {
    color: var(--electric-light);
}

.result-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.timeline-results {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1.5rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.timeline-results::-webkit-scrollbar { display: none; }

.timeline-item {
    min-width: 240px;
    flex: 1;
    padding: 1.5rem;
    border-left: 2px solid var(--electric);
    scroll-snap-align: start;
}

.timeline-item-when {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--electric-light);
    margin-bottom: 0.5rem;
}

.timeline-item-text {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

/* ========== PRICING ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition);
}

.pricing-card:hover {
    border-color: rgba(26, 111, 191, 0.25);
    transform: translateY(-2px);
}

.pricing-card.featured {
    border: 1px solid var(--electric);
    border-top: 3px solid var(--electric);
    box-shadow: 0 24px 48px -16px rgba(13, 27, 42, 0.12);
    transform: translateY(-8px);
}

.pricing-card.featured:hover {
    transform: translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--electric);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 0.875rem;
    border-radius: 20px;
}

.pricing-tier {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--electric);
    margin-bottom: 1rem;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-period {
    font-size: 0.875rem;
    color: var(--grey-text);
    margin-bottom: 1.5rem;
}

.pricing-tagline {
    font-size: 0.9375rem;
    color: var(--grey-dark);
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--border-light);
}

.pricing-features {
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--grey-dark);
}

.pricing-features li svg {
    width: 16px;
    height: 16px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 5px;
}

.pricing-cta .btn {
    width: 100%;
}

.pricing-footnote {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--grey-text);
}

/* ========== TESTIMONIALS ========== */
.testimonials-wrap {
    position: relative;
    margin-top: 3.5rem;
    min-height: 280px;
}

.testimonial {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 800ms var(--ease);
    pointer-events: none;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.testimonial.active {
    opacity: 1;
    pointer-events: auto;
}

.testimonial-stars {
    display: inline-flex;
    gap: 0.2rem;
    margin-bottom: 1.5rem;
    color: #F5C518;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.5;
    color: var(--white);
    letter-spacing: -0.015em;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
}

.testimonial-author strong {
    color: var(--white);
    font-weight: 600;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.2);
    transition: all 400ms var(--ease);
    cursor: pointer;
}

.testimonial-dot.active {
    width: 32px;
    background: var(--electric-light);
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 820px;
    margin: 3.5rem auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.015em;
    transition: color var(--transition);
}

.faq-q:hover { color: var(--electric); }

.faq-q svg {
    width: 20px;
    height: 20px;
    color: var(--grey-text);
    transition: transform 300ms var(--ease);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-q svg {
    transform: rotate(180deg);
    color: var(--electric);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms var(--ease);
}

.faq-a-inner {
    padding: 0 0 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--grey-text);
    max-width: 680px;
}

/* ========== FINAL CTA ========== */
.final-cta {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(26, 111, 191, 0.18) 0%, transparent 60%);
    animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.final-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.final-cta h2 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: 1rem;
}

.final-cta-sub {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.final-cta-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.final-cta-footnote {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
}
