:root {
    color-scheme: light;
    --bg: #f6f8f8;
    --surface: #ffffff;
    --ink: #162126;
    --muted: #5f7078;
    --line: #dce5e8;
    --brand: #147880;
    --brand-strong: #0d5f66;
    --header-blue: #000718;
    --header-cyan: #65dcff;
    --gold: #f4bd1f;
    --flight-dark: #070807;
    --shadow: 0 16px 46px rgba(16, 33, 38, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    padding-bottom: 58px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--brand);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--header-blue);
    border-bottom: 1px solid rgba(101, 220, 255, 0.24);
    box-shadow: 0 10px 28px rgba(0, 7, 24, 0.2);
}

.nav {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.brand-link img {
    width: 180px;
    max-height: 104px;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.nav-links a,
.nav-link-button {
    color: #ffffff;
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-link-button:hover,
.nav-link-button:focus-visible {
    color: var(--header-cyan);
}

.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 7px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
}

.button {
    color: #ffffff;
    background: var(--brand);
    border: 1px solid var(--brand);
}

.nav-links .button {
    color: #ffffff;
}

.button:hover,
.button:focus-visible {
    background: #0b555c;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(4, 34, 38, 0.18);
    color: #ffffff;
}

.button-secondary {
    color: var(--brand-strong);
    background: #ffffff;
    border: 1px solid var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.64);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(4, 34, 38, 0.14);
}

.hero {
    background:
        linear-gradient(115deg, rgba(20, 100, 106, 0.92), rgba(22, 76, 82, 0.86)),
        url("../images/IMG_2488.JPG") center / cover;
    color: #ffffff;
}

.hero-inner {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    min-height: min(560px, calc(100vh - 76px));
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.52fr);
    align-items: start;
    gap: clamp(20px, 4vw, 44px);
    padding: clamp(12px, 2vw, 18px) 0 78px;
}

.hero-inner > div:first-child {
    padding-top: 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: #bfe4e8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-brand-eyebrow {
    color: var(--ink);
}

h1,
h2,
h3 {
    letter-spacing: 0;
    line-height: 1.08;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.5rem);
}

.hero-copy {
    max-width: 620px;
    margin: 14px 0 0;
    color: #e4f1f2;
    font-size: clamp(0.95rem, 1.35vw, 1.04rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.hero .button-secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.38);
}

.hero-product-grid {
    display: grid;
    gap: 16px;
}

.hero-software-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-height: 176px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(5, 25, 38, 0.46);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(4, 34, 38, 0.18);
}

.hero-product-image {
    display: block;
    width: 118px;
    max-height: 136px;
    object-fit: contain;
}

.flightara-packshot {
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.26));
}

.shotara-logo-tile {
    border-radius: 8px;
}

.dronitrak-logo-tile {
    border-radius: 8px;
}

.hero-software-card span,
.hero-software-card p {
    display: block;
}

.hero-software-card span {
    color: #c9f3f6;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-software-card strong {
    display: block;
    margin: 4px 0 6px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.02;
}

.hero-software-card p {
    margin: 0;
    color: #e4f1f2;
    font-size: 0.92rem;
}

.product-price {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 2px 0 8px;
    padding: 6px 11px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.hero-card-link {
    appearance: none;
    border: 0;
    padding: 8px 0 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section {
    position: relative;
    padding: clamp(58px, 8vw, 92px) 0;
}

.section + .section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1180px, calc(100% - 36px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(13, 95, 102, 0.2), transparent);
}

.section.alt {
    background: #ffffff;
}

#flightara {
    scroll-margin-top: 96px;
    padding-top: clamp(24px, 4vw, 44px);
}

#shotara {
    scroll-margin-top: 96px;
}

#dronitrak {
    scroll-margin-top: 96px;
}

#logbook {
    scroll-margin-top: 96px;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.section-head {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.15rem);
}

.section-head p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.product-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(26px, 5vw, 56px);
    align-items: start;
}

.product-media {
    display: grid;
    gap: 18px;
}

.screen-frame {
    margin-top: 6px;
    padding: 10px;
    border: 1px solid #272a20;
    border-radius: 8px;
    background: var(--flight-dark);
    box-shadow: var(--shadow);
}

.screen-frame img {
    display: block;
    width: 100%;
    border-radius: 5px;
}

.video-panel {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.video-panel-heading {
    display: block;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.35;
}

.video-panel h3 {
    margin: 0;
    font-size: 1.2rem;
}

.video-frame {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #10191d;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow);
}

.video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-fallback {
    appearance: none;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-left: 10px;
    padding: 6px 12px;
    border: 1px solid rgba(13, 111, 119, 0.24);
    border-radius: 999px;
    background: rgba(13, 111, 119, 0.08);
    color: var(--brand);
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    vertical-align: baseline;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.video-fallback:hover,
.video-fallback:focus-visible {
    background: rgba(13, 111, 119, 0.14);
    border-color: rgba(13, 111, 119, 0.44);
    color: var(--brand-strong);
    transform: translateY(-1px);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #ffffff;
    font-weight: 700;
}

.notice {
    margin: 22px 0 0;
    padding: 16px 18px;
    border-left: 4px solid var(--gold);
    background: #fff8df;
    color: #4d3a03;
}

.shotara-grid {
    align-items: center;
}

.shotara-media {
    align-content: start;
}

.shotara-product-panel {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #071b2f, #0d5f66);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.shotara-product-panel img {
    display: block;
    width: 112px;
    border-radius: 8px;
}

.shotara-product-panel span {
    display: block;
    color: #bfe4e8;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shotara-product-panel strong {
    display: block;
    margin-top: 4px;
    font-size: clamp(1.35rem, 3vw, 2.2rem);
    line-height: 1.05;
}

.shotara-preview {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.preview-toolbar {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    background: #edf4f6;
}

.preview-toolbar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #9eb5bd;
}

.preview-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #d7e3df;
}

.product-actions {
    margin: 24px 0 0;
}

.dronitrak-grid {
    align-items: center;
}

.dronitrak-product-frame {
    display: grid;
    place-items: center;
    padding: clamp(14px, 3vw, 28px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(9, 24, 35, 0.96), rgba(13, 95, 102, 0.82)),
        #091823;
    box-shadow: var(--shadow);
}

.dronitrak-product-frame img {
    display: block;
    width: min(320px, 76%);
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(4, 18, 26, 0.28);
}

.dronitrak-screen-frame {
    background: #0b1116;
}

.logbook-grid {
    align-items: center;
}

.logbook-cover-frame {
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 34px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(7, 27, 47, 0.92), rgba(13, 95, 102, 0.88)),
        #071b2f;
    box-shadow: var(--shadow);
}

.logbook-cover-frame img {
    display: block;
    width: min(310px, 82%);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(4, 18, 26, 0.32);
}

.software-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 4vw, 34px);
}

.software-card {
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.software-card-media {
    display: grid;
    place-items: center;
    height: 240px;
    padding: 18px;
    overflow: hidden;
}

.software-card-media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 204px;
    object-fit: contain;
}

.flightara-card-media {
    background: linear-gradient(135deg, #090a08, #283021);
}

.flightara-card-media img {
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.32));
}

.shotara-card-media {
    background: #000718;
}

.dronitrak-card-media {
    background: linear-gradient(135deg, #091823, #147880);
}

.dronitrak-card-media img {
    border-radius: 8px;
    box-shadow: 0 14px 24px rgba(4, 18, 26, 0.3);
}

.software-card-body {
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.software-card-body h3 {
    margin: 0;
    min-height: 3.75em;
    font-size: clamp(1.45rem, 3vw, 2rem);
}

.software-price {
    display: inline-flex;
    justify-self: start;
    align-items: baseline;
    gap: 10px;
    margin-top: 12px;
    min-width: 118px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff8df;
    color: #4d3a03;
    line-height: 1;
}

.software-price span {
    display: inline-block;
    margin-right: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.software-price strong {
    font-size: 1.28rem;
    font-weight: 700;
}

.software-card-body p {
    margin: 12px 0 0;
    color: var(--muted);
}

.software-card-body ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding-left: 20px;
}

.software-card-body li {
    color: #34464d;
    font-weight: 700;
}

.software-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
}

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(300px, 1.2fr);
    gap: clamp(24px, 5vw, 54px);
    align-items: start;
}

.contact-page {
    padding-top: 52px;
}

.contact-card,
.form-card,
.policy-document {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.contact-card,
.form-card {
    padding: clamp(22px, 4vw, 34px);
}

.contact-card,
.form-card {
    padding-top: clamp(24px, 5vw, 52px);
}

.contact-card h1,
.document-page h1 {
    margin-top: 0;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.contact-method {
    display: block;
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.contact-method strong {
    display: block;
    color: var(--ink);
}

form {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cdd9dd;
    border-radius: 6px;
    padding: 12px 13px;
    font: inherit;
    color: var(--ink);
    background: #ffffff;
}

textarea {
    min-height: 154px;
    resize: vertical;
}

.site-footer {
    position: fixed;
    right: 14px;
    bottom: 10px;
    left: 14px;
    z-index: 30;
    background: rgba(16, 25, 29, 0.96);
    color: #d5e0e3;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(7, 17, 21, 0.26);
    backdrop-filter: blur(12px);
}

.footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 9px;
    align-items: center;
}

.footer-link {
    color: #ffffff;
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.44);
    font-size: 0.68rem;
    line-height: 1;
}

.footer-link:hover,
.footer-link:focus-visible {
    text-decoration: underline;
}

.small {
    color: #a9b8bd;
    font-size: 0.64rem;
    line-height: 1.25;
    text-align: right;
}

.document-page {
    padding: 52px 0 72px;
}

.policy-document {
    padding: clamp(24px, 5vw, 52px);
}

.policy-document h2 {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.policy-document h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.policy-document p,
.policy-document li {
    color: #34464d;
}

.policy-meta {
    margin: 0 0 26px;
    color: var(--muted);
}

.cookie-consent {
    position: fixed;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(12, 18, 24, 0.96);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.cookie-consent-copy {
    display: grid;
    gap: 5px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.cookie-consent-copy strong {
    font-size: 0.95rem;
}

.cookie-consent-copy span {
    color: rgba(255, 255, 255, 0.78);
}

.cookie-consent-copy a {
    width: fit-content;
    color: #ffffff;
    font-weight: 700;
}

.cookie-consent-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

@media (max-width: 820px) {
    .nav {
        align-items: center;
        flex-direction: row;
        min-height: 74px;
        padding: 8px 0;
    }

    .nav-links {
        width: auto;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 8px 12px;
        font-size: 0.88rem;
    }

    .brand-link img {
        width: 108px;
        max-height: 70px;
    }

    .nav-links .button {
        min-height: 36px;
        padding: 8px 12px;
    }

    .hero-inner,
    .product-grid,
    .contact-panel,
    .software-cards {
        grid-template-columns: 1fr;
    }

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

    .hero-software-card {
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 150px;
    }

    .hero-product-image {
        width: 96px;
        max-height: 112px;
    }

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

    .cookie-consent {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-consent-actions {
        justify-content: flex-end;
    }
}

@media (max-width: 520px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .nav-links {
        width: 100%;
        justify-content: flex-start;
    }

    .brand-link img {
        width: 96px;
        max-height: 64px;
    }

    .hero-actions .button,
    .hero-actions .button-secondary {
        width: 100%;
    }

    .hero-software-card {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .hero-product-image {
        width: 82px;
        max-height: 96px;
    }

    body {
        padding-bottom: 110px;
    }

    .hero-inner {
        padding-bottom: 118px;
    }

    .site-footer {
        right: 10px;
        bottom: 10px;
        left: 10px;
        padding: 10px 12px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .footer-links {
        gap: 6px 9px;
    }

    .footer-link,
    .footer-separator,
    .small {
        font-size: 0.72rem;
        text-align: left;
    }

    .cookie-consent {
        right: 10px;
        bottom: 10px;
        left: 10px;
        padding: 12px;
    }

    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}
