:root {
    --primary: #ff2d20 !important;
    --primary-dark: #d92318;
    --dark: #111827;
    --dark-2: #1e293b;
    --muted: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", sans-serif;
    color: var(--dark);
    line-height: 1.7;
}

.navbar {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15,23,42,.06);
}

.navbar-brand {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.navbar-brand span {
    color: var(--primary);
}

.nav-link {
    color: #334155;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--primary);
}

.btn-primary {
    border-color: #ff2d20!important;
    font-weight: 700;
    background: #ff2d20!important;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-dark {
    font-weight: 600;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 100px;
    background: radial-gradient(circle at 80% 20%, rgba(255,45,32,.10), transparent 30%),
        linear-gradient(180deg,#fff 0%,#f8fafc 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 50px;
    background: rgba(255,45,32,.08);
    color: var(--primary);
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1.03;
    letter-spacing: -3px;
    font-weight: 850;
    max-width: 900px;
}

.hero h1 span {
    color: var(--primary);
}

.hero-lead {
    color: var(--muted);
    font-size: 1.25rem;
    max-width: 760px;
    margin-top: 25px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
    color: #475569;
    font-size: .95rem;
}

.hero-meta i {
    color: var(--primary);
    margin-right: 7px;
}

.code-card {
    background: #111827;
    border-radius: 20px;
    padding: 30px;
    color: #d1d5db;
    box-shadow: 0 25px 70px rgba(15,23,42,.18);
    transform: rotate(1deg);
}

.code-header {
    display: flex;
    gap: 7px;
    margin-bottom: 25px;
}

.code-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #64748b;
}

.code-line {
    height: 10px;
    border-radius: 10px;
    background: #374151;
    margin: 12px 0;
}

.code-line.short {
    width: 45%;
}

.code-line.medium {
    width: 70%;
}

.code-line.long {
    width: 90%;
}

.section {
    padding: 100px 0;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--dark);
    color: white;
}

.section-title {
    font-size: clamp(2rem,4vw,3.3rem);
    line-height: 1.1;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.section-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 720px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    font-size: .8rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.trust-strip {
    border-bottom: 1px solid var(--border);
    background: #fff;
    padding: 30px 0;
}

.trust-item {
    color: #64748b;
    font-weight: 600;
    text-align: center;
}

.service-card {
    height: 100%;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: .25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
    border-color: rgba(255,45,32,.25);
}

.service-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255,45,32,.09);
    color: var(--primary);
    font-size: 1.45rem;
    margin-bottom: 22px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 750;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.case-study {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    height: 100%;
}

.case-image {
    height: 220px;
    background: linear-gradient(135deg, #1f2937, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
}

.case-image .mockup {
    width: 75%;
    height: 130px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
    padding: 15px;
}

.mock-line {
    height: 8px;
    background: #e5e7eb;
    border-radius: 8px;
    margin-bottom: 10px;
}

.mock-line.red {
    background: rgba(255,45,32,.65);
    width: 45%;
}

.case-content {
    padding: 28px;
}

.case-content h3 {
    font-weight: 750;
}

.case-content p {
    color: var(--muted);
}

.tag {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 50px;
    background: #f1f5f9;
    color: #475569;
    font-size: .78rem;
    font-weight: 700;
    margin: 3px 2px;
}

.lifecycle {
    position: relative;
}

.lifecycle-step {
    position: relative;
    padding-left: 75px;
    padding-bottom: 45px;
}

.lifecycle-step:last-child {
    padding-bottom: 0;
}

.lifecycle-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,45,32,.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.lifecycle-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 24px;
    top: 50px;
    width: 2px;
    height: calc(100% - 45px);
    background: #e2e8f0;
}

.lifecycle-step h3 {
    font-size: 1.2rem;
    font-weight: 750;
}

.lifecycle-step p {
    color: var(--muted);
    margin-bottom: 0;
}

.tech-box {
    background: #111827;
    color: white;
    border-radius: 24px;
    padding: 55px;
}

.tech-item {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    color: #cbd5e1;
    background: rgba(255,255,255,.03);
}

.testimonial {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 45px;
}

.testimonial-quote {
    font-size: 1.35rem;
    line-height: 1.6;
    color: #334155;
}

.quote-mark {
    font-size: 4rem;
    line-height: .5;
    color: var(--primary);
    opacity: .35;
}

.featured-project {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 26px;
    background: white;
    box-shadow: 0 25px 70px rgba(15,23,42,.08);
}

.project-visual {
    min-height: 480px;
    background: linear-gradient(135deg,#111827,#334155);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px;
}

.browser {
    width: 100%;
    max-width: 570px;
    border-radius: 14px;
    overflow: hidden;
    background: white;
    box-shadow: 0 30px 60px rgba(0,0,0,.30);
}

.browser-bar {
    height: 36px;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-left: 14px;
}

.browser-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #94a3b8;
}

.browser-content {
    padding: 25px;
}

.browser-title {
    width: 55%;
    height: 13px;
    background: #1f2937;
    border-radius: 10px;
    margin-bottom: 20px;
}

.browser-line {
    width: 90%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    margin-bottom: 10px;
}

.browser-line.short {
    width: 55%;
}

.browser-card {
    height: 90px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 20px;
    padding: 15px;
}

.project-content {
    padding: 50px;
}

.project-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.project-description {
    color: var(--muted);
    font-size: 1.05rem;
}

.metric {
    border-left: 3px solid var(--primary);
    padding-left: 15px;
}

.metric strong {
    display: block;
    font-size: 1.8rem;
    line-height: 1.2;
}

.metric span {
    color: var(--muted);
    font-size: .9rem;
}

.detail-card {
    height: 100%;
    padding: 32px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
}

.detail-card h3 {
    font-size: 1.2rem;
    font-weight: 750;
    margin-bottom: 14px;
}

.detail-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,45,32,.09);
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.foundation {
    background: #111827;
    border-radius: 26px;
    padding: 65px;
    color: white;
}

.foundation .section-subtitle {
    color: #94a3b8;
}

.module-card {
    height: 100%;
    padding: 25px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.035);
    border-radius: 15px;
    transition: .2s ease;
}

.module-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.06);
}

.module-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255,45,32,.13);
    color: #ff6b61;
    margin-bottom: 17px;
}

.module-card h3 {
    font-size: 1rem;
    font-weight: 700;
}

.module-card p {
    color: #94a3b8;
    font-size: .9rem;
    margin-bottom: 0;
}

.advantage {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.advantage-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,45,32,.09);
    color: var(--primary);
    font-size: 1.25rem;
}

.advantage h3 {
    font-size: 1.15rem;
    font-weight: 750;
    margin-bottom: 5px;
}

.advantage p {
    color: var(--muted);
    margin: 0;
}

.cta {
    padding: 100px 0;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.15), transparent 25%),
        linear-gradient(135deg,#d92318,#ff2d20);
    color: white;
    margin-bottom: 0px !important;
}

.cta h2 {
    font-size: clamp(2.2rem,5vw,3.8rem);
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 800;
}

.cta p {
    color: rgba(255,255,255,.82);
}

.cta .btn-light {
    font-weight: 700;
    padding: .85rem 1.5rem;
}

footer {
    color: #94a3b8;
    padding: 0px 0 30px;
    margin-top: 0px !important;
}

footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 18px;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-brand {
    font-size: 1.7rem;
    font-weight: 800;
    color: white;
}

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

svg.bi {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: -0.125em;
    color: var(--primary);
    fill: currentColor;
    flex: 0 0 auto;
}

@media (max-width: 991px) {
    .hero {
        padding: 125px 0 80px;
    }

    .code-card {
        margin-top: 50px;
    }

    .tech-box {
        padding: 35px 25px;
    }

    .project-content {
        padding: 35px;
    }

    .project-visual {
        min-height: 350px;
    }

    .foundation {
        padding: 40px 25px;
    }
}
