:root {
    --bg: #09101d;
    --bg-2: #0d1728;
    --bg-soft: rgba(14, 24, 43, 0.82);
    --text: #eef4ff;
    --muted: #9eb0d4;
    --border: rgba(148, 163, 184, 0.16);
    --primary: #4f7cff;
    --primary-2: #8a5bff;
    --accent: #ff7a59;
    --accent-2: #ff4d98;
    --green: #28d39f;
    --cyan: #32c7ff;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --soft-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    --radius: 20px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(79, 124, 255, 0.22), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 122, 89, 0.12), transparent 24%),
        linear-gradient(180deg, #060d19 0%, #09101d 18%, #0c1424 58%, #09101d 100%);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand span {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    color: var(--muted);
    line-height: 1.78;
}

.container {
    position: relative;
    z-index: 2;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(6, 14, 27, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateZ(0);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff;
}

.navbar-brand img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.navbar-brand span {
    font-size: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.glass-dropdown {
    background: rgba(9, 18, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: var(--soft-shadow);
}

.glass-dropdown .dropdown-item {
    color: #d9e6ff;
}

.glass-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-gradient {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    padding: 0.62rem 1rem;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(79, 124, 255, 0.22);
}

.btn-gradient:hover {
    color: #fff;
    transform: translateY(-1px);
}

.btn-lg {
    padding: 0.68rem 1.06rem;
    font-size: 0.9rem;
    border-radius: 14px;
}

.btn-outline-light,
.btn-outline-primary {
    border-radius: 14px;
    padding: 0.62rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.site-main {
    overflow: visible;
}

.site-main > section {
    position: relative;
}

.site-main > section + section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1180px, calc(100% - 2rem));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.hero-section,
.page-hero {
    padding: 6rem 0 2.75rem;
    position: relative;
}

.hero-section::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.18), rgba(138, 91, 255, 0.14), rgba(255, 122, 89, 0.1));
}

.compact-hero {
    padding-top: 5.4rem;
    padding-bottom: 2rem;
    text-align: center;
}

.eyebrow-chip,
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-weight: 700;
    font-size: 0.84rem;
    margin-bottom: 1.15rem;
}

@supports (backdrop-filter: blur(1px)) {
    @media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
        .site-header {
            backdrop-filter: blur(10px);
        }

        .eyebrow-chip,
        .section-badge,
        .floating-card {
            backdrop-filter: blur(6px);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.section-badge {
    color: #dce6ff;
    background: rgba(79, 124, 255, 0.16);
}

.hero-title,
.page-hero h1 {
    font-size: clamp(2.35rem, 4.2vw, 3.0rem);
    color: #fff;
    line-height: 1.1;
}

.page-hero h1 {
    max-width: 14ch;
    margin: 0 auto 1rem;
}

.hero-copy,
.page-hero p {
    font-size: 1rem;
    color: rgba(231, 240, 255, 0.8);
    max-width: 54ch;
}

.page-hero p {
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.65rem;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.2rem;
}

.hero-metrics div {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 0.95rem 1rem;
}

.hero-metrics strong {
    display: block;
    font-size: 1.45rem;
    color: #fff;
}

.hero-metrics span {
    color: rgba(231, 240, 255, 0.78);
    font-size: 0.89rem;
}

.glass-panel {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-visual {
    position: relative;
    padding: 1.8rem;
    min-height: 400px;
}

.hero-visual img {
    width: 100%;
    display: block;
}

.floating-card {
    position: absolute;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    min-width: 170px;
    box-shadow: var(--soft-shadow);
    color: #fff;
}

.floating-card span {
    display: block;
    font-size: 0.82rem;
    opacity: 0.9;
}

.floating-card strong {
    font-size: 1.15rem;
}

.floating-card-primary {
    left: -1rem;
    bottom: 4rem;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.9), rgba(138, 91, 255, 0.88));
}

.floating-card-secondary {
    right: -1rem;
    top: 2rem;
    background: linear-gradient(135deg, rgba(40, 211, 159, 0.88), rgba(50, 199, 255, 0.86));
}

.section-space {
    padding: 4.4rem 0;
}

.section-soft {
    background:
        linear-gradient(180deg, rgba(79, 124, 255, 0.05), rgba(9, 16, 29, 0.02)),
        rgba(255, 255, 255, 0.01);
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 2.1rem;
}

.section-heading.text-center {
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    margin-bottom: 0.85rem;
    max-width: 14ch;
}

.section-heading.text-center h2,
.section-heading.text-center p,
.section-heading.text-center .section-heading-link {
    margin-left: auto;
    margin-right: auto;
}

.section-heading p {
    max-width: 56ch;
}

.section-heading-link {
    margin-top: 0.35rem;
}

.service-card,
.blog-card,
.feature-card,
.stat-card,
.process-step,
.testimonial-card,
.job-card,
.sidebar-card,
.contact-panel,
.contact-form-panel {
    padding: 1.45rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card,
.blog-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover,
.blog-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.job-card:hover {
    transform: translateY(-8px);
}

.icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.16), rgba(138, 91, 255, 0.16));
    color: #dce6ff;
    font-size: 1.35rem;
    margin-bottom: 0.9rem;
}

.link-arrow,
.text-link {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.2;
    white-space: nowrap;
}

.service-card h3,
.blog-card h3,
.feature-card h3,
.job-card h3,
.sidebar-card h3,
.contact-panel h2,
.contact-panel h3,
.cta-banner h2,
.testimonial-author strong {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.28;
}

.service-card h3,
.blog-card h3 {
    margin-bottom: 0.7rem;
}

.service-card p,
.blog-card p {
    width: 100%;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.service-card .link-arrow,
.blog-card .link-arrow {
    margin-top: auto;
}

.stat-card h3 {
    font-size: 2.1rem;
    margin-bottom: 0.6rem;
}

.accent-card {
    background: linear-gradient(135deg, rgba(255, 122, 89, 0.12), rgba(255, 77, 152, 0.12));
}

.feature-card i {
    font-size: 1.7rem;
    color: #dce6ff;
}

.image-panel {
    padding: 1.7rem;
}

.check-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.check-list div {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    font-weight: 600;
}

.check-list i {
    color: var(--green);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.process-step span {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 122, 89, 0.16), rgba(255, 77, 152, 0.16));
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 1rem;
}

.testimonial-panel {
    padding: 1.9rem;
    text-align: center;
}

.testimonial-panel blockquote,
.testimonial-card p {
    font-size: 0.98rem;
    color: var(--text);
    line-height: 1.75;
}

.testimonial-stars {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
    color: #f7b500;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: grid;
    gap: 0.25rem;
    margin-top: 1rem;
}

.cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.15rem;
    background: linear-gradient(135deg, rgba(79, 124, 255, 0.12), rgba(138, 91, 255, 0.12), rgba(255, 122, 89, 0.08));
}

.cta-banner .btn {
    align-self: center;
}

.blog-meta,
.job-meta,
.post-meta-row {
    color: var(--muted);
    font-size: 0.9rem;
}

.post-meta-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.contact-list {
    display: grid;
    gap: 1rem;
}

.contact-list div {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-weight: 600;
}

.form-control,
.form-select {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(9, 18, 34, 0.84);
    color: var(--text);
    padding: 0.9rem 1rem;
}

.input-group .btn,
.accordion-button {
    background: rgba(9, 18, 34, 0.84);
    color: var(--text);
}

.form-control::placeholder,
textarea::placeholder {
    color: rgba(158, 176, 212, 0.7);
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(79, 124, 255, 0.15);
    border-color: rgba(79, 124, 255, 0.4);
}

.form-feedback {
    font-weight: 600;
}

.rich-copy {
    padding: 1.7rem;
}

.rich-copy h2,
.rich-copy h3,
.rich-copy h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.rich-copy h2 {
    font-size: 1.65rem;
}

.rich-copy h3 {
    font-size: 1.3rem;
}

.rich-copy p,
.rich-copy li,
.rich-copy blockquote,
.rich-copy ul {
    color: var(--muted);
}

.rich-copy ul {
    padding-left: 1.2rem;
}

.detail-list,
.sidebar-links,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.9rem;
}

.detail-list li,
.sidebar-links li a {
    color: var(--muted);
}

.sidebar-links li a {
    display: grid;
    gap: 0.25rem;
}

.sidebar-links li strong {
    color: var(--text);
}

.custom-pagination {
    gap: 0.6rem;
}

.custom-pagination .page-link {
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    background: rgba(9, 18, 34, 0.84);
}

.custom-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    border-color: transparent;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.tag-row span {
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(79, 124, 255, 0.18);
    color: #dce6ff;
    font-weight: 700;
}

.faq-accordion {
    display: grid;
    gap: 1rem;
}

.accordion-item {
    border: 0;
    overflow: hidden;
}

.accordion-button,
.accordion-body {
    background: transparent;
    color: var(--text);
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    box-shadow: none;
}

.modal-glass {
    background: rgba(8, 16, 30, 0.94);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
}

.site-footer {
    padding: 2rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.footer-brand {
    color: var(--text);
}

.footer-copy {
    color: var(--muted);
    max-width: 36ch;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(79, 124, 255, 0.08);
    color: #dce6ff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    color: var(--muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.toast-stack {
    position: fixed;
    top: 90px;
    right: 16px;
    display: grid;
    gap: 0.75rem;
    z-index: 1080;
}

.toast-message {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    color: #fff;
    min-width: 280px;
    box-shadow: var(--soft-shadow);
}

.toast-success {
    background: linear-gradient(135deg, #1fb982, #2fd8a8);
}

.toast-error {
    background: linear-gradient(135deg, #ff6b6b, #ff4d98);
}

.small-copy {
    font-size: 0.95rem;
}

@media (max-width: 991.98px) {
    .hero-title,
    .page-hero h1 {
        max-width: none;
    }

    .hero-visual {
        min-height: auto;
    }

    .process-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .section-space {
        padding: 3.4rem 0;
    }

    .hero-section {
        padding-top: 5.5rem;
    }

    .floating-card {
        position: static;
        margin-top: 1rem;
    }

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

    .section-heading h2 {
        max-width: none;
    }
}
