/* nulis.top — clean SaaS marketing site */

:root {
    --bg: #09090b;
    --surface: #111113;
    --surface-elevated: #18181b;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.14);
    --text: #fafafa;
    --text-muted: #a1a1aa;
    --text-subtle: #71717a;
    --accent: #e63380;
    --accent-violet: #8b5cf6;
    --gradient: linear-gradient(135deg, #ff8c69 0%, #e63380 50%, #8b5cf6 100%);
    --site-scale: 1;
    --site-container: 72rem;
}

/* Subtle desktop scale (+5% from prior 1.06) */
@media (min-width: 1024px) {
    :root {
        --site-scale: 1.11;
        --site-container: 75rem;
    }
}

html {
    font-size: calc(100% * var(--site-scale));
}

body {
    background-color: var(--bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(230, 51, 128, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(139, 92, 246, 0.08), transparent);
}

/* Layout */
.saas-container {
    max-width: var(--site-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.saas-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .saas-section { padding-top: 6rem; padding-bottom: 6rem; }
}

.saas-section-hero {
    min-height: calc(100dvh - 3.5rem);
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.saas-section-hero .saas-container {
    width: 100%;
}

@media (min-width: 768px) {
    .saas-section-hero {
        padding-top: 2.5rem;
        padding-bottom: 1.25rem;
        margin-bottom: 2rem;
    }
}

/* Typography */
.saas-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.saas-heading {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text);
    line-height: 1.15;
}

.saas-subheading {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.65;
    max-width: 36rem;
}

/* Brand wordmark (header/footer — no image) */
.brand-wordmark {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.03em;
    color: var(--text);
    text-decoration: none;
}
.brand-wordmark .dot {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-website-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.375rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--gradient);
    border: none;
    transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.btn-website-primary:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(230, 51, 128, 0.25);
}

.btn-website-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.375rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
    transition: background 0.15s, border-color 0.15s;
}
.btn-website-outline:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-hover);
}

.btn-website-ghost {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: color 0.15s;
}
.btn-website-ghost:hover { color: var(--text); }

/* Cards */
.saas-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.saas-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.saas-card-flat {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
}

/* Hero product preview (CSS mockup) */
.hero-preview {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 24px 48px rgba(0, 0, 0, 0.4);
}
.hero-preview-bar {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.2);
}
.hero-preview-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}
.hero-preview-body { padding: 1.25rem; }
.hero-preview-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
}
.hero-preview-step.active {
    background: rgba(230, 51, 128, 0.1);
    color: var(--text);
    border: 1px solid rgba(230, 51, 128, 0.2);
}
.hero-preview-step-num {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 600;
    background: rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.hero-preview-step.active .hero-preview-step-num {
    background: var(--gradient);
    color: #fff;
}

/* Feature icon */
.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--accent);
    background: rgba(230, 51, 128, 0.1);
    border: 1px solid rgba(230, 51, 128, 0.15);
    margin-bottom: 1rem;
}

/* Step number (how it works) */
.step-badge {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: var(--gradient);
    margin-bottom: 0.75rem;
}

/* Pricing */
.pricing-card-popular {
    border-color: rgba(230, 51, 128, 0.35) !important;
    box-shadow: 0 0 0 1px rgba(230, 51, 128, 0.1), 0 8px 32px rgba(0,0,0,0.3);
    position: relative;
}
.pricing-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    background: rgba(230, 51, 128, 0.15);
    color: #f472b6;
    margin-bottom: 0.75rem;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.25rem 0;
    font-weight: 500;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--text); }
.faq-question {
    flex: 1;
    font-size: 1rem;
    line-height: 1.5;
}
.faq-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-subtle);
    margin-top: 0.125rem;
}
.faq-icon-open { display: none; }
.faq-item[open] .faq-icon-closed { display: none; }
.faq-item[open] .faq-icon-open { display: inline; }
.faq-item .faq-answer {
    padding-bottom: 1.25rem;
    padding-right: 2.75rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* CTA band */
.cta-band {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 3rem 2rem;
    text-align: center;
}

/* Stats */
.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}
.stat-label {
    font-size: 0.875rem;
    color: var(--text-subtle);
    margin-top: 0.25rem;
}

/* Testimonial */
.testimonial-card {
    padding: 1.5rem;
}
.testimonial-quote {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Auth */
.auth-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
    padding: 2rem;
}
.auth-input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-input:focus {
    border-color: rgba(230, 51, 128, 0.4);
    box-shadow: 0 0 0 3px rgba(230, 51, 128, 0.1);
}

.block-sortable-ghost { opacity: 0.4; background: #27272a; }

/* SEO Workflow Showcase — animated illustration (CSS, no external GIF) */
.seo-showcase-section {
    padding-top: 3rem;
    padding-bottom: 5rem;
}
.seo-showcase-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 70% 50%, rgba(139, 92, 246, 0.14), transparent),
        radial-gradient(ellipse 50% 40% at 30% 60%, rgba(230, 51, 128, 0.08), transparent);
    pointer-events: none;
}

.workflow-engine-frame {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.875rem;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 32px 64px rgba(0, 0, 0, 0.45);
}
.workflow-engine-bar {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.25);
}
.workflow-live-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: #34d399;
    animation: workflow-pulse 1.5s ease-in-out infinite;
}
.workflow-engine-canvas {
    position: relative;
    height: 20rem;
    background:
        radial-gradient(circle at 50% 50%, rgba(230, 51, 128, 0.06), transparent 55%),
        linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 40%);
    overflow: hidden;
}
.workflow-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.workflow-path {
    stroke: url(#workflow-gradient);
    stroke-width: 1.5;
    stroke-dasharray: 6 8;
    opacity: 0.35;
    animation: workflow-dash 3s linear infinite;
}
.workflow-path-1 { animation-delay: 0s; }
.workflow-path-2 { animation-delay: 0.4s; }
.workflow-path-3 { animation-delay: 0.8s; }
.workflow-path-4 { animation-delay: 1.2s; }
.workflow-path-5 { animation-delay: 1.6s; }
.workflow-path-6 { animation-delay: 2s; }

.workflow-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 5.5rem;
    height: 5.5rem;
    z-index: 2;
}
.workflow-core-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(230, 51, 128, 0.25);
}
.workflow-core-ring-1 {
    animation: workflow-ring 3s ease-out infinite;
}
.workflow-core-ring-2 {
    animation: workflow-ring 3s ease-out infinite 1.5s;
}
.workflow-core-inner {
    position: absolute;
    inset: 0.65rem;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(230,51,128,0.2), rgba(139,92,246,0.15));
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgba(230, 51, 128, 0.2);
}

.workflow-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    z-index: 3;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.55;
}
.workflow-node.is-active {
    opacity: 1;
    transform: scale(1.06);
}
.workflow-node-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #f9a8d4;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.workflow-node.is-active .workflow-node-icon {
    color: #fff;
    background: linear-gradient(135deg, rgba(230,51,128,0.35), rgba(139,92,246,0.25));
    border-color: rgba(230, 51, 128, 0.45);
    box-shadow: 0 0 20px rgba(230, 51, 128, 0.35);
}
.workflow-node-label {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-subtle);
}
.workflow-node.is-active .workflow-node-label {
    color: var(--text-muted);
}

.workflow-node--top { left: 50%; top: 8%; transform: translateX(-50%); }
.workflow-node--top-right { right: 10%; top: 18%; }
.workflow-node--bottom-right { right: 10%; bottom: 18%; }
.workflow-node--bottom { left: 50%; bottom: 8%; transform: translateX(-50%); }
.workflow-node--bottom-left { left: 10%; bottom: 18%; }
.workflow-node--top-left { left: 10%; top: 18%; }
.workflow-node--top.is-active { transform: translateX(-50%) scale(1.06); }
.workflow-node--bottom.is-active { transform: translateX(-50%) scale(1.06); }

.workflow-scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(230,51,128,0.04) 50%, transparent 100%);
    background-size: 100% 200%;
    animation: workflow-scan 4s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

.workflow-engine-footer {
    padding: 0.875rem 1rem;
    border-top: 1px solid var(--border);
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.workflow-phase-text { flex: 1; min-width: 0; }
.workflow-progress-track {
    width: 5rem;
    height: 0.25rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
    flex-shrink: 0;
}
.workflow-progress-fill {
    height: 100%;
    width: 30%;
    border-radius: inherit;
    background: var(--gradient);
    animation: workflow-progress 2.8s ease-in-out infinite;
}

@keyframes workflow-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0); }
}
@keyframes workflow-ring {
    0% { transform: scale(0.85); opacity: 0.6; }
    100% { transform: scale(1.35); opacity: 0; }
}
@keyframes workflow-dash {
    to { stroke-dashoffset: -28; }
}
@keyframes workflow-scan {
    0% { background-position: 0 -100%; }
    100% { background-position: 0 100%; }
}
@keyframes workflow-progress {
    0% { transform: translateX(-100%); width: 40%; }
    50% { width: 70%; }
    100% { transform: translateX(250%); width: 40%; }
}

@media (prefers-reduced-motion: reduce) {
    .workflow-path, .workflow-core-ring, .workflow-scanline,
    .workflow-progress-fill, .workflow-live-dot { animation: none; }
}
