/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent-color: #10b981;
    --accent-dark: #059669;
    --blue-500: #3b82f6;
    --purple-500: #8b5cf6;
    --orange-500: #f97316;
    --green-500: #10b981;
    --red-500: #ef4444;
    --yellow-500: #eab308;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --black: #000000;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--blue-500) 100%);
    --gradient-accent: linear-gradient(135deg, var(--orange-500) 0%, var(--yellow-500) 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
}

.navbar.scrolled .brand-text {
    color: var(--primary-color);
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

.navbar.scrolled .nav-link {
    color: var(--gray-600);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color);
}

.nav-btn {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: 0.3s;
}

.navbar.scrolled .bar {
    background: var(--gray-600);
}

/* Mobile Menu */
.nav-menu.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--gray-200);
}

.nav-menu.active .nav-link {
    color: var(--gray-600);
    padding: 0.5rem 0;
    width: 100%;
    text-align: left;
}

.nav-menu.active .nav-btn {
    margin-top: 1rem;
    text-align: center;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    overflow: hidden;
    padding-top: 4rem;
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><pattern id='grid' width='10' height='10' patternUnits='userSpaceOnUse'><path d='M 10 0 L 0 0 0 10' fill='none' stroke='white' stroke-width='0.5'/></pattern></defs><rect width='100' height='100' fill='url(%23grid)'/></svg>");
}

.hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-text {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
}

.platform-badges {
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    padding: 1rem;
    border-radius: 9999px;
    box-shadow: var(--shadow-lg);
}

.platform-badge {
    width: 3rem;
    height: 3rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 0.875rem;
}

.platform-badge.magento {
    background: var(--orange-500);
}

.platform-badge.shopify {
    background: var(--green-500);
}

.platform-badge.bigcommerce {
    background: var(--blue-500);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    min-height: 3rem;
}

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

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.btn i {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

/* Icons */
.icon-calendar::before { content: "📅"; }
.icon-rocket::before { content: "🚀"; }
.icon-store::before { content: "🏪"; }
.icon-plug::before { content: "🔌"; }
.icon-mobile::before { content: "📱"; }
.icon-brain::before { content: "🧠"; }
.icon-cart::before { content: "🛒"; }
.icon-building::before { content: "🏢"; }
.icon-repeat::before { content: "🔄"; }
.icon-mail::before { content: "✉️"; }
.icon-phone::before { content: "📞"; }
.icon-clock::before { content: "🕒"; }
.icon-send::before { content: "📤"; }
.icon-linkedin::before { content: "💼"; }
.icon-twitter::before { content: "🐦"; }
.icon-github::before { content: "🐙"; }

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 768px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Expertise Section */
.expertise {
    padding: 5rem 0;
    background: var(--gray-50);
}

.platforms-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.platform-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.platform-icon {
    width: 5rem;
    height: 5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.magento-bg { background: var(--orange-500); }
.shopify-bg { background: var(--green-500); }
.bigcommerce-bg { background: var(--blue-500); }

.platform-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.platform-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.tech-stack {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.tech-stack h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
}

.tech-icon.react { background: var(--blue-500); }
.tech-icon.angular { background: var(--red-500); }
.tech-icon.vue { background: var(--green-500); }
.tech-icon.php { background: var(--purple-500); }
.tech-icon.python { background: var(--yellow-500); }
.tech-icon.aws { background: var(--orange-500); }

.tech-item span {
    color: var(--gray-600);
    font-size: 0.875rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.primary-bg { background: var(--primary-color); }
.accent-bg { background: var(--accent-color); }
.blue-bg { background: var(--blue-500); }
.purple-bg { background: var(--purple-500); }

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.service-card li {
    margin-bottom: 0.25rem;
}

/* Case Studies Section */
.case-studies {
    padding: 5rem 0;
    background: var(--gray-50);
}

.amazon-partnership {
    background: var(--gradient-accent);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 3rem;
    color: var(--white);
}

.partnership-content {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .partnership-content {
        grid-template-columns: 1fr 1fr;
    }
}

.partnership-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.amazon-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-weight: 700;
    color: var(--white);
}

.partnership-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.amazon-partnership h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.amazon-partnership p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.compliance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.partnership-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.case-studies-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .case-studies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.case-study-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.case-study-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.case-study-content {
    padding: 2rem;
}

.case-study-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.case-study-content p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.case-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.tag.orange { background: rgba(249, 115, 22, 0.1); color: #c2410c; }
.tag.blue { background: rgba(59, 130, 246, 0.1); color: #1d4ed8; }
.tag.green { background: rgba(16, 185, 129, 0.1); color: #047857; }
.tag.purple { background: rgba(139, 92, 246, 0.1); color: #6d28d9; }
.tag.yellow { background: rgba(234, 179, 8, 0.1); color: #a16207; }
.tag.gray { background: rgba(107, 114, 128, 0.1); color: #374151; }
.tag.indigo { background: rgba(99, 102, 241, 0.1); color: #4338ca; }

/* Industries Section */
.industries {
    padding: 5rem 0;
    background: var(--white);
}

.industries-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.industry-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-5px);
}

.industry-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.industry-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.industry-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Trust Signals Section */
.trust-signals {
    padding: 5rem 0;
    background: var(--gray-50);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-600);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--white);
    font-weight: 700;
}

.testimonial-name {
    font-weight: 700;
    color: var(--gray-900);
}

.testimonial-position {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.testimonial-content {
    color: var(--gray-600);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-rating {
    color: #fbbf24;
}

.star {
    font-size: 1.25rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.contact .section-title,
.contact .section-subtitle {
    color: var(--white);
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-content {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form-container {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
}

.contact-form-container h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-label {
    font-weight: 600;
}

.contact-value {
    color: rgba(255, 255, 255, 0.8);
}

.social-links h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-copyright {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .platform-badges {
        gap: 1rem;
        padding: 0.75rem;
    }
    
    .platform-badge {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.75rem;
    }
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}