/* ==========================================================================
   AllWispr - Coming Soon Seite
   Eigenständiges Stylesheet (keine Abhängigkeit zur Beta-App)
   ========================================================================== */

/* ---------- Reset & Basis ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #028090;
    --color-primary-light: #03a5b8;
    --color-secondary: #4A90E2;
    --color-accent: #FF6B6B;
    --color-bg-dark: #0f0f23;
    --color-bg-dark-alt: #1a1a2e;
    --color-text: #e0e0e0;
    --color-text-muted: #8899a6;
    --color-white: #ffffff;
    --font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg-dark);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-white);
}

kbd {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: var(--font-family);
    font-size: 0.85em;
    color: var(--color-white);
}

/* ---------- Animated Background Blobs ---------- */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    will-change: transform;
}

.bg-blob--1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(2, 128, 144, 0.55) 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation: blob-drift-1 18s ease-in-out infinite;
}

.bg-blob--2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.45) 0%, transparent 70%);
    top: 35%;
    right: -15%;
    animation: blob-drift-2 22s ease-in-out infinite;
}

.bg-blob--3 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(2, 128, 144, 0.4) 0%, transparent 70%);
    bottom: -10%;
    left: 25%;
    animation: blob-drift-3 15s ease-in-out infinite;
}

@keyframes blob-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(200px, 100px) scale(1.15); }
    50% { transform: translate(100px, 250px) scale(0.9); }
    75% { transform: translate(-80px, 120px) scale(1.1); }
}

@keyframes blob-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-150px, -80px) scale(1.12); }
    50% { transform: translate(-250px, 60px) scale(0.88); }
    75% { transform: translate(-100px, -150px) scale(1.08); }
}

@keyframes blob-drift-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(150px, -120px) scale(1.2); }
    66% { transform: translate(-100px, -60px) scale(0.85); }
}

/* ---------- Typewriter Animation (Step 3) ---------- */
.step-icon--typewriter {
    display: flex;
    align-items: center;
    justify-content: center;
}

.typewriter-window {
    width: 140px;
    height: 100px;
    border: 5px solid transparent;
    border-radius: 10px;
    background:
        linear-gradient(var(--color-bg-dark), var(--color-bg-dark)) padding-box,
        linear-gradient(135deg, #028090, #03a5b8, #4A90E2) border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.typewriter-dots {
    display: flex;
    gap: 5px;
    padding: 7px 10px;
    border-bottom: 3px solid #03a5b8;
}

.typewriter-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2.5px solid #03a5b8;
    background: transparent;
}

.typewriter-text {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-family: "Consolas", "Courier New", monospace;
    font-size: 0.9rem;
    color: var(--color-primary-light);
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid var(--color-primary-light);
    width: 0;
    animation: typewriter-typing 3s steps(10) 1s infinite alternate;
}

@keyframes typewriter-typing {
    0% { width: 0; }
    50%, 100% { width: 110px; }
}

/* ---------- Container ---------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* ---------- Section Titles ---------- */
.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2.5rem;
    letter-spacing: -0.01em;
}

/* ---------- Sprach-Toggle ---------- */
.lang-toggle {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.lang-toggle a,
.lang-toggle span {
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-toggle a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.lang-toggle a:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.lang-active {
    color: var(--color-white);
    background: rgba(2, 128, 144, 0.3);
}

/* ---------- Hero Section ---------- */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 0 3rem;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* ---------- Logo ---------- */
.logo {
    font-size: 5.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

/* Beta Badge im Logo */
.beta-badge {
    position: absolute;
    top: 4.22em;
    right: 0rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.1rem 0.2rem 0.2rem 0.2rem;
    border-radius: 4px;
    background: rgba(2, 128, 144, 0.25);
    border: 1px solid rgba(2, 128, 144, 0.5);
    -webkit-text-fill-color: var(--color-primary-light);
    line-height: 1;
}

.tagline {
    font-size: 1.75rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ---------- Plattform-Badge ---------- */
.platform-badge {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.platform-available,
.platform-soon {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.platform-available {
    background: rgba(2, 128, 144, 0.2);
    color: var(--color-primary-light);
    border: 1px solid rgba(2, 128, 144, 0.35);
}

.platform-soon {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.description {
    font-size: 1.05rem;
    color: var(--color-text);
    max-width: 560px;
    margin: 0 auto 1rem;
    line-height: 1.7;
}

.description-highlight {
    display: inline-block;
    margin-top: 0.4rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Steps Section (1-2-3 Flow) ---------- */
.steps-section {
    padding: 4rem 0;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    /* Connector-Pfeile sollen sich an der Icon-Mitte ausrichten */
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
    flex: 0 1 280px;
    position: relative;
}

/* Icon über der Nummer, gross */
.step-icon {
    display: block;
    margin: 0 auto 1.25rem;
    width: 120px;
    height: 120px;
}

.step-icon svg {
    width: 120px;
    height: 120px;
}

.step-number {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

.step p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.step-connector {
    flex: 0 0 40px;
    height: 120px;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
}

.step-connector::after {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    border-top: 4px solid var(--color-primary-light);
    border-right: 4px solid var(--color-primary-light);
    transform: rotate(45deg);
}

/* ---------- Features Section (2x3 Grid) ---------- */
.features-section {
    padding: 4rem 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(2, 128, 144, 0.3);
}

.feature-icon {
    display: block;
    margin: 0 auto 1.25rem;
    width: 64px;
    height: 64px;
}

.feature-icon svg {
    width: 64px;
    height: 64px;
}

.feature h3 {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ---------- Use Cases Section ---------- */
.usecases-section {
    padding: 4rem 0;
}

.usecases {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.usecase {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.usecase:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(2, 128, 144, 0.3);
}

.usecase-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.usecase h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.usecase p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ---------- FAQ Section ---------- */
.faq-section {
    padding: 5rem 0 3rem;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] {
    background: rgba(2, 128, 144, 0.06);
    border-color: rgba(2, 128, 144, 0.2);
}

.faq-item summary {
    padding: 1.1rem 1.4rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--color-primary-light);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    padding: 0 1.4rem 1.2rem;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.faq-item p strong {
    color: var(--color-primary-light);
}

/* ---------- Beta CTA Section ---------- */
.beta-cta {
    padding: 4rem 0;
}

.beta-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-radius: 8px;
    background: rgba(2, 128, 144, 0.08);
    border: 1px solid rgba(2, 128, 144, 0.2);
}

.beta-cta h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.beta-cta-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.beta-cta-contact {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.beta-cta-contact a {
    color: var(--color-primary-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(3, 165, 184, 0.3);
    transition: border-color 0.2s ease;
}

.beta-cta-contact a:hover {
    border-color: var(--color-primary-light);
}

/* ---------- Email Signup ---------- */
.signup-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto 0.75rem;
}

.signup-form input[type="email"] {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    font-size: 1rem;
    font-family: var(--font-family);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.signup-form input[type="email"]::placeholder {
    color: var(--color-text-muted);
}

.signup-form input[type="email"]:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.09);
}

.signup-form button {
    padding: 0.85rem 1.75rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light), var(--color-secondary));
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.signup-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(2, 128, 144, 0.35);
}

.signup-form button:active {
    transform: translateY(0);
}

.signup-privacy {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    max-width: 480px;
    margin: 0 auto;
}

.signup-privacy a {
    color: var(--color-text-muted);
    text-decoration: underline;
}

.signup-privacy a:hover {
    color: var(--color-white);
}

/* ---------- Footer ---------- */
.footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ---------- Legal Content (Impressum, Datenschutz) ---------- */
.legal-content {
    text-align: left;
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem 0;
}

.legal-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 2rem;
}

.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-white);
    margin-top: 1.75rem;
    margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        flex: none;
        width: 100%;
        max-width: 320px;
    }

    .step-icon {
        width: 96px;
        height: 96px;
    }

    .step-icon svg {
        width: 96px;
        height: 96px;
    }

    .step-number {
        display: none;
    }

    .step-connector {
        width: auto;
        height: auto;
        flex: 0 0 30px;
    }

    .step-connector::after {
        width: 16px;
        height: 16px;
        transform: rotate(135deg);
    }

    .typewriter-window {
        width: 120px;
        height: 85px;
    }

    .typewriter-text {
        font-size: 0.8rem;
    }

    @keyframes typewriter-typing {
        0% { width: 0; }
        50%, 100% { width: 95px; }
    }

    .usecases {
        grid-template-columns: 1fr;
    }

    .bg-blob {
        filter: blur(80px);
        opacity: 0.35;
    }

    .bg-blob--1 { width: 400px; height: 400px; }
    .bg-blob--2 { width: 350px; height: 350px; }
    .bg-blob--3 { width: 320px; height: 320px; }
}

@media (max-width: 640px) {
    .logo {
        font-size: 3.5rem;
    }

    .tagline {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .beta-badge {
        font-size: 0.55rem;
        padding: 0.1rem 0.35rem;
        right: -2.2rem;
    }

    .hero {
        padding: 5rem 0 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .signup-form {
        flex-direction: column;
    }

    .signup-form button {
        width: 100%;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature {
        padding: 2rem 1.5rem;
    }

    .step-icon {
        width: 80px;
        height: 80px;
    }

    .step-icon svg {
        width: 80px;
        height: 80px;
    }

    .beta-cta-content {
        padding: 2rem 1.25rem;
    }

    .beta-cta h2 {
        font-size: 1.2rem;
    }

    .steps-section,
    .features-section,
    .usecases-section,
    .faq-section,
    .beta-cta {
        padding: 3rem 0;
    }

    .faq-item summary {
        padding: 1rem 1.1rem;
        font-size: 0.95rem;
    }

    .faq-item p {
        padding: 0 1.1rem 1rem;
        font-size: 0.9rem;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .bg-blob {
        animation: none !important;
    }
}
