* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    min-height: 100vh;
    padding: 20px;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #1a1f3a;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid #2a2f4a;
    width: 100%;
    box-sizing: border-box;
}

.header {
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
    border-bottom: 1px solid #2a2f4a;
}

.header-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.header h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.2em;
    opacity: 0.95;
    font-weight: 300;
}

.beta-banner {
    padding: 30px;
    background: #2a2f4a;
    border-left: 5px solid #4a90e2;
    margin: 20px;
    border-radius: 10px;
}

.beta-badge {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9em;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.beta-banner h2 {
    color: #6ba3e8;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.beta-text, .feedback-text {
    line-height: 1.8;
    color: #d0d0d0;
    margin-bottom: 10px;
}

.feedback-text {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #3a3f5a;
}

.feedback-text strong {
    color: #6ba3e8;
}

.info-box {
    display: flex;
    gap: 20px;
    padding: 20px 30px;
    background: #2a2f4a;
    margin: 0 20px 20px 20px;
    border-radius: 10px;
    flex-wrap: wrap;
    border: 1px solid #3a3f5a;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.icon {
    font-size: 1.5em;
}

.info-item span:last-child {
    font-size: 1em;
    color: #d0d0d0;
}

.form-container {
    padding: 30px;
    margin: 0 20px 20px 20px;
}

.form-container h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #fff;
}

.form-description {
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.6;
}

.beta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #d0d0d0;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #3a3f5a;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #2a2f4a;
    color: #fff;
}

.form-group input:disabled,
.form-group textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #1f2435;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6a6a6a;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a90e2;
    background: #1f2435;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #4a90e2 0%, #2a5f9e 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, #5aa0f2 0%, #3a6fae 100%);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #bdbdbd;
    cursor: not-allowed;
    opacity: 0.6;
}

.message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 2px solid #4caf50;
    display: block;
}

.message.error {
    background: #ffebee;
    color: #c62828;
    border: 2px solid #f44336;
    display: block;
}

.features-section {
    padding: 40px 30px;
    margin: 0 20px 20px 20px;
    background: #2a2f4a;
    border-radius: 10px;
    border: 1px solid #3a3f5a;
}

.features-section h3 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #fff;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-item {
    padding: 20px;
    background: #1a1f3a;
    border-radius: 10px;
    border: 1px solid #3a3f5a;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #4a90e2;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.2);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.feature-item h4 {
    color: #6ba3e8;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.feature-item p {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 0.95em;
}

.footer {
    padding: 20px;
    text-align: center;
    color: #b0b0b0;
    background: #1a1f3a;
    margin-top: 20px;
    border-top: 1px solid #2a2f4a;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        margin: 10px auto;
        border-radius: 15px;
    }

    .header {
        padding: 30px 20px;
    }

    .header-logo {
        max-width: 200px;
    }

    .header h1 {
        font-size: 2.2em;
    }

    .tagline {
        font-size: 1em;
    }

    .beta-banner,
    .form-container,
    .features-section {
        padding: 20px;
        margin: 15px 10px;
    }

    .beta-banner h2 {
        font-size: 1.2em;
    }

    .beta-text, .feedback-text {
        font-size: 14px;
    }

    .info-box {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        margin: 15px 10px;
    }

    .info-item {
        min-width: 100%;
    }

    .form-container h3 {
        font-size: 1.4em;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }

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

    .features-section {
        padding: 25px 20px;
    }

    .features-section h3 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }

    .feature-item {
        padding: 18px;
    }

    .feature-icon {
        font-size: 2em;
    }

    .feature-item h4 {
        font-size: 1.1em;
    }

    .feature-item p {
        font-size: 0.9em;
    }

    .submit-btn {
        width: 100%;
        padding: 15px;
    }
}

/* Extra kleine Bildschirme (iPhone SE, etc.) */
@media (max-width: 375px) {
    .header-logo {
        max-width: 160px;
    }

    .header h1 {
        font-size: 1.8em;
    }

    .tagline {
        font-size: 0.9em;
    }

    .beta-banner,
    .form-container,
    .features-section {
        padding: 15px;
        margin: 10px 5px;
    }

    .features-section h3 {
        font-size: 1.4em;
    }
}
