/* Marketplace - Modern Marketing Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --success: #10b981;
    --warning: #f59e0b;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    background: var(--gray-50);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero */
.marketplace-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Sections */
.product-section {
    padding: 5rem 0;
}

.nip05-section {
    background: white;
}

.relay-section {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border: 2px solid var(--gray-100);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: var(--primary);
}

.product-card.featured {
    border-color: var(--primary);
    border-width: 3px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    padding: 0.5rem 1.5rem;
    background: var(--warning);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.card-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-100);
    margin-bottom: 2rem;
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.card-price .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.card-price .period {
    font-size: 1rem;
    color: var(--gray-600);
}

.card-body {
    margin-bottom: 2rem;
}

.card-description {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features-list li {
    padding: 0.75rem 0;
    color: var(--gray-700);
}

.domains-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.domain-tag {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: 12px;
    font-size: 0.813rem;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    text-decoration: none;
    color: var(--gray-800);
    transition: all 0.3s;
    display: inline-block;
}

.domain-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.card-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-800);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
}

.section-footer {
    text-align: center;
}

.link-view-all {
    display: inline-block;
    padding: 1rem 2rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
}

.link-view-all:hover {
    color: var(--secondary);
}

/* Relay Showcase */
.relay-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.relay-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.feature-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--gray-600);
}

.relay-card {
    background: white;
    border: 3px solid var(--primary);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.relay-url {
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
}

.relay-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.price-big {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
}

.price-period {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.relay-includes {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.relay-includes li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.relay-includes li:last-child {
    border-bottom: none;
}

.relay-btn {
    display: block;
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s;
}

.relay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
}

.relay-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--warning);
    font-weight: 600;
}

/* Bundle Section */
.bundle-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bundle-card {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.bundle-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--warning);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.bundle-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.bundle-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.bundle-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.bundle-feature {
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
}

.bundle-pricing {
    text-align: center;
}

.price-strike {
    font-size: 1.5rem;
    color: var(--gray-600);
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.price-final {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
}

.bundle-btn {
    display: block;
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    text-decoration: none;
}

.bundle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Why Section */
.why-section {
    padding: 5rem 0;
    background: white;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.why-item {
    text-align: center;
}

.why-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.why-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.why-item p {
    color: var(--gray-600);
}

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    background: var(--gray-50);
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-btn.primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.cta-btn.secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-btn.secondary:hover {
    background: var(--primary);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .relay-showcase {
        grid-template-columns: 1fr;
    }

    .bundle-card {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .container {
        padding: 0 1rem;
    }
}