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

:root {
    --green-primary: #4ade80;
    --green-hover: #22c55e;
    --green-light: #86efac;
    --green-dark: #16a34a;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #111111;
    --bg-card-hover: #151515;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;
    --border-color: #1a1a1a;
    --border-hover: #2a2a2a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    border-bottom-color: rgba(74, 222, 128, 0.1);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: var(--green-primary);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.logo-text:hover {
    color: var(--green-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 14px;
    background: transparent;
    border: 1px solid var(--green-primary);
    color: var(--green-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: 500;
}

.nav-cta:hover {
    background: var(--green-primary);
    color: var(--bg-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    background: var(--bg-dark);
    overflow: hidden;
}

#network-grid-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    z-index: 2;
    position: relative;
}

.shopify-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 50px;
    color: var(--green-primary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
    transition: all 0.3s ease;
}

.shopify-badge:hover {
    background: rgba(74, 222, 128, 0.15);
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateY(-1px);
}

.shopify-badge svg {
    width: 18px;
    height: 18px;
    color: var(--green-primary);
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.gradient-text {
    color: var(--green-primary);
    position: relative;
}

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 0;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--green-primary);
    color: var(--bg-dark);
    border: 1px solid var(--green-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--green-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(74, 222, 128, 0.2);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Section Styles */
section {
    padding: 120px 0;
}

.section-header {
    text-align: left;
    margin-bottom: 64px;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text-primary);
}

/* Services Section */
.services {
    background: var(--bg-darker);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(74, 222, 128, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover {
    border-color: var(--green-primary);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(74, 222, 128, 0.15);
    transform: scale(1.05);
}

.service-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 15px;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.service-card:hover .service-features li {
    color: var(--text-primary);
}

.service-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-weight: 600;
}

/* About Section */
.about {
    background: var(--bg-dark);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(74, 222, 128, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.about-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.9;
    letter-spacing: -0.2px;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-darker);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(74, 222, 128, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.testimonial-rating {
    color: var(--green-primary);
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-primary);
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.author-name {
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 15px;
}

.author-role {
    font-size: 13px;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(74, 222, 128, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.7;
}

.contact-form {
    background: var(--bg-card);
    padding: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: var(--border-hover);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-dark);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236ee7b7' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.form-status {
    min-height: 24px;
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

.form-status.success {
    color: var(--green-light);
}

.form-status.error {
    color: #fca5a5;
}

.contact-info {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--text-primary);
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item svg {
    color: var(--green-primary);
    transition: transform 0.3s ease;
}

.contact-item:hover svg {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--green-primary);
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
    margin-bottom: 8px;
}

.footer-logo:hover {
    color: var(--green-light);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-card);
        width: 100%;
        padding: 32px;
        border: 1px solid var(--border-color);
        transition: left 0.3s ease;
        gap: 24px;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-description {
        font-size: 18px;
    }

    .section-title {
        font-size: 36px;
    }

    .cta-title {
        font-size: 36px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .contact-form {
        padding: 32px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 28px;
    }

    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
    }

    .service-card {
        padding: 32px;
    }
}