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

html,
body {
    margin: 0;
    padding: 0;
    background: #0a1228;
    font-family: "IBM Plex Sans", sans-serif;
    color: #f4ecd6;
    scroll-behavior: smooth;
}

/* ── Keyframes ── */
@keyframes apeSpin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes apeTwinkle {
    0%,
    100% {
        opacity: 0.25;
        transform: scale(0.7);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}
@keyframes apeFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ── Wrapper ── */
.page {
    width: 100%;
    background: #0a1228;
    overflow: hidden;
}

/* ── Nav ── */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    position: relative;
    z-index: 6;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 50% 34%,
        #f6d579,
        #c1881f
    );
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(242, 193, 78, 0.4);
    flex-shrink: 0;
}
.logo-face {
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0a1228;
}
.logo-eye-l,
.logo-eye-r {
    position: absolute;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f6d579;
}
.logo-eye-l {
    left: 4px;
}
.logo-eye-r {
    right: 4px;
}
.logo-name-ape {
    font-family: "Spectral", serif;
    font-style: italic;
    font-size: 21px;
    color: #f4ecd6;
}
.logo-name-robotics {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #9bb4d8;
    margin-left: -2px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
}
.nav-link {
    color: #cdd9ef;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 40px;
    background: linear-gradient(180deg, #f2c14e, #dba62f);
    color: #1a1408;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(242, 193, 78, 0.32);
}

/* ── Hero ── */
.hero {
    position: relative;
    padding: 96px 48px 124px;
    overflow: hidden;
    background:
        radial-gradient(
            900px 520px at 78% 12%,
            rgba(242, 193, 78, 0.2),
            transparent 62%
        ),
        radial-gradient(
            820px 640px at 12% 28%,
            rgba(47, 111, 176, 0.4),
            transparent 60%
        ),
        radial-gradient(
            680px 520px at 62% 80%,
            rgba(29, 74, 143, 0.42),
            transparent 62%
        ),
        linear-gradient(
            165deg,
            #0a1228 0%,
            #0f1d3f 48%,
            #0a1530 100%
        );
}
.hero-swirl-1 {
    position: absolute;
    inset: -25%;
    z-index: 1;
    opacity: 0.45;
    pointer-events: none;
    background: conic-gradient(
        from 40deg at 38% 42%,
        rgba(47, 111, 176, 0),
        rgba(86, 140, 200, 0.55) 25%,
        rgba(22, 48, 107, 0.05) 50%,
        rgba(110, 160, 215, 0.5) 72%,
        rgba(47, 111, 176, 0) 100%
    );
    filter: blur(40px);
    animation: apeSpin 90s linear infinite;
}
.hero-swirl-2 {
    position: absolute;
    inset: -12% -10% 0 -10%;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
    background: conic-gradient(
        from 220deg at 70% 60%,
        rgba(70, 120, 180, 0),
        rgba(150, 185, 230, 0.5) 30%,
        rgba(30, 60, 120, 0.05) 55%,
        rgba(90, 150, 210, 0.45) 80%,
        rgba(70, 120, 180, 0)
    );
    filter: blur(48px);
    animation: apeSpin 120s linear infinite reverse;
}
.hero-moon {
    position: absolute;
    top: 64px;
    right: 104px;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    z-index: 2;
    background: radial-gradient(
        circle at 40% 40%,
        #f9eec0,
        #e8c45f 54%,
        rgba(232, 196, 95, 0) 72%
    );
    box-shadow: 0 0 70px 18px rgba(242, 193, 78, 0.32);
    animation: apeFloat 9s ease-in-out infinite;
}
.hero-stars {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    inset: 0;
}
.star {
    position: absolute;
    border-radius: 50%;
    background: #f7e8b3;
}
.hero-grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.22;
    mix-blend-mode: overlay;
    pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 170px;
}
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.hero-eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #9bb4d8;
    margin-bottom: 26px;
}
.hero-h1 {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: 66px;
    line-height: 1.06;
    letter-spacing: -0.5px;
    margin: 0;
    color: #f7f0db;
}
.hero-h1 em {
    font-style: italic;
    color: #f2c14e;
}
.hero-sub {
    max-width: 600px;
    margin: 30px auto 0;
    font-size: 19px;
    line-height: 1.65;
    color: #c7d2e8;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    border-radius: 40px;
    background: linear-gradient(180deg, #f2c14e, #dba62f);
    color: #1a1408;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(242, 193, 78, 0.34);
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 26px;
    border-radius: 40px;
    background: rgba(244, 236, 214, 0.06);
    color: #f4ecd6;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid rgba(244, 236, 214, 0.26);
}

/* ── Trusted by ── */
.trusted {
    background: #0a1228;
    padding: 66px 48px;
    border-top: 1px solid rgba(155, 180, 216, 0.12);
}
.trusted-inner {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}
.trusted-eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #9bb4d8;
    margin-bottom: 40px;
}
.trusted-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}
.trusted-card {
    display: block;
    text-align: left;
    background: linear-gradient(
        180deg,
        rgba(244, 236, 214, 0.055),
        rgba(244, 236, 214, 0.02)
    );
    border: 1px solid rgba(155, 180, 216, 0.14);
    border-radius: 18px;
    padding: 30px 32px;
    text-decoration: none;
    transition:
        border-color 0.18s,
        transform 0.18s;
}
.trusted-card:hover {
    border-color: rgba(242, 193, 78, 0.4);
    transform: translateY(-2px);
}
.trusted-head {
    display: flex;
    align-items: center;
    gap: 16px;
}
.trusted-logo {
    width: 54px;
    height: 54px;
    border-radius: 13px;
    object-fit: cover;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid rgba(155, 180, 216, 0.18);
}
.trusted-headtext {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.trusted-name {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 1;
    color: #f4ecd6;
}
.trusted-tag {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9bb4d8;
}
.trusted-desc {
    font-size: 15px;
    line-height: 1.62;
    color: #b3c2dd;
    margin: 12px 0 22px;
}
.trusted-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(155, 180, 216, 0.12);
}
.trusted-stat strong {
    font-family: "Spectral", serif;
    font-weight: 600;
    font-size: 28px;
    color: #f2c14e;
}
.trusted-stat span {
    font-size: 13px;
    color: #b3c2dd;
    margin-left: 8px;
}
.trusted-link {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: #f2c14e;
    white-space: nowrap;
}

/* ── Benefits ── */
.benefits {
    background: #0c1730;
    padding: 92px 48px;
    border-top: 1px solid rgba(155, 180, 216, 0.12);
}
.section-eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #9bb4d8;
}
.benefits-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}
.benefits-header h2 {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.12;
    margin: 16px 0 0;
    color: #f4ecd6;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 58px;
}
.benefit-card {
    background: linear-gradient(
        180deg,
        rgba(244, 236, 214, 0.055),
        rgba(244, 236, 214, 0.02)
    );
    border: 1px solid rgba(155, 180, 216, 0.14);
    border-radius: 18px;
    padding: 32px 30px;
}
.benefit-num {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    color: #f2c14e;
    letter-spacing: 0.1em;
}
.benefit-card h3 {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: 23px;
    margin: 14px 0 10px;
    color: #f4ecd6;
}
.benefit-card p {
    font-size: 15px;
    line-height: 1.66;
    color: #b3c2dd;
    margin: 0;
}

/* ── Features ── */
.features {
    background: #f4ecd6;
    color: #16203a;
    padding: 98px 48px;
}
.features-eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #2c5aa0;
}
.features-intro {
    max-width: 720px;
}
.features-intro h2 {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: 42px;
    line-height: 1.1;
    margin: 16px 0 0;
    color: #16203a;
}
.features-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: #3a486a;
    margin: 16px 0 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 52px;
}
.feature-card {
    border: 1px solid rgba(20, 32, 58, 0.12);
    border-radius: 20px;
    padding: 38px;
    background: #faf4e2;
}
.feature-tag {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: #2c5aa0;
}
.feature-card h3 {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: 27px;
    margin: 14px 0 12px;
    color: #16203a;
}
.feature-card p {
    font-size: 16px;
    line-height: 1.66;
    color: #3a486a;
    margin: 0;
}

/* ── Showcase ── */
.showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            800px 500px at 80% 20%,
            rgba(47, 111, 176, 0.3),
            transparent 60%
        ),
        linear-gradient(160deg, #0a1228, #0f1d3f);
}
.showcase-inner {
    position: relative;
    z-index: 2;
    padding: 96px 48px;
}
.showcase-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.showcase-header h2 {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.12;
    margin: 16px 0 0;
    color: #f4ecd6;
}
.showcase-header p {
    font-size: 17px;
    line-height: 1.6;
    color: #c7d2e8;
    margin: 16px 0 0;
}
.showcase-card {
    display: block;
    max-width: 980px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(242, 193, 78, 0.28);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
    text-decoration: none;
}
.showcase-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #0c1424;
    border-bottom: 1px solid rgba(155, 180, 216, 0.16);
}
.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dot-red {
    background: #e05c54;
}
.dot-amber {
    background: #e7b94e;
}
.dot-green {
    background: #5bb86a;
}
.showcase-url {
    margin-left: 14px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: #9bb4d8;
}
.showcase-preview {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0a1228;
}
.showcase-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.showcase-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        180deg,
        rgba(10, 18, 40, 0.04),
        rgba(10, 18, 40, 0.34)
    );
}
.play-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(242, 193, 78, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}
.play-triangle {
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 18px solid #1a1408;
    margin-left: 5px;
}
.showcase-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: #0c1424;
}
.showcase-footer span:first-child {
    font-size: 15px;
    color: #c7d2e8;
}
.showcase-footer strong {
    color: #f4ecd6;
}
.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f2c14e;
    font-weight: 600;
    font-size: 15px;
}

/* ── Value band ── */
.value-band {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 96px 48px;
    background:
        radial-gradient(
            700px 460px at 50% 10%,
            rgba(242, 193, 78, 0.12),
            transparent 60%
        ),
        linear-gradient(165deg, #0f1d3f, #0a1228);
}
.value-band blockquote {
    font-family: "Spectral", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 38px;
    line-height: 1.32;
    max-width: 840px;
    margin: 0 auto;
    color: #f4ecd6;
    padding: 0;
    border: none;
}
.value-band cite {
    display: block;
    font-family: "IBM Plex Mono", monospace;
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #9bb4d8;
    margin-top: 26px;
}

/* ── Contact ── */
.contact {
    background: #0c1730;
    padding: 96px 48px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    max-width: 1080px;
    margin: 0 auto;
    align-items: start;
}
.contact-left h2 {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.12;
    margin: 16px 0 0;
    color: #f4ecd6;
}
.contact-left p {
    font-size: 17px;
    line-height: 1.66;
    color: #c7d2e8;
    margin: 20px 0 0;
}
.contact-bullets {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
}
.contact-bullet {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b3c2dd;
    font-size: 15px;
}
.contact-bullet .diamond {
    color: #f2c14e;
}

/* Form card */
.form-card {
    background: rgba(244, 236, 214, 0.97);
    color: #16203a;
    border-radius: 22px;
    padding: 38px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-field label {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2c5aa0;
    display: block;
    margin-bottom: 7px;
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid rgba(20, 32, 58, 0.18);
    border-radius: 11px;
    background: #fff;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 15px;
    color: #16203a;
    outline: none;
    transition: border-color 0.15s;
}
.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(44, 90, 160, 0.5);
}
.form-field textarea {
    resize: vertical;
}
.form-submit {
    margin-top: 4px;
    padding: 15px 26px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(180deg, #f2c14e, #dba62f);
    color: #1a1408;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(242, 193, 78, 0.3);
    width: 100%;
}
.form-submit:hover {
    filter: brightness(1.05);
}

/* Confirmation */
.form-confirm {
    text-align: center;
    padding: 36px 8px;
    display: none;
}
.confirm-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: radial-gradient(
        circle at 50% 35%,
        #f6d579,
        #c1881f
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1408;
    font-size: 28px;
}
.form-confirm h3 {
    font-family: "Spectral", serif;
    font-weight: 500;
    font-size: 26px;
    margin: 0 0 10px;
    color: #16203a;
}
.form-confirm p {
    font-size: 15px;
    line-height: 1.6;
    color: #3a486a;
    margin: 0;
}

/* ── Footer ── */
.footer {
    background: #0a1228;
    padding: 40px 48px;
    border-top: 1px solid rgba(155, 180, 216, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 11px;
}
.footer-mark {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 50% 34%,
        #f6d579,
        #c1881f
    );
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-face {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0a1228;
}
.footer-eye-l,
.footer-eye-r {
    position: absolute;
    top: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #f6d579;
}
.footer-eye-l {
    left: 3px;
}
.footer-eye-r {
    right: 3px;
}
.footer-ape {
    font-family: "Spectral", serif;
    font-style: italic;
    font-size: 17px;
    color: #f4ecd6;
}
.footer-robotics {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #9bb4d8;
}
.footer-tagline {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: #6f86ad;
}

/* ── Mobile Navigation Toggle ── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #f4ecd6;
    border-radius: 2px;
    transition:
        transform 0.3s,
        opacity 0.3s;
}

/* ── Responsive Breakpoints ── */

/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
    .nav {
        padding: 20px 32px;
    }
    .hero {
        padding: 72px 32px 96px;
    }
    .hero-h1 {
        font-size: 52px;
    }
    .hero-sub {
        font-size: 17px;
    }
    .hero-moon {
        width: 90px;
        height: 90px;
        right: 60px;
        top: 50px;
    }

    .trusted {
        padding: 56px 32px;
    }
    .trusted-grid {
        gap: 20px;
    }
    .trusted-card {
        padding: 26px 24px;
    }

    .benefits {
        padding: 72px 32px;
    }
    .benefits-header h2 {
        font-size: 34px;
    }
    .benefits-grid {
        gap: 20px;
    }
    .benefit-card {
        padding: 26px 24px;
    }
    .benefit-card h3 {
        font-size: 20px;
    }

    .features {
        padding: 72px 32px;
    }
    .features-intro h2 {
        font-size: 36px;
    }
    .features-grid {
        gap: 20px;
    }
    .feature-card {
        padding: 30px;
    }
    .feature-card h3 {
        font-size: 24px;
    }

    .showcase-inner {
        padding: 72px 32px;
    }
    .showcase-header h2 {
        font-size: 34px;
    }

    .value-band {
        padding: 72px 32px;
    }
    .value-band blockquote {
        font-size: 32px;
    }

    .contact {
        padding: 72px 32px;
    }
    .contact-left h2 {
        font-size: 34px;
    }
    .contact-grid {
        gap: 40px;
    }

    .footer {
        padding: 32px;
    }
}

/* Mobile landscape / small tablet: 640px - 768px */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #0c1730;
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 24px;
        transition: right 0.3s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 9;
    }
    .nav-links.active {
        right: 0;
    }
    .nav-link {
        font-size: 18px;
    }
    .nav-cta {
        width: 100%;
        justify-content: center;
    }

    .hero {
        padding: 56px 24px 80px;
    }
    .hero-h1 {
        font-size: 40px;
    }
    .hero-h1 br {
        display: none;
    }
    .hero-sub {
        font-size: 16px;
        max-width: 100%;
    }
    .hero-moon {
        width: 70px;
        height: 70px;
        right: 24px;
        top: 32px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    .btn-primary,
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .trusted {
        padding: 48px 24px;
    }
    .trusted-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .trusted-name {
        font-size: 23px;
    }

    .benefits {
        padding: 56px 24px;
    }
    .benefits-header h2 {
        font-size: 28px;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .benefit-card {
        padding: 24px 20px;
    }

    .features {
        padding: 56px 24px;
    }
    .features-intro h2 {
        font-size: 30px;
    }
    .features-intro p {
        font-size: 16px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .feature-card {
        padding: 26px;
    }
    .feature-card h3 {
        font-size: 22px;
    }
    .feature-card p {
        font-size: 15px;
    }

    .showcase-inner {
        padding: 56px 24px;
    }
    .showcase-header h2 {
        font-size: 28px;
    }
    .showcase-header p {
        font-size: 15px;
    }
    .showcase-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .value-band {
        padding: 56px 24px;
    }
    .value-band blockquote {
        font-size: 26px;
    }

    .contact {
        padding: 56px 24px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-left h2 {
        font-size: 28px;
    }
    .contact-left p {
        font-size: 15px;
    }
    .form-card {
        padding: 28px;
    }

    .footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 28px 24px;
    }
    .footer-tagline {
        font-size: 11px;
    }
}

/* Mobile portrait: < 480px */
@media (max-width: 480px) {
    .nav {
        padding: 16px 20px;
    }
    .logo-name-ape {
        font-size: 18px;
    }
    .logo-name-robotics {
        font-size: 11px;
    }

    .hero {
        padding: 48px 20px 64px;
    }
    .hero-eyebrow {
        font-size: 11px;
        margin-bottom: 20px;
    }
    .hero-h1 {
        font-size: 32px;
        line-height: 1.12;
    }
    .hero-sub {
        font-size: 15px;
        line-height: 1.6;
        margin-top: 20px;
    }
    .hero-moon {
        width: 50px;
        height: 50px;
        right: 16px;
        top: 24px;
    }
    .hero-actions {
        margin-top: 28px;
    }
    .btn-primary,
    .btn-ghost {
        padding: 14px 24px;
        font-size: 14px;
    }

    .benefits {
        padding: 48px 20px;
    }
    .section-eyebrow {
        font-size: 11px;
    }
    .benefits-header h2 {
        font-size: 24px;
    }
    .benefit-card h3 {
        font-size: 19px;
    }
    .benefit-card p {
        font-size: 14px;
    }

    .features {
        padding: 48px 20px;
    }
    .features-eyebrow {
        font-size: 11px;
    }
    .features-intro h2 {
        font-size: 26px;
    }
    .features-intro p {
        font-size: 15px;
    }
    .feature-card {
        padding: 22px;
    }
    .feature-tag {
        font-size: 11px;
    }
    .feature-card h3 {
        font-size: 20px;
    }
    .feature-card p {
        font-size: 14px;
    }

    .showcase-inner {
        padding: 48px 20px;
    }
    .showcase-header h2 {
        font-size: 24px;
    }
    .showcase-header p {
        font-size: 14px;
    }
    .showcase-bar {
        padding: 10px 14px;
    }
    .showcase-url {
        font-size: 11px;
    }
    .showcase-footer {
        padding: 14px 18px;
    }
    .showcase-footer span:first-child {
        font-size: 13px;
    }
    .showcase-link {
        font-size: 13px;
    }
    .play-btn {
        width: 52px;
        height: 52px;
    }
    .play-triangle {
        border-top-width: 9px;
        border-bottom-width: 9px;
        border-left-width: 14px;
    }

    .value-band {
        padding: 48px 20px;
    }
    .value-band blockquote {
        font-size: 22px;
        line-height: 1.4;
    }
    .value-band cite {
        font-size: 11px;
    }

    .contact {
        padding: 48px 20px;
    }
    .contact-left h2 {
        font-size: 24px;
    }
    .contact-left p {
        font-size: 14px;
    }
    .contact-bullet {
        font-size: 14px;
    }
    .form-card {
        padding: 22px;
        border-radius: 18px;
    }
    .form-field label {
        font-size: 10px;
    }
    .form-field input,
    .form-field textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    .form-submit {
        padding: 14px 22px;
        font-size: 14px;
    }
    .form-confirm h3 {
        font-size: 22px;
    }
    .form-confirm p {
        font-size: 14px;
    }

    .footer {
        padding: 24px 20px;
    }
    .footer-ape {
        font-size: 15px;
    }
    .footer-robotics {
        font-size: 10px;
    }
    .footer-tagline {
        font-size: 10px;
        line-height: 1.5;
    }
}

/* Hide stars on very small screens for performance */
@media (max-width: 480px) {
    .hero-stars .star:nth-child(n + 5) {
        display: none;
    }
}
