:root {
    /* Color Palette */
    --p-primary: #1a4cd2;
    --p-primary-glare: #4f80ff;
    --p-secondary: #0a1128;
    --p-accent: #00f2ff;
    --p-text: #1e293b;
    --p-text-muted: #64748b;
    --p-bg: #fdfdfe;
    --p-white: #ffffff;
    --p-dark: #0f172a;

    /* Gradients */
    --g-mesh: radial-gradient(at 0% 0%, rgba(26, 76, 210, 0.1) 0, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 242, 255, 0.05) 0, transparent 50%);
    --g-primary: linear-gradient(135deg, var(--p-primary) 0%, #0a1128 100%);

    /* Shadows & Effects */
    --s-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --s-glow: 0 0 20px rgba(26, 76, 210, 0.2);
    --glass: rgba(255, 255, 255, 0.7);
    --radius: 24px;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    color: var(--p-text);
    background-color: var(--p-bg);
    line-height: 1.7;
    background-image: var(--g-mesh);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: var(--p-secondary);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.max-w-700 {
    max-width: 700px;
}

.max-w-800 {
    max-width: 800px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: clamp(60px, 10vw, 140px) 0;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    background: var(--p-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    opacity: 0;
    transition: transform 0.1s ease;
}

/* Badge & Subtitles */
.badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--p-primary-glare);
    color: white;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.section-subtitle {
    display: block;
    color: var(--p-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon-wrapper {
    width: 45px;
    height: 45px;
    background: var(--p-primary);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--s-glow);
}

.secondary-bg {
    background: white;
    color: var(--p-secondary);
}

.logo-text {
    font-size: 1.6rem;
    color: var(--p-secondary);
}

.logo-text span {
    color: var(--p-primary);
    font-weight: 400;
}

.white {
    color: white;
}

.nav-links {
    display: flex;
    gap: clamp(15px, 2.5vw, 40px);
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--p-text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--p-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--p-secondary);
}

/* Buttons */
.btn {
    padding: 18px 36px;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background: var(--p-primary);
    color: white;
    box-shadow: 0 20px 40px -10px rgba(26, 76, 210, 0.3);
}

.btn-primary:hover {
    background: var(--p-secondary);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(26, 76, 210, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--p-primary);
    color: var(--p-primary);
}

.btn-outline:hover {
    background: var(--p-primary);
    color: white;
}

.btn-lg {
    padding: 22px 48px;
    font-size: 1.1rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    padding: clamp(100px, 15vh, 200px) 0 80px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero>.container {
    width: 100%;
}

.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(26, 76, 210, 0.05) 0%, transparent 70%);
    z-index: -1;
    filter: blur(100px);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 30px;
}

.hero h1 span {
    color: var(--p-primary);
    position: relative;
}

.hero p {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--p-text-muted);
    margin-bottom: 50px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust-avatars {
    display: flex;
}

.trust-avatars img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -15px;
}

.trust-avatars img:first-child {
    margin-left: 0;
}

.trust-count {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--p-secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: -15px;
    border: 3px solid white;
}

.main-image-card {
    position: relative;
    width: 100%;
    height: clamp(300px, 50vh, 650px);
}

.image-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    box-shadow: var(--s-soft);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: var(--s-soft);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
    max-width: 280px;
}

.info-card {
    top: 10%;
    left: -10%;
    animation: float 6s ease-in-out infinite;
}

.tech-card {
    bottom: 15%;
    right: -5%;
    animation: float 8s ease-in-out infinite reverse;
}

.floating-card i {
    width: 50px;
    height: 50px;
    background: var(--p-primary-glare);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-card strong {
    display: block;
    font-size: 1.1rem;
}

.floating-card span {
    font-size: 0.85rem;
    color: var(--p-text-muted);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

/* Services */
.services-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-item {
    background: white;
    padding: clamp(30px, 5vw, 60px);
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: attr(data-category);
    position: absolute;
    top: 30px;
    right: 40px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--p-primary);
    opacity: 0.3;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.1);
    border-color: var(--p-primary-glare);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #f0f4ff;
    color: var(--p-primary);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.service-icon i {
    width: 35px;
    height: 35px;
}

.service-item h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-item p {
    color: var(--p-text-muted);
    margin-bottom: 30px;
}

.service-list {
    list-style: none;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--p-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--p-primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-image-stack {
    height: clamp(350px, 50vh, 550px);
    position: relative;
}

.stack-main {
    width: 90%;
    height: 90%;
    background-size: cover;
    background-position: center;
    border-radius: 40px;
}

.stack-sub {
    position: absolute;
    bottom: 0;
    right: 0;
}

.stat-pill {
    background: var(--p-primary);
    color: white;
    padding: 30px;
    border-radius: 30px;
    box-shadow: var(--s-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-pill strong {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-pill span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-text p {
    color: var(--p-text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.feature-rows {
    margin-bottom: 40px;
}

.feature-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    color: var(--p-primary);
}

.feature-icon i {
    width: 28px;
    height: 28px;
}

.feature-row h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-row p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Testimonials */
.bg-dark {
    background: var(--p-dark);
}

.white-fade {
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: clamp(30px, 5vw, 60px);
    border-radius: 32px;
    color: white;
    backdrop-filter: blur(10px);
}

.quote-icon {
    color: var(--p-primary-glare);
    margin-bottom: 30px;
}

.quote-icon i {
    width: 40px;
    height: 40px;
}

.testimonial-card p {
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 40px;
    font-style: italic;
    opacity: 0.9;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.testimonial-user span {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* FAQ */
.faq-accordion {
    margin-top: 60px;
}

.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Outfit';
}

.faq-answer {
    padding: 0 30px 30px;
    color: var(--p-text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
.main-footer {
    background: var(--p-secondary);
    color: white;
    padding-top: 100px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: clamp(40px, 5vw, 100px);
    padding-bottom: 80px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
    margin-bottom: 30px;
    max-width: 300px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 15px;
}

.footer-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--p-primary-glare);
    padding-left: 5px;
}

.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.footer-contact-info i {
    color: var(--p-primary-glare);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--p-primary);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.bottom-links {
    display: flex;
    gap: 30px;
}

.bottom-links a {
    color: inherit;
    text-decoration: none;
}

.bottom-links a:hover {
    color: white;
}

/* Mobile Menu Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-overlay.active {
    transform: translateX(0);
}

.mobile-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-links a {
    text-decoration: none;
    font-family: 'Outfit';
    font-size: 2rem;
    font-weight: 700;
    color: var(--p-secondary);
}

.mobile-nav-links .btn {
    font-size: 1.1rem;
    text-align: center;
    margin-top: 20px;
}

/* Responsive Overrides */
@media (max-width: 1100px) {
    .grid-2 {
        display: flex;
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .hero-btns,
    .hero-trust {
        justify-content: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        order: -1;
        width: 100%;
    }

    .info-card {
        left: 0;
    }

    .tech-card {
        right: 0;
    }

    .about-visual {
        order: -1;
        margin-bottom: 40px;
    }

    .feature-row {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p {
        margin: 20px auto;
    }

    .footer-contact-info p {
        justify-content: center;
        text-align: left;
    }

    .footer-social {
        justify-content: center;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .bottom-links {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        text-align: center;
    }

    .footer-bottom .flex-between {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .floating-card {
        display: none;
    }

    /* Hide floating cards on v.small screens to avoid overlap */
}