/* ====== Base Theme ====== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap");

:root {
    --bg: #ffffff;
    --surface: #f8fafc;
    /* alt section bg */
    --text: #0f172a;
    /* slate-900 */
    --muted: #475569;
    /* slate-600 */
    --line: #e5e7eb;
    /* divider */
    --primary: #2563eb;
    /* blue-600 */
    --primary-600: #1d4ed8;
    --primary-100: #dbeafe;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(15, 23, 42, .06);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

/* ====== Typography ====== */
h1,
h2,
h3,
h4 {
    margin: 0 0 .6rem
}

.section-title {
    font-size: 2.25rem;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--text)
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 70ch;
    margin: 0 auto
}

.lead {
    font-size: 1.125rem;
    color: var(--muted)
}

p {
    margin: 0 0 1rem
}

/* ====== Layout ====== */
section {
    padding: 72px 0;
    scroll-margin-top: 90px
}

.bg-light {
    background: var(--surface) !important
}

/* ====== Navbar (light, minimal) ====== */
.navbar {
    background: #fff !important;
    border-bottom: 1px solid var(--line);
    box-shadow: none;
    transition: background .2s ease;
}

.navbar-brand {
    color: var(--text) !important;
    font-weight: 800;
    letter-spacing: .2px
}

.navbar .nav-link {
    color: var(--muted) !important;
    font-weight: 500
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important
}

/* sticky blur after scroll (optional JS already present) */
.navbar.scrolled {
    backdrop-filter: saturate(180%) blur(10px);
    background: rgba(255, 255, 255, .9) !important
}

/* ====== Hero ====== */
.hero-section {
    background: #fff;
    color: var(--text);
    padding: 120px 0 72px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 1rem
}

.hero-title .text-primary {
    color: var(--primary) !important
}

.hero-subtitle {
    color: var(--muted);
    font-size: 1.125rem;
    max-width: 48ch
}

.hero-cta .btn {
    border-radius: 10px;
    padding: .85rem 1.25rem;
    font-weight: 600;
    margin-right: .6rem
}

.hero-stats {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: none;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary)
}

.stat-label {
    font-size: .9rem;
    color: var(--muted)
}

/* ====== Cards (Services / Success / Pricing) ====== */
.service-card,
.success-card,
.pricing-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    height: 100%;
    transition: transform .2s ease;
}

.service-card:hover,
.success-card:hover,
.pricing-card:hover {
    transform: translateY(-4px)
}

.service-icon {
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem
}

.success-card {
    border-left: 4px solid var(--primary)
}

.success-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem
}

.success-description {
    color: var(--muted)
}

.success-results {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1rem;
    font-size: .95rem
}

/* ====== Pricing ====== */
.pricing-card {
    border: 2px solid transparent;
    position: relative
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.02)
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem
}

.pricing-header h3 {
    font-size: 1.35rem
}

.price {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary)
}

.currency {
    font-size: 1.25rem;
    vertical-align: top
}

.period {
    font-size: 1rem;
    color: var(--muted)
}

.discount {
    display: inline-block;
    margin-top: .5rem;
    background: var(--primary-100);
    color: var(--primary-600);
    padding: .35rem .7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
}

.pricing-features ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.pricing-features li {
    padding: .55rem 0 .55rem 1.4rem;
    border-bottom: 1px solid var(--line);
    position: relative
}

.pricing-features li:last-child {
    border-bottom: none
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .55rem;
    color: var(--success);
    font-weight: 800
}

/* ====== About ====== */
.about-features {
    margin-top: 1.25rem
}

.feature-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .8rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: background .2s ease;
}

.feature-item i {
    color: var(--primary)
}

.feature-item:hover {
    background: #fff
}

/* ====== Forms ====== */
.contact-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--text)
}

.form-control,
.form-select {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .75rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .15);
    outline: 0;
}

/* ====== Buttons ====== */
.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: .7rem 1.15rem;
    border: none
}

.btn-primary {
    background: var(--primary) !important;
    color: #fff !important
}

.btn-primary:hover {
    background: var(--primary-600) !important
}

.btn-outline-light {
    border: 2px solid var(--primary) !important;
    color: var(--primary) !important;
    background: transparent !important
}

.btn-outline-light:hover {
    background: var(--primary-100) !important;
    color: var(--primary-600) !important
}

/* ====== Footer ====== */
footer {
    background: #0b1220;
    color: #c7d2fe
}

footer h5,
footer h6 {
    color: #e2e8f0;
    margin-bottom: .6rem
}

footer p {
    color: #c7d2fe
}

/* ====== Utilities ====== */
.border {
    border: 1px solid var(--line) !important
}

.shadow-soft {
    box-shadow: var(--shadow)
}

.rounded-lg {
    border-radius: var(--radius)
}

.text-muted {
    color: var(--muted) !important
}

hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 1.5rem 0
}

/* ====== Scrollbar (webkit) ====== */
::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-600)
}

/* ====== Transitions / Reveals ====== */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0)
}

/* ====== Container Fix ====== */
/* Ensure Bootstrap container max-width works properly across all breakpoints */
@media (min-width: 576px) {
    .container-sm {
        max-width: 540px !important;
    }
}

@media (min-width: 768px) {
    .container-md {
        max-width: 720px !important;
    }
}

@media (min-width: 992px) {
    .container-lg {
        max-width: 960px !important;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-xl {
        max-width: 1140px !important;
    }
}

@media (min-width: 1400px) {
    .container-xxl {
        max-width: 1320px !important;
    }
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.9rem
    }

    .hero-title {
        font-size: 2.15rem
    }

    .hero-cta .btn {
        display: block;
        width: 100%;
        margin: 0 0 .75rem
    }

    .hero-stats {
        padding: 1rem
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.7rem
    }

    .section-subtitle {
        font-size: 1.05rem
    }
}