.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            transparent 35%,
            var(--active-bg, var(--background)) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-badge img {
    width: 100%;
    height: 100%;
}

.hero-main-title {
    font-size: clamp(40px, 5.5vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 400px;
    line-height: 1.5;
    margin-bottom: 32px;
}

.hero-trusted {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-trusted span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.trusted-logos {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-tertiary);
    opacity: 0.65;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 64px;
}

.hero-icons-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-center {
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--background);
    border-radius: 50%;
    padding: 60px;
    box-shadow: 0 0 60px 60px var(--background);
}

.hero-eyebrow {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin: 0;
}

.hero-title.black {
    color: var(--text-primary);
}

.hero-title.grey {
    color: var(--text-tertiary);
}

@keyframes smooth-ambient {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(6px, -10px) rotate(3deg);
    }

    66% {
        transform: translate(-6px, 8px) rotate(-3deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes float-icon {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-20px) rotate(4deg);
    }
}

.section-heading {
    text-align: center;
    font-size: clamp(32px, 5vw, 48px);
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.section-subheading {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.showcase-section {
    padding: 120px 0;
    background: var(--background);
    overflow: hidden;
}

.showcase-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.showcase-tabs {
    position: relative;
    display: inline-flex;
    background: var(--surface-sunken);
    padding: 6px;
    border-radius: var(--radius-full);
    gap: 4px;
}

.showcase-tab {
    position: relative;
    z-index: 1;
    padding: 3px 20px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    transition: color 0.2s;
}

.showcase-tab.active {
    color: var(--text-primary);
    background: var(--surface);
}

.showcase-grid-wrapper {
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    width: 100%;
    overflow: hidden;
    position: relative;
}

.showcase-grid {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 20px 0 40px;
    animation: marquee-scroll 45s linear infinite;
    will-change: transform;
}

.showcase-grid:hover,
.logo-ticker:hover {
    animation-play-state: paused;
}

@keyframes showcase-scroll {
    0% {
        transform: translateX(0);
    }

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

.showcase-card {
    width: 320px;
    min-width: 320px;
    height: 380px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.showcase-card-header {
    padding: 16px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.sc-content {
    padding: 24px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-y: auto;
    flex: 1;
}

.sc-content h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.sc-content p {
    margin-bottom: 12px;
}

.sc-content pre {
    position: relative;
    background: var(--code-bg);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.sc-content pre code {
    display: block;

    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%);

    mask-image: linear-gradient(to right,
            transparent 0%,
            black 8%,
            black 92%,
            transparent 100%);
}

.sc-content blockquote {
    border-left: 3px solid var(--text-primary);
    padding-left: 12px;
    margin-bottom: 12px;
    font-style: italic;
}

.sc-content ul {
    padding-left: 20px;
    list-style: disc;
    margin-bottom: 12px;
}

.testimonial-section {
    padding: 120px 24px;
}

.testimonial-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-soft);
}

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

.testimonial-name {
    font-weight: 700;
    font-size: 16px;
}

.testimonial-role {
    font-size: 14px;
    color: var(--text-tertiary);
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.logo-ticker-section {
    padding: 120px 0 80px;
    background: var(--background);
    overflow: hidden;
}

.ticker-action {
    text-align: center;
    margin-bottom: 64px;
}

.logo-ticker-wrapper {
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    width: 100%;
}

.logo-ticker {
    display: flex;
    width: max-content;
    animation: marquee-scroll 32s linear infinite;
    gap: 48px;
    padding: 0 24px;
    will-change: transform;
}

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

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

.logo-ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

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

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

.faq-section {
    padding: 120px 24px;
    background: var(--background);
    max-width: 800px;
    margin: 0 auto;
}

.faq-heading {
    margin-bottom: 48px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.faq-answer-inner {
    padding-bottom: 24px;
}

.faq-item.is-open .faq-answer {
    max-height: 200px;
}

.faq-item.is-open .faq-question svg {
    transform: rotate(180deg);
}

.site-footer {
    background: var(--surface);
    color: var(--text-primary);
    padding: 80px 32px 48px;
    border-radius: 36px 36px 0 0;
    margin-top: 80px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-brand h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-column-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--dur-fast) ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1100px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 500;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    transition: color var(--dur-fast) ease;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

.doc-page {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.doc-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 500;
}

.doc-meta-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.doc-title {
    font-size: clamp(32px, 6vw, 48px);
    margin-bottom: 24px;
    line-height: 1.1;
}

.doc-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.doc-footer {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.doc-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
}

.doc-loading,
.doc-error {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
}

.doc-error svg {
    width: 48px;
    height: 48px;
    color: var(--text-tertiary);
}

.doc-error h2 {
    font-size: 24px;
}

.doc-error p {
    color: var(--text-secondary);
}

.blur-word {
    display: inline-block;
    opacity: 0;
    filter: blur(12px);
    transform: translateY(10px);
    animation: blur-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes blur-in {
    0% {
        filter: blur(12px);
        opacity: 0;
        transform: translateY(10px);
    }

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