/* Marketing homepage. Overrides index.html after its own styles. */

body.ds-home {
    background: #fff;
    color: var(--ds-ink);
}

body.ds-home .navbar {
    height: auto;
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid var(--ds-line);
    box-shadow: none;
}

body.ds-home .nav-container {
    height: 60px;
}

body.ds-home .logo-text {
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -0.03em;
    color: var(--ds-ink);
}

body.ds-home .nav-links {
    gap: 1.25rem;
}

body.ds-home .nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ds-ink-secondary);
}

body.ds-home .nav-links a:hover {
    color: var(--ds-ink);
}

body.ds-home .nav-links .btn-primary {
    background: var(--ds-ink);
    color: #fff !important;
    border-radius: 999px;
    padding: 7px 14px !important;
    font-size: 13px;
    font-weight: 560;
    box-shadow: none;
}

body.ds-home .nav-links .btn-primary:hover {
    background: #000;
    transform: none;
    box-shadow: none;
}

body.ds-home .lang-switch-btn {
    border: 1px solid var(--ds-line-strong);
    color: var(--ds-ink);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
}

body.ds-home .lang-switch-btn:hover {
    background: var(--ds-ink);
    color: #fff;
}

body.ds-home h2,
body.ds-home h2[data-i18n],
body.ds-home [data-i18n="aboutTitle"],
body.ds-home [data-i18n="featuresTitle"],
body.ds-home [data-i18n="demoTitle"],
body.ds-home h2[data-i18n="contactTitle"] {
    font-size: 32px !important;
    font-weight: 640;
    letter-spacing: -0.03em;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    text-align: center;
}

body.ds-home h2::after {
    display: none;
}

body.ds-home section {
    padding: 72px 0;
}

body.ds-home .hero {
    padding: 132px 0 88px;
    background: #fff;
    border-bottom: 1px solid var(--ds-line);
}

body.ds-home .hero-bg-shapes {
    display: none;
}

body.ds-home .hero h1 {
    font-size: clamp(40px, 5vw, 64px);
    letter-spacing: -0.045em;
    font-weight: 650;
    line-height: 1.05;
    margin-bottom: 16px;
}

body.ds-home .hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: var(--ds-ink-secondary);
    max-width: 640px;
    margin: 0 auto 12px;
}

body.ds-home .hero p {
    font-size: 16px;
    color: var(--ds-muted);
    max-width: 620px;
    margin: 0 auto 28px;
}

body.ds-home .btn {
    border-radius: 999px;
    font-weight: 560;
    padding: 10px 18px;
    box-shadow: none;
}

body.ds-home .btn-primary {
    background: var(--ds-ink);
    box-shadow: none;
}

body.ds-home .btn-primary:hover {
    background: #000;
    transform: none;
    box-shadow: none;
}

body.ds-home .btn-outline {
    color: var(--ds-ink);
    border: 1px solid var(--ds-line-strong);
}

body.ds-home .btn-outline:hover {
    background: var(--ds-bg-subtle);
    color: var(--ds-ink);
}

body.ds-home .about-grid {
    padding: 8px 0 0;
    gap: 48px;
}

body.ds-home .stat-card {
    border: 1px solid var(--ds-line);
    border-bottom: 1px solid var(--ds-line);
    box-shadow: none;
    border-radius: 14px;
    padding: 20px 16px;
    text-align: left;
}

body.ds-home .stat-number {
    font-size: 28px;
    letter-spacing: -0.04em;
    color: var(--ds-ink);
}

body.ds-home .features-section,
body.ds-home .demo-section {
    background: #fafafa;
}

body.ds-home .feature-card {
    background: #fff;
    border: 1px solid var(--ds-line);
    border-radius: 16px;
    text-align: left;
    padding: 22px 20px;
    box-shadow: none;
}

body.ds-home .feature-card:hover {
    transform: none;
    border-color: var(--ds-line-strong);
    box-shadow: none;
    background: #fff;
}

body.ds-home .icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ds-bg-subtle);
    margin: 0 0 14px;
}

body.ds-home .icon-wrapper svg {
    width: 18px;
    height: 18px;
    stroke: var(--ds-ink);
}

body.ds-home .feature-card h3 {
    font-size: 16px;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

body.ds-home .carousel-slide,
body.ds-home .contact-card,
body.ds-home .footer {
    border-color: var(--ds-line);
}

body.ds-home #demo .carousel-container {
    border: 1px solid var(--ds-line);
    border-radius: 16px;
    box-shadow: none;
    background: #fff;
}

body.ds-home .demo-input,
body.ds-home .demo-output {
    background: #fafafa;
    border: 1px solid var(--ds-line);
    border-left: none;
    border-radius: 12px;
}

@media (max-width: 768px) {
    body.ds-home .hero {
        padding: 108px 0 56px;
    }

    body.ds-home .hero h1 {
        font-size: 36px;
    }

    body.ds-home section {
        padding: 48px 0;
    }

    body.ds-home .cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    body.ds-home .about-grid,
    body.ds-home .stats-grid {
        grid-template-columns: 1fr;
    }
}
