/* Sticky Header */
.header {
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px);
    border-bottom-color: #e2e8f0;
    padding: 0.15rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    position: fixed;
}

/* Buttons Overwrite */
.btn {
    border-radius: 0.75rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 10px 20px -5px rgba(93, 95, 239, 0.4);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(93, 95, 239, 0.5);
    color: white;
}

.btn-secondary {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* Text Gradient */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
    border: 3px solid #f8fafc;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

:root {
    --primary-color: #5d5fef;
    --primary-dark: #4e50d5;
    --primary-light: #7c7df2;
    --primary-gradient: linear-gradient(135deg, #5d5fef 0%, #a259ff 100%);
    --primary-gradient-subtle: linear-gradient(135deg, rgba(93, 95, 239, 0.1) 0%, rgba(162, 89, 255, 0.1) 100%);
    --text-dark: #0f172a;
    --bg-dark: #020617;
    --font-heading: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-2xl: 0 32px 64px -16px rgba(0, 0, 0, 0.25);
}

/* Typography Overwrite */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    background: #ffffff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(circle, rgba(93, 95, 239, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: var(--primary-gradient-subtle);
    border: 1px solid rgba(93, 95, 239, 0.1);
    border-radius: 100px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-users {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.user-avatars {
    display: flex;
    align-items: center;
}

.user-avatars img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -12px;
}

.user-avatars img:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--text-dark);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 3px solid white;
    margin-left: -12px;
}

.hero-visual {
    position: relative;
}

.main-card {
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: perspective(1000px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.4s ease;
    background: white;
    width: 600px;
}

.main-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.floating-card-1,
.floating-card-2 {
    position: absolute;
    background: white;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 30;
    animation: float 4s ease-in-out infinite;
}

.floating-card-1 {
    top: 15%;
    left: -40px;
}

.floating-card-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 2s;
}

/* Features */
.features {
    background: #ffffff;
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.section-badge {
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8125rem;
    display: block;
    margin-bottom: 1.25rem;
}

.feature-card-premium {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: transparent;
}

.card-aura {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: var(--primary-gradient-subtle);
    filter: blur(50px);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card-premium:hover .card-aura {
    opacity: 1;
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    background: #f1f5f9;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    color: var(--icon-color, var(--primary-color));
    transition: all 0.3s ease;
}

.feature-card-premium:hover .feature-icon-box {
    background: var(--icon-color, var(--primary-color));
    color: white;
    transform: scale(1.1);
}

.feature-icon-box svg {
    width: 32px;
    height: 32px;
}

.tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    width: fit-content;
}

/* Trust Badges */
.trust-section {
    background: #ffffff;
    padding: 4rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.trust-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.trust-icon {
    width: 56px;
    height: 56px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: 0.3s;
}

.trust-item:hover .trust-icon {
    background: var(--primary-color);
    color: white;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: #e2e8f0;
}

/* Steps */
.how-it-works {
    background: #f8fafc;
    /* padding: 10rem 0; */
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    position: relative;
}

.step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-visual {
    position: relative;
    margin-bottom: 2.5rem;
}

.step-num {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 44px;
    height: 44px;
    background: #0f172a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 800;
    border: 4px solid white;
    z-index: 2;
}

.step-icon {
    width: 100px;
    height: 100px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    transition: 0.3s;
}

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

.step-connector {
    position: absolute;
    top: 50px;
    left: 100%;
    width: calc(4rem - 20px);
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

/* Testimonials */
.testimonials {
    padding: 10rem 0;
    background: white;
}

.premium-testimonial {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.premium-testimonial:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.quote-icon {
    color: rgba(93, 95, 239, 0.1);
    margin-bottom: 2rem;
}

.testimonial-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

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

.author-meta strong {
    color: #0f172a;
    font-size: 1.125rem;
}

.author-meta span {
    color: #64748b;
    font-size: 0.875rem;
}

/* CTA */
.cta-banner {
    padding: 4rem 0 8rem;
    background: white;
}

.cta-premium-card {
    background: #020617;
    border-radius: 2rem;
    padding: 5.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-2xl);
}

.cta-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.cta-premium-card h2 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.1;
}

.cta-premium-card h2 .highlight {
    color: #7c7df2;
}

.cta-premium-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline-white:hover {
    border-color: white;
    background: white;
    color: #020617;
}

.cta-trust {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 600;
}

.dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

/* FAQ Overwrite fix */
.faq {
    /* padding: 10rem 0; */
    background: #ffffff;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.2s ease-out;
}

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

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .visual-card {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .step-connector {
        display: none;
    }

    .cta-premium-card {
        padding: 3rem;
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
    }

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

    .trust-divider {
        display: none;
    }
}

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

/* ========================================
   Hero — new elements
======================================== */
.hero .lead {
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

/* Stats row */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 2.5rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    padding: 0 2rem 0 0;
}

.hero-stat strong {
    font-size: 1.625rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.hero-stat span {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: #e2e8f0;
    margin-right: 2rem;
    flex-shrink: 0;
}

/* Guarantee line */
.hero-guarantee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.hero-guarantee svg {
    color: #10b981;
    flex-shrink: 0;
}

/* User stars */
.user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-stars {
    display: flex;
    gap: 2px;
}

.user-info strong {
    font-size: 0.9375rem;
    color: #0f172a;
    font-weight: 700;
}

/* Third floating card */
.floating-card-3 {
    position: absolute;
    background: white;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    z-index: 30;
    animation: float 5s ease-in-out 1s infinite;
    top: 55%;
    left: -35px;
}

.card-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.card-label {
    font-weight: 700;
    font-size: 0.8125rem;
    color: #0f172a;
}

.card-subtext {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
}

/* ========================================
   Animated hero demo (replaces banner image)
======================================== */
.demo-window {
    width: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 430px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #0f172a;
    text-align: left;
    overflow: hidden;
}

/* Browser chrome */
.demo-chrome {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 14px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
    flex-shrink: 0;
}

.demo-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex-shrink: 0;
}

.demo-dot-red { background: #ff5f57; }
.demo-dot-amber { background: #febc2e; }
.demo-dot-green { background: #28c840; }

.demo-urlbar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    margin: 0 auto;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
    max-width: 260px;
    width: 100%;
    justify-content: center;
}

.demo-ext-pill {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 6px 14px -4px rgba(93, 95, 239, 0.6);
    flex-shrink: 0;
    animation: demoPulse 2.4s ease-in-out infinite;
}

/* Body */
.demo-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(162, 89, 255, 0.05), transparent 60%),
        #ffffff;
}

.demo-thread {
    transition: opacity 0.35s ease;
}

.demo-thread[hidden] {
    display: none;
}

.demo-msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.demo-avatar {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.demo-bubble {
    background: #f1f5f9;
    border-radius: 4px 14px 14px 14px;
    padding: 10px 14px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #334155;
    max-width: 82%;
    min-height: 19px;
}

/* Compose box */
.demo-compose {
    position: relative;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border: 1.5px solid #e8edf3;
    border-radius: 14px;
    box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.12);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.demo-compose.is-focused {
    border-color: var(--primary-light);
    box-shadow: 0 12px 34px -10px rgba(93, 95, 239, 0.28);
}

.demo-scene-label {
    position: absolute;
    top: -11px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 100px;
    box-shadow: 0 6px 16px -6px rgba(93, 95, 239, 0.6);
    white-space: nowrap;
}

.demo-label-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    animation: demoPulse 1.6s ease-in-out infinite;
}

.demo-editor {
    font-size: 14.5px;
    line-height: 1.6;
    color: #0f172a;
    min-height: 3.2em;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.demo-ghost {
    color: #aab2c0;
}

.demo-caret {
    display: inline-block;
    width: 2px;
    height: 1.05em;
    margin: 0 1px;
    vertical-align: text-bottom;
    background: var(--primary-color);
    animation: demoBlink 1.05s steps(1) infinite;
}

.demo-caret[hidden] { display: none; }

/* Generating shimmer */
.demo-loading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-loading[hidden] { display: none; }

.demo-loading span {
    height: 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, #eef2f7 25%, #e2e8f0 37%, #eef2f7 63%);
    background-size: 400% 100%;
    animation: demoShimmer 1.4s ease infinite;
}

.demo-loading span:nth-child(1) { width: 100%; }
.demo-loading span:nth-child(2) { width: 88%; }
.demo-loading span:nth-child(3) { width: 62%; }

/* Toolbar */
.demo-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.demo-ai-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    box-shadow: 0 8px 18px -6px rgba(93, 95, 239, 0.55);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: default;
}

.demo-ai-btn.is-pressed {
    transform: scale(0.94);
    box-shadow: 0 4px 10px -4px rgba(93, 95, 239, 0.55);
}

.demo-tab-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    opacity: 0;
    transform: translateY(3px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.demo-tab-hint.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.demo-tab-hint kbd {
    padding: 3px 7px;
    background: #0f172a;
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    font-family: inherit;
    font-weight: 700;
    box-shadow: 0 2px 0 rgba(15, 23, 42, 0.35);
}

.demo-tab-hint.is-pressing kbd {
    animation: demoKeyPress 0.4s ease;
}

@keyframes demoBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes demoShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@keyframes demoPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.18); opacity: 0.75; }
}

@keyframes demoKeyPress {
    0% { transform: translateY(0); }
    40% { transform: translateY(2px); box-shadow: 0 0 0 rgba(15, 23, 42, 0.35); }
    100% { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .demo-ext-pill,
    .demo-label-dot,
    .demo-caret,
    .demo-loading span {
        animation: none !important;
    }
}

/* ========================================
   Works-on section
======================================== */
.works-on-section {
    padding: 2.5rem 0 3rem;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.works-on-label {
    text-align: center;
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.works-on-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.platform-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.2s;
}

.platform-logo:hover {
    color: var(--primary-color);
}

/* ========================================
   How It Works — redesign
======================================== */
.how-it-works {
    background: #f8fafc;
    padding: 8rem 0;
}

.hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.hiw-step {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem 2.5rem 3rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.hiw-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(93, 95, 239, 0.2);
}

.hiw-step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hiw-step-num {
    width: 42px;
    height: 42px;
    background: #0f172a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 800;
    flex-shrink: 0;
}

.hiw-step-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0 0%, transparent 100%);
}

.hiw-step-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient-subtle);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--step-icon-color, var(--primary-color));
    margin-bottom: 1.75rem;
    transition: all 0.3s ease;
}

.hiw-step:hover .hiw-step-icon {
    background: var(--step-icon-color, var(--primary-color));
    color: white;
    transform: scale(1.08);
}

.hiw-step-body h4 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 0.875rem;
}

.hiw-step-body p {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.hiw-step-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: gap 0.2s;
}

.hiw-step-cta:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* Keyboard shortcut demo */
.hiw-shortcut-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: #f1f5f9;
    border-radius: 0.75rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #475569;
    font-weight: 600;
}

.hiw-shortcut-demo kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    padding: 0.2rem 0.5rem;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    min-width: 32px;
}

.hiw-shortcut-label {
    color: #94a3b8;
    font-weight: 500;
}

/* Use-case tags */
.hiw-use-cases {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hiw-use-case-tag {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
}

/* Bottom CTA in how-it-works */
.hiw-bottom-cta {
    text-align: center;
}

.hiw-no-card {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
    .hiw-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .works-on-logos {
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero-stats {
        gap: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat {
        padding: 0 1.25rem;
    }

    .works-on-logos {
        gap: 1rem;
    }

    .platform-logo span {
        display: none;
    }

    .hiw-step {
        padding: 2rem;
    }

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