:root {
    --ap-blue: #0d6efd;
    --ap-dark: #1e293b;
    --ap-darker: #0f172a;
    --ap-card-bg: #1e293b;
    --ap-border: #334155;
}

body {
    background-color: #f8f9fc;
    color: #1a1e2a;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Navbar ── */
.navbar { background-color: #1e293b !important; }
.navbar-brand { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.3px; }

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #1e3a5f 60%, #162d4a 100%);
    color: #fff;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(13,110,253,0.18) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #60a5fa;
    margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; }
.hero h1 .accent { color: var(--ap-blue); }
.hero-sub { font-size: 1.15rem; color: #94a3b8; max-width: 560px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.hero-stat {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.hero-stat .num { font-size: 2rem; font-weight: 800; color: #60a5fa; line-height: 1; }
.hero-stat .lbl { font-size: 0.8rem; color: #94a3b8; margin-top: 4px; }

/* ── Section headings ── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--ap-blue);
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }

/* ── Feature cards ── */
.feature-card {
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 32px rgba(13,110,253,0.1); transform: translateY(-3px); }
.feature-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, rgba(13,110,253,0.15), rgba(13,110,253,0.05));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--ap-blue);
    margin-bottom: 16px;
}

/* ── Project cards ── */
.project-card {
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}
.project-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.project-card-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f0f3f8;
}
.project-card-body { padding: 20px 24px 24px; }
.badge-custom { background: #e8f0fe; color: #1a56db; }
.badge-saas   { background: #e6f9f2; color: #0d7a5a; }
.project-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ── Testimonials ── */
.testimonial-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 14px;
    padding: 28px 26px;
    color: #e2e8f0;
}
.testimonial-quote { font-size: 1.05rem; line-height: 1.7; color: #cbd5e1; }
.testimonial-quote::before { content: '\201C'; font-size: 2rem; color: #60a5fa; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial-author { font-weight: 700; color: #fff; font-size: 0.9rem; }
.testimonial-role   { font-size: 0.8rem; color: #64748b; }

/* ── Dark section ── */
.section-dark {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
}
.section-dark .section-eyebrow { color: #60a5fa; }

/* ── CTA strip ── */
.cta-strip {
    background: linear-gradient(135deg, var(--ap-blue), #1d4ed8);
    color: #fff;
    border-radius: 20px;
    padding: 56px 40px;
}

/* ── About ── */
.team-card {
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
}
.team-avatar {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--ap-blue), #1d4ed8);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #fff;
    margin: 0 auto 16px;
}

/* ── Contact ── */
.contact-form-wrap {
    background: #fff;
    border: 1px solid #e3e8f0;
    border-radius: 20px;
    padding: 40px;
}
.form-control:focus, .form-select:focus {
    border-color: var(--ap-blue);
    box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
}

/* ── Page hero (inner pages) ── */
.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 64px 0 48px;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.page-hero p { color: #94a3b8; }
.page-hero .section-eyebrow { color: #60a5fa; }

/* ── Misc ── */
.text-muted-soft { color: #6e7a92; }
hr.divider { border-color: #e3e8f0; }
.alert-success-custom {
    background: #e6f9f2;
    border: 1px solid #0d7a5a;
    color: #0d4a36;
    border-radius: 12px;
}
