﻿:root {
    --primary: #6647EE;
    --primary-dark: #4A36B2;
    --secondary: #FF6B35;
    --accent: #00C9B1;
    --dark: #1A1D29;
    --light: #F8F9FC;
    --gray: #6C757D;
    --success: #28A745;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(102, 71, 238, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(102, 71, 238, 0.4);
    }

.btn-secondary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

    .btn-secondary:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

    .btn-outline:hover {
        background: var(--primary);
        color: white;
    }

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

    header.scrolled {
        padding: 15px 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
}

    .nav-links a {
        margin-left: 30px;
        font-weight: 500;
        position: relative;
    }

        .nav-links a:after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: var(--transition);
        }

        .nav-links a:hover:after {
            width: 100%;
        }

    .nav-links .btn {
        margin-left: 30px;
    }

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    cursor: pointer;
    padding: 12px 9px;
    z-index: 1001;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 20px rgba(102, 71, 238, 0.25);
    position: relative;
    overflow: hidden;
}

    .mobile-toggle::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.6s ease;
    }

    .mobile-toggle:hover::before {
        left: 100%;
    }

    .mobile-toggle:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 10px 30px rgba(102, 71, 238, 0.4);
        border-color: white;
    }

    .mobile-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background: white;
        border-radius: 3px;
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform-origin: center;
        position: relative;
    }

        .mobile-toggle span:nth-child(1) {
            transform: translateY(0) rotate(0deg);
        }

        .mobile-toggle span:nth-child(2) {
            opacity: 1;
            transform: scaleX(1);
        }

        .mobile-toggle span:nth-child(3) {
            transform: translateY(0) rotate(0deg);
        }

    /* Active state - X transformation */
    .mobile-toggle.active {
        background: linear-gradient(135deg, var(--secondary), #ff8c42);
        box-shadow: 0 6px 25px rgba(255, 107, 53, 0.35);
        border-color: rgba(255, 255, 255, 0.9);
        transform: rotate(180deg);
    }

        .mobile-toggle.active span:nth-child(1) {
            transform: translateY(9px) rotate(45deg);
            background: white;
        }

        .mobile-toggle.active span:nth-child(2) {
            opacity: 0;
            transform: scaleX(0) rotate(180deg);
        }

        .mobile-toggle.active span:nth-child(3) {
            transform: translateY(-9px) rotate(-45deg);
            background: white;
        }

        .mobile-toggle.active:hover {
            transform: rotate(180deg) scale(1.05);
            box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
        }

/* Pulse animation */
@keyframes button-pulse {
    0% {
        box-shadow: 0 6px 20px rgba(102, 71, 238, 0.25);
    }

    50% {
        box-shadow: 0 6px 30px rgba(102, 71, 238, 0.6), 0 0 0 10px rgba(102, 71, 238, 0.1);
    }

    100% {
        box-shadow: 0 6px 20px rgba(102, 71, 238, 0.25);
    }
}

.mobile-toggle.pulse {
    animation: button-pulse 3s ease-in-out infinite;
}

/* Mobile menu styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(160deg, rgba(255,255,255,0.98) 0%, rgba(248,249,252,0.98) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    visibility: hidden;
    padding: 80px 20px 40px;
}

    .mobile-menu.active {
        transform: translateX(0);
        visibility: visible;
    }

    .mobile-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(102, 71, 238, 0.03) 0%, rgba(0, 201, 177, 0.03) 100%);
        z-index: -1;
    }

/* Mobile menu links */
.mobile-nav-link {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    padding: 16px 35px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(102, 71, 238, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    min-width: 220px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

    .mobile-nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(102, 71, 238, 0.1), transparent);
        transition: left 0.6s ease;
    }

    .mobile-nav-link:hover::before {
        left: 100%;
    }

    .mobile-nav-link:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 15px 35px rgba(102, 71, 238, 0.2);
        color: var(--primary);
        border-color: var(--primary);
        background: rgba(255, 255, 255, 0.95);
    }

/* Menu close button */
.menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(102, 71, 238, 0.3);
    z-index: 1000;
}

    .menu-close:hover {
        transform: rotate(90deg) scale(1.1);
        background: linear-gradient(135deg, var(--secondary), #ff8c42);
        box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    }

/* Buttons in mobile menu */
.mobile-menu .btn {
    margin-top: 15px;
    font-size: 1.1rem;
    padding: 16px 40px;
    min-width: 220px;
    text-align: center;
    border: 2px solid transparent;
    font-weight: 600;
}

.mobile-menu .btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

    .mobile-menu .btn-outline:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

.mobile-menu .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 2px solid transparent;
}

    .mobile-menu .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(102, 71, 238, 0.4);
    }

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }

    .mobile-toggle {
        display: flex !important;
    }

    .mobile-nav-link {
        font-size: 1.2rem;
        padding: 14px 30px;
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .mobile-toggle {
        width: 40px;
        height: 40px;
        padding: 10px 8px;
    }

        .mobile-toggle span {
            height: 2.5px;
        }

        .mobile-toggle.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .mobile-toggle.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

    .mobile-nav-link {
        font-size: 1.1rem;
        padding: 12px 25px;
        min-width: 180px;
    }

    .menu-close {
        width: 44px;
        height: 44px;
        top: 20px;
        right: 20px;
        font-size: 1.2rem;
    }

    .mobile-menu {
        padding: 70px 15px 30px;
        gap: 15px;
    }
}

/* Prevent body scroll when menu is open */
body.no-scroll {
    overflow: hidden;
}

/* Ensure header stays on top */
header {
    z-index: 1000;
}
/* Prevent body scroll when menu is open */
body.no-scroll {
    overflow: hidden;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1f9 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--gray);
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    padding: 20px;
    display: flex;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

    .floating-card:nth-child(1) {
        top: 20%;
        right: 10%;
        animation-delay: 0s;
    }

    .floating-card:nth-child(2) {
        top: 50%;
        right: 30%;
        animation-delay: 2s;
    }

    .floating-card:nth-child(3) {
        bottom: 20%;
        right: 15%;
        animation-delay: 4s;
    }

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

    .card-icon.quickbooks {
        background: rgba(41, 128, 185, 0.1);
        color: #2980b9;
    }

    .card-icon.xero {
        background: rgba(19, 170, 82, 0.1);
        color: #13aa52;
    }

    .card-icon.shopify {
        background: rgba(149, 114, 252, 0.1);
        color: #9572fc;
    }

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .feature-card:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        z-index: 2;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    background: rgba(102, 71, 238, 0.1);
    color: var(--primary);
}

/* Integration Section */
.integration {
    background: linear-gradient(135deg, #1A1D29 0%, #2D2F40 100%);
    color: white;
}

    .integration h2, .integration h3 {
        color: white;
    }

    .integration p {
        color: rgba(255, 255, 255, 0.7);
    }

.integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.integration-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

    .integration-card:hover {
        transform: translateY(-10px);
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }

.integration-logo {
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .integration-logo img {
        max-height: 100%;
        /*filter: brightness(0) invert(1);*/
    }

/* How It Works */
.how-it-works {
    background: white;
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

    .steps:before {
        content: '';
        position: absolute;
        top: 40px;
        left: 0;
        width: 100%;
        height: 2px;
        background: #e9ecef;
        z-index: 1;
    }

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 15px;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
}

.step-content {
    max-width: 250px;
    margin: 0 auto;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef1f9 100%);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    text-align: center;
    margin: 0 15px;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--primary);
}

    .testimonial-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

    .testimonial-text:before, .testimonial-text:after {
        content: '"';
        font-size: 3rem;
        color: var(--primary);
        opacity: 0.2;
        position: absolute;
    }

    .testimonial-text:before {
        top: -20px;
        left: -10px;
    }

    .testimonial-text:after {
        bottom: -40px;
        right: -10px;
    }

.testimonial-author {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-role {
    color: var(--gray);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 100px 0;
}

    .cta h2 {
        color: white;
        margin-bottom: 1.5rem;
    }

    .cta p {
        color: rgba(255, 255, 255, 0.8);
        max-width: 600px;
        margin: 0 auto 2.5rem;
    }

    .cta .btn {
        background: white;
        color: var(--primary);
    }

        .cta .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

/* FAQ Section */
.faq {
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    background: var(--light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

    .faq-question:hover {
        background: #eef1f9;
    }

    .faq-question:after {
        content: '+';
        font-size: 1.5rem;
        transition: var(--transition);
    }

.faq-item.active .faq-question:after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

    .footer-col h3:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background: var(--primary);
    }

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

    .footer-links a:hover {
        color: white;
        padding-left: 5px;
    }


.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-visual {
        position: relative;
        width: 100%;
        height: 300px;
        transform: none;
        margin-top: 50px;
    }

    .steps {
        flex-direction: column;
    }

        .steps:before {
            display: none;
        }

    .step {
        margin-bottom: 40px;
    }

        .step:last-child {
            margin-bottom: 0;
        }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }

        .hero-btns .btn {
            width: 100%;
        }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .stagger-item.visible {
        opacity: 1;
        transform: translateY(0);
    }

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);
    animation: float 6s ease-in-out infinite;
    min-width: 160px;
    z-index: 2;
    border: 1px solid rgba(102, 71, 238, 0.1);
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.2rem;
}

    .card-icon.quickbooks {
        background: rgba(41, 128, 185, 0.1);
        color: #2980b9;
    }

    .card-icon.xero {
        background: rgba(19, 170, 82, 0.1);
        color: #13aa52;
    }

    .card-icon.shopify {
        background: rgba(149, 114, 252, 0.1);
        color: #9572fc;
    }

    .card-icon.loyverse {
        background: rgba(255, 107, 53, 0.1);
        color: #ff6b35;
    }

    .card-icon.manager {
        background: rgba(52, 152, 219, 0.1);
        color: #3498db;
    }

.floating-card h4 {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
    color: var(--dark);
}

.floating-card p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--gray);
}

.zatca-hub {
    animation: pulse 3s ease-in-out infinite;
}

.connection-line {
    opacity: 0.3;
    animation: connectionPulse 4s ease-in-out infinite;
}

@keyframes connectionPulse {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

/* Mobile responsiveness for hero visual */
@media (max-width: 992px) {
    .hero-visual {
        position: relative;
        width: 100%;
        height: 400px;
        transform: none;
        margin-top: 50px;
    }

    .floating-card {
        min-width: 140px;
        padding: 12px;
    }

    .zatca-hub {
        width: 100px;
        height: 100px;
    }

    .connection-lines {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-visual {
        height: 300px;
    }

    .floating-card {
        min-width: 120px;
        padding: 10px;
        font-size: 0.8rem;
    }

    .card-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        margin-right: 8px;
    }

    .floating-card h4 {
        font-size: 0.8rem;
    }

    .floating-card p {
        font-size: 0.7rem;
    }

    .zatca-hub {
        width: 80px;
        height: 80px;
    }
}

/* Enhanced Testimonial Carousel Styles */
.enhanced-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.enhanced-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

    .enhanced-carousel::-webkit-scrollbar {
        display: none;
    }

.enhanced-testimonial-card {
    flex: 0 0 380px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 71, 238, 0.1);
    scroll-snap-align: start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .enhanced-testimonial-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(102, 71, 238, 0.15);
    }

    .enhanced-testimonial-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
    }

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.reviewer-location {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.review-date {
    color: var(--gray);
    font-size: 0.8rem;
    opacity: 0.7;
}

.rating {
    text-align: right;
    flex-shrink: 0;
}

.stars {
    color: #FFD700;
    font-size: 1rem;
    margin-bottom: 5px;
}

.verified-badge {
    background: var(--success);
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    display: inline-block;
}

.testimonial-content {
    margin-bottom: 20px;
}

    .testimonial-content p {
        color: var(--dark);
        line-height: 1.6;
        font-size: 0.95rem;
        margin: 0;
    }

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.platform-tag {
    background: rgba(102, 71, 238, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .carousel-btn:hover {
        background: var(--primary);
        color: white;
        transform: scale(1.1);
    }

.carousel-indicators {
    display: flex;
    gap: 8px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .indicator.active {
        background: var(--primary);
        transform: scale(1.2);
    }

/* Statistics Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(102, 71, 238, 0.1);
    transition: all 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(102, 71, 238, 0.15);
    }

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}



/* App Store Cards Hover */
.app-store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(102, 71, 238, 0.15);
    border-color: var(--primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .enhanced-testimonial-card {
        flex: 0 0 320px;
        padding: 25px;
    }

    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .rating {
        text-align: center;
    }

    .carousel-controls {
        gap: 20px;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .enhanced-testimonial-card {
        flex: 0 0 280px;
        padding: 20px;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .app-store-grid {
        grid-template-columns: 1fr;
    }
}


.footer-col {
    position: relative;
}

/* Footer Improvements */

/* Social Media Links - Horizontal row, sorted, enhanced hover */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0 20px 0;
    justify-content: flex-start;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    white-space: nowrap;
    min-width: fit-content;
}

    .social-link:hover {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: white;
        transform: translateY(-2px) scale(1.02);
        border-color: var(--primary);
        box-shadow: 0 8px 25px rgba(102, 71, 238, 0.3);
    }

.social-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover .social-icon {
    transform: rotate(10deg) scale(1.1);
}

.social-icon svg {
    opacity: 0.9;
    transition: all 0.3s ease;
}

.social-link:hover .social-icon svg {
    opacity: 1;
    filter: brightness(1.2);
}

.social-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Social Media Stats - Enhanced */
.social-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 71, 238, 0.1) 0%, rgba(0, 201, 177, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
}

    .stat-item::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 20px;
        background: rgba(255, 255, 255, 0.2);
    }

    .stat-item:last-child::after {
        display: none;
    }

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 201, 177, 0.3);
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Live Chat Widget - Enhanced */
.live-chat-widget {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(0, 201, 177, 0.1) 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(40, 167, 69, 0.2);
    margin-top: 25px;
    position: relative;
    overflow: hidden;
}

    .live-chat-widget::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--success), var(--accent));
    }

.chat-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--success);
    font-weight: 600;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.6);
}

.chat-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--success), var(--accent));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

    .chat-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .chat-btn:hover::before {
        left: 100%;
    }

    .chat-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
        background: linear-gradient(135deg, #28a745, #00c9b1);
    }

    .chat-btn svg {
        transition: transform 0.3s ease;
    }

    .chat-btn:hover svg {
        transform: scale(1.1);
    }

/* Language Badge - Enhanced */
.language-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(102, 71, 238, 0.1) 0%, rgba(0, 201, 177, 0.1) 100%);
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid rgba(102, 71, 238, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .language-badge:hover {
        background: linear-gradient(135deg, rgba(102, 71, 238, 0.15) 0%, rgba(0, 201, 177, 0.15) 100%);
        border-color: var(--primary);
        transform: translateY(-1px);
        box-shadow: 0 5px 15px rgba(102, 71, 238, 0.2);
    }

.flag-group {
    display: flex;
    gap: 6px;
}

.flag {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.language-badge:hover .flag {
    transform: scale(1.1);
}

.language-badge span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

/* Contact Items - Enhanced */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

    .contact-item:hover {
        padding-left: 8px;
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }

.contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    opacity: 1;
    transform: scale(1.1);
}

.contact-item a, .contact-item span {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

    .contact-item a:hover {
        color: var(--accent);
        text-decoration: underline;
    }

/* Trust Badges - Enhanced Grid */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin: 40px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .trust-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .trust-item:hover::before {
        transform: scaleX(1);
    }

    .trust-item:hover {
        background: rgba(255, 255, 255, 0.05);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

.trust-icon {
    font-size: 2rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon {
    transform: scale(1.1) rotate(5deg);
}

.trust-item span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Footer Bottom - Enhanced */
.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

    .footer-bottom p {
        margin-bottom: 8px;
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.85rem;
    }

    .footer-bottom a {
        color: var(--accent);
        transition: color 0.3s ease;
    }

        .footer-bottom a:hover {
            color: white;
            text-decoration: underline;
        }

.company-info {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

    .company-info strong {
        color: var(--accent);
    }

/* Responsive Improvements */
@media (max-width: 992px) {
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .social-link {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .social-stats {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .trust-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 20px;
    }

    .language-badge {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .contact-item {
        gap: 10px;
        justify-content: center;
    }

    .footer-grid {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .social-link {
        padding: 12px 16px;
    }

    .social-text {
        font-size: 0.8rem;
    }

    .trust-badges {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .live-chat-widget {
        padding: 15px;
    }

    .chat-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}



.integration-card {
    position: relative;
    overflow: hidden;
}

    .integration-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .integration-card:hover::before {
        transform: scaleX(1);
    }

.realtime-badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 201, 177, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(0, 201, 177, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 201, 177, 0);
    }
}

/* Platform-specific accent colors */
.integration-card:nth-child(1)::before {
    background: linear-gradient(90deg, #2A3588, #00C9B1);
}
/* QuickBooks Online */
.integration-card:nth-child(2)::before {
    background: linear-gradient(90deg, #2A3588, #6647EE);
}
/* QuickBooks Desktop */
.integration-card:nth-child(3)::before {
    background: linear-gradient(90deg, #13AA52, #00C9B1);
}
/* Xero */
.integration-card:nth-child(4)::before {
    background: linear-gradient(90deg, #9572FC, #00C9B1);
}
/* Shopify */
.integration-card:nth-child(5)::before {
    background: linear-gradient(90deg, #FF6B35, #00C9B1);
}
/* Loyverse */
.integration-card:nth-child(6)::before {
    background: linear-gradient(90deg, #3498DB, #00C9B1);
}
/* Manager.io */

/* Responsive grid adjustments */
@media (max-width: 768px) {
    .integration-grid {
        grid-template-columns: 1fr;
    }

    .integration-card {
        margin-bottom: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .integration-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .integration-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.logo-img {
    height: 40px;
    width: auto;
    margin-right: 12px;
}

/* Update logo styles for header */
.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
    text-decoration: none;
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px;
        margin-right: 10px;
    }

    .app-brand-text {
        font-size: 1.3rem;
    }
}