/* app-sc.com — APP-SC (talk) · corporate */

:root {
    --navy: #0b1f3a;
    --navy-mid: #14325a;
    --navy-soft: #1e3a5f;
    --accent: #2b5ea7;
    --accent-hover: #234d8a;
    --accent-muted: #e8eef6;
    --dark: #0f172a;
    --text: #1e293b;
    --text-muted: #5c6b7e;
    --text-light: #94a3b8;
    --border: #d8e0ea;
    --border-light: #e8edf3;
    --bg: #ffffff;
    --bg-page: #f4f6f9;
    --bg-muted: #eef2f7;
    --radius: 4px;
    --radius-md: 6px;
    --container: 1160px;
    --shadow-sm: 0 1px 2px rgba(11, 31, 58, 0.06);
    --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.08);
    --transition: 0.18s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Header ── */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo__icon { width: 36px; height: 36px; flex-shrink: 0; }

.logo__text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.logo__talk {
    font-weight: 500;
    color: var(--accent);
    font-size: 0.92em;
    text-transform: lowercase;
    letter-spacing: 0;
}

.nav {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition);
}

.nav a:hover { color: var(--navy); }

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.lang-dropdown { position: relative; }

.lang-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.lang-dropdown__trigger:hover,
.lang-dropdown.is-open .lang-dropdown__trigger {
    border-color: var(--accent);
    background: var(--accent-muted);
}

.lang-dropdown__chevron {
    font-size: 0.6rem;
    color: var(--text-light);
    transition: transform var(--transition);
}

.lang-dropdown.is-open .lang-dropdown__chevron { transform: rotate(180deg); }

.lang-dropdown__flag {
    display: block;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.lang-dropdown__menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 120px;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 300;
}

.lang-dropdown__option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: background var(--transition);
}

.lang-dropdown__option:hover { background: var(--bg-muted); }

.lang-dropdown__option.is-selected {
    background: var(--accent-muted);
    color: var(--accent);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn--outline {
    background: var(--bg);
    color: var(--navy);
    border-color: var(--border);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-muted);
}

.btn--sm { padding: 8px 16px; font-size: 0.8125rem; }

/* ── Hero ── */
.hero {
    padding: 64px 0 72px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 31, 58, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(11, 31, 58, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.hero > .container { position: relative; z-index: 1; }

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.hero__label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 10px;
    background: var(--accent-muted);
    border: 1px solid #cdd9ea;
    border-radius: var(--radius);
}

.hero__title {
    font-size: clamp(1.875rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin: 0 0 20px;
    letter-spacing: -0.025em;
    max-width: 14ch;
}

.hero__desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 0 28px;
    line-height: 1.7;
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding-top: 4px;
    border-top: 1px solid var(--border-light);
}

.hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
}

.hero__trust-item i {
    color: var(--accent);
    font-size: 0.875rem;
    width: 16px;
    text-align: center;
}

.hero__visual { position: relative; }

.hero__visual-frame {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-muted);
    padding: 12px;
    box-shadow: var(--shadow-md);
}

.hero__mockup {
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

/* ── Stats strip ── */
.stats-strip {
    background: var(--navy);
    padding: 40px 0;
    text-align: center;
    color: #fff;
}

.stats-strip__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 12px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.stats-strip__number {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stats-strip__sub {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    margin: 10px 0 0;
    letter-spacing: 0.02em;
}

/* ── Section ── */
.section { padding: 80px 0; }

.section--gray { background: var(--bg-muted); }

.section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section__eyebrow {
    margin: 0 0 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.section__title {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.section__desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

/* ── Features ── */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.feature {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.feature:hover {
    border-color: #c5d0de;
    box-shadow: var(--shadow-sm);
}

.feature__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--accent-muted);
    border: 1px solid #cdd9ea;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.125rem;
    color: var(--accent);
}

.feature__title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 8px;
}

.feature__text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

.feature__tag {
    display: inline-block;
    margin-top: 14px;
    padding: 3px 8px;
    background: #f8f4e8;
    color: #7a6520;
    border: 1px solid #e8dfc0;
    border-radius: var(--radius);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── CTA band ── */
.cta-band {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    text-align: center;
    margin-top: 40px;
}

.cta-band__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 16px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Platforms ── */
.platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.platform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-width: 104px;
}

.platform i {
    font-size: 1.5rem;
    color: var(--navy-soft);
}

.platform span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* ── AI section ── */
.ai-section {
    background: var(--navy);
    color: #fff;
    border-top: 1px solid var(--navy-mid);
    border-bottom: 1px solid var(--navy-mid);
}

.ai-section .section__eyebrow { color: rgba(255, 255, 255, 0.5); }
.ai-section .section__title { color: #fff; }

.ai-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.ai-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 28px;
}

.ai-card__title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin: 0 0 10px;
    color: #fff;
}

.ai-card__text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.65;
}

.ai-section .feature__tag {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
}

.ai-highlight {
    margin-top: 32px;
    text-align: center;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
}

.ai-highlight strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.ai-highlight span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.ai-section .btn--primary {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.ai-section .btn--primary:hover {
    background: var(--accent-muted);
    border-color: var(--accent-muted);
    color: var(--navy);
}

/* ── Advantages ── */
.advantages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.advantage {
    text-align: left;
    padding: 24px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.advantage__icon {
    width: 48px;
    height: 48px;
    margin: 0 0 16px;
    border-radius: var(--radius);
    background: var(--accent-muted);
    border: 1px solid #cdd9ea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--accent);
}

.advantage__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 8px;
}

.advantage__text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

.onprem {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
}

.onprem__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 8px;
}

.onprem__text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.65;
}

/* ── Testimonials ── */
.testimonials {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.testimonial {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
}

.testimonial__stats {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.testimonial__stat strong {
    display: block;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.testimonial__stat span {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.testimonial__quote {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.7;
    margin: 0 0 16px;
    font-style: normal;
}

.testimonial__author {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--navy);
}

.testimonial__role {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* ── FAQ ── */
.faq {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0 24px;
}

.faq__item { border-bottom: 1px solid var(--border-light); }
.faq__item:last-child { border-bottom: none; }

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    cursor: pointer;
}

.faq__question i {
    color: var(--text-light);
    font-size: 0.75rem;
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq__item.is-open .faq__question i { transform: rotate(180deg); }

.faq__answer {
    display: none;
    padding: 0 0 18px;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq__item.is-open .faq__answer { display: block; }

/* ── Contact CTA ── */
.contact-cta {
    background: var(--bg);
    text-align: center;
    border-top: 1px solid var(--border);
}

.contact-cta .section__title { margin-bottom: 12px; }

.contact-cta__desc {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.contact-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.contact-cta__email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}

.contact-cta__email:hover { text-decoration: underline; color: var(--accent-hover); }

/* ── Footer ── */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.65);
    padding: 48px 0 28px;
    border-top: 3px solid var(--accent);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer__brand p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 12px 0 0;
    line-height: 1.65;
    max-width: 280px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__logo .logo__text { color: #fff; }
.footer__logo .logo__talk { color: rgba(255, 255, 255, 0.75); }

.footer h4 {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 12px;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 8px; }

.footer a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color var(--transition);
}

.footer a:hover { color: #fff; }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer__bottom p {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
    margin-top: 6px !important;
    font-size: 0.6875rem !important;
    letter-spacing: 0.02em;
}

/* ── Modal ── */
body.modal-open { overflow: hidden; }

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 58, 0.5);
    backdrop-filter: blur(3px);
}

.modal__dialog {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transform: translateY(8px);
    transition: transform 0.2s ease;
}

.modal.is-open .modal__dialog { transform: translateY(0); }

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}

.modal__close:hover { background: var(--bg-muted); color: var(--navy); }

.modal__header { text-align: center; margin-bottom: 24px; }
.modal__header .logo__icon { margin: 0 auto 14px; }

.modal__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 6px;
}

.modal__subtitle {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

.modal__form { display: flex; flex-direction: column; gap: 16px; }
.modal__field { display: flex; flex-direction: column; gap: 6px; }

.modal__field span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.modal__field input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--text);
    background: var(--bg-page);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.modal__field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(43, 94, 167, 0.12);
    background: var(--bg);
}

.modal__error {
    margin: 0;
    font-size: 0.8125rem;
    color: #b42318;
    text-align: center;
}

.modal__submit { width: 100%; }

/* ── Animations ── */
[data-aos] { opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease; }
[data-aos].aos-animate { opacity: 1; transform: none; }
[data-aos="fade-up"] { transform: translateY(16px); }

/* ── Responsive ── */
@media (min-width: 640px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .advantages { grid-template-columns: repeat(2, 1fr); }
    .testimonials { grid-template-columns: repeat(2, 1fr); }
    .ai-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .onprem { grid-template-columns: 1fr auto; }
}

@media (min-width: 900px) {
    .nav { display: flex; }
    .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
    .features { grid-template-columns: repeat(3, 1fr); }
    .advantages { grid-template-columns: repeat(4, 1fr); }
    .advantage { text-align: center; }
    .advantage__icon { margin-left: auto; margin-right: auto; }
}

@media (max-width: 639px) {
    .header__actions .btn--outline { display: none; }
    .hero { padding: 40px 0 48px; }
    .section { padding: 56px 0; }
    .hero__title { max-width: none; }
}
