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

:root {
    /* Colors */
    --bg-dark: #020914;
    --bg-black: #000000;
    --text-white: #ffffff;
    --text-gray: #a6a6a6;
    --border-blue: #5b86e5;
    --badge-blue: #1fa2ff;
    --badge-blue-light: #12d8fa;
    --badge-green: #9ce37b;
    --badge-green-bg: rgba(86, 171, 47, 0.26);
    --card-border: rgba(255, 255, 255, 0.5);
    --card-bg: rgba(255, 255, 255, 0.11);

    /* Gradients */
    --gradient-blue: linear-gradient(to top, #5b86e5, #36d1dc);
    --gradient-shopify: linear-gradient(69.093deg, #1fa2ff 6.0668%, #12d8fa 50.135%, #a6ffcb 106.34%);
    --gradient-footer: linear-gradient(205.417deg, #122d72 0.16666%, #09183d 100%);

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 12px;
    --spacing-lg: 16px;
    --spacing-xl: 24px;
    --spacing-2xl: 32px;
    --spacing-3xl: 64px;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section - Mobile First */
.hero {
    position: relative;
    background: var(--bg-dark);
    padding: 24px 16px 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ellipse {
    position: absolute;
    width: 482.562px;
    height: 432.97px;
    background: radial-gradient(circle, rgba(31, 162, 255, 0.3) 0%, rgba(31, 162, 255, 0.1) 40%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
}

.ellipse-left {
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.ellipse-right {
    bottom: -105px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    width: 100%;
    max-width: 1440px;
}

.hero-text {
    max-width: 400px;
    display: flex;
    margin-bottom: 30px;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.status-badges {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Figtree', sans-serif;
    font-weight: 500;
}

.badge-shopify {
    background: var(--card-bg);
    border: 1px solid var(--badge-blue);
    background-image: var(--gradient-shopify);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    letter-spacing: 0.15px;
}

.badge-available {
    background: var(--badge-green-bg);
    border: 1px solid var(--badge-green);
    color: var(--badge-green);
    gap: 4px;
}

.status-dot {
    width: 5px;
    height: 5px;
    background: var(--badge-green);
    border-radius: 50%;
}

.hero-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 42px;
    line-height: 1.1;
    color: var(--text-white);
    font-weight: 400;
}

.usps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.usp {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 6px;
    font-size: 16px;
}

.usp-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.shopify-icon {
    height: 27px;
    filter: brightness(0) invert(1);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--text-white);
    width: fit-content;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(54, 209, 220, 0.4);
}

.btn-secondary {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.22);
    border: 1.5px solid var(--border-blue);
    padding: 10px 24px;
    color: var(--text-white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-icon {
    width: 24px;
    height: 24px;
}

.hero-image {
    width: 100%;
    max-width: 407.436px;
    height: 315.322px;
    position: relative;
    filter: drop-shadow(0px 4px 109px rgba(0, 0, 0, 0.3));
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

/* Services Carousel */
.services-carousel {
    background: var(--bg-black);
    padding: 22px 0;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
}

.carousel-track {
    display: flex;
    gap: 18px;
    width: fit-content;
    will-change: transform;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 0 16px;
}

.service-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.service-item span {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-white);
}

/* Portfolio Section */
.portfolio {
    position: relative;
    padding: 62px 16px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.portfolio-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.portfolio-background .ellipse-center {
    position: absolute;
    width: 482.562px;
    height: 432.97px;
    top: -185px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(91, 134, 229, 0.2) 0%, rgba(91, 134, 229, 0.1) 40%, transparent 70%);
    filter: blur(100px);
    border-radius: 50%;
}

.portfolio-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
}

.portfolio-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: var(--spacing-2xl);
}

.portfolio-icon {
    width: 31px;
    height: 31px;
}

.portfolio-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.portfolio-card {
    background: radial-gradient(ellipse at 20% 7%, rgba(71, 70, 136, 0.8) 0%, rgba(56, 55, 111, 0.8) 25%, rgba(42, 41, 85, 0.8) 50%, rgba(28, 27, 59, 0.8) 75%, rgba(13, 13, 33, 0.8) 100%);
    border: 1px solid var(--card-border);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.4s ease, 
                border-color 0.4s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(91, 134, 229, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(91, 134, 229, 0.3), 
                0 4px 12px rgba(0, 0, 0, 0.4);
    border-color: rgba(91, 134, 229, 0.6);
}

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

.card-image {
    width: 100%;
    height: 244px;
    border-radius: 6px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 6px;
}

.testimonial {
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-white);
}

.client-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.client-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-white);
}

.client-website {
    font-size: 15px;
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: var(--gradient-footer);
    padding: 24px 16px;
    text-align: left;
    display: flex;
    justify-content: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    width: 100%;
    max-width: 1440px;
}

.footer-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 24px;
    font-weight: 400;
}

.footer-address {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.7;
    line-height: 1.5;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 50%;
    left: -400px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(7px);
    border: 0px 6px 0px 0px solid var(--border-blue);
    border-right: 6px solid var(--border-blue);
    border-radius: 0 8px 8px 0;
    padding: 24px;
    display: flex;
    gap: 52px;
    align-items: center;
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    left: 0;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.toast-icon {
    width: 24px;
    height: 24px;
}

.toast-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
}

.toast-email {
    font-size: 16px;
    color: var(--text-white);
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
}

.toast-close img {
    width: 100%;
    height: 100%;
}

/* Desktop Styles */
@media (min-width: 700px) {
    .hero {
        padding: 72px 64px 0;
    }


    .hero-text {
        margin-bottom: 90px;
    }

    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: var(--spacing-3xl);
    }

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

    .usps {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-xl);
    }

    .ellipse-left {
        width: 813.037px;
        height: 729.484px;
        left: auto;
        right: 1052px;
        top: 50%;
        transform: translateY(-50%);
    }

    .ellipse-right {
        width: 813.037px;
        height: 729.484px;
        right: -342.52px;
        left: auto;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero-image {
        max-width: 563.416px;
        height: 537.589px;
        flex-shrink: 0;
    }

    .hero-image img {
        width: 100%;
        right: 0px;
        top: 0;
    }

    .services-carousel {
        padding: 24px 64px;
    }

    .service-item {
        padding: 0;
    }

    .service-item img {
        width: 40px;
        height: 40px;
    }

    .service-item span {
        font-size: 18px;
        letter-spacing: 0.36px;
    }

    .carousel-track {
        gap: 32px;
    }

    .portfolio {
        padding: 82px 64px;
    }

    .portfolio-background .ellipse-center {
        width: 1066.776px;
        height: 957.147px;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
        justify-content: center;
    }

    .portfolio-card {
        padding: 24px;
        gap: 18px;
    }

    .card-image {
        height: 272px;
    }

    .card-content {
        gap: 18px;
        padding: 0;
    }

    .footer {
        padding: 24px 64px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

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

    .usps {
        flex-wrap: nowrap;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .toast {
        transition: none;
    }

    .portfolio-card,
    .btn {
        transition: none;
    }
}


.card-content {
    display: none;
}
