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

:root {
    --bg-sand: #faf8f6;
    --bg-white: #ffffff;
    --text-primary: #1a1a1a;
    --text-muted: #666666;
    --accent-red: #dc2626;
    --accent-red-hover: #b91c1c;
    --border-color: rgba(26, 26, 26, 0.1);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: url('./currency.jpg') center center fixed;
    background-size: cover;
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* Navigation */
.nav {
    background: #4ade80;
    border-bottom: none;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn-nav {
    padding: 0.5rem 1rem;
    background: var(--accent-red);
    color: white !important;
    border-radius: 6px;
    font-weight: 500;
}

.btn-nav:hover {
    background: var(--accent-red-hover);
}

/* Hero Section */
.hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: transparent;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #000;
    text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}

.title-box {
    display: inline-block;
    background: rgba(252, 231, 243, 0.93);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
}

.subtitle-box {
    display: inline-block;
    background: rgba(252, 231, 243, 0.93);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: #111;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #111;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

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

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    border: none;
}

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

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

.btn-secondary {
    background: rgba(0,0,0,0.75);
    border: 2px solid #000;
    color: #fff;
}

.btn-secondary:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.btn-buy {
    width: 100%;
    margin-top: 1rem;
}

/* Products Section */
.products-section {
    padding: 6rem 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background: rgba(252, 231, 243, 0.93);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.product-image {
    margin-bottom: 1rem;
}

.product-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.product-tag {
    display: inline-block;
    background: #fef2f2;
    color: var(--accent-red);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-icon {
    color: var(--accent-red);
    font-size: 1.2rem;
}

.price {
    font-weight: 600;
    font-size: 1.1rem;
}

.product-creator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.creator-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fef2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.creator-name {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* How It Works */
.how-it-works {
    padding: 6rem 2rem;
    background: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.step-card {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Creators Section */
.creators-section {
    padding: 6rem 2rem;
}

.creators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.creator-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.creator-large-avatar {
    width: 80px;
    height: 80px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
}

.creator-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.creator-role {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.creator-stats {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.creator-link {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
}

.creator-link:hover {
    text-decoration: underline;
}

/* API Section */
.api-section {
    padding: 6rem 2rem;
    background: var(--bg-white);
}

.code-block {
    background: #1a1a1a;
    color: #4ade80;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
}

.api-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.api-feature {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-column a:hover {
    color: var(--accent-red);
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}
