* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Space Grotesk', 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top, #e5f2ff 0%, #f8fbff 60%, #ffffff 100%);
    color: #0f172a;
    line-height: 1.6;
}

.page {
    max-width: 1200px;
    margin: 0 auto;
}

.legal-page {
    background: #f6f8fc;
}

.legal-wrapper {
    max-width: 1200px;
    padding: 80px 0 120px;
}

.legal-header {
    margin-bottom: 40px;
}

.legal-header h1 {
    margin: 12px 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.back-link {
    text-decoration: none;
    font-weight: 600;
    color: #2563eb;
}

.legal-wrapper section {
    margin-bottom: 32px;
}

.legal-wrapper h2 {
    margin-bottom: 12px;
}

.legal-footer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    color: #475569;
}

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

.header {
    padding: 0px 0px;
}

.nav-shell,
.footer-shell {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.nav-shell {
    background: linear-gradient(135deg, #5ab4ff, #1e40ff);
    padding: 16px 0 16px;
    box-shadow: 0 20px 45px rgba(30, 64, 255, 0.25);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1200px, 100%);
    margin: 0 auto;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.2);
}

.nav-links {
    display: flex;
    gap: 20px;
    font-weight: 500;
    color: #0f172a;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    opacity: 0.85;
}

.nav-links a:hover {
    opacity: 1;
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.35);
}


.appstore-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
}

.appstore-badge img {
    width: 160px;
    height: auto;
}

.cta.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(37, 99, 235, 0.45);
}

.cta.ghost {
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #0f172a;
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    margin-top: 64px;
    align-items: center;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    font-weight: 600;
    color: #2563eb;
}

.hero-text h2 {
    font-size: clamp(1.4rem, 2vw, 2rem);
    margin: 16px 0;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.15rem;
    color: #334155;
    margin-bottom: 18px;
}

.hero-list {
    margin-top: 22px;
}

.hero-list li {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 36px;
    padding: 18px;
    box-shadow: 0 25px 80px rgba(15, 23, 42, 0.15);
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: hidden;
    align-items: center;
}

.hero-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
}

.hero-slider img {
    width: 100%;
    border-radius: 32px;
    display: block;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #0f172a;
    border: none;
    width: 28px;
    height: 48px;
    /* border-radius: 50%; */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 14px 30px rgba(15, 23, 42, 0.25); */
    /* transition: transform 0.2s ease, box-shadow 0.2s ease; */
    z-index: 2;
}

.hero-arrow svg {
    width: 18px;
    height: 18px;
}

.hero-arrow.prev {
    left: 16px;
}

.hero-arrow.next {
    right: 16px;
}

.hero-arrow:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.3);
}

.hero-slider-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    flex-wrap: wrap;
}

.hero-slider-caption p {
    flex: 1;
    color: #475569;
    text-align: center;
}

.hero-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 0;
    background: rgba(148, 163, 184, 0.6);
    cursor: pointer;
}

.hero-dot.active {
    background: #1d4ed8;
}

main {
    padding: 0;
}

.section {
    margin-top: 80px;
}

.section-header {
    max-width: 1024px;
    margin-bottom: 38px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 16px 0;
}

.features .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.features article {
    padding: 24px;
    border-radius: 20px;
    background: white;
    min-height: 200px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.automation .workflow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.workflow div {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.15));
    border-radius: 24px;
    padding: 24px;
}

.trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.trust-card {
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
}

.trust-card ul {
    list-style: disc;
    margin-left: 20px;
}

.pane-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.pane-panel {
    background: rgba(15, 23, 42, 0.85);
    color: white;
    border-radius: 24px;
    padding: 24px;
    min-height: 160px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.faq-grid article {
    padding: 20px 24px;
}

.faq-grid article + article {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.faq-grid article:nth-child(odd) {
    background: #ffffff;
}

.faq-grid article:nth-child(even) {
    background: rgba(59, 130, 246, 0.08);
}

.about {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(15, 23, 42, 0.08));
    border-radius: 32px;
    padding: 40px;
}

.about-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.about-pillars div {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.callout {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: white;
    border-radius: 30px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.legal {
    background: white;
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08);
}

.legal-card {
    margin-bottom: 24px;
}

.footer {
    padding: 16px 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.footer .logo span {
    color: white;
}

.footer-shell {
    background: linear-gradient(135deg, #0f1f4c, #1d4ed8);
    margin-top: 80px;
}

@media (max-width: 768px) {
    .page {
        padding: 0 16px 60px;
    }

    .nav {
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .callout {
        flex-direction: column;
        text-align: center;
    }

    .footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
