/* Root Variables matching the provided UI */
:root {
    --primary: #6366F1;
    /* Indigo/Purple */
    --primary-gradient: linear-gradient(135deg, #8B5CF6, #3B82F6);
    --secondary: #F8FAFC;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0f172a;
    --border-color: #E2E8F0;

    --accent-orange: #F97316;
    --accent-blue: #3B82F6;
    --accent-pink: #EC4899;
    --accent-green: #10B981;

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 10px 20px -5px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 30px 60px -15px rgba(99, 102, 241, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
.brand-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(to right, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-purple {
    color: var(--primary);
}

.text-orange {
    color: var(--accent-orange);
}

.text-blue {
    color: var(--accent-blue);
}

.text-green {
    color: var(--accent-green);
}

.text-pink {
    color: var(--accent-pink);
}

.text-black {
    color: #000;
}

.section-padding {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--bg-light);
}

.testimonials-section {
    width: 100%;
    max-width: 100%;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #EC4899, #F97316);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(236, 72, 153, 0.4);
}

.btn-outline {
    background: white;
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-orange {
    background: white;
    color: #F97316;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #F97316;
    transition: all 0.3s ease;
}

.btn-outline-orange:hover {
    background: #F97316;
    color: white;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
    transform: translateY(-2px);
}

.btn-outline-small {
    background: white;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
}

.btn-white {
    background: white;
    color: var(--primary);
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Dark Header Theme */
.dark-header-wrapper {
    position: relative;
    background: url('assets/office_team.png') center/cover no-repeat;
    color: white;
    padding-bottom: 0px;
    overflow: hidden;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.dark-header-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.dark-header-wrapper>* {
    position: relative;
    z-index: 2;
}

.dark-header-wrapper .brand-logo,
.dark-header-wrapper .nav-links a {
    color: white;
}

.dark-header-wrapper .nav-links a:hover,
.dark-header-wrapper .nav-links a.active {
    color: var(--accent-orange);
}

.dark-header-wrapper .pill-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.dark-header-wrapper .hero-subtitle,
.dark-header-wrapper .stat-item p {
    color: rgba(255, 255, 255, 0.8);
}

.dark-header-wrapper .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.dark-header-wrapper .marquee-section {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.dark-header-wrapper .marquee-label,
.dark-header-wrapper .marquee-logos {
    color: white;
}

.dark-header-wrapper .marquee-label {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 5%;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 16px 5%;
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    font-size: 1.5rem;
}

.logo-mark {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.d-mobile-only {
    display: none !important;
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.5rem;
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 100px 0 40px;
    max-width: 90%;
    margin: 0 auto;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 10;
    opacity: 0.8;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 4px;
    animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-content {
    flex: 1 1 50%;
    max-width: 50%;
}

.hero-visual {
    flex: 1 1 50%;
    display: flex;
    justify-content: flex-end;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-item i {
    font-size: 24px;
}

.stat-item h4 {
    font-size: 1.2rem;
}

.stat-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.mockup-container {
    position: relative;
    width: 85%;
}

.main-mockup {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    aspect-ratio: 1 / 1;
}

@media (max-width: 768px) {
    .main-mockup {
        aspect-ratio: 9 / 16;
        /* Makes the image significantly taller on mobile */
    }
}

/* Marquee */
.marquee-section {
    background: var(--bg-light);
    padding: 20px;
    margin: 40px 5%;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.marquee-container {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.marquee-label {
    font-weight: 600;
    color: var(--text-muted);
    padding-right: 40px;
    border-right: 1px solid var(--border-color);
    margin-right: 40px;
    white-space: nowrap;
}

.marquee-logos {
    display: flex;
    gap: 60px;
    overflow: visible;
    white-space: nowrap;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.2rem;
    animation: scroll 20s linear infinite;
    width: max-content;
}

.marquee-logos span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 30px));
    }
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    color: #E349A0;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.8rem;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
}

.space-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* Capabilities */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 24px;
}

.service-icon.step-1 {
    color: var(--accent-orange);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.02));
    border: 1px solid rgba(249, 115, 22, 0.1);
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 1), 0 8px 16px rgba(249, 115, 22, 0.08);
}

.service-icon.step-2 {
    color: var(--accent-pink);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(236, 72, 153, 0.02));
    border: 1px solid rgba(236, 72, 153, 0.1);
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 1), 0 8px 16px rgba(236, 72, 153, 0.08);
}

.service-icon.step-3 {
    color: var(--primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.02));
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 1), 0 8px 16px rgba(99, 102, 241, 0.08);
}

.service-content {
    padding: 0;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Stats Banner */
.stats-banner {
    position: relative;
    background: url('assets/branding_ui.png') center/cover no-repeat;
    background-attachment: fixed;
    /* For parallax effect */
    margin: 40px 0;
    border-radius: 0;
    padding: 100px 0;
    color: white;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    /* Dark overlay */
    backdrop-filter: blur(8px);
    z-index: 1;
}

.stats-banner-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.banner-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 20px;
    backdrop-filter: blur(12px);
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.banner-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.banner-stat i {
    font-size: 32px;
    margin-bottom: 16px;
    color: white;
}

.banner-stat h4 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: white;
}

.banner-stat p {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Demo Section */
.demo-section {
    padding: 80px 5%;
    max-width: 100% !important;
    margin: 0 !important;
}

.demo-section.bg-light-blue {
    background-color: #F6F6F6;
    border-radius: 0;
    width: 100%;
}

.demo-badge {
    display: inline-block;
    background: #E349A0;
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.demo-title {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.demo-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.demo-features {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.demo-feature {
    background: #E6F4EA;
    color: #166534;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-feature i {
    color: #16A34A;
}

.demo-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background: white;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.filter-btn:hover {
    border-color: var(--text-main);
}

.filter-btn.active {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

.fire-icon {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #EF4444;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    padding: 0 3%;
}

.demo-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 5px 30px 5px;
}

.filter-btn {
    margin: 8px;
    padding: 10px 28px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.filter-btn:hover {
    border-color: #cbd5e1;
    color: var(--text-dark);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #EC4899, #F97316);
    border: 2px solid transparent;
    color: white;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
    transform: translateY(-2px);
}

.coming-soon-msg {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    background: #f8fafc;
    border-radius: 20px;
    border: 2px dashed #cbd5e1;
    margin-top: 20px;
}

.coming-soon-msg i {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 16px;
}

.coming-soon-msg h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.coming-soon-msg p {
    color: #64748b;
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.demo-track {
    width: 32%;
    display: contents;
}

.demo-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: white;
    border-radius: 20px;
    padding: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: left;
    border: 1px solid rgba(229, 231, 235, 0.6);
    display: flex;
    flex-direction: column;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;

}

.demo-card:hover {
    transform: translateY(-10px);
}

.demo-img {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 380px;
}

.demo-img img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.demo-img .demo-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
}

.demo-img .demo-slide-top {
    position: relative;
    z-index: 1;
    animation: demo-crossfade 3s infinite alternate ease-in-out;
}

@keyframes demo-crossfade {

    0%,
    25% {
        opacity: 1;
    }

    75%,
    100% {
        opacity: 0;
    }
}

.demo-card:hover .demo-img img {
    transform: scale(1.08);
}

.demo-info {
    padding: 5px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.demo-img .card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 16px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    text-align: center;
    z-index: 2;
}

.demo-img .card-caption h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: white;
    margin: 0;
    font-weight: 700;
}

.demo-info p {
    color: #6B7280;
    font-size: 1rem;
    font-weight: 500;
}

/* Hero Slider */
.mockup-slider {
    position: relative;
    width: 85%;
    margin: 0 auto;
}

.mockup-slider .slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    height: 60vh;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.mockup-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.mockup-slider .slide.active {
    opacity: 1;
}

.mockup-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mockup-slider .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    z-index: 2;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    transition: all 0.3s;
}

.slider-dots .dot.active {
    background: #F97316;
    width: 24px;
    border-radius: 4px;
}

/* Custom Solution CTA */
.custom-solution-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px 30px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-radius: 24px;
    border: 1px dashed rgba(249, 115, 22, 0.3);
}

.custom-solution-cta .cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.custom-solution-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #111827;
    font-weight: 800;
}

.custom-solution-cta p {
    font-size: 1.1rem;
    color: #4B5563;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .custom-solution-cta {
        padding: 40px 20px;
    }

    .custom-solution-cta h3 {
        font-size: 1.5rem;
    }
}

.new-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #EF4444;
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Tech Grid */
.tech-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.tech-box {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.tech-box i {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.tech-box p {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Why Choose Us */
.dark-why-wrapper {
    position: relative;
    background: url('assets/branding_ui.png') center/cover no-repeat;
    color: white;
    border-radius: 40px;
    margin: 40px 2%;
    max-width: 96%;
    overflow: hidden;
}

.dark-why-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.dark-why-wrapper>.why-container {
    position: relative;
    z-index: 2;
}

.dark-why-wrapper .section-subtitle,
.dark-why-wrapper .section-title,
.dark-why-wrapper .feature-item h4 {
    color: white;
    position: relative;
    z-index: 2;
}

.dark-why-wrapper .text-purple {
    color: #F9A8D4;
}

.dark-why-wrapper .feature-item p {
    color: rgba(255, 255, 255, 0.8);
}

.dark-why-wrapper .astro-placeholder {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.check-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.bg-purple {
    background: var(--primary);
}

.bg-orange {
    background: var(--accent-orange);
}

.bg-blue {
    background: var(--accent-blue);
}

.bg-green {
    background: var(--accent-green);
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.astro-placeholder {
    width: 100%;
    height: 400px;
    background: var(--bg-light);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--primary);
}

/* Pricing */
.billing-toggle {
    display: inline-flex;
    background: white;
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 50px;
    margin-top: 20px;
}

.billing-toggle span {
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.billing-toggle span.active {
    background: var(--bg-light);
}

.badge {
    color: var(--primary);
    font-size: 0.75rem;
    margin-left: 8px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: center;
    margin-top: 40px;
}

.price-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.price-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-card h4 {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.price span:first-child {
    font-size: 1.5rem;
    margin-top: 10px;
}

.price span:last-child {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 25px;
    font-weight: 400;
}

.price-card>p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials-section {
    width: 100%;
    max-width: 100%;
}

.testimonials-slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.testimonials-grid {
    display: flex;
    gap: 24px;
    padding: 40px 0;
    width: max-content;
    animation: scrollTestimonials 35s linear infinite;
}

.testimonials-grid:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 12px));
    }
}

.testimonial-card {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    width: 380px;
    flex: 0 0 auto;
}

.testimonial-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-card .stars {
    color: #9b51e0;
    font-size: 1.1rem;
    display: flex;
    gap: 4px;
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: #f3e8ff;
    line-height: 1;
}

.testimonial-card p {
    flex-grow: 1;
    font-weight: 500;
    color: #111827;
    font-size: 0.95rem;
    line-height: 1.6;
}

.testimonial-card .divider {
    height: 1px;
    background: #E2E8F0;
    margin: 24px 0;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-main);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* FAQ */
.faq-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.faq-header {
    flex: 1;
}

.faq-list {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 32px;
    cursor: pointer;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    /* No active border color change */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.faq-question i {
    color: #F97316;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Sidebar */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: var(--bg-dark);
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-sidebar {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.sidebar-links li {
    margin-bottom: 24px;
}

.sidebar-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: block;
}

.sidebar-links a:hover,
.sidebar-links a.active {
    opacity: 1;
    color: var(--accent-orange);
}

.mobile-sidebar .btn-primary {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 80px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
}

.footer-brand p {
    color: white;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 20px 0;
    max-width: 300px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 24px;
    padding-bottom: 8px;
    position: relative;
    width: fit-content;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent-orange);
}

.footer-col a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: white;
}

.newsletter p {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--accent-orange);
}

.input-group input {
    background: transparent;
    border: none;
    color: white;
    padding: 12px 16px;
    width: 100%;
    outline: none;
}

.input-group button {
    background: var(--accent-orange);
    border: none;
    color: white;
    padding: 0 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.input-group button:hover {
    background: #ea580c;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
    text-decoration: none;
    border: none;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    color: white;
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    border-bottom: none !important;
}

.footer-bottom a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .projects-grid,
    .blog-grid,
    .services-grid,
    .demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dark-header-wrapper {
        border-radius: 0;
        min-height: auto;
        padding-bottom: 20px;
        padding-top: 80px;
        background: white;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .dark-header-wrapper::before {
        display: none;
    }

    .navbar {
        background: #0f172a;
        padding: 16px 5%;
    }

    .nav-links {
        display: none;
    }

    .d-mobile-only {
        display: flex !important;
    }

    .navbar .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .brand-logo {
        font-size: 1.25rem;
    }

    .logo-mark {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .projects-grid,
    .pricing-grid,
    .blog-grid,
    .services-grid,
    .tech-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .demo-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 0 15px;
    }

    .demo-track {
        display: contents;
    }

    .demo-card {
        width: auto;
        flex: none;
        margin: 0;
    }

    .demo-img {
        height: 400px;
    }

    .demo-info h3 {
        font-size: 1rem;
    }

    .demo-info p {
        font-size: 0.8rem;
    }



    .stats-banner-container {
        grid-template-columns: 1fr;
    }


    .faq-container {
        flex-direction: column;
        gap: 40px;
    }

    .faq-item {
        padding: 20px;
    }

    .social-links {
        justify-content: flex-start;
    }

    .hero {
        max-width: 100%;
        display: flex;
        padding: 0;
        flex: 1;
        align-items: flex-start;
    }

    .hero-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: none;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    .hero-container::before {
        display: none;
    }

    .hero-content {
        display: none;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 20px;
    }

    .hero-visual .mockup-slider {
        width: 90%;
    }

    .scroll-indicator {
        display: none;
    }

    .pill-badge {
        display: none;
    }

    .hero-cta-group .btn-outline {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0;
    }

    .hero-subtitle {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
        width: 100%;
        display: flex;
    }

    .hero-cta-group a {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 1.05rem;
        white-space: nowrap;
    }

    .hero-cta-group a i {
        flex-shrink: 0;
    }

    .cta-banner h2 {
        font-size: 2rem;
    }

    .section-title,
    .demo-title {
        font-size: 2rem;
    }

    .demo-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .stats-banner {
        padding: 60px 10px;
    }

    .stats-banner-container {
        gap: 20px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        text-align: center;
    }

    .d-none-mobile {
        display: none !important;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 35px;
    width: 50px;
    height: 50px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 999;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    color: white;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    z-index: -1;
    animation: whatsapp-ripple 1.5s linear infinite;
}

@keyframes whatsapp-ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); /* Reduced from 20px */
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #EC4899, #F97316);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999;
}

.scroll-to-top i {
    z-index: 2;
    color: white;
    margin-top: 3px; /* Visually centers the arrow */
    animation: arrow-bounce 1.5s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes arrow-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.3);
}

.scroll-to-top:hover i {
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 85px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.8rem;
    }

    .demo-filter {
        display: inline-flex;
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: scroll;
        padding: 20px 15px 30px 15px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    .demo-filter::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari and Opera */
    }

    .demo-filter .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .demo-section .demo-title {
        padding: 0px;
    }

    .demo-section .demo-subtitle {
        padding: 0 20px;
    }

    .newsletter {
        display: none;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .section-padding.demo-section {
        padding: 25px 0 !important;
    }
}