/* === Global base === */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: #f3f4f6;
    color: #111827;
}

/* === Navbar === */
.navbar {
    background: #1f2937;
    color: #f9fafb;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-logo {
    font-weight: 700;
    font-size: 18px;
}

.navbar-tagline {
    font-size: 12px;
    color: #9ca3af;
}

.navbar-right a {
    color: #e5e7eb;
    text-decoration: none;
    margin-left: 12px;
    font-size: 13px;
}

.navbar-right a:hover {
    color: #ffffff;
}

/* === Layout === */
.wrapper {
    max-width: 1000px;
    margin: 24px auto;
    padding: 0 12px;
}

.card {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-ghost {
    background: transparent;
    color: #2563eb;
    border: 1px solid #2563eb;
}

.btn-ghost:hover {
    background: #eff6ff;
}

/* Links */
a.link {
    color: #2563eb;
    text-decoration: none;
}

a.link:hover {
    text-decoration: underline;
}

/* === Forms === */
.label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #374151;
}

.input, .select, .textarea {
    width: 100%;
    padding: 7px 9px;
    font-size: 13px;
    margin-bottom: 8px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
}

.textarea {
    min-height: 80px;
    resize: vertical;
}

/* Messages */
.msg {
    padding: 7px 10px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 10px;
}

.msg-error {
    background: #fee2e2;
    color: #b91c1c;
}

.msg-success {
    background: #dcfce7;
    color: #166534;
}

.msg-info {
    background: #e0f2fe;
    color: #075985;
}

/* === Tables === */
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.table th, .table td {
    border: 1px solid #e5e7eb;
    padding: 6px 8px;
    text-align: left;
}

.table th {
    background: #f9fafb;
    font-weight: 600;
}

/* === Landing page specific === */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 24px;
    align-items: center;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

.hero-title {
    font-size: 28px;
    margin-bottom: 8px;
    color: #111827;
}

.hero-subtitle {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 16px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.hero-badge {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #374151;
}

.hero-highlight {
    font-size: 13px;
    color: #059669;
    margin-bottom: 8px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.hero-note {
    font-size: 12px;
    color: #6b7280;
}

/* Info grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-card-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111827;
}

.info-card-text {
    font-size: 13px;
    color: #4b5563;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 768px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

.step-number {
    display: inline-block;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 4px;
}

/* FAQ */
.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 3px;
}

.faq-answer {
    font-size: 13px;
    color: #4b5563;
}

/* Footer */
.footer {
    margin-top: 30px;
    padding: 14px 16px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

