:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --text: #1f2933;
    --muted-text: #52606d;
    --info-bg: #eef4ff;
    --info-border: #5b79ff;
    --alert-bg: #fff3f2;
    --alert-border: #f97066;
    --primary: #2563eb;
    --primary-hover: #1747a3;
    --danger: #e11d48;
    --danger-hover: #be123c;
    --form-bg: #f0f4ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
}

a {
    color: inherit;
}

.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
    background: linear-gradient(135deg, #1f2937, #374151);
    color: white;
}

.logo {
    height: 80px;
    object-fit: contain;
}

.page {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px 72px;
}

.hero {
    text-align: center;
    margin-bottom: 32px;
}

.hero h1 {
    margin: 0;
    font-size: 2.4rem;
    font-weight: 700;
}

.hero p {
    margin: 12px auto 0;
    max-width: 640px;
    color: var(--muted-text);
    line-height: 1.6;
}

.section-card {
    background-color: var(--surface);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 28px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.section-card--info {
    background-color: var(--info-bg);
    border-left: 4px solid var(--info-border);
}

.section-card--alert {
    background-color: var(--alert-bg);
    border-left: 4px solid var(--alert-border);
}

.section-heading {
    margin: 0 0 16px;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-heading span {
    font-size: 1.4rem;
}

.section-card p {
    margin: 0;
    line-height: 1.7;
    color: var(--muted-text);
    font-size: 1rem;
}

.section-card p + p {
    margin-top: 12px;
}

.form-card {
    background-color: var(--surface);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.form-card form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-card label {
    font-weight: 600;
    color: var(--text);
}

input[type="email"],
input[type="text"] {
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="email"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 16px;
}

button[type="button"],
.primary-button {
    padding: 12px 16px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    background-color: var(--primary);
    color: white;
}

button[type="button"]:hover,
.primary-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

#giveUpButton {
    background-color: var(--danger);
}

#giveUpButton:hover {
    background-color: var(--danger-hover);
}

#iframe-container {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    border: 1px solid #d8e0f0;
    display: none;
    overflow: hidden;
    background-color: #0f172a;
    margin: 32px 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .page {
        padding: 32px 16px 48px;
    }

    .section-card,
    .form-card {
        padding: 24px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    #iframe-container {
        height: 420px;
    }
}
