@font-face {
    font-family: 'Impact';
    font-style: normal;
    font-weight: 400;
    src: url('https://fonts.cdnfonts.com/s/87898/impact.woff') format('woff');
}

@font-face {
    font-family: 'Impact';
    font-style: normal;
    font-weight: 400;
    src: url('https://fonts.cdnfonts.com/s/87898/unicode.impact.woff') format('woff');
}

@font-face {
    font-family: 'Impacted';
    font-style: normal;
    font-weight: 400;
    src: url('https://fonts.cdnfonts.com/s/87898/Impacted.woff') format('woff');
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #e63946;
    --primary-dark: #d62828;
    --secondary: #1d3557;
    --text: #2b2d42;
    --text-light: #8d99ae;
    --bg-light: #f8f9fa;
    --bg-medium: #e9ecef;
    --border: #e0e0e0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Minimal Navigation */
.nav-minimal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-minimal .nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    text-wrap: nowrap;
}

.logo img {
    max-width: 3rem;
    fill: var(--secondary)
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Compact Section Header */
.section-header-compact {
    text-align: left;
    margin-bottom: 0rem;
    padding: 100px 3rem 100px 3rem;
    background: url('./../images/bg-hero.jpg') no-repeat center center;
    background-size: cover;
}

.section-header-content {
    max-width: 500px;
}

.section-header-compact h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: normal;
    text-wrap: balance;
}

.section-header-compact p {
    font-size: 1.1rem;
    color: #ffffff;
    line-height: normal;
    text-wrap: balance;
}

.stats-compact {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #ffffff;
    margin-top: 0.5rem;
    text-align: center;
}

/* Clients Ticker */
.clients-ticker-section {
    margin: 0 auto 4rem;
    max-width: 100%;
    overflow: hidden;
    background: white;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.ticker-label {
    text-align: center;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.ticker-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.ticker-item {
    padding: 0 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ticker-item:hover {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Demo Section */
.demo-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.demo-container {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.configurator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #dc2626;

}

/* Configurator Card */
.configurator-card {
    background: #dc2626;
    border-radius: 12px;
    padding: 2rem;
    color: white;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
}

.config-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-group {
    display: flex;
    flex-direction: column;
}

.option-group.full-width {
    grid-column: 1 / -1;
}

.option-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.select-input {
    background: white;
    border: none;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
}

.form-input {
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input::placeholder {
    color: #969696;
    font-weight: 400;
}

.add-to-cart {
    width: 100%;
    background: #000;
    color: white;
    border: none;
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: #1a1a1a;
    transform: scale(1.02);
}

.cart-icon {
    font-size: 1.25rem;
}

/* Jersey Preview */
.demo-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.jersey-preview {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.demo-preview .viewer-container {
    width: 100%;
    height: 100%;
}

.demo-preview .js-270viewer {
    width: 100%;
    height: 100%;
}

/* Theme Customizer */
.theme-customizer {
    margin-top: 3rem;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.carousel-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.customizer-header {
    text-align: left;
}

.customizer-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: normal;
    text-wrap: balance;
}

.customizer-header p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
}

.carousel-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.carousel-caption {
    text-align: center;
    padding: 1rem 0;
}

.carousel-caption h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.carousel-caption p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Merchandise Section Compact */
.merch-section-compact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.merch-section-compact h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.merch-panel-horizontal {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.merch-selector-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.merch-btn-compact {
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text);
    font-size: 0.875rem;
}

.merch-selector-vertical .merch-btn-compact {
    padding: 1rem;
    text-align: left;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
}

.merch-btn-compact:hover {
    border-color: var(--primary);
    background: white;
}

.merch-btn-compact.active {
    border-color: var(--primary);
    background: rgba(230, 57, 70, 0.05);
    font-weight: 600;
}

.merch-icon {
    font-size: 2rem;
}

.merch-preview-horizontal {
    position: relative;
    width: 100%;
    min-height: 300px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.merch-3d-display {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--bg-medium), var(--bg-light));
}

.merch-3d-display .TSD-loader-container {
    background: linear-gradient(45deg, var(--bg-medium), var(--bg-light)) !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.4);
}

.btn-primary:disabled {
    background: var(--primary);
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Combined Pricing & Contact Section */
.pricing-contact-section {
    padding: 0 0 4rem 0;
    background: var(--bg-light);
}

.pricing-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.pricing-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.pricing-info .price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 2rem;
}

.pricing-info .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.pricing-info .amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.pricing-info .period {
    font-size: 1.25rem;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    padding: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.contact-info {
    border-left: 1px solid var(--border);
    padding-left: 3rem;
}

.signup-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.signup-form .form-input {
    width: 100%;
    margin-bottom: 1rem;
}

.checkbox-group {
    margin: 1.5rem 0;
    text-align: left;
    display: flex;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    cursor: pointer;
    flex: 1;
}

.checkbox-group label strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.addon-price {
    color: var(--primary);
    font-weight: 600;
    margin-left: 0.5rem;
}

.checkbox-description {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* Minimal Footer */
.footer-minimal {
    background: var(--secondary);
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-minimal a {
    color: white;
    text-decoration: underline;
}

.footer-minimal p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Utility */
.is-hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .demo-section {
        padding-top: calc(5rem - 10px);
    }

    .section-header-compact {
        padding: 40px 2rem 40px 2rem;
        margin-left: -1rem;
        margin-right: -1rem;
    }

    .section-header-compact h1 {
        font-size: 2rem;
    }

    .section-header-compact p {
        font-size: 1rem;
    }

    .nav-minimal .nav-content {
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .stats-compact {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 2rem;
    }

    .configurator-container {
        grid-template-columns: 1fr;
    }

    .clients-ticker-section {
        margin: 0 -1rem 2rem -1rem;
        max-width: unset;
    }

    .demo-preview {
        order: -1;
        min-height: 400px;
    }

    .jersey-preview {
        min-height: 400px;
    }

    .demo-container {
        padding: 1.5rem 1rem;
    }

    .config-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
    }

    .option-group {
        min-width: 0;
    }

    .option-group.mobile-half {
        grid-column: span 2;
    }

    .option-group.mobile-half:nth-child(2),
    .option-group.mobile-half:nth-child(6) {
        grid-column: span 1;
    }

    .option-group.full-width {
        grid-column: 1 / -1;
    }

    .option-group:not(.mobile-half):not(.full-width) {
        grid-column: 1 / -1;
    }

    .theme-customizer {
        padding: 1rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .placeholder-card {
        padding: 1.5rem;
        width: 100%;
    }

    .placeholder-header {
        font-size: 1.2rem;
    }

    .placeholder-inputs {
        grid-template-columns: 1fr;
    }

    .carousel-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .customizer-header {
        text-align: center;
        order: -1;
    }

    .carousel-image {
        max-height: 400px;
        object-fit: cover;
    }

    .merch-section-compact h3 {
        font-size: 1.75rem;
        text-wrap: balance
    }

    .merch-panel-horizontal {
        display: flex;
        flex-direction: column;
        padding: 1rem;
    }

    .merch-selector-vertical {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .merch-selector-vertical .merch-btn-compact {
        flex: 0 0 120px;
        width: 120px;
        min-width: 120px;
        padding: 1rem 0.5rem;
        text-align: center;
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
    }

    .merch-3d-display {
        aspect-ratio: 1/1;
        max-height: 440px;
    }

    .merch-preview-horizontal {
        min-height: 200px;
    }

    .pricing-contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 1rem;
    }

    .contact-info {
        border-left: none;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 2rem;
    }
}