/* ═══════════════════════════════════════════════════════════
   HOME PAGE — page-specific styles
   ═══════════════════════════════════════════════════════════ */

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(62, 243, 210, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(62, 243, 210, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    mix-blend-mode: soft-light;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: radial-gradient(ellipse 90% 90% at 50% 50%, transparent 40%, var(--bg) 100%);
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 0 24px;
    max-width: 860px;
}

/* Hero sequential animation */
.hero-badge,
.hero-title,
.hero-sub,
.hero-cta-row,
.hero-scroll {
    opacity: 0;
    transform: translateY(20px);
}

.hero-badge {
    animation: heroFadeUp 0.7s cubic-bezier(.22, 1, .36, 1) 0.3s forwards;
    transform: translateY(16px);
}

.hero-title {
    animation: heroFadeUp 0.8s cubic-bezier(.22, 1, .36, 1) 0.65s forwards;
}

.hero-sub {
    animation: heroFadeUp 0.8s cubic-bezier(.22, 1, .36, 1) 1.0s forwards;
}

.hero-cta-row {
    animation: heroFadeUp 0.8s cubic-bezier(.22, 1, .36, 1) 1.3s forwards;
}

.hero-scroll {
    animation: heroFadeUp 0.8s cubic-bezier(.22, 1, .36, 1) 1.7s forwards;
    transform: none;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(62, 243, 210, 0.08);
    border: 1px solid rgba(62, 243, 210, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.hero-title-text {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--text);
    margin-bottom: 24px;
}

.hero-title-text .line-accent {
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--muted);
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto 40px;
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 7px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-anim 1.8s cubic-bezier(.4, 0, .6, 1) infinite;
}

@keyframes scroll-anim {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    80% {
        transform: translateY(10px);
        opacity: 0;
    }

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

/* ─── SECTION TITLES ─────────────────────────────────────── */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.7;
}

/* ─── MARQUEE ────────────────────────────────────────────── */
.marquee-section {
    padding: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: var(--surface);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 48px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    border-right: 1px solid var(--border);
    white-space: nowrap;
}

.marquee-item .dot {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ─── SERVICES GRID ──────────────────────────────────────── */
.reveal.reveal-delay-1:not(.visible) {
    transition-delay: 0.08s;
}

.reveal.reveal-delay-2:not(.visible) {
    transition-delay: 0.16s;
}

.reveal.reveal-delay-3:not(.visible) {
    transition-delay: 0.24s;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 64px;
}

.service-card {
    background: var(--surface);
    padding: 32px;
    transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1), background 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(.22, 1, .36, 1);
}

.service-card:hover {
    background: var(--surface2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(62, 243, 210, 0.1);
    border: 1px solid rgba(62, 243, 210, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.service-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 20px;
}

.service-link {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.service-link:hover {
    gap: 10px;
}

.service-powered {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--muted);
    opacity: 0.7;
    margin-top: 8px;
}

/* ─── BUILDER COMPARISON ─────────────────────────────────── */
.builder-section {
    background: var(--bg);
}

.comparison-tabs {
    display: flex;
    gap: 4px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 4px;
    width: fit-content;
    margin: 48px auto 0;
}

.tab-btn {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 8px 20px;
    border-radius: 7px;
    transition: all 0.2s;
    cursor: pointer;
}

.tab-btn.active {
    background: var(--surface2);
    color: var(--accent);
    border: 1px solid var(--border);
}

.comparison-panels {
    margin-top: 32px;
    display: none;
}

.comparison-panels.active {
    display: block;
}

.vs-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.vs-col {
    background: var(--surface);
    padding: 32px;
}

.vs-col.right {
    background: rgba(12, 19, 34, 0.5);
}

.vs-divider-col {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 0 16px;
}

.vs-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.vs-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.vs-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.vs-label.bad {
    color: var(--danger);
}

.vs-label.good {
    color: var(--accent);
}

.vs-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.vs-status.bad {
    background: var(--danger);
    box-shadow: 0 0 8px rgba(251, 113, 133, 0.5);
}

.vs-status.good {
    background: var(--accent);
    box-shadow: 0 0 8px rgba(62, 243, 210, 0.5);
}

.code-block {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.8;
    color: var(--muted);
    background: rgba(7, 10, 15, 0.6);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.code-block .c-tag {
    color: #7c9abf;
}

.code-block .c-attr {
    color: #9cb4d4;
}

.code-block .c-class {
    color: var(--danger);
    opacity: 0.85;
}

.code-block .c-class-good {
    color: var(--accent);
    opacity: 0.9;
}

.code-block .c-comment {
    color: #4a5a72;
    font-style: italic;
}

.code-block .c-content {
    color: var(--muted);
}

.metrics-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(7, 10, 15, 0.6);
    border: 1px solid var(--border-soft);
}

.metric-label {
    color: var(--muted);
}

.metric-val {
    font-weight: 500;
}

.metric-val.bad {
    color: var(--danger);
}

.metric-val.good {
    color: var(--accent);
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.check-item .icon {
    flex-shrink: 0;
    font-size: 14px;
    margin-top: 1px;
}

.check-item.fail {
    color: var(--muted);
    opacity: 0.7;
}

.check-item.pass {
    color: var(--muted);
}

.check-item.pass .icon {
    color: var(--success);
}

/* ─── PROCESS ────────────────────────────────────────────── */
.process-section {
    background: var(--surface);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    list-style: none;
    padding-left: 0;
    margin-top: 64px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 1px;
    background: linear-gradient(90deg, var(--accent) 0%, rgba(62, 243, 210, 0.3) 100%);
    z-index: 0;
}

.process-step {
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.process-step:first-child {
    padding-left: 0;
}

.process-step:last-child {
    padding-right: 0;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 28px;
    transition: border-color 0.3s, color 0.3s;
}

.process-step:hover .step-num {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px var(--glow);
}

.step-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
}

.step-detail {
    margin-top: 16px;
    padding: 12px;
    background: rgba(62, 243, 210, 0.05);
    border: 1px solid rgba(62, 243, 210, 0.15);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent);
    line-height: 1.6;
}

/* ─── PRICING ────────────────────────────────────────────── */
.pricing-section {
    background: var(--bg);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-top: 48px;
}

.toggle-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch.on {
    background: rgba(62, 243, 210, 0.15);
    border-color: var(--accent);
}

.toggle-thumb {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--muted);
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.3s cubic-bezier(.22, 1, .36, 1), background 0.3s;
}

.toggle-switch.on .toggle-thumb {
    transform: translateX(20px);
    background: var(--accent);
}

.annual-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: var(--success);
    padding: 3px 8px;
    border-radius: 100px;
}

.pricing-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1), border-color 0.3s;
}

.pricing-card:hover {
    border-color: rgba(62, 243, 210, 0.3);
}

.pricing-card.featured {
    border-color: rgba(62, 243, 210, 0.4);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(62, 243, 210, 0.04) 100%);
}

.featured-badge {
    position: absolute;
    top: -1px;
    right: 24px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--accent);
    padding: 4px 12px;
    border-radius: 0 0 8px 8px;
}

.pricing-plan {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.pricing-tagline {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 28px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.price-currency {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--muted);
    margin-right: 4px;
}

.price-period {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.price-annual {
    display: none;
}

.pricing-section.annual-mode .price-monthly {
    display: none;
}

.pricing-section.annual-mode .price-annual {
    display: flex;
}

.included-title,
.limits-title {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.included-title {
    color: var(--accent);
}

.limits-title {
    color: var(--warning);
    margin-top: 20px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--muted);
}

.feature-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-icon.ok {
    color: var(--success);
}

.feature-icon.warn {
    color: var(--warning);
}

.pricing-cta {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding: 14px;
    border-radius: 10px;
    margin-top: 32px;
    transition: all 0.2s;
}

.pricing-cta.primary {
    color: var(--bg);
    background: var(--accent);
}

.pricing-cta.primary:hover {
    box-shadow: 0 0 28px var(--glow-strong);
    opacity: 0.9;
}

.pricing-cta.outline {
    color: var(--muted);
    border: 1px solid var(--border);
}

.pricing-cta.outline:hover {
    color: var(--text);
    border-color: rgba(62, 243, 210, 0.3);
}

/* Mini cards & Projects */
.services-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.mini-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1), border-color 0.3s;
}

.mini-card:hover {
    border-color: rgba(62, 243, 210, 0.25);
}

.mini-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.mini-price {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 12px;
}

.mini-desc {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
}

.projects-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1), border-color 0.3s;
}

.project-card:hover {
    border-color: rgba(62, 243, 210, 0.25);
}

.project-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.project-price {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 8px;
}

.project-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
}

.project-link {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s;
}

.project-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.pricing-notes {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 32px;
}

.pricing-note-item {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pricing-note-item::before {
    content: '';
    width: 4px;
    height: 4px;
    background: var(--border);
    border-radius: 50%;
    display: block;
}

.pricing-sub-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 48px;
    margin-bottom: 16px;
}

.pricing-sub-label::before,
.pricing-sub-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ─── SEO SECTION ────────────────────────────────────────── */
.seo-section {
    background: var(--surface);
}

.seo-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 64px;
}

.seo-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.seo-panel-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-panel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.seo-panel-dot.muted {
    background: var(--muted);
}

.seo-panel-dot.accent {
    background: var(--accent);
}

.seo-panel-title {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.seo-panel-body {
    padding: 24px;
    background: rgba(7, 10, 15, 0.6);
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.9;
    min-height: 240px;
}

.json-key {
    color: #7c9abf;
}

.json-str {
    color: var(--accent);
    opacity: 0.9;
}

.json-num {
    color: var(--warning);
}

.json-bool {
    color: var(--success);
}

.json-punct {
    color: var(--muted);
    opacity: 0.5;
}

.browser-mockup {
    padding: 24px;
    background: rgba(12, 19, 34, 0.4);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 240px;
}

.browser-element {
    border-radius: 6px;
    background: var(--surface2);
    transition: all 0.3s;
}

.browser-element.header-el {
    height: 40px;
}

.browser-element.hero-el {
    height: 80px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
}

.browser-element.text-el {
    height: 14px;
    width: 70%;
}

.browser-element.text-el.narrow {
    width: 55%;
}

.browser-element.text-el-sm {
    height: 10px;
    width: 45%;
    background: rgba(255, 255, 255, 0.04);
}

.browser-element.cta-el {
    height: 36px;
    width: 140px;
    background: rgba(62, 243, 210, 0.15);
    border: 1px solid rgba(62, 243, 210, 0.3);
}

.seo-insights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.seo-insight {
    background: rgba(62, 243, 210, 0.04);
    border: 1px solid rgba(62, 243, 210, 0.12);
    border-radius: var(--radius);
    padding: 20px;
}

.seo-insight-icon {
    font-size: 22px;
    margin-bottom: 10px;
}

.seo-insight-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.seo-insight-desc {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
}

.seo-disclaimer {
    text-align: center;
    margin-top: 40px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
    opacity: 0.7;
    line-height: 1.7;
}

/* ─── TRUST ──────────────────────────────────────────────── */
.trust-section {
    background: var(--bg);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 64px;
}

.trust-item {
    background: var(--surface);
    padding: 36px 28px;
    transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1), background 0.3s;
}

.trust-item:hover {
    background: var(--surface2);
}

.trust-stat {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.trust-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.trust-desc {
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.6;
}

/* ─── WHY US ─────────────────────────────────────────────── */
.why-section {
    background: var(--bg);
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 64px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--border);
}

.why-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--surface);
    transition: opacity 0.7s cubic-bezier(.22, 1, .36, 1), transform 0.7s cubic-bezier(.22, 1, .36, 1), background 0.3s;
    min-height: 340px;
}

.why-card:hover {
    background: rgba(12, 19, 34, 0.7);
}

.why-card-reverse {
    direction: rtl;
}

.why-card-reverse>* {
    direction: ltr;
}

.why-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-right: 1px solid var(--border);
    background: rgba(7, 10, 15, 0.4);
    position: relative;
    overflow: hidden;
}

.why-card-reverse .why-card-visual {
    border-right: none;
    border-left: 1px solid var(--border);
}

.why-card-body {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-card-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.why-card-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.why-card-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 24px;
}

.why-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.why-pill {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 100px;
    transition: color 0.2s, border-color 0.2s;
}

.why-card:hover .why-pill {
    color: var(--accent);
    border-color: rgba(62, 243, 210, 0.25);
}

/* Node Graph */
.node-graph {
    width: 100%;
    max-width: 280px;
}

#node-svg {
    width: 100%;
    height: auto;
}

.node-line {
    stroke: rgba(34, 49, 74, 0.8);
    stroke-width: 1.5;
    stroke-dasharray: 5 4;
    transition: stroke 0.5s, opacity 0.5s, stroke-dasharray 0.5s, filter 0.5s;
}

.node-line.active {
    stroke: var(--accent);
    stroke-dasharray: none;
    opacity: 0.8;
    filter: drop-shadow(0 0 5px rgba(62, 243, 210, 0.55));
}

.center-node-bg {
    fill: var(--bg);
    stroke: var(--border);
    stroke-width: 1.5;
    transition: stroke 0.3s;
}

.why-card:hover .center-node-bg {
    stroke: rgba(62, 243, 210, 0.4);
}

.center-logo-line1 {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 800;
    fill: var(--text);
    letter-spacing: -0.02em;
}

.center-logo-line2 {
    font-family: 'DM Mono', monospace;
    font-size: 7px;
    fill: var(--accent);
    letter-spacing: 0.06em;
}

.orbit-bg {
    fill: var(--bg);
    stroke: rgba(34, 49, 74, 0.9);
    stroke-width: 1.5;
    transition: fill 0.5s, stroke 0.5s;
}

.orbit-node:hover .orbit-bg,
.orbit-node.active .orbit-bg {
    fill: rgba(62, 243, 210, 0.1);
    stroke: var(--accent);
    filter: drop-shadow(0 0 8px rgba(62, 243, 210, 0.4));
}

.orbit-icon {
    font-size: 13px;
    fill: rgba(161, 170, 189, 0.5);
    font-family: sans-serif;
    transition: fill 0.5s;
}

.orbit-node:hover .orbit-icon,
.orbit-node.active .orbit-icon {
    fill: var(--accent);
}

.orbit-label {
    font-family: 'DM Mono', monospace;
    font-size: 8px;
    fill: rgba(161, 170, 189, 0.5);
    letter-spacing: 0.06em;
    transition: fill 0.5s;
}

.orbit-node:hover .orbit-label,
.orbit-node.active .orbit-label {
    fill: var(--accent);
}

.pulse-ring {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1;
    opacity: 0;
    animation: pulse-ring-anim 3s ease-out infinite;
}

@keyframes pulse-ring-anim {
    0% {
        r: 34;
        opacity: 0.5;
    }

    100% {
        r: 60;
        opacity: 0;
    }
}

/* Terminal */
.stack-terminal {
    width: 100%;
    max-width: 320px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(7, 10, 15, 0.8);
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 10, 15, 0.95);
}

.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.t-dot.dot-red {
    background: #fb7185;
}

.t-dot.dot-yellow {
    background: #fbbf24;
}

.t-dot.dot-green {
    background: #34d399;
}

.t-lang-badge {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--accent);
    transition: color 0.3s;
}

.terminal-body {
    padding: 16px;
    height: 200px;
    overflow: hidden;
}

.t-line {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.7;
    color: var(--muted);
}

.t-indent {
    padding-left: 16px;
}

.t-empty {
    height: 12px;
}

.t-comment {
    color: #4a5a72;
    font-style: italic;
}

.t-kw {
    color: #c792ea;
}

.t-fn {
    color: #82aaff;
}

.t-str {
    color: var(--accent);
    opacity: 0.9;
}

.t-punc {
    color: var(--muted);
    opacity: 0.6;
}

.t-cursor {
    display: inline-block;
    color: var(--accent);
    animation: blink-cursor 1s step-end infinite;
    margin-top: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
}

@keyframes blink-cursor {
    50% {
        opacity: 0;
    }
}

.stack-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-top: 1px solid var(--border);
    padding: 10px 14px;
}

.stack-logo-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--muted);
    padding: 4px 12px;
    transition: color 0.3s;
}

.stack-logo-item.active {
    color: var(--accent);
}

.stack-logo-item svg {
    stroke: currentColor;
}

.stack-logo-divider {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--border);
    padding: 0 8px;
}

/* Security stack */
.security-stack {
    width: 100%;
    max-width: 320px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(7, 10, 15, 0.8);
    position: relative;
}

.sec-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    z-index: 2;
}

.sec-layer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    transition: opacity 0.3s, background 0.3s;
    opacity: 0.5;
}

.sec-layer:last-child {
    border-bottom: none;
}

.sec-layer.activated {
    opacity: 1;
    background: rgba(62, 243, 210, 0.04);
}

.sec-layer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sec-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
}

.sec-layer.activated .sec-dot {
    background: var(--accent);
    box-shadow: 0 0 8px rgba(62, 243, 210, 0.6);
}

.sec-name {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--muted);
    transition: color 0.3s;
}

.sec-layer.activated .sec-name {
    color: var(--text);
}

.sec-layer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sec-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.06em;
    color: var(--muted);
    opacity: 0.5;
}

.sec-check {
    font-size: 12px;
    color: var(--success);
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: 700;
}

.sec-layer.activated .sec-check {
    opacity: 1;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .process-grid::before {
        display: none;
    }

    .pricing-main-grid {
        grid-template-columns: 1fr;
    }

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

    .projects-row {
        grid-template-columns: 1fr;
    }

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

    .vs-divider-col {
        display: none;
    }

    .seo-dual {
        grid-template-columns: 1fr;
    }

    .seo-insights {
        grid-template-columns: 1fr;
    }

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

    .why-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .why-card-reverse {
        direction: ltr;
    }

    .why-card-visual {
        border-right: none;
        border-bottom: 1px solid var(--border);
        min-height: 260px;
    }

    .why-card-reverse .why-card-visual {
        border-left: none;
        border-bottom: 1px solid var(--border);
    }

    .why-card-body {
        padding: 32px 28px;
    }
}

@media (max-width: 600px) {
    .hero-content {
        padding-top: 88px;
    }

    .section {
        padding: 80px 0;
    }

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

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

    .comparison-tabs {
        flex-wrap: wrap;
    }

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

    .project-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
