:root {
    --navy-deep: #030C19;
    --navy-mid: #0D1930;
    --gold: #FFCC00;
    --cyan: #1AC3FF;
    --text-main: #FFFFFF;
    --text-muted: #A9BDCF;
    --nav-height: 64px;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/inter-latin-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-latin-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/fonts/inter-latin-700.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 12px);
    color-scheme: dark;
}

body {
    background-color: var(--navy-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--navy-deep);
}

.btn-primary:hover {
    background-color: #e6b800;
    color: var(--navy-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 204, 0, 0.35);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Site nav */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-height);
    background: rgba(3, 12, 25, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav-brand-name {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.nav-brand-sub {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-main);
    border-radius: 2px;
}

/* Hero */
.hero {
    position: relative;
    min-height: clamp(420px, 68vh, 640px);
    display: flex;
    align-items: center;
    padding: 56px 5% 72px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(26, 195, 255, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 50% at 15% 80%, rgba(255, 204, 0, 0.06), transparent 50%),
        linear-gradient(165deg, #061428 0%, var(--navy-deep) 45%, #071A2E 100%);
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(169, 189, 207, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(169, 189, 207, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
}

.hero-atmosphere::after {
    content: '';
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 195, 255, 0.35), rgba(255, 204, 0, 0.25), transparent);
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    text-align: left;
}

.hero-brand-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-celestra {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--text-main);
}

.brand-marine {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    margin: 0 auto 28px;
    max-width: 540px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.hero-offer {
    margin: 18px auto 0;
    max-width: 480px;
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Sections */
.section {
    padding: 100px 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

/* Features */
.features {
    background-color: var(--navy-deep);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(13, 25, 48, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 36px 28px;
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 195, 255, 0.35);
    box-shadow: 0 12px 40px rgba(26, 195, 255, 0.08);
}

.feature-icon {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About / Why */
.about-section {
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
}

.why-section {
    background-color: var(--navy-mid);
}

.story-block {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.story-block .section-title {
    margin-bottom: 28px;
}

.story-block p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 18px;
    line-height: 1.7;
}

.story-block p:last-child {
    margin-bottom: 0;
}

/* Showcase */
.showcase {
    background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
}

.showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-image {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.showcase-image img {
    width: 100%;
    height: auto;
}

.showcase-text h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.showcase-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.showcase-text .highlight {
    color: var(--gold);
    font-weight: 600;
}

/* Beta section */
.beta-section {
    background-color: var(--navy-mid);
}

.beta-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: rgba(3, 12, 25, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(26, 195, 255, 0.25);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.beta-card-featured {
    max-width: 860px;
    border-color: rgba(255, 204, 0, 0.26);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.beta-badge {
    display: inline-block;
    background: rgba(26, 195, 255, 0.15);
    color: var(--cyan);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.beta-card h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.beta-card > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.beta-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0;
    text-align: left;
}

.beta-highlight {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.beta-highlight strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-main);
    font-size: 1rem;
}

.beta-highlight span {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.beta-form {
    margin: 32px auto 0;
    max-width: 520px;
    text-align: left;
}

/* Honeypot: visuell und für Screenreader ausgeblendet */
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.beta-form-label {
    display: block;
    margin-bottom: 10px;
    margin-top: 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
}

.beta-form-label:first-child {
    margin-top: 0;
}

.beta-form-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.beta-form-actions {
    margin-top: 18px;
}

.beta-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.beta-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%),
        linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 40px;
    cursor: pointer;
}

.beta-select option {
    background: var(--navy-mid);
    color: var(--text-main);
}

.beta-timing {
    color: var(--text-muted) !important;
    font-size: 1.02rem !important;
    margin: 16px auto 0 !important;
    max-width: 36em;
    line-height: 1.6;
}

.beta-timing strong {
    color: var(--text-main);
}

.beta-input::placeholder {
    color: rgba(169, 189, 207, 0.65);
}

.beta-input:focus {
    border-color: rgba(26, 195, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(26, 195, 255, 0.15);
}

.beta-submit {
    flex-shrink: 0;
    white-space: nowrap;
}

.beta-consent {
    margin-top: 12px !important;
    font-size: 0.85rem !important;
    color: rgba(169, 189, 207, 0.8) !important;
    line-height: 1.5;
}

.beta-consent a {
    color: var(--cyan);
}

.beta-consent a:hover {
    color: var(--gold);
}

.beta-form-status {
    margin-top: 14px;
    font-size: 0.95rem;
    font-weight: 500;
}

.beta-form-status.is-pending {
    color: var(--text-muted);
}

.beta-form-status.is-success {
    color: #6dd6a2;
}

.beta-form-status.is-error {
    color: #ff8f8f;
}

.beta-fallback {
    margin-top: 24px !important;
}

.beta-card .beta-email {
    color: var(--cyan);
    font-weight: 600;
    transition: color 0.2s ease;
}

.beta-card .beta-email:hover {
    color: var(--gold);
}

.beta-note {
    margin-top: 16px !important;
    font-size: 0.9rem !important;
    color: rgba(169, 189, 207, 0.7) !important;
}

.beta-note a {
    color: var(--cyan);
}

.beta-note a:hover {
    color: var(--gold);
}

.beta-share {
    margin: 28px auto 0;
    max-width: 520px;
    padding: 22px 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(26, 195, 255, 0.2);
    text-align: center;
}

.confirm-share {
    margin: 28px 0 0;
    max-width: none;
}

.beta-share-title {
    margin: 0 0 6px !important;
    font-size: 1.1rem !important;
    font-weight: 600;
    color: var(--text-main) !important;
}

.beta-share-text {
    margin: 0 0 16px !important;
    font-size: 0.95rem !important;
    color: var(--text-muted) !important;
}

.beta-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.beta-share-status {
    margin: 12px 0 0;
    font-size: 0.9rem;
    color: #6dd6a2;
}

.confirm-home {
    margin-top: 32px;
}

/* CTA */
.cta {
    text-align: center;
    background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy-mid) 40%, var(--navy-deep) 100%);
}

.cta h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* Legal pages */
.legal-page {
    padding: 80px 5% 80px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.legal-page .legal-meta {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.legal-page h2 {
    font-size: 1.4rem;
    margin: 32px 0 12px;
    color: var(--gold);
}

.legal-page p,
.legal-page li {
    color: var(--text-muted);
    margin-bottom: 12px;
}

.legal-page ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-page a {
    color: var(--cyan);
}

.legal-page a:hover {
    color: var(--gold);
}

.legal-page a.btn-primary {
    color: var(--navy-deep);
}

.legal-page a.btn-primary:hover {
    color: var(--navy-deep);
}

.legal-page a.btn-outline {
    color: var(--text-main);
}

.legal-page a.btn-outline:hover {
    color: var(--gold);
}

/* Footer */
footer {
    background-color: var(--navy-mid);
    padding: 40px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-main);
}

/* 404 */
.error-page {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 5%;
}

.error-page h1 {
    font-size: 6rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}

.error-page p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 900px) {
    .showcase-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-image {
        order: -1;
    }

    .beta-highlights {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 5% 20px;
        background: rgba(3, 12, 25, 0.97);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 14px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-inner {
        position: relative;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 20px 56px;
        min-height: auto;
    }

    .hero-brand {
        margin-bottom: 22px;
    }

    .hero-brand-icon {
        width: 48px;
        height: 48px;
    }

    .brand-celestra {
        font-size: 1.55rem;
    }

    .brand-marine {
        font-size: 0.85rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .section {
        padding: 70px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .beta-card {
        padding: 36px 24px;
    }

    .beta-card h2 {
        font-size: 1.65rem;
    }

    .beta-form-row {
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .legal-page {
        padding: 60px 20px 60px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }
}
