.ws-ai-home *,
.ws-ai-home *::before,
.ws-ai-home *::after {
    box-sizing: border-box;
}

.ws-ai-home .ambient-orb {
    position: fixed;
    top: 0;
    left: 0;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    background: oklch(58% 0.18 255 / 0.04);
    animation: ws-ai-home-orb-drift 16s ease-in-out infinite;
    transform: translate(-30%, -20%);
}

.ws-ai-home .hero {
    padding: 5rem 0 5rem;
    padding-bottom: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg) 0%, oklch(97% 0.004 250) 100%);
}

.ws-ai-home .hero-badge {
    display: inline-block;
    padding: 0.25rem 0.9rem;
    border-radius: 100px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 560;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.ws-ai-home .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 620;
    line-height: 1.08;
    letter-spacing: -0.025em;
    max-width: 800px;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
}

.ws-ai-home .hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.ws-ai-home .hero p {
    font-size: 1.2rem;
    color: var(--muted);
    max-width: 540px;
    margin: 0 auto 2.5rem;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

.ws-ai-home .hero-actions {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.ws-ai-home .hero-link {
    display: inline-block;
    margin-top: 1.25rem;
    position: relative;
    z-index: 1;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 520;
    letter-spacing: 0.01em;
    transition: color 180ms ease;
}

.ws-ai-home .hero-link:hover {
    color: oklch(48% 0.16 255);
}

.ws-ai-home .hero-link span {
    display: inline-block;
    transition: transform 200ms ease;
}

.ws-ai-home .hero-link:hover span {
    transform: translateX(3px);
}

.ws-ai-home .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 560;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-body);
}

.ws-ai-home .btn-primary {
    background: var(--fg);
    color: var(--surface);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ws-ai-home .btn-primary:hover {
    background: oklch(28% 0.012 250);
    color: var(--surface);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ws-ai-home .btn-secondary {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--border);
}

.ws-ai-home .btn-secondary:hover {
    color: var(--fg);
    border-color: var(--muted);
    background: oklch(97% 0.004 250);
}

.ws-ai-home .btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.ws-ai-home .btn-outline:hover {
    background: var(--accent-dim);
    color: var(--accent);
    transform: translateY(-1px);
}

.ws-ai-home .hero-visual {
    margin-top: 4rem;
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.ws-ai-home .hero-visual-inner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 32px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.ws-ai-home .hero-visual-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.ws-ai-home .hero-visual-dot:nth-child(1) {
    background: var(--accent);
}

.ws-ai-home .hero-visual-dot:nth-child(2),
.ws-ai-home .hero-visual-dot:nth-child(3) {
    background: var(--border);
}

.ws-ai-home .hero-visual-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ws-ai-home .hero-visual-line {
    height: 8px;
    border-radius: 4px;
    background: var(--border);
}

.ws-ai-home .hero-visual-line:nth-child(1) {
    width: 70%;
}

.ws-ai-home .hero-visual-line:nth-child(2) {
    width: 100%;
    background: oklch(94% 0.004 250);
}

.ws-ai-home .hero-visual-line:nth-child(3) {
    width: 55%;
}

.ws-ai-home .hero-visual-line:nth-child(4) {
    width: 85%;
    background: oklch(94% 0.004 250);
}

.ws-ai-home section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.ws-ai-home section:nth-of-type(even) {
    background: oklch(97.5% 0.003 250);
}

.ws-ai-home .section-label {
    font-size: 0.8rem;
    font-weight: 560;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.ws-ai-home .section-heading {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 620;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.ws-ai-home .section-sub {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 560px;
    line-height: 1.55;
}

.ws-ai-home .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.ws-ai-home .section-header .section-sub {
    margin: 0 auto;
}

.ws-ai-home .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ws-ai-home .feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.ws-ai-home .feature-card:hover {
    border-color: oklch(85% 0.006 250);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 20px rgba(0, 0, 0, 0.06);
}

.ws-ai-home .feature-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
    font-size: 1.1rem;
}

.ws-ai-home .feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 590;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.ws-ai-home .feature-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.ws-ai-home .template-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.ws-ai-home .template-card:hover {
    border-color: oklch(85% 0.006 250);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.ws-ai-home .template-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ws-ai-home .template-preview {
    height: 280px;
    background: oklch(98.5% 0.002 250);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
}

.ws-ai-home .template-preview-inner {
    width: 100%;
    height: 100%;
    max-width: 220px;
    background: oklch(99.5% 0.001 260);
    border: 1px solid oklch(90% 0.005 250);
    border-radius: 3px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.ws-ai-home .template-preview-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.ws-ai-home .template-preview-placeholder {
    width: 100%;
    height: 100%;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ws-ai-home .tp-line {
    height: 2px;
    border-radius: 1px;
    background: var(--border);
}

.ws-ai-home .tp-heading {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--fg);
    text-align: center;
}

.ws-ai-home .tp-text {
    font-family: var(--font-display);
    font-size: 7px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    text-align: center;
    line-height: 1.6;
}

.ws-ai-home .template-info {
    padding: 1.25rem 1.5rem;
}

.ws-ai-home .template-info h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 590;
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
    color: var(--fg);
}

.ws-ai-home .template-tag {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.ws-ai-home .templates-cta,
.ws-ai-home .templates-empty {
    text-align: center;
    margin-top: 2.5rem;
}

.ws-ai-home .templates-empty p {
    color: var(--muted);
}

/* ── How it works ── */

.ws-ai-home .steps-wrapper {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.ws-ai-home .steps-connector {
    position: absolute;
    top: 52px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 1px;
    background: repeating-linear-gradient(90deg,
            var(--border) 0,
            var(--border) 6px,
            transparent 6px,
            transparent 14px);
    z-index: 0;
}

.ws-ai-home .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.ws-ai-home .step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem 1.75rem;
    text-align: center;
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.ws-ai-home .step-card:hover {
    border-color: oklch(85% 0.006 250);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}


.ws-ai-home .step-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid oklch(88% 0.04 255 / 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--accent);
    transition: background 200ms ease, border-color 200ms ease;
}

.ws-ai-home .step-card:hover .step-icon {
    background: oklch(91% 0.06 255 / 0.6);
    border-color: oklch(80% 0.08 255 / 0.6);
}

.ws-ai-home .step-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 590;
    letter-spacing: -0.01em;
    margin-bottom: 0.65rem;
}

.ws-ai-home .step-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.ws-ai-home .step-card p strong {
    color: var(--fg);
    font-weight: 560;
}

.ws-ai-home .step-action {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: auto;
}

.ws-ai-home .step-cta-hint {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 520;
    letter-spacing: 0.01em;
}

.ws-ai-home .steps-cta {
    text-align: center;
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

/* ── Animations ── */

.ws-ai-home .hero-badge,
.ws-ai-home .hero h1,
.ws-ai-home .hero p,
.ws-ai-home .hero-actions,
.ws-ai-home .hero-link,
.ws-ai-home .hero-visual {
    animation: ws-ai-home-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ws-ai-home .hero h1 {
    animation-delay: 0.08s;
}

.ws-ai-home .hero p {
    animation-delay: 0.16s;
}

.ws-ai-home .hero-actions {
    animation-delay: 0.22s;
}

.ws-ai-home .hero-link {
    animation-delay: 0.28s;
}

.ws-ai-home .hero-visual {
    animation-delay: 0.32s;
}

@keyframes ws-ai-home-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ws-ai-home-orb-drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -18px) scale(1.04);
    }

    66% {
        transform: translate(-18px, 14px) scale(0.97);
    }
}

@media (max-width: 900px) {

    .ws-ai-home .features-grid{
        grid-template-columns: repeat(3, 1fr);
    }

    .ws-ai-home .steps-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .ws-ai-home .steps-connector {
        display: none;
    }
}

@media (max-width: 768px) {
    .ws-ai-home .hero {
        padding: 3rem 0;
        padding-bottom: 0;
    }

    .ws-ai-home .hero h1 {
        font-size: 2rem;
    }

    .ws-ai-home .hero p {
        font-size: 1.05rem;
    }

    .ws-ai-home .hero-visual-inner {
        padding: 1.25rem;
    }

    .ws-ai-home section {
        padding: 3rem 0;
    }

    .ws-ai-home .section-heading {
        font-size: 1.6rem;
    }
}

@media (max-width: 600px) {

    .ws-ai-home .features-grid {
        grid-template-columns: 1fr;
    }
}

.ws-ai-home .steps-wrapper {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.ws-ai-home .steps-connector {
    position: absolute;
    top: 44px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 1px;
    background: repeating-linear-gradient(90deg,
            var(--border) 0,
            var(--border) 6px,
            transparent 6px,
            transparent 14px);
    z-index: 0;
}

.ws-ai-home .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.ws-ai-home .step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.ws-ai-home .step-card:hover {
    border-color: oklch(85% 0.006 250);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.ws-ai-home .step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid oklch(88% 0.04 255 / 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--accent);
    transition: background 200ms ease;
}

.ws-ai-home .step-card:hover .step-icon {
    background: oklch(91% 0.06 255 / 0.6);
}

.ws-ai-home .step-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 590;
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
}

.ws-ai-home .step-card p {
    color: var(--muted);
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
}

.ws-ai-home .step-card p strong {
    color: var(--fg);
    font-weight: 560;
}

@media (max-width: 900px) {
    .ws-ai-home .steps-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }

    .ws-ai-home .steps-connector {
        display: none;
    }
}

.ws-ai-home .how-it-works-video {
    max-width: 860px;
    margin: 3rem auto 0;
}

.ws-ai-home .video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.07);
    background: var(--surface);
}

.ws-ai-home .video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
/* FAQ */

.ws-ai-home .faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ws-ai-home .faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.ws-ai-home .faq-item.is-open {
    border-color: oklch(85% 0.006 250);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 28px rgba(0, 0, 0, 0.06);
}

.ws-ai-home .faq-item h3 {
    margin: 0;
}

.ws-ai-home .faq-question {
    width: 100%;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    border: 0;
    background: transparent;
    color: var(--fg);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 590;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: left;
    cursor: pointer;
}

.ws-ai-home .faq-question:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -4px;
}

.ws-ai-home .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    flex: 0 0 auto;
    position: relative;
    transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.ws-ai-home .faq-icon::before,
.ws-ai-home .faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: transform 200ms ease;
}

.ws-ai-home .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.ws-ai-home .faq-item.is-open .faq-icon {
    background: var(--accent-dim);
    border-color: oklch(88% 0.04 255 / 0.5);
    transform: rotate(180deg);
}

.ws-ai-home .faq-item.is-open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.ws-ai-home .faq-answer {
    padding: 0 1.35rem 1.25rem;
}

.ws-ai-home .faq-answer p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

@media (max-width: 600px) {
    .ws-ai-home .faq-question {
        min-height: 62px;
        padding: 1rem;
        font-size: 0.95rem;
    }

    .ws-ai-home .faq-answer {
        padding: 0 1rem 1rem;
    }
}
