:root {
    /* Colors */
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #000000;
    --accent: #8b5cf6;
    --background: #ffffff;
    --surface: #f8fafc;
    --text: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(0, 0, 0, 0.05);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 20px;

    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

#neural-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    /* Slightly lower opacity for white background */
}

section,
.header,
.footer {
    position: relative;
    z-index: 1;
}

.hero,
.benefits,
.how-it-works {
    background: transparent;
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 10px 30px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--border);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--text);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-outline:hover {
    color: var(--white);
    border-color: var(--text);
}

.btn-outline:hover::before {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0);
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
    /* Transparent at top */
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    transition: height 0.4s ease;
}

.header.scrolled .nav-container {
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 2.25rem;
}

.logo-text span {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.logo-img {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links li a:not(.btn) {
    position: relative;
    padding-bottom: 4px;
    font-weight: 500;
}

.nav-links li a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links li a:not(.btn):hover {
    color: var(--primary);
}

.nav-links li a:not(.btn):hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.main-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    animation: slowBreathe 6s ease-in-out infinite alternate;
}

@keyframes slowBreathe {
    0% {
        transform: translateY(0);
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    }

    100% {
        transform: translateY(-15px);
        box-shadow: 0 50px 100px rgba(99, 102, 241, 0.15);
    }
}

.hero-img {
    width: 100%;
    border-radius: 24px;
    display: block;
    transition: transform 0.3s ease;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    z-index: 2;
    transition: transform 0.3s ease;
}

.floating-card:hover {
    transform: scale(1.05) !important;
    /* overrides float anim momentarily if possible or just adds pop */
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.card-1 {
    top: 10%;
    left: -20px;
    animation: float 4s ease-in-out infinite;
}

.card-2 {
    bottom: 20%;
    right: -20px;
    animation: float 4s ease-in-out infinite 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Mockup Play Trigger (Global) */
.mobile-play-trigger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(99, 102, 241, 0.9);
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
    animation: pulse-play 2s infinite;
    transition: var(--transition);
}

.mobile-play-trigger:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary);
}

.mobile-play-trigger i {
    width: 32px;
    height: 32px;
    margin-left: 4px;
    /* Offset for visual balance */
}

@keyframes pulse-play {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
        transform: translate(-50%, -50%) scale(1);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(99, 102, 241, 0);
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Solution Grid */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    padding: 40px;
    background: var(--surface);
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-10px) scale(1.02);
    background-color: var(--white);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 0 40px rgba(139, 92, 246, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}

.solution-card:hover::before {
    opacity: 1;
}

.icon-box {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.solution-card h3 {
    margin-bottom: 16px;
}

.solution-card p {
    color: var(--text-muted);
}

/* Process Section */
.how-it-works {
    background-color: var(--surface);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.process-item {
    text-align: center;
    border-radius: 24px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.05);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.process-item:nth-child(1) {
    animation-delay: 0.2s;
}

.process-item:nth-child(2) {
    animation-delay: 0.4s;
}

.process-item:nth-child(3) {
    animation-delay: 0.6s;
}

.process-item:hover {
    border-color: #8b5cf6;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    transform: translateY(-10px);
}

.process-img-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #ffffff;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.process-img-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.process-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.result-img {
    border-radius: 0;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-position: right center;
}

.step-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.process-info h4 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.process-info p {
    color: var(--text-muted);
}

/* Technology Section */
.technology {
    background-color: #0f172a;
    /* Slate 900 */
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.technology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.technology .container {
    position: relative;
    z-index: 2;
}

.badge-dark {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.5);
    color: #e9d5ff;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4),
        inset 0 0 10px rgba(139, 92, 246, 0.2);
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.6);
}

.text-white {
    color: var(--white);
}

.text-white-muted {
    color: #94a3b8;
    /* Slate 400 */
}

.tech-container {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.tech-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Reverse direction for every even row (Image Right, Text Left) */
.tech-row:nth-child(even) {
    flex-direction: row-reverse;
}

.tech-image-box {
    flex: 0 0 400px;
    max-width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    /* Enforce aspect ratio and centering to remove gaps */
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-img-placeholder {
    width: 100%;
    height: 100%;
    /* Force fill height */
    object-fit: cover;
    /* Crop to cover without distortion */
    display: block;
    opacity: 0.9;
    transition: var(--transition);
}

/* Hover Effect: Purple Neon Glow instead of Zoom */
.tech-row:hover .tech-image-box {
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.5),
        0 0 20px rgba(168, 85, 247, 0.3) inset;
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-5px);
}

.tech-row:hover .tech-img-placeholder {
    opacity: 1;
}

.tech-content-box {
    flex: 1;
}

.tech-icon {
    width: 64px;
    height: 64px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.5);
    color: #e9d5ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4),
        inset 0 0 10px rgba(139, 92, 246, 0.2);
    transition: var(--transition);
}

.tech-icon:hover {
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.6),
        inset 0 0 15px rgba(139, 92, 246, 0.3);
    transform: scale(1.05);
}

.tech-content-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--white);
}

.tech-content-box p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .tech-row {
        flex-direction: column !important;
        /* Stack vertically on mobile */
        gap: 40px;
        text-align: center;
    }

    .tech-icon {
        margin: 0 auto 24px;
        /* Center icon on mobile */
    }

    .tech-content-box h3 {
        font-size: 1.75rem;
    }
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: var(--background);
}

.benefits .solution-card {
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.05);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.benefits .solution-card:nth-child(1) {
    animation-delay: 0.2s;
}

.benefits .solution-card:nth-child(2) {
    animation-delay: 0.4s;
}

.benefits .solution-card:nth-child(3) {
    animation-delay: 0.6s;
}

.benefits .solution-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    transform: translateY(-10px);
}

.benefits .icon-box {
    background: linear-gradient(135deg, #6366f1, #d946ef);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Final */
.cta-final .cta-box {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    color: white;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.cta-form input {
    flex: 1;
    padding: 16px 24px;
    border-radius: 12px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.cta-form .btn {
    background-color: #0f172a;
    /* Slate 900 */
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: none;
}

.cta-form .btn:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background-color: rgba(139, 92, 246, 0.1);
    backdrop-filter: blur(10px);
}

.footer-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-logo {
    height: 40px;
    opacity: 0.8;
    transition: var(--transition);
    filter: brightness(0);
}

.footer-logo:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

/* Responsive */
/* Modal & Phone Mockup */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.phone-mockup {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 320px;
    height: 90vh;
    max-height: 650px;
    transform: translateY(30px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .phone-mockup {
    transform: translateY(0) scale(1);
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-dynamic-island {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: -20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    color: var(--text);
}

.modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    background-color: var(--primary);
    color: white;
}

@media (max-width: 768px) {
    .phone-mockup {
        max-width: 280px;
        height: 80vh;
    }

    .modal-close {
        top: -60px;
        right: 50%;
        transform: translateX(50%);
    }

    .modal-close:hover {
        transform: translateX(50%) scale(1.1);
    }
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Mobile Hero Layout: Interleaved */
    .hero .container {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        display: contents;
        /* Unwraps children to be flex items of container */
    }

    .hero-title {
        font-size: 3rem;
        order: 1;
        margin-bottom: 30px;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto 40px;
        /* Space below image */
        order: 2;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
        order: 3;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 40px;
        order: 4;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 32px;
        order: 5;
    }



    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        gap: 60px;
    }

    .logo {
        font-size: 1.5rem;
        gap: 10px;
    }

    .logo-img {
        height: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        z-index: 1001;
        /* Above header */
    }

    .nav-links li a:not(.btn) {
        font-size: 1.5rem;
        font-weight: 600;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        z-index: 1002;
    }

    .solution-grid {
        grid-template-columns: 1fr;
    }

    /* Center content in solution cards on mobile */
    .solution-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .icon-box {
        margin: 0 auto 24px;
    }

    .cta-form {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Mobile CTA Adjustments */
    .cta-final .cta-box {
        padding: 40px 24px;
        border-radius: 24px;
        margin: 0;
    }

    .cta-box h2 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .cta-box p {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .cta-form {
        flex-direction: column;
        gap: 16px;
    }

    .cta-form input,
    .cta-form .btn {
        width: 100%;
        height: 56px;
        /* Consistent height */
        justify-content: center;
    }
}

/* Integrations Section */
.integrations {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: -30px;
    /* pull up closer to hero */
    position: relative;
    z-index: 10;
}

.integrations-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.integrations-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--transition);
    cursor: default;
    filter: grayscale(100%);
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

.logo-item.shopify:hover {
    color: #95bf47;
}

.logo-item.nuvemshop:hover {
    color: #211d3c;
}

.logo-item.woocommerce:hover {
    color: #96588a;
}

.logo-item.tray:hover {
    color: #004dff;
}

.logo-item.bagy:hover {
    color: #fca311;
}

@media (max-width: 768px) {
    .integrations-logos {
        gap: 20px;
        flex-direction: row;
        justify-content: center;
    }

    .logo-item {
        font-size: 1rem;
    }
}

/* Demo Store Section */
.demo-store {
    background-color: var(--surface);
    padding: 100px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.try-on-btn {
    transform: translateY(20px);
    transition: transform 0.3s ease, background 0.3s ease;
    padding: 12px 24px;
    font-size: 0.95rem;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.product-card:hover .try-on-btn {
    transform: translateY(0);
}

.try-on-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px) scale(1.05) !important;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 600;
}

.product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-image-container {
        height: 250px;
    }

    .try-on-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image-container {
        height: 350px;
    }
}