:root {
    --bs-primary: #6f42c1;
    --bs-primary-rgb: 111, 66, 193;
    --bs-primary-dark: #5a32a3;
    --bs-primary-light: #8b6cd6;
    --bs-link-color: #6f42c1;
    --bs-link-hover-color: #5a32a3;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a1a2e;
    background-color: #ffffff;
}

.navbar {
    min-height: 64px;
}

.navbar-brand {
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

.hero-section {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 50%, #4a1d8a 100%);
    color: #ffffff;
    padding: 6rem 0 5rem;
}

.hero-section .text-secondary {
    color: rgba(255, 255, 255, 0.85) !important;
}

.hero-section .btn-outline-primary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-section .btn-outline-primary:hover {
    background-color: #ffffff;
    color: #6f42c1;
    border-color: #ffffff;
}

.hero-section .btn-primary {
    background-color: #ffffff;
    color: #6f42c1;
    border-color: #ffffff;
}

.hero-section .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #5a32a3;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.solution-card {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.solution-card:hover {
    box-shadow: 0 8px 30px rgba(111, 66, 193, 0.12);
    transform: translateY(-2px);
}

.solution-icon {
    color: #6f42c1;
}

.card {
    border-radius: 12px;
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#promise hr {
    opacity: 0.3;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #6f42c1;
}

.form-control:focus,
.form-check-input:focus {
    border-color: #8b6cd6;
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.15);
}

.form-check-input:checked {
    background-color: #6f42c1;
    border-color: #6f42c1;
}

.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.form-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.form-error ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alert-success {
    background-color: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
}

.btn-primary {
    --bs-btn-bg: #6f42c1;
    --bs-btn-border-color: #6f42c1;
    --bs-btn-hover-bg: #5a32a3;
    --bs-btn-hover-border-color: #5a32a3;
    --bs-btn-active-bg: #4e2a8e;
    --bs-btn-active-border-color: #4e2a8e;
    --bs-btn-disabled-bg: #6f42c1;
    --bs-btn-disabled-border-color: #6f42c1;
}

.btn-outline-primary {
    --bs-btn-color: #6f42c1;
    --bs-btn-border-color: #6f42c1;
    --bs-btn-hover-bg: #6f42c1;
    --bs-btn-hover-border-color: #6f42c1;
    --bs-btn-active-bg: #5a32a3;
    --bs-btn-active-border-color: #5a32a3;
}

.text-primary {
    color: #6f42c1 !important;
}

a.text-primary:hover {
    color: #5a32a3 !important;
}

.bg-primary {
    background-color: #6f42c1 !important;
}

.bg-light {
    background-color: #f8f7fc !important;
}

.bg-opacity-10 {
    --bs-bg-opacity: 0.08;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

footer a:hover {
    color: #ffffff;
}

.blog-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #6f42c1;
}

.blog-content p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.blog-content code {
    background-color: #f8f7fc;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
    color: #6f42c1;
}

.blog-content a {
    color: #6f42c1;
    text-decoration: underline;
}

.blog-content a:hover {
    color: #5a32a3;
}

.breadcrumb {
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #6f42c1;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }

    .hero-section .display-4 {
        font-size: 2rem;
    }

    h1.display-4 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
