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

:root {
    --bg: #0a0a0f;
    --surface: #13131a;
    --border: #23232f;
    --text: #e8e8ed;
    --muted: #8888a0;
    --accent: #6c5ce7;
    --accent-hover: #7f71f0;
    --green: #00d26a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
}

.badge {
    display: inline-block;
    background: var(--green);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.35em 1em;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.domain {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent), #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    max-width: 480px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.form input,
.form textarea {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form input:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form textarea {
    resize: vertical;
}

.form button {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.85rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.form button:hover {
    background: var(--accent-hover);
}

.form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--border);
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer p + p {
    margin-top: 0.5rem;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 100;
}

.modal[hidden] {
    display: none;
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text);
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.modal-content p {
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.modal-content .phone {
    margin-top: 1.5rem;
    color: var(--text);
    font-weight: 500;
}

.phone-number {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
}

.phone-number:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .form {
        padding: 1.5rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }
}
