/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-500: #2563eb;
    --primary-600: #1d4ed8;
    --accent-500: #1e3a8a;
    --glow-primary: rgba(37, 99, 235, 0.35);
    --glow-secondary: rgba(59, 130, 246, 0.25);
}

/* Motion & Effects */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
    transition-delay: var(--delay, 0ms);
}

[data-animate].is-visible {
    opacity: 1;
}

[data-animate="fade-up"].is-visible {
    transform: translateY(0);
}

[data-animate="fade-in"] {
    transform: scale(0.96);
}

[data-animate="fade-in"].is-visible {
    transform: scale(1);
}

[data-animate="float-up"] {
    transform: translateY(30px) scale(0.97);
}

[data-animate="float-up"].is-visible {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 25px 40px rgba(37, 99, 235, 0.2));
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section[id] {
    scroll-margin-top: 96px;
}

/* Buttons */
.btn-primary, .btn-primary-large {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    min-height: 44px;
    min-width: 44px;
}

.btn-primary-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    min-height: 48px;
    min-width: 48px;
}

.btn-secondary, .btn-secondary-large {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    min-height: 44px;
    min-width: 44px;
}

.btn-secondary-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    min-height: 48px;
    min-width: 48px;
}

.btn-primary:hover, .btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
    filter: brightness(1.05);
}

.btn-secondary:hover, .btn-secondary-large:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    overflow: visible;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.nav {
    position: relative;
    z-index: 1;
}

.nav-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

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

.logo-icon {
    font-size: 1.5rem;
    animation: logoFloat 2s ease-in-out infinite;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 2.25rem 0 1.75rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    align-items: start;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.8;
    pointer-events: none;
    transition: transform 12s ease;
}

.hero::before {
    width: 480px;
    height: 480px;
    top: -120px;
    left: -140px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.45) 0%, rgba(37, 99, 235, 0) 70%);
    animation: heroPulse 16s ease-in-out infinite alternate;
}

.hero::after {
    width: 560px;
    height: 560px;
    bottom: -240px;
    right: -180px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.38) 0%, rgba(59, 130, 246, 0) 65%);
    animation: heroWave 18s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(30px, 15px, 0) scale(1.05); }
}

@keyframes heroWave {
    0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
    33% { transform: translate3d(-30px, 20px, 0) scale(1.04) rotate(2deg); }
    66% { transform: translate3d(40px, -10px, 0) scale(1.06) rotate(-2deg); }
    100% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
}

.hero-headline {
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-subheadline {
    color: #4b5563;
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-pricing-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(255, 255, 255, 0.94) 100%);
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 14px;
    padding: 1.35rem;
    max-width: 420px;
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.12);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.hero-pricing-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16) 0%, rgba(37, 99, 235, 0.02) 100%);
    opacity: 0.45;
    pointer-events: none;
}

.hero-pricing-card > * {
    position: relative;
    z-index: 1;
}

.hero-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
}

.hero-price-amount {
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.hero-price-period {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #1d4ed8;
}

.hero-price-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
    color: #1f2937;
    font-size: 0.93rem;
}

.hero-price-points li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-price-points li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* ROI Preview */
.roi-preview {
    display: flex;
    gap: 1.5rem;
    margin: 1.35rem 0 1rem;
    flex-wrap: wrap;
}

.roi-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.roi-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
}

.roi-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Hero CTA */
.hero-cta {
    margin: 1.35rem 0 1rem;
}

.cta-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
    text-align: center;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.35rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.trust-icon {
    font-size: 1rem;
}

/* Demo Section */
.hero-demo {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    align-self: center;
}

.demo-container {
    padding: 1.5rem;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.demo-header h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.demo-play-btn {
    background: #f3f4f6;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.demo-play-btn:hover {
    background: #e5e7eb;
}

.demo-placeholder {
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 3rem 1rem;
    text-align: center;
    color: #6b7280;
}

.hero-demo.is-visible {
    animation: subtleFloat 8s ease-in-out infinite;
}

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

.hero-trust {
    font-size: 0.9rem;
    color: #4b5563;
    margin: 0.75rem 0 0;
}

/* Segments Section */
.segments {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.segment-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding: 0.5rem 0 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.02);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.segment-tabs::-webkit-scrollbar {
    display: none;
}

.segment-tab {
    background: white;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-height: 44px;
    min-width: 44px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.segment-tab:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}

.segment-tab.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.2);
    transform: translateY(-1px);
    position: relative;
}

.segment-panel {
    display: none;
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    border-radius: 24px;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 45%),
                radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.1), transparent 55%),
                #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.segment-footnote {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
}

.segment-panel::after {
    content: "";
    position: absolute;
    inset: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.segment-panel.active {
    display: block;
    transform: translateY(-8px);
}

.segment-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: #0f172a;
}

.segment-panel p {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 2rem;
}

.segment-panel .panel-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.segment-panel .panel-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.segment-panel .panel-action::after {
    content: '→';
    font-size: 0.9rem;
}

.segment-panel .panel-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.segment-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.metric {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: #2563eb;
    line-height: 1;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 0.9rem;
    color: #475569;
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ROI Calculator */
.roi-calculator {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.roi-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
    display: grid;
    gap: 1rem;
}

.roi-description {
    margin: 0;
    color: #4b5563;
    font-size: 1.05rem;
}

.calculator-layout {
    display: grid;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}


.calculator-panel {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 1.25rem;
}

.panel-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 0.95rem;
}

.calculator-panel h3 {
    margin: 0;
    color: #0f172a;
}


.input-grid {
    display: grid;
    gap: 1rem;
}

.input-group {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    display: grid;
    gap: 0.75rem;
}

.input-group label {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95rem;
}

.panel-note {
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.panel-note::before {
    content: 'i';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    color: #1d4ed8;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1;
    margin-top: 0.2rem;
}

.calculator-results {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.1);
    display: grid;
    gap: 1.5rem;
}

.results-highlight {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(255, 255, 255, 0.95) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.results-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: #1d4ed8;
}

.results-value {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.results-value-main {
    display: block;
}

.results-value-sub {
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
}

.results-narrative {
    margin: 0;
    color: #4b5563;
    font-size: 0.95rem;
}

.results-cta {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.5rem;
}

.results-cta .btn-primary {
    padding: 0.75rem 1.5rem;
}

.results-breakdown {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f8fafc;
    overflow: hidden;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.35rem;
    font-size: 1rem;
    color: #0f172a;
    border-bottom: 1px solid #e5e7eb;
}

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

.breakdown-row span:first-child {
    font-weight: 500;
    color: #475569;
}

.breakdown-row span:last-child {
    font-weight: 700;
    color: #1d4ed8;
}

.breakdown-row.emphasis {
    background: rgba(37, 99, 235, 0.08);
    border-left: 4px solid #2563eb;
    border-right: 4px solid rgba(37, 99, 235, 0.1);
}

.roi-proof {
    margin-top: 3rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.proof-card {
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 1rem;
}

.proof-title {
    margin: 0;
    font-size: 1.1rem;
    color: #0f172a;
}

.proof-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.proof-list li {
    position: relative;
    padding-left: 1.5rem;
}

.proof-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.section-cta {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.section-cta .btn-primary {
    padding: 0.8rem 1.75rem;
}

/* Real Posts Section */
.real-posts {
    padding: 4rem 0;
    background: #f8fafc;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.input-group input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
}

.input-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    border: none;
}

.input-value {
    font-weight: 600;
    color: #1d4ed8;
    font-size: 1rem;
}

/* Combined section styles are handled above */

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.posts-showcase {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.post-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

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

.author-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.875rem;
}

.post-time {
    font-size: 0.75rem;
    color: #6b7280;
}

.auto-generated-tag {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.post-content {
    margin-bottom: 1.5rem;
}

.post-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #374151;
}

.post-content p:last-child {
    margin-bottom: 0;
}

.post-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: #374151;
    line-height: 1.5;
}

.post-engagement {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
}

.engagement-stats {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}


.performance-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.metric-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.metric-card:first-child .metric-value {
    color: #2563eb;
}

.metric-card:last-child .metric-value {
    color: #1a1a1a;
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.metric-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

/* Social Proof */
.social-proof {
    padding: 4rem 0;
    background: #f8fafc;
}

/* Testimonials Carousel */
.testimonials-carousel {
    margin-bottom: 3rem;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: visible;
    border-radius: 12px;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 300%;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 2rem;
    align-items: center;
    width: 33.333%;
    flex-shrink: 0;
    opacity: 0.6;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    transform: scale(0.95);
}

.testimonial.active {
    opacity: 1;
    border-color: #2563eb;
    transform: scale(1);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.15);
}

.testimonial:not(.active):hover {
    transform: scale(0.97) translateY(-4px);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.15);
}

.testimonial-video {
    width: 300px;
    height: 200px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
    text-align: left;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(37, 99, 235, 0.1);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
    border-color: #2563eb;
}

.carousel-btn.prev-btn {
    margin-left: -25px;
}

.carousel-btn.next-btn {
    margin-right: -25px;
}

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

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: none;
    background: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot.active,
.dot:hover {
    background: #2563eb;
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.dot.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.video-placeholder {
    text-align: center;
}

.play-btn {
    background: #2563eb;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    color: #374151;
    margin-bottom: 1rem;
}

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

.testimonial-author strong {
    color: #1a1a1a;
    font-weight: 600;
}

.testimonial-author span {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Review Ratings */
.review-ratings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.rating-item {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.rating-stars {
    font-size: 1.5rem;
    color: #1d4ed8;
    margin-bottom: 0.5rem;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.rating-platform {
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.25rem;
}

.rating-count {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Customer Logos */
.customer-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.logo-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    color: #6b7280;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    background: white;
}

.pricing-subtitle {
    text-align: center;
    color: #6b7280;
    margin-bottom: 3rem;
}

.single-pricing {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.pricing-card-single {
    background: white;
    border: 2px solid #2563eb;
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.pricing-card-single:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: #2563eb;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

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

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
}

.price-period {
    font-size: 1.125rem;
    color: #6b7280;
}

.pricing-savings {
    font-size: 0.875rem;
    color: #1d4ed8;
    font-weight: 500;
    margin-bottom: 2rem;
}

.trial-note {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem;
    margin-bottom: 0;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #374151;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 600;
}

/* Compliance Badges */
.compliance-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.badge-icon {
    font-size: 1rem;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background: #f8fafc;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    min-height: 44px;
    min-width: 44px;
}

.faq-question:focus {
    outline: none;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-icon {
    font-size: 1.5rem;
    color: #2563eb;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #4b5563;
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Typeform Section */
.typeform-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.typeform-header {
    text-align: center;
    margin-bottom: 3rem;
}

.typeform-header h2 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.typeform-header p {
    color: #6b7280;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.typeform-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 600px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.typeform-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
}

.typeform-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
}

/* Typeform Loading State */
.typeform-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 400px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.typeform-loading p {
    color: #6b7280;
    font-size: 1.125rem;
    margin: 0;
}

/* Typeform Fallback */
.typeform-fallback {
    padding: 3rem 2rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.typeform-fallback h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.typeform-fallback p {
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.fallback-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Final CTA */
.final-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0b5bd3 0%, #0838a1 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cta-guarantee {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 1rem;
}

.final-cta::before,
.final-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.5;
    pointer-events: none;
}

.final-cta::before {
    width: 420px;
    height: 420px;
    top: -160px;
    left: calc(50% - 210px);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, rgba(59, 130, 246, 0) 70%);
}

.final-cta::after {
    width: 380px;
    height: 380px;
    bottom: -190px;
    right: 8%;
    background: radial-gradient(circle, rgba(191, 219, 254, 0.55) 0%, rgba(191, 219, 254, 0) 70%);
}

.final-cta .cta-btn-white {
    background: #ffffff;
    color: #1d4ed8;
    border: 1px solid rgba(29, 78, 216, 0.35);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(6px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, color 0.35s ease, border 0.35s ease;
}

.final-cta .cta-btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.28);
    color: #0f172a;
    border-color: #1d4ed8;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-summary {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-summary p {
    color: #d1d5db;
    max-width: 320px;
}

.footer-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #e5e7eb;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.footer-action::after {
    content: '↗';
    font-size: 0.85rem;
}

.footer-action:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .nav-cta {
        gap: 1rem;
    }
    
    .testimonial {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .testimonial-video {
        width: 100%;
        max-width: 300px;
        height: 200px;
        margin: 0 auto;
    }
    
    .testimonial-content {
        text-align: center;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .pricing-card-single {
        max-width: 600px;
        padding: 4rem;
    }
    
    .calculator-layout {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        align-items: stretch;
    }
    
    .roi-preview {
        justify-content: flex-start;
    }
    
    .trust-indicators {
        justify-content: flex-start;
    }
    
    .cta-note {
        text-align: left;
    }
    
    .typeform-container {
        min-height: 700px;
    }
    
    .typeform-container iframe {
        height: 700px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    .segments,
    .roi-calculator,
    .social-proof,
    .pricing,
    .faq {
        padding: 6rem 0;
    }
    
    .segment-tabs {
        justify-content: center;
    }
    
    .calculator-inputs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Performance Optimizations */
.hero-demo,
.demo-placeholder,
.video-placeholder {
    will-change: transform;
}

.btn-primary,
.btn-primary-large,
.btn-secondary,
.btn-secondary-large {
    will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-primary-large {
        background: #000;
        border: 2px solid #fff;
    }
    
    .btn-secondary,
    .btn-secondary-large {
        background: #fff;
        border: 2px solid #000;
        color: #000;
    }
}

/* Print styles */
@media print {
    .header,
    .nav-cta,
    .hero-cta,
    .final-cta,
    .footer {
        display: none;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

.pricing-card-single .pricing-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-right: 2px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.pricing-card-single .price-amount {
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}

.pricing-card-single .price-period {
    font-size: 1rem;
    color: #6b7280;
}

/* Conventional Effects */
/* Hover lift for card-like elements */
.post-card,
.pricing-card-single,
.testimonial,
.rating-item,
.logo-item,
.metric-card,
.faq-item {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover,
.pricing-card-single:hover,
.testimonial:hover,
.rating-item:hover,
.logo-item:hover,
.metric-card:hover,
.faq-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Button micro-interactions */
.btn-primary,
.btn-primary-large,
.btn-secondary,
.btn-secondary-large {
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:active,
.btn-primary-large:active,
.btn-secondary:active,
.btn-secondary-large:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered reveal helpers */
.reveal-stagger > * { opacity: 0; transform: translateY(12px); }
.reveal-stagger.reveal-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.reveal-visible > * { transition: opacity .5s ease, transform .5s ease; }
.reveal-stagger.reveal-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.reveal-visible > *:nth-child(2) { transition-delay: .10s; }
.reveal-stagger.reveal-visible > *:nth-child(3) { transition-delay: .15s; }
.reveal-stagger.reveal-visible > *:nth-child(4) { transition-delay: .20s; }
.reveal-stagger.reveal-visible > *:nth-child(5) { transition-delay: .25s; }

/* Tabs subtle underline hover */
.segment-tab {
    position: relative;
}
.segment-tab::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 8px;
    height: 2px;
    background: #2563eb;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
}
.segment-tab:hover::after { transform: scaleX(1); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .post-card,
    .pricing-card-single,
    .testimonial,
    .rating-item,
    .logo-item,
    .metric-card,
    .faq-item,
    .reveal {
        transition: none;
        transform: none !important;
    }
}

/* Billing toggle */
.billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 0.25rem;
}

.toggle-btn {
    background: white;
    border: none;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.toggle-btn.active {
    background: #2563eb;
    color: white;
}

.toggle-btn .save {
    color: #a7f3d0;
    font-weight: 700;
}

/* Price glow */
.price-glow {
    position: relative;
}

.price-glow::before {
    content: "";
    position: absolute;
    inset: -14px -24px;
    border-radius: 24px;
    background: radial-gradient(60% 60% at 50% 50%, rgba(37,99,235,.18) 0%, rgba(37,99,235,0) 70%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}

.pricing-card-single:hover .price-glow::before {
    opacity: 1;
}
.nav-links {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    background: transparent;
    border: none;
    color: #1f2937;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease;
    font-size: 0.95rem;
    min-height: 36px;
}

.nav-link:hover,
.nav-link:focus {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.12);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    width: 100%;
    grid-column: 2 / 3;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: background 0.3s ease, border 0.3s ease;
    grid-column: 3 / 4;
    z-index: 11;
}

.nav-toggle:hover,
.nav-toggle:focus {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #1f2937;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-bar + .nav-toggle-bar {
    margin-top: 4px;
}

.nav.is-open .nav-toggle {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

.nav.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

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

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 1rem;
        right: 1rem;
        background: #ffffff;
        border: 1px solid rgba(226, 232, 240, 0.9);
        border-radius: 16px;
        box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
        padding: 1.25rem;
        gap: 1rem;
        flex-direction: column;
        opacity: 0;
        transform: translateY(-6px);
        pointer-events: none;
        visibility: hidden;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    }

    .nav.is-open .nav-menu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
    }

    .nav-link {
        width: 100%;
        text-align: left;
        padding: 0.65rem 0.9rem;
        border-radius: 10px;
    }

    .nav-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .nav-cta .btn-primary,
    .nav-cta .btn-secondary {
        width: 100%;
    }

    .testimonials-track {
        width: 100%;
        gap: 1.25rem;
    }

    .testimonial {
        width: 100%;
    }

    .testimonial {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 1.75rem;
    }

    .testimonial-video {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .carousel-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2.75rem 0 1.75rem;
    }

    .hero-content {
        gap: 1.4rem;
    }

    .hero-demo {
        align-self: stretch;
    }

    .hero-media {
        gap: 0.95rem;
    }

    .posts-showcase {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-headline {
        font-size: clamp(1.9rem, 7vw, 2.4rem);
    }

    .hero-pricing-card {
        padding: 1.25rem;
    }

    .hero-price-points {
        gap: 0.5rem;
    }

    .hero-cta {
        display: grid;
        gap: 0.75rem;
    }

    .hero-cta .btn-primary-large {
        width: 100%;
    }

    .segment-panel {
        padding: 1.75rem 1.5rem;
    }

    .segment-panel::after {
        inset: 1rem;
    }

    .segment-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .segment-footnote {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .calculator-panel,
    .calculator-results {
        padding: 1.5rem;
    }

    .input-group {
        padding: 1rem;
    }

    .results-highlight {
        text-align: center;
    }

    .results-value {
        align-items: center;
        width: 100%;
    }

    .results-narrative {
        text-align: left;
    }

    .results-cta {
        justify-content: center;
    }

    .results-breakdown {
        border-radius: 14px;
    }

    .breakdown-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .breakdown-row span:last-child {
        font-size: 1.05rem;
    }

    .posts-showcase {
        gap: 1.5rem;
    }

    .post-card {
        padding: 1.5rem;
    }

    .performance-metrics {
        grid-template-columns: 1fr;
    }

    .metric-card {
        padding: 1.5rem;
    }

    .testimonial {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 1.75rem;
    }

    .testimonial-video {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .carousel-nav {
        display: none;
    }

    .review-ratings {
        grid-template-columns: 1fr;
    }

    .customer-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .final-cta .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .final-cta .cta-buttons .btn-primary-large,
    .final-cta .cta-buttons .btn-secondary-large {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .footer-badges {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}
.demo-content {
    position: relative;
}

.demo-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.demo-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}
