:root {
    --bg: #050714;
    --bg-soft: #0b1030;
    --bg-card: #10163f;
    --bg-card-alt: #0f1b44;
    --stroke: rgba(255, 255, 255, 0.12);
    --stroke-hover: rgba(255, 255, 255, 0.22);
    --text: #f4f6ff;
    --muted: #b0b8e0;
    --accent: #11c459;
    --accent-hover: #0fd95f;
    --accent-soft: rgba(17, 196, 89, 0.15);
    --gradient: radial-gradient(circle at top, rgba(28, 90, 255, 0.25), transparent 55%), radial-gradient(circle at 20% 80%, rgba(80, 18, 188, 0.25), transparent 60%);
    --transition-fast: 0.2s ease;
    --transition-med: 0.35s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #050714 0%, #0c1433 40%, #050714 100%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(5, 7, 20, 0.85);
    border-bottom: 1px solid var(--stroke);
    transition: background var(--transition-med);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    font-size: 1rem;
    white-space: nowrap;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.nav-links a {
    color: var(--muted);
    transition: color var(--transition-fast);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width var(--transition-med);
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition-med), opacity var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

main {
    flex: 1;
}

section {
    padding: clamp(4rem, 7vw, 6.5rem) 5vw;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.85rem;
    color: var(--accent);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.15;
    margin: 1rem 0 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero p {
    color: var(--muted);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.download-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.download-badges a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.download-badges a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.download-badges img {
    height: 48px;
    width: auto;
    border-radius: 10px;
    display: block;
}

.hero-media {
    position: relative;
    min-height: clamp(420px, 55vw, 620px);
    border-radius: 32px;
    padding: 1.5rem;
    background: var(--gradient);
    overflow: hidden;
}

.hero-media img {
    position: absolute;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(7, 9, 20, 0.65);
    height: auto;
}

.hero-media .hero-bg {
    inset: 5% 10% auto;
    width: 80%;
    opacity: 0.3;
    filter: blur(4px);
    box-shadow: none;
}

.hero-media .main-phone {
    width: min(55%, 360px);
    right: 10%;
    top: 5%;
    z-index: 2;
}

.hero-media .secondary-phone {
    width: min(45%, 300px);
    left: 8%;
    bottom: 4%;
    z-index: 1;
}

.hero-media .status-card {
    width: 60%;
    left: 5%;
    top: 8%;
    border-radius: 18px;
}

.hero-media .folder-card {
    width: 22%;
    right: 6%;
    bottom: 8%;
    border-radius: 20px;
    padding: 0.75rem;
    background: var(--bg-card);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent-soft);
    border: 1px solid rgba(17, 196, 89, 0.2);
    border-radius: 999px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.trust-band {
    border-top: 1px solid var(--stroke);
    border-bottom: 1px solid var(--stroke);
    background: rgba(12, 20, 51, 0.65);
}

.trust-items {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.trust-items > div {
    padding: 0.5rem;
    position: relative;
}

.trust-items > div:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--stroke);
}

.trust-items strong {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.trust-items > div span,
.trust-items > div {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.4;
}

.feature-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--stroke);
    border-radius: 20px;
    padding: 2rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform var(--transition-med), border-color var(--transition-med), box-shadow var(--transition-med);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(28, 90, 255, 0.6));
    opacity: 0;
    transition: opacity var(--transition-med);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--stroke-hover);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.split-block {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.split-block.reverse {
    direction: rtl;
}

.split-block.reverse > * {
    direction: ltr;
}

.split-text h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0 0 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.split-text > p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.split-text ul {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.split-text li {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-left: 1.25rem;
    border-left: 2px solid var(--accent);
}

.split-text li span {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.split-text li strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
}

.split-media {
    border-radius: 24px;
    background: var(--bg-card-alt);
    border: 1px solid var(--stroke);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.split-media:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.split-media img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(4, 5, 14, 0.5);
}

.transcribe {
    background: linear-gradient(135deg, rgba(41, 123, 255, 0.12), rgba(17, 196, 89, 0.08));
    border: 1px solid var(--stroke);
    border-radius: 28px;
    padding: clamp(2.5rem, 5vw, 4rem);
    max-width: 1200px;
    margin: 0 auto 3rem;
    text-align: center;
}

.transcribe h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.transcribe p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.transcribe img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    max-width: 100%;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin: 0.75rem 0 0;
    letter-spacing: -0.02em;
}

.faq-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.faq-card {
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 1.75rem;
    background: var(--bg-card);
    transition: transform var(--transition-med), border-color var(--transition-med), box-shadow var(--transition-med);
}

.faq-card:hover {
    transform: translateY(-3px);
    border-color: var(--stroke-hover);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.faq-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.faq-card h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

footer {
    border-top: 1px solid var(--stroke);
    background: #040611;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 5vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.footer-desc {
    color: var(--muted);
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-content ul li {
    margin-bottom: 0.4rem;
}

.footer-content ul a {
    color: var(--muted);
    transition: color var(--transition-fast);
}

.footer-content ul a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--stroke);
    color: var(--muted);
    font-size: 0.85rem;
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Responsive --- */

@media (max-width: 960px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(5, 7, 20, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        font-size: 1rem;
        transition: right var(--transition-med);
        z-index: 100;
        border-left: 1px solid var(--stroke);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a::after {
        display: none;
    }

    .hero-media {
        min-height: 360px;
    }

    .hero-media img {
        position: absolute;
    }

    .split-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-items > div:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .nav {
        padding: 0.75rem 1rem;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero p {
        max-width: 100%;
    }

    .hero-media {
        min-height: auto;
    }

    .hero-media img {
        position: static;
        width: 100% !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
        margin-bottom: 1rem;
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .trust-items strong {
        font-size: 1.75rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}