:root {
    --bg: #05050c;
    --surface: #101020;
    --surface-alt: #181830;
    --accent: #ff6b6b;
    --accent-dark: #ff3b6a;
    --text: #f5f7ff;
    --muted: #cdd2f6;
    --muted-strong: #9aa2d8;
    --border: rgba(255, 255, 255, 0.08);
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(255, 107, 107, 0.12), transparent 50%),
        radial-gradient(circle at bottom right, rgba(85, 150, 255, 0.18), transparent 45%),
        var(--bg);
    min-height: 100vh;
}

a {
    color: inherit;
}

a:hover,
a:focus-visible {
    color: var(--accent);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem clamp(1rem, 4vw, 3rem);
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(5, 5, 12, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.logo a {
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--muted);
    position: relative;
    padding-bottom: 0.2rem;
}

.site-nav a[aria-current="page"] {
    color: var(--text);
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: inherit;
    padding: 0.35rem;
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

main {
    padding: 0 clamp(1rem, 5vw, 5rem) 4rem;
}

.hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    align-items: center;
    padding: clamp(4rem, 8vw, 7rem) 0 3rem;
}

.hero--secondary {
    padding-top: clamp(3rem, 7vw, 6rem);
}

.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
    margin: 0.6rem 0 0.5rem;
}

.hero__tagline {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.hero__description {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 44ch;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero__visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    color: var(--muted-strong);
}

.hero__device {
    border-radius: 32px;
    width: min(100%, 720px);
    aspect-ratio: 4 / 3;
    border: 1px solid var(--border);
    box-shadow: 0 28px 60px rgba(17, 17, 40, 0.4);
    position: relative;
    overflow: hidden;
}

.hero__device img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero__device::after {
    content: '';
    position: absolute;
    inset: 0px;
    border-radius: 24px;
    background: radial-gradient(circle at center, rgba(255, 130, 160, 0.3), rgba(10, 10, 28, 0.1));
    box-shadow: inset 0 0 40px rgba(255, 130, 160, 0.35);
    pointer-events: none;
}

.hero__device--video {
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 40% 60%, rgba(255,130,160,0.4), transparent 70%),
    radial-gradient(circle at 60% 40%, rgba(85,150,255,0.4), transparent 80%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1), transparent 80%);
  background-size: 200% 200%;
  animation: cellflow 15s infinite alternate ease-in-out;
  border: 1px solid var(--border);
  box-shadow: 0 28px 60px rgba(17,17,40,0.4);
}

@keyframes cellflow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.85;
    }
    50% {
        opacity: 1;
    }
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #080811;
    box-shadow: 0 16px 30px rgba(255, 107, 107, 0.3);
}

.button--primary:hover,
.button--primary:focus-visible {
    transform: translateY(-2px);
}

.button--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--text);
}

.button--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--muted);
}

.button--outline:hover,
.button--ghost:hover,
.button--outline:focus-visible,
.button--ghost:focus-visible {
    border-color: var(--accent);
    color: var(--text);
}

.section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    border-top: 1px solid var(--border);
}

.section:first-of-type {
    border-top: none;
}

.section__header {
    max-width: 60ch;
    margin-bottom: 2rem;
}

.section__header > h1,
.section__header > h2 {
    margin-bottom: 1rem;
}

.section__intro {
    color: var(--muted);
    font-weight: 600;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}

.step {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(9, 9, 22, 0.32);
}

.step h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.section__cta {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.section__cta .multimedia-note {
    font-size: 0.85rem;
    color: var(--muted-strong);
}

.notice {
    background: rgba(16, 16, 32, 0.82);
    border-block: 1px solid var(--border);
    padding: 1.75rem 0;
}

.notice .container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 4rem);
    text-align: center;
}

.notice h2 {
    margin-bottom: 0.75rem;
}

.notice p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.impact {
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.impact__header {
    margin-bottom: 2rem;
}

.impact__header .tagline {
    color: var(--muted);
    font-weight: 700;
    margin-top: 0.5rem;
}

.impact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
}

.impact__grid article {
    background: var(--surface-alt);
    padding: 1.75rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    color: var(--muted);
}

.impact__grid h3 {
    color: var(--text);
    margin-top: 0;
}

.media-callout {
    background: var(--surface);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 1.5rem;
    align-items: center;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.media-callout__media {
    width: min(834px, 100%);
    border-radius: 16px;
    scale: relative;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: repeating-linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(255, 107, 107, 0.08) 20px, rgba(85, 150, 255, 0.08) 20px, rgba(85, 150, 255, 0.08) 40px);
    overflow: hidden;
    min-width: 0;
    aspect-ratio: 15 / 7;
}
.media-callout__media > img {
  width: min(834px, 100%);
  height: 100%;
  object-fit: contain;         /* ensures entire image stays visible */
  display: block;
  border-radius: inherit;
}
.multimedia-note {
    font-size: 0.85rem;
    color: var(--muted-strong);
    margin: 0;
}

.process-list {
    counter-reset: step;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    padding: 0;
    margin: 0;
    list-style: none;
}

.process-list li {
    background: var(--surface);
    border-radius: 18px;
    padding: 1.75rem;
    border: 1px solid var(--border);
    position: relative;
}

.process-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: 18px;
    right: 20px;
    font-weight: 800;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.08);
}

.section--alt {
    background: rgba(18, 18, 34, 0.6);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
}

.services-grid article {
    padding: 1.6rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
}

.services-grid h2 {
    color: var(--text);
    margin-top: 0;
}

.pilot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.pilot-grid figure,
.pilot-grid div {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 18px;
    border: 1px solid var(--border);
}

.pilot-grid ul {
    padding-left: 1.2rem;
    color: var(--muted);
}

.pilot-grid .subtext {
    color: var(--muted-strong);
    font-size: 0.9rem;
}

.map-placeholder,
.map-widget__placeholder {
    border-radius: 14px;
    aspect-ratio: 16 / 12;
    size: relative;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    background: repeating-linear-gradient(45deg, rgba(85, 150, 255, 0.1), rgba(85, 150, 255, 0.1) 18px, rgba(255, 107, 107, 0.12) 18px, rgba(255, 107, 107, 0.12) 36px);
}

.map-placeholder > img {
    width: 100%;
    height: 100%;
    object-fit: contain;         /* ensures entire image stays visible */
    display: block;
    border-radius: inherit;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 0.8rem;
}

.checklist li::before {
    content: '✔';
    margin-right: 0.5rem;
    color: var(--accent);
}

.map-widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.notice-text {
    margin: 0;
    color: var(--muted-strong);
    font-size: 0.9rem;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem clamp(1rem, 4vw, 4rem);
    background: rgba(5, 5, 12, 0.9);
    text-align: center;
    color: var(--muted);
}

.footer__content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.footer__content a {
    color: var(--text);
    text-decoration: none;
}

.footer__content a:hover,
.footer__content a:focus-visible {
    color: var(--accent);
}

@media (max-width: 780px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        inset: calc(100% + 1px) 1rem auto;
        background: rgba(5, 5, 12, 0.97);
        border: 1px solid var(--border);
        border-radius: 16px;
        padding: 1rem;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.2s ease;
    }

    .site-nav.is-open {
        transform: scaleY(1);
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0.75rem;
    }
}
