body {
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
    color: #1e293b;
    min-height: 100vh;
}

.hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid #dbeafe;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.hero-copy {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.85rem;
    font-weight: 700;
}

.hero-title {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 800;
}

.hero-subtitle {
    margin: 0;
    max-width: 42rem;
    color: #475569;
}

.brand-credit {
    margin: 0.85rem 0 0;
    color: #334155;
    font-size: 0.95rem;
}

.brand-credit a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.hero-image {
    width: 260px;
    max-width: 38%;
    border-radius: 1rem;
}


#vis {
    width: 960px;
    max-width: 100%;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.font-input-wide {
    min-width: 30ch;
}

/* Textarea input */
#text {
    font-family: "Tahoma", "Segoe UI", "Noto Naskh Arabic", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

/* Text input */
.form-control {
    border: 1px solid #cbd5e0;
    border-radius: .25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.form-control:focus {
    border-color: #63b3ed;
    box-shadow: 0 0 0 0.2rem rgba(99, 179, 237, .25);
    outline: none;
}

@media (min-width: 640px) {
    .form-control {
        font-size: .875rem;
    }
}

/* Select input */
.form-select {
    position: relative;
    width: 100%;
    cursor: default;
    border-radius: .25rem;
    background-color: #ffffff;
    text-align: left;
    color: #2d3748;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
    border: 1px solid #cbd5e0;
}

.form-select:focus {
    outline: none;
    border-color: #63b3ed;
    box-shadow: 0 0 0 0.2rem rgba(99, 179, 237, .25);
}

@media (min-width: 640px) {
    .form-select {
        font-size: .875rem;
        line-height: 1.5;
    }
}

/* Radio button and checkbox */
.form-check-input:checked {
    background-color: #63b3ed;
    border-color: #63b3ed;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(99, 179, 237, .5);
}

/* Button */
.custom-btn-primary {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
    color: #ffffff;
    font-weight: bold;
    padding: .5rem 1rem;
    border-radius: .25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.custom-btn-primary:hover {
    background-color: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

:not(.btn-check)+.btn:active {
    background-color: #0369a1;
    border-color: #0369a1;
}

.custom-btn-outline {
    background-color: #ffffff;
    color: #2d3748;
    padding: .5rem 1rem;
    border: 1px solid #cbd5e0;
    border-radius: .25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}

.custom-btn-outline:hover {
    border-color: #63b3ed;
    background-color: #f7fafc;
    color: #2d3748;
}

.btn:first-child:active {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
}

/* Link */
a {
    transition: all 0.1s;
    color: #718096;
}

a:hover {
    transform: translateX(2px);
    color: #2D3748;
}

.site-footer {
    color: #475569;
    padding-bottom: 1rem;
}

.site-footer a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.seo-section,
.error-page {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 1.25rem 1.5rem;
}

.seo-section h2 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.seo-section p,
.seo-section li {
    color: #475569;
}

.seo-section ul {
    margin-bottom: 0;
}

.error-page {
    max-width: 720px;
}

/* Angles diagram */
#angles line,
#angles path,
#angles circle {
    stroke: #666;
}

#angles text {
    fill: #333;
    font-size: 10px;
}

#angles path.drag {
    fill: #666;
    cursor: move;
}

#angles {
    text-align: center;
}

@media (max-width: 768px) {
    .hero-card {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        max-width: 100%;
        width: 220px;
    }
}