

:root {
    --aorbit-primary: #2E3192;
    --aorbit-secondary: #494dc7;
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: #1F2A1C;
    background: #FBFAF6;
    margin: 0;
    overflow-x: hidden; /* guards against any element accidentally forcing horizontal scroll on narrow screens */
}

h1, h2, h3 { font-family: 'Sora', sans-serif; }

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

/* ---------- Nav ---------- */
.landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px clamp(20px, 5vw, 64px);
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 250, 246, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(31, 42, 28, 0.08);
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1F2A1C;
    text-decoration: none;
}

.landing-brand img {
    height: 24px;
    width: 24px;
    /* border-radius: 1px; */
    /* object-fit: cover; */
}

.landing-brand-mark {
    height: 34px;
    width: 34px;
    border-radius: 9px;
    background: var(--aorbit-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.landing-nav-toggle {
    border: 1px solid rgba(31, 42, 28, 0.15);
    background: none;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.landing-nav-links { display: flex; align-items: center; gap: 28px; }
.landing-nav-links a:not(.btn) { color: #1F2A1C; text-decoration: none; font-size: 0.92rem; font-weight: 500; opacity: 0.8; }
.landing-nav-links a:not(.btn):hover { opacity: 1; }
.landing-nav-login { white-space: nowrap; }

@media (max-width: 991.98px) {
    .landing-nav-links {
        position: absolute; top: 100%; left: 0; right: 0;
        background: #FBFAF6; flex-direction: column; align-items: stretch;
        padding: 16px 20px 24px; border-bottom: 1px solid rgba(31, 42, 28, 0.08); gap: 14px;
    }
}

/* ---------- Buttons ---------- */
.landing-btn-primary {
    background: var(--aorbit-primary); color: #fff; border-radius: 999px;
    padding: 12px 26px; font-weight: 600; border: none;
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
    justify-content: center;
}
.landing-btn-primary:hover { filter: brightness(1.08); color: #fff; }
.landing-btn-outline {
    border: 1.5px solid rgba(31, 42, 28, 0.25); color: #1F2A1C; border-radius: 999px;
    padding: 12px 26px; font-weight: 600; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px; justify-content: center;
}
.landing-btn-outline:hover { border-color: var(--aorbit-primary); color: #1F2A1C; }

/* ---------- Hero ---------- */

.landing-hero {
    position: relative;
    padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px) clamp(60px, 10vw, 120px);
    /* background-image:
        linear-gradient(rgba(251, 250, 246, 0.92), rgba(251, 250, 246, 0.92)),
        url('../assets/hero.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.landing-hero-inner {
    max-width: 1180px; margin: 0 auto; display: grid;
    grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.landing-eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 0.14em;
    font-size: 0.72rem; font-weight: 700; color: var(--aorbit-primary); margin-bottom: 18px;
}
.landing-hero-copy h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.12; font-weight: 700;
    margin-bottom: 20px; letter-spacing: -0.01em;
}
.landing-hero-copy h1 span { color: var(--aorbit-primary); font-style: italic; }
.landing-hero-copy p { font-size: 1.08rem; color: rgba(31, 42, 28, 0.72); max-width: 46ch; margin-bottom: 32px; }
.landing-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.landing-hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.landing-hero-stats strong { display: block; font-family: 'Sora', sans-serif; font-size: 1.1rem; }
.landing-hero-stats span { font-size: 0.82rem; color: rgba(31, 42, 28, 0.6); }

.landing-hero-art { position: relative; height: 380px; }
.landing-hero-card {
    position: absolute; display: flex; align-items: center; gap: 14px;
    background: #fff; border-radius: 18px; padding: 18px 20px;
    box-shadow: 0 16px 40px rgba(20, 40, 15, 0.12); width: min(280px, 80%);
}
.landing-hero-card i {
    font-size: 1.4rem; color: var(--aorbit-primary); background: rgba(62, 123, 39, 0.1);
    height: 44px; width: 44px; border-radius: 12px; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.landing-hero-card strong { display: block; font-size: 0.92rem; }
.landing-hero-card span { font-size: 0.78rem; color: rgba(31, 42, 28, 0.55); }
.landing-hero-card-1 { top: 0; left: 0; --r: -3deg; animation: landingFloat 6s ease-in-out infinite; }
.landing-hero-card-2 { top: 140px; right: 0; --r: 2deg; animation: landingFloat 7s ease-in-out infinite 0.4s; }
.landing-hero-card-3 { bottom: 0; left: 40px; --r: -1.5deg; animation: landingFloat 6.5s ease-in-out infinite 0.8s; }

@keyframes landingFloat {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}
@media (prefers-reduced-motion: reduce) { .landing-hero-card { animation: none !important; } }

@media (max-width: 991.98px) {
    .landing-hero-inner { grid-template-columns: 1fr; }
    .landing-hero-art { height: 320px; margin-top: 12px; }
}
@media (max-width: 575.98px) {
    .landing-hero-card { width: 100%; max-width: 260px; padding: 14px 16px; }
    .landing-hero-art { height: 280px; }
    .landing-hero-actions { flex-direction: column; align-items: stretch; }
    .landing-hero-actions .btn { width: 100%; }
    .landing-hero-stats { gap: 20px; }
}

/* ---------- Sections ---------- */
.landing-section { padding: clamp(56px, 9vw, 100px) clamp(20px, 5vw, 64px); }
.landing-section-alt { background: #F1F5EC; }
.landing-section-inner { max-width: 1080px; margin: 0 auto; text-align: center; }
.landing-section h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; max-width: 30ch; margin: 0 auto 48px; }

.landing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; text-align: left; }
.landing-feature { background: #fff; border-radius: 18px; padding: 28px 24px; box-shadow: 0 8px 24px rgba(20, 40, 15, 0.06); }
.landing-feature i { font-size: 1.5rem; color: var(--aorbit-primary); margin-bottom: 14px; display: block; }
.landing-feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.landing-feature p { font-size: 0.9rem; color: rgba(31, 42, 28, 0.65); margin: 0; }

.landing-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; text-align: left; }
.landing-step-number {
    display: flex; align-items: center; justify-content: center; width: 36px; height: 36px;
    border-radius: 50%; background: var(--aorbit-primary); color: #fff; font-family: 'Sora', sans-serif;
    font-weight: 700; font-size: 0.9rem; margin-bottom: 14px;
}
.landing-step h3 { font-size: 1rem; margin-bottom: 6px; }
.landing-step p { font-size: 0.88rem; color: rgba(31, 42, 28, 0.65); margin: 0; }

@media (max-width: 575.98px) {
    .landing-section { padding-left: 16px; padding-right: 16px; }
    .landing-section h2 { margin-bottom: 32px; }
}

/* ---------- Demo form ---------- */
#demo .landing-section-inner { max-width: 640px; }
#demoFormStatus:empty { display: none; }
#demoFormStatus {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
}
#demoFormStatus.is-success { background: #E6F4EA; color: #1E4620; }
#demoFormStatus.is-error { background: #FBEAEA; color: #7A2020; }

/* ---------- Footer ---------- */
.landing-footer { background: #1F2A1C; color: rgba(255, 255, 255, 0.85); padding: 48px clamp(20px, 5vw, 64px) 24px; }
.landing-footer-inner {
    max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 32px;
    justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.landing-footer-brand { display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-weight: 700; }
.landing-footer-brand img { height: 30px; width: 30px; border-radius: 8px; object-fit: cover; }
.landing-footer-contact p { font-size: 0.85rem; margin-bottom: 6px; opacity: 0.75; }
.landing-footer-links { display: flex; flex-direction: column; gap: 8px; }
.landing-footer-links a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 0.88rem; }
.landing-footer-note { text-align: center; font-size: 0.78rem; opacity: 0.55; margin: 20px 0 0; }

@media (max-width: 575.98px) {
    .landing-footer-inner { flex-direction: column; gap: 24px; }
}
