/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --primary-light: #a29bfe;
    --primary-50: rgba(108, 92, 231, 0.08);
    --primary-100: rgba(108, 92, 231, 0.15);

    --accent: #00b894;
    --accent-dark: #00a381;
    --accent-light: rgba(0, 184, 148, 0.1);

    --gold: #fdcb6e;
    --gold-dark: #e17055;

    --success: #00b894;
    --success-light: rgba(0, 184, 148, 0.1);
    --success-dark: #00a381;

    --warning: #fdcb6e;
    --warning-light: rgba(253, 203, 110, 0.15);

    --danger: #ff6b6b;
    --danger-light: rgba(255, 107, 107, 0.1);

    /* Balanced tones - not too light, not too dark */
    --bg: #eef0f5;
    --bg-card: #ffffff;
    --bg-elevated: #f5f6fa;
    --bg-section: #e8eaf0;
    --bg-header: #2d3250;
    --bg-footer: #2d3250;

    --text: #2d3250;
    --text-secondary: #545a7a;
    --text-muted: #8b90a8;
    --text-light: #b0b5c9;
    --text-white: #ffffff;
    --text-on-dark: #c8cce0;

    --border: #d5d8e3;
    --border-light: #e4e7f0;
    --border-card: #dfe2ec;

    --shadow-sm: 0 2px 4px rgba(45, 50, 80, 0.05);
    --shadow: 0 2px 8px rgba(45, 50, 80, 0.08);
    --shadow-md: 0 4px 16px rgba(45, 50, 80, 0.1);
    --shadow-lg: 0 8px 30px rgba(45, 50, 80, 0.12);
    --shadow-xl: 0 16px 40px rgba(45, 50, 80, 0.15);
    --shadow-primary: 0 4px 20px rgba(108, 92, 231, 0.25);
    --shadow-primary-lg: 0 8px 30px rgba(108, 92, 231, 0.3);
    --shadow-accent: 0 4px 20px rgba(0, 184, 148, 0.25);

    --radius: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --radius-xs: 6px;
    --radius-full: 50px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: all 0.25s ease; }

/* ===== HEADER ===== */
.site-header {
    background: var(--bg-header);
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.3px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: var(--shadow-primary);
}

.logo-text span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-on-dark);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.55rem 1.3rem;
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1.5px solid transparent;
}

.nav-link svg {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.nav-link:hover {
    color: var(--text-white);
    background: rgba(108, 92, 231, 0.15);
    border-color: rgba(162, 155, 254, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.2);
}

.nav-link:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:first-child:hover {
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.2), rgba(162, 155, 254, 0.1));
    border-color: rgba(162, 155, 254, 0.35);
}

.nav-link:last-child:hover {
    background: linear-gradient(135deg, rgba(0, 184, 148, 0.15), rgba(0, 184, 148, 0.05));
    border-color: rgba(0, 184, 148, 0.3);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.2);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--bg-footer);
    margin-top: 4rem;
    color: var(--text-on-dark);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo { margin-bottom: 1rem; }

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    max-width: 280px;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all 0.25s;
}

.footer-col ul li a:hover { color: var(--text-white); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
}

.footer-badges .badge {
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(108, 92, 231, 0.2);
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 4.5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #3d4270 0%, #2d3250 40%, #424769 100%);
    color: var(--text-white);
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -60px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    letter-spacing: -1px;
    line-height: 1.15;
    position: relative;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-on-dark);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    position: relative;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
}

.hero-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat .number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
}

.hero-stat .label {
    font-size: 0.72rem;
    color: var(--text-on-dark);
    margin-top: 0.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

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

/* ===== SECTION TITLE ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.2rem 1.6rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow);
}

.section-header-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.section-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: var(--shadow-primary);
    flex-shrink: 0;
}

.section-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

.section-count {
    padding: 0.3rem 0.8rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.section-divider {
    color: var(--text-light);
}

.section-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
    font-weight: 500;
}

/* ===== CATEGORY CARDS ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 2rem 1.5rem 1.8rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.4s;
}

.category-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(108, 92, 231, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(108, 92, 231, 0.2);
}

.category-card:hover::before { opacity: 1; }
.category-card:hover::after { opacity: 1; }

.category-card .card-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.2rem;
    background: var(--bg-elevated);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.category-card:hover .card-icon {
    background: var(--primary-50);
    border-color: rgba(108, 92, 231, 0.2);
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.1);
}

.category-card .card-icon img {
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.category-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
    position: relative;
    z-index: 1;
}

.category-card .card-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
}

.category-card .card-meta .stock-count {
    color: var(--accent);
    font-weight: 600;
}

.category-card .card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.3rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-50);
    border: 1px solid rgba(108, 92, 231, 0.15);
    transition: all 0.35s;
    position: relative;
    z-index: 1;
}

.category-card:hover .card-action {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

/* ===== FEATURES BAR ===== */
.features-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-card);
    box-shadow: var(--shadow);
}

.features-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.feature-text span {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

@media (max-width: 768px) {
    .features-bar-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .features-bar-inner {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* ===== CATEGORY HERO ===== */
.cat-hero {
    text-align: center;
    padding: 3.5rem 2rem;
    background: linear-gradient(160deg, #3d4270 0%, #2d3250 40%, #424769 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.cat-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 70%);
}

.cat-hero .cat-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    position: relative;
}

.cat-hero .cat-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.cat-hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
    letter-spacing: -0.5px;
    position: relative;
}

.cat-hero .sub {
    color: var(--text-on-dark);
    font-size: 0.95rem;
    position: relative;
}

/* ===== PRODUCT LIST ===== */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-row {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 1.2rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.product-img {
    width: 56px;
    height: 56px;
    background: var(--bg-elevated);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
    transition: all 0.35s;
}

.product-row:hover .product-img {
    background: var(--primary-50);
    border-color: rgba(108, 92, 231, 0.2);
    transform: scale(1.05);
}

.product-img img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.product-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.35s;
}

.product-row:hover {
    border-color: rgba(108, 92, 231, 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.product-row:hover::before { opacity: 1; }

.product-info {
    flex: 1;
    min-width: 0;
}

.product-info h3 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.product-info .desc {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
}

.stock-badge.in-stock {
    background: var(--success-light);
    color: var(--success-dark);
    border: 1px solid rgba(0, 184, 148, 0.15);
}

.stock-badge.out {
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid rgba(255, 107, 107, 0.15);
}

.product-price {
    text-align: right;
    margin: 0 2rem;
    min-width: 120px;
}

.product-price .original {
    font-size: 0.72rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-price .final {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.product-price .unit {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 700;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.6rem;
    border-radius: var(--radius-sm);
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    box-shadow: var(--shadow-primary-lg);
    transform: translateY(-3px);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-success:hover {
    box-shadow: 0 8px 30px rgba(0, 184, 148, 0.35);
    transform: translateY(-3px);
}

.btn-outline {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.btn-disabled {
    background: var(--bg-section);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.btn-block { width: 100%; }
.btn-lg { padding: 0.95rem 2rem; font-size: 0.95rem; border-radius: var(--radius-md); }

/* ===== CARD (generic) ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.card-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    background: var(--bg-elevated);
}

.card-body { padding: 1.5rem; }

/* ===== FORM ===== */
.form-group { margin-bottom: 1.3rem; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: var(--bg-elevated);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.25s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-card);
    box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}

.form-control::placeholder { color: var(--text-light); }

/* ===== AMOUNT BOX ===== */
.amount-box {
    padding: 2.8rem 2rem;
    text-align: center;
    background: linear-gradient(160deg, #3d4270 0%, #2d3250 40%, #424769 100%);
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
    overflow: hidden;
}

.amount-box::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.2) 0%, transparent 70%);
}

.amount-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.1) 0%, transparent 70%);
}

.amount-box .label {
    font-size: 0.88rem;
    color: var(--text-on-dark);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.amount-box .amount {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.amount-box .product-name {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.4rem;
    position: relative;
    z-index: 1;
}

/* ===== WALLET ===== */
.wallet-box {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg-elevated);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.1rem;
}

.wallet-box .address {
    flex: 1;
    font-size: 0.82rem;
    font-family: 'JetBrains Mono', 'SF Mono', 'Courier New', monospace;
    word-break: break-all;
    color: var(--text);
    font-weight: 500;
}

.wallet-box .copy-btn {
    padding: 0.5rem 1.1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: none;
    border-radius: var(--radius-xs);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s;
    box-shadow: var(--shadow-primary);
}

.wallet-box .copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-lg);
}

.network-badge {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.35rem 0.9rem;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(0, 184, 148, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ===== STEPS ===== */
.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
}

.step.active { color: var(--primary); font-weight: 600; }
.step.done { color: var(--accent); }

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--bg-elevated);
    border: 2px solid var(--border);
    transition: all 0.3s;
}

.step.active .step-dot {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.step.done .step-dot {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}

.step-line {
    width: 50px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
}

/* ===== ALERTS ===== */
.alert {
    padding: 1rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.alert-error {
    background: var(--danger-light);
    color: var(--danger);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.alert-warning {
    background: var(--warning-light);
    color: #856404;
    border: 1px solid rgba(253, 203, 110, 0.3);
}

/* ===== DETAIL ROWS ===== */
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-light);
}

.detail-row:last-child { border-bottom: none; }
.detail-row .label { color: var(--text-muted); font-weight: 500; }
.detail-row .value { font-weight: 600; text-align: right; max-width: 60%; word-break: break-all; color: var(--text); }

/* ===== SUMMARY ===== */
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.88rem;
}

.summary-row .label { color: var(--text-muted); }

.summary-row.total {
    border-top: 2px solid var(--border);
    margin-top: 0.6rem;
    padding-top: 0.8rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.summary-row.total .value { color: var(--primary); }

/* ===== TIMER ===== */
.timer-bar {
    text-align: center;
    padding: 0.8rem;
    font-size: 0.82rem;
    color: var(--danger);
    background: var(--danger-light);
    font-weight: 500;
    border-top: 1px solid rgba(255, 107, 107, 0.15);
}

/* ===== SUCCESS ===== */
.success-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.success-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 30px rgba(0, 184, 148, 0.3);
}

.code-display {
    background: var(--success-light);
    border: 2px solid rgba(0, 184, 148, 0.25);
    border-radius: var(--radius-sm);
    padding: 1.4rem;
    font-family: 'JetBrains Mono', 'SF Mono', 'Courier New', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--success-dark);
    word-break: break-all;
    margin-bottom: 1rem;
    text-align: center;
}

.spinner {
    width: 44px;
    height: 44px;
    border: 3px solid var(--border);
    border-top: 3px solid var(--warning);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE - TABLET LANDSCAPE (1024px) ===== */
@media (max-width: 1024px) {
    .container { max-width: 100%; padding: 2.5rem 1.5rem; }
    .container-sm { max-width: 100%; padding: 2rem 1.5rem; }
    .categories-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1rem; }
    .hero-stat { padding: 0.8rem 1.5rem; }
    .hero-stat .number { font-size: 1.4rem; }
    .product-price { margin: 0 1.2rem; min-width: 100px; }
    .product-price .final { font-size: 1.2rem; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
}

/* ===== RESPONSIVE - TABLET PORTRAIT (768px) ===== */
@media (max-width: 768px) {
    /* Header */
    .site-header { padding: 0 1rem; }
    .header-inner { height: 58px; }
    .logo { font-size: 1.1rem; gap: 0.5rem; }
    .logo-icon { width: 34px; height: 34px; font-size: 1rem; border-radius: 10px; }
    .header-nav { gap: 0.4rem; }
    .nav-link { padding: 0.4rem 0.9rem; font-size: 0.78rem; }
    .nav-link svg { width: 14px; height: 14px; }

    /* Hero */
    .hero { padding: 3rem 1.5rem; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 0.95rem; margin-bottom: 2rem; }
    .hero-stats { gap: 0.8rem; flex-wrap: wrap; justify-content: center; }
    .hero-stat { padding: 0.7rem 1.2rem; }
    .hero-stat .number { font-size: 1.3rem; }
    .hero-stat .label { font-size: 0.65rem; }

    /* Features Bar */
    .features-bar-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 1rem 1.2rem;
    }
    .feature-icon { width: 38px; height: 38px; font-size: 1rem; }
    .feature-text strong { font-size: 0.78rem; }
    .feature-text span { font-size: 0.68rem; }

    /* Section Header */
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1rem 1.2rem;
    }
    .section-header-right { width: 100%; justify-content: flex-start; }
    .section-title { font-size: 1.05rem; }

    /* Categories Grid */
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .category-card { padding: 1.5rem 1.2rem 1.4rem; }
    .category-card .card-icon { width: 80px; height: 80px; border-radius: 18px; margin-bottom: 1rem; }
    .category-card .card-icon img { width: 50px; height: 50px; }
    .category-card h3 { font-size: 0.95rem; }
    .category-card .card-meta { font-size: 0.78rem; margin-bottom: 1rem; }
    .category-card .card-action { padding: 0.45rem 1.1rem; font-size: 0.75rem; }

    /* Category Hero */
    .cat-hero { padding: 2.5rem 1.5rem; }
    .cat-hero .cat-icon { width: 76px; height: 76px; border-radius: 20px; }
    .cat-hero .cat-icon img { width: 46px; height: 46px; }
    .cat-hero h1 { font-size: 1.8rem; }
    .cat-hero .sub { font-size: 0.88rem; }

    /* Product Row */
    .product-row {
        flex-wrap: wrap;
        gap: 0.8rem;
        padding: 1rem 1.2rem;
    }
    .product-img { width: 48px; height: 48px; border-radius: 12px; }
    .product-img img { width: 30px; height: 30px; }
    .product-info h3 { font-size: 0.9rem; }
    .product-info .desc { font-size: 0.72rem; }
    .product-price { margin: 0 1rem; min-width: auto; }
    .product-price .final { font-size: 1.15rem; }
    .btn { padding: 0.6rem 1.2rem; font-size: 0.82rem; }

    /* Container */
    .container { padding: 2rem 1.2rem; }
    .container-sm { padding: 1.5rem 1.2rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .footer-inner { padding: 2.5rem 1.5rem 1.5rem; }
    .footer-brand p { max-width: 100%; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
    .footer-badges { flex-wrap: wrap; justify-content: center; }

    /* Checkout / Payment */
    .steps { gap: 0.3rem; }
    .step { font-size: 0.75rem; }
    .step-dot { width: 28px; height: 28px; font-size: 0.7rem; }
    .step-line { width: 35px; }
    .amount-box { padding: 2rem 1.5rem; }
    .amount-box .amount { font-size: 2.4rem; }
    .wallet-box { flex-direction: column; align-items: stretch; gap: 0.8rem; }
    .wallet-box .address { font-size: 0.75rem; text-align: center; }
    .wallet-box .copy-btn { text-align: center; }
    .card-body { padding: 1.2rem; }
    .detail-row { font-size: 0.82rem; }
    .summary-row.total { font-size: 1.05rem; }

    /* Success */
    .success-circle { width: 72px; height: 72px; font-size: 2rem; }
    .code-display { font-size: 1.1rem; padding: 1.1rem; }
}

/* ===== RESPONSIVE - MOBILE (480px) ===== */
@media (max-width: 480px) {
    /* Header */
    .site-header { padding: 0 0.8rem; }
    .header-inner { height: 52px; }
    .logo { font-size: 1rem; gap: 0.4rem; }
    .logo-icon { width: 30px; height: 30px; font-size: 0.9rem; border-radius: 8px; }
    .nav-link { padding: 0.35rem 0.7rem; font-size: 0.72rem; gap: 0.35rem; }
    .nav-link svg { width: 12px; height: 12px; }

    /* Hero */
    .hero { padding: 2.5rem 1rem; }
    .hero h1 { font-size: 1.6rem; letter-spacing: -0.5px; }
    .hero p { font-size: 0.88rem; margin-bottom: 1.5rem; line-height: 1.6; }
    .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; justify-content: center; width: 100%; }
    .hero-stat { padding: 0.5rem 0.8rem; flex: 0 0 auto; min-width: 0; }
    .hero-stat .number { font-size: 1.2rem; }
    .hero-stat .label { font-size: 0.6rem; }

    /* Features Bar - 2 per row on mobile */
    .features-bar-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        padding: 0.8rem 1rem;
    }
    .feature-item { gap: 0.5rem; padding: 0.3rem 0; }
    .feature-icon { width: 32px; height: 32px; font-size: 0.85rem; border-radius: 8px; }
    .feature-text strong { font-size: 0.72rem; }
    .feature-text span { font-size: 0.62rem; }

    /* Section Header */
    .section-header { padding: 0.8rem 1rem; gap: 0.6rem; }
    .section-icon { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; }
    .section-title { font-size: 0.95rem; }
    .section-subtitle { font-size: 0.72rem; }
    .section-count { font-size: 0.68rem; padding: 0.2rem 0.6rem; }

    /* Categories Grid - 2 per row on mobile */
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
    .category-card { padding: 1.2rem 0.8rem 1rem; }
    .category-card .card-icon { width: 68px; height: 68px; border-radius: 16px; margin-bottom: 0.7rem; }
    .category-card .card-icon img { width: 44px; height: 44px; }
    .category-card h3 { font-size: 0.82rem; }
    .category-card .card-meta { font-size: 0.7rem; margin-bottom: 0.7rem; }
    .category-card .card-action { padding: 0.35rem 0.8rem; font-size: 0.68rem; }

    /* Category Hero */
    .cat-hero { padding: 2rem 1rem; }
    .cat-hero .cat-icon { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 1rem; }
    .cat-hero .cat-icon img { width: 38px; height: 38px; }
    .cat-hero h1 { font-size: 1.5rem; }
    .cat-hero .sub { font-size: 0.82rem; }

    /* Product Row */
    .product-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 1rem;
    }
    .product-row .product-img { width: 44px; height: 44px; }
    .product-row .product-img img { width: 28px; height: 28px; }
    .product-info { width: 100%; }
    .product-info h3 { font-size: 0.88rem; }
    .product-price { text-align: left; margin: 0; min-width: auto; width: 100%; }
    .product-price .final { font-size: 1.1rem; }
    .product-price .original { font-size: 0.68rem; }
    .btn { width: 100%; justify-content: center; padding: 0.65rem 1rem; font-size: 0.82rem; }
    .btn-lg { padding: 0.8rem 1.5rem; font-size: 0.88rem; }

    /* Container */
    .container { padding: 1.5rem 0.8rem; }
    .container-sm { padding: 1.2rem 0.8rem; }

    /* Footer - 2 per row on mobile */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .footer-inner { padding: 2rem 1rem 1.5rem; }
    .footer-col h4 { margin-bottom: 0.8rem; }
    .footer-badges .badge { font-size: 0.65rem; padding: 0.3rem 0.7rem; }

    /* Checkout / Payment */
    .steps { gap: 0.2rem; margin-bottom: 1.5rem; }
    .step { font-size: 0.7rem; gap: 0.3rem; }
    .step span { display: none; }
    .step-dot { width: 30px; height: 30px; font-size: 0.72rem; }
    .step-line { width: 25px; }
    .amount-box { padding: 1.8rem 1rem; }
    .amount-box .amount { font-size: 2rem; }
    .amount-box .label { font-size: 0.8rem; }
    .amount-box .product-name { font-size: 0.78rem; }
    .wallet-box { padding: 0.8rem; }
    .wallet-box .address { font-size: 0.7rem; }
    .card-body { padding: 1rem; }
    .card-header { padding: 1rem 1.2rem; font-size: 0.95rem; }
    .form-control { padding: 0.75rem 0.9rem; font-size: 0.85rem; }
    .form-group label { font-size: 0.78rem; }
    .detail-row { font-size: 0.78rem; padding: 0.6rem 0; }
    .detail-row .value { max-width: 55%; font-size: 0.72rem; }
    .summary-row { font-size: 0.82rem; }
    .summary-row.total { font-size: 1rem; }
    .timer-bar { font-size: 0.78rem; padding: 0.6rem; }
    .network-badge { font-size: 0.68rem; }
    .alert { font-size: 0.8rem; padding: 0.8rem 1rem; }

    /* Success */
    .success-circle { width: 64px; height: 64px; font-size: 1.8rem; }
    .code-display { font-size: 0.95rem; padding: 1rem; }
    .spinner { width: 36px; height: 36px; }
}

/* ===== RESPONSIVE - SMALL MOBILE (360px) ===== */
@media (max-width: 360px) {
    .hero h1 { font-size: 1.4rem; }
    .hero p { font-size: 0.82rem; }
    .amount-box .amount { font-size: 1.7rem; }
    .product-info h3 { font-size: 0.82rem; }
    .product-price .final { font-size: 1rem; }
    .category-card .card-icon { width: 56px; height: 56px; }
    .category-card .card-icon img { width: 34px; height: 34px; }
}
