.site-main {
    overflow: hidden;
}

.top-bar {
    background: var(--secondary);
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.top-bar .contact-chip {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    flex-wrap: wrap;
}

.top-bar .contact-chip a {
    color: #fff;
    font-weight: 500;
    word-break: break-all;
}

.main-nav {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.main-nav.nav-scrolled {
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.navbar-brand .brand-mark {
    width: 42px;
    height: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #1f2538;
    padding: 0.5rem 1rem;
}

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

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.hero {
    background: linear-gradient(135deg, #11092f 0%, #1b0c45 50%, #240a52 100%);
    color: #fff;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 12% auto auto 55%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(177, 56, 162, 0.45), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
}

.hero-eyebrow {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--secondary-light);
}

.hero h1 {
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    font-weight: 600;
}

.hero-media {
    position: relative;
    padding: 2rem;
}

.hero-main-img {
    border-radius: 1.5rem;
    width: 100%;
    box-shadow: var(--shadow-soft);
}

.hero-code-img {
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: codeBounce 9s ease-in-out infinite;
}

@keyframes codeBounce {
    0% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-12px) scale(1.01);
    }
    70% {
        transform: translateY(6px) scale(0.995);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.hero-floating-card {
    position: absolute;
    right: 5%;
    top: 5%;
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    width: 230px;
    animation: float 6s ease-in-out infinite;
}

.hero-floating-card.secondary-card {
    top: auto;
    bottom: -2rem;
    left: 4%;
    right: auto;
    background: #fff8ff;
    width: 280px;
    animation-delay: 2s;
}

.trusted-logo {
    height: 36px;
    object-fit: contain;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.service-grid {
    background: #fff;
}

.service-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #edf0fb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
}

.service-card .icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card a {
    font-weight: 600;
    color: var(--secondary);
}

.feature-highlight {
    background: var(--surface);
}

.feature-list li {
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.75rem;
}

.feature-list i {
    color: var(--primary);
    font-size: 1.2rem;
}

.mockup-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #ebeef8;
    box-shadow: var(--shadow-soft);
}

.mockup-card img {
    border-radius: 1rem;
}

.badge.bg-soft-primary {
    color: var(--primary);
}

.stats-band {
    background: #0f0c2a;
    padding: 4rem 0;
}

.portfolio-card {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #edf0fb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.portfolio-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-soft);
}

.portfolio-info {
    padding: 1.5rem;
    flex: 1;
}

.portfolio-info h5 {
    margin-top: 0.75rem;
    font-weight: 600;
    color: #1f2538;
}

.sub-hero {
    background: linear-gradient(135deg, #11092f 0%, #2b1455 60%, #4f1b74 100%);
    padding: 5rem 0;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.sub-hero.gradient-soft {
    background: linear-gradient(135deg, #130934, #26124b, #402365);
}

.sub-hero .stats-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
}

.sub-hero.gradient-soft h1 {
    color: #fff !important;
}

.btn-white {
    background: #fff;
    color: var(--dark);
    border-radius: 999px;
    padding: 0.85rem 1.75rem;
    font-weight: 600;
}

.section-light {
    background: #f9f9ff;
    padding: 4rem 0;
}

.faq-accordion .accordion-item {
    border: none;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.faq-accordion .accordion-button {
    border-radius: 1rem;
    font-weight: 600;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: rgba(105, 182, 73, 0.08);
    box-shadow: none;
}

.faq-accordion .accordion-body {
    color: var(--muted);
}

.expo-section {
    background: radial-gradient(circle at top right, rgba(177, 56, 162, 0.08), transparent 45%), var(--surface);
}

.process-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.process-item {
    background: #fff;
    border-radius: 1.1rem;
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    border: 1px solid #edf0fb;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-soft);
}

.process-item h5 {
    margin-bottom: 0.35rem;
}

.process-item p {
    margin-bottom: 0;
    color: var(--muted);
}

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

.expo-media {
    position: relative;
    min-height: 380px;
}

.expo-media img {
    border-radius: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 6px solid #fff;
}

.expo-main {
    width: 85%;
    animation: float 10s ease-in-out infinite;
}

.expo-secondary {
    position: absolute;
    right: 0;
    bottom: -2rem;
    width: 60%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 1.5s;
}

.expo-badge {
    position: absolute;
    background: #fff;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-soft);
    max-width: 180px;
    animation: glowPulse 6s ease-in-out infinite;
}

.expo-badge.alt {
    right: 5%;
    top: 5%;
    background: #0f0c2a;
    color: #fff;
}

.expo-badge:not(.alt) {
    left: -5%;
    bottom: 15%;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    }
    50% {
        box-shadow: 0 20px 40px rgba(105, 182, 73, 0.3);
    }
    100% {
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    }
}

.testimonials {
    background: var(--surface);
}

.testimonial-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
    border: 1px solid #edf0fb;
}

.avatar-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-card .rating i {
    color: #ffb545;
}

.logo-strip {
    background: #fff;
    padding: 3rem 0;
}

.logo-strip-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

.logo-item {
    background: var(--surface-alt);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
}

.logo-item img {
    height: 48px;
    margin: 0 auto;
    object-fit: contain;
}

.cta-section {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    position: relative;
}

.cta-section.alt-cta {
    background: linear-gradient(135deg, #11092f, #220e46);
    padding: 3.5rem 0;
}

.contact-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.contact-card .invalid-feedback {
    font-size: 0.85rem;
}

.contact-card .form-control,
.contact-card .form-select {
    border-radius: 0.85rem;
    border-color: #dbe1f5;
    padding: 0.85rem 1rem;
}

.site-footer {
    background: #050512;
    color: #fff;
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.footer-brand img {
    max-width: 180px;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #fff;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.subscribe-form .form-control {
    border-radius: 999px 0 0 999px;
    border: none;
    padding: 0.85rem 1.25rem;
}

.subscribe-form .btn {
    border-radius: 0 999px 999px 0;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-section {
    padding: 4rem 0;
    background: #fff;
}

.legal-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid #edf0fb;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    margin-bottom: 1.5rem;
}

.legal-card h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.legal-card p,
.legal-card ul {
    color: var(--muted);
}

.legal-card ul {
    padding-left: 1.2rem;
}

@media (max-width: 991.98px) {
    .main-nav {
        padding: 0.5rem 0;
    }
    .navbar-collapse {
        padding: 1rem 0;
    }
    .hero-floating-card,
    .hero-floating-card.secondary-card {
        position: relative;
        width: 100%;
        top: auto;
        right: auto;
        left: auto;
        margin-top: 1.5rem;
    }
    .hero-media {
        padding: 0;
    }
    .expo-media {
        min-height: auto;
    }
    .expo-secondary {
        position: relative;
        width: 80%;
        margin: 1.5rem auto 0;
        bottom: auto;
    }
    .expo-badge {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        margin-top: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    main section {
        padding: 3.5rem 0;
    }
    .hero {
        padding-top: 4rem;
    }
    .top-bar .contact-chip {
        width: 100%;
        justify-content: center;
        text-align: center;
        border-radius: 0.75rem;
    }
    .process-item {
        flex-direction: column;
        text-align: center;
    }
    .process-item .process-icon {
        margin-inline: auto;
    }
    .expo-main,
    .expo-secondary {
        width: 100%;
    }
    .service-card {
        text-align: center;
    }
    .service-card .icon-circle {
        margin-inline: auto;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}