/* Surge AI Storefront — Cyberpunk CSS Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@600;800;900&display=swap');

:root {
    /* Color Palette - Cyber Red & Neon Cyan */
    --bg-main: #06090e;
    --bg-card: rgba(13, 18, 30, 0.65);
    --bg-input: rgba(8, 12, 21, 0.85);
    
    --neon-red: #ff2a5f;
    --neon-red-glow: rgba(255, 42, 95, 0.4);
    --neon-red-dim: #cc1b47;
    
    --neon-cyan: #00f0ff;
    --neon-cyan-glow: rgba(0, 240, 255, 0.4);
    
    --text-primary: #f0f4f9;
    --text-secondary: #8b9bb4;
    --text-muted: #57657a;
    
    --border-color: rgba(0, 240, 255, 0.15);
    --border-glow: rgba(0, 240, 255, 0.05);
    --border-red: rgba(255, 42, 95, 0.2);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Cyber Grid Elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 42, 95, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
        linear-gradient(rgba(18, 24, 38, 0.25) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 24, 38, 0.25) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    z-index: -1;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 42, 95, 0.3);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-red);
    box-shadow: 0 0 8px var(--neon-red);
}

/* Typography & Layout Utility Classes */
h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
}

.glow-text-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

.glow-text-red {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red-glow);
}

/* Navigation Bar */
header {
    background: rgba(6, 9, 14, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.8rem;
    animation: pulse 3s infinite alternate;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-red) 0%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-cyan-glow);
}

.cart-btn {
    background: transparent;
    border: 1px solid var(--neon-red);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.cart-btn:hover {
    background: var(--neon-red);
    box-shadow: 0 0 15px var(--neon-red-glow);
    color: #000;
    font-weight: bold;
}

.cart-count {
    background: var(--text-primary);
    color: #000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 4rem auto 2rem;
    padding: 0 2rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 42, 95, 0.1);
    border: 1px solid var(--neon-red);
    color: var(--neon-red);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-lg);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(255, 42, 95, 0.15);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--neon-red);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    padding: 0.8rem 1.8rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 20px var(--neon-red-glow);
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-primary:hover {
    box-shadow: 0 0 35px var(--neon-red-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    border-radius: var(--radius-sm);
    color: var(--neon-cyan);
    padding: 0.8rem 1.8rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px var(--neon-cyan-glow);
    transform: translateY(-2px);
}

/* Feature Grid (Why Choose Us) */
.features-grid {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-cyan), transparent);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.08);
}

.feature-card:hover::before {
    background: linear-gradient(90deg, var(--neon-red), var(--neon-cyan));
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Marketplace Section */
.marketplace-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
}

.category-tabs {
    display: flex;
    gap: 0.8rem;
    list-style: none;
}

.category-tab {
    background: rgba(13, 18, 30, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.category-tab.active, .category-tab:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 10px var(--neon-cyan-glow);
}

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

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-red);
    box-shadow: 0 10px 30px rgba(255, 42, 95, 0.08);
}

.product-meta {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-category-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    width: fit-content;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-seller {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.8rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.6rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--text-primary);
    font-weight: 800;
}

.buy-btn {
    background: transparent;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.buy-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px var(--neon-cyan-glow);
}

/* Merchant Space Simulator (Rent a Shelf Panel) */
.merchant-sim-section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.merchant-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.merchant-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.merchant-intro p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.split-viz-container {
    background: rgba(255, 42, 95, 0.04);
    border: 1px dashed var(--neon-red);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 2rem;
}

.split-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 1rem;
}

.split-stat {
    font-family: 'Orbitron', sans-serif;
}

.split-stat .num {
    font-size: 2.5rem;
    font-weight: 900;
}

.split-stat .label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Simulator Form */
.merchant-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.merchant-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    font-size: 0.8rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

input, textarea, select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

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

/* Card Onboarding Selector styles */
.setup-toggle-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.setup-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.setup-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.setup-card.active {
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.03);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.08);
}

.setup-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.setup-card-price {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--neon-cyan);
    margin-bottom: 0.6rem;
    font-family: 'Orbitron', sans-serif;
}

.setup-card-price.free {
    color: var(--text-secondary);
}

.setup-card-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Terminal Log System Overlay */
.terminal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 11, 0.85);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.terminal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.terminal-box {
    background: #030508;
    border: 1px solid var(--neon-red);
    border-radius: var(--radius-md);
    width: 600px;
    max-width: 90vw;
    box-shadow: 0 0 50px var(--neon-red-glow);
    overflow: hidden;
}

.terminal-header {
    background: #0d121c;
    border-bottom: 1px solid var(--border-red);
    padding: 0.8rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
}

.terminal-controls {
    display: flex;
    gap: 0.4rem;
}

.terminal-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-control.red { background: #ff5f56; }
.terminal-control.yellow { background: #ffbd2e; }
.terminal-control.green { background: #27c93f; }

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: var(--neon-cyan);
    min-height: 250px;
    max-height: 400px;
    overflow-y: auto;
}

.terminal-line {
    margin-bottom: 0.6rem;
    opacity: 0;
    transform: translateY(5px);
    animation: fadeUp 0.3s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modals & Cart Drawers */
dialog::backdrop {
    background: rgba(5, 7, 11, 0.8);
    backdrop-filter: blur(8px);
}

dialog {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    margin: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
    color: var(--text-primary);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.4rem;
    color: var(--neon-cyan);
}

.close-modal-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal-btn:hover {
    color: var(--neon-red);
}

/* Checkout Form elements */
.checkout-summary-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--neon-cyan);
}

.payment-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.pay-tab {
    border: 1px solid var(--border-color);
    background: transparent;
    padding: 0.5rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    text-align: center;
}

.pay-tab.active {
    border-color: var(--neon-red);
    color: var(--neon-red);
    background: rgba(255, 42, 95, 0.05);
}

.payment-forms .form-tab {
    display: none;
}

.payment-forms .form-tab.active {
    display: block;
}

.checkout-split-box {
    margin-top: 1.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.split-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

/* Cart Drawer Slider */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: rgba(10, 15, 25, 0.95);
    backdrop-filter: blur(15px);
    border-left: 1px solid var(--border-color);
    z-index: 500;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    margin: 2rem 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.cart-item-details h4 {
    font-size: 0.95rem;
}

.cart-item-details p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.remove-cart-item {
    background: transparent;
    border: none;
    color: var(--neon-red);
    cursor: pointer;
    font-size: 0.8rem;
}

.cart-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1.5rem;
}

.checkout-btn {
    width: 100%;
}

/* Success State Screen */
.success-screen {
    text-align: center;
    padding: 2rem 0;
}

.success-screen h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.success-license-box {
    background: var(--bg-input);
    border: 1px solid var(--neon-cyan);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    font-family: monospace;
    font-size: 1rem;
    color: var(--neon-cyan);
    margin: 1.5rem 0;
    word-break: break-all;
    box-shadow: 0 0 10px var(--neon-cyan-glow);
}

/* Footer style */
footer {
    background: #030508;
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem;
    margin-top: 8rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

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

/* Keyframe Animations */
@keyframes pulse {
    0% { transform: scale(1); text-shadow: 0 0 5px var(--neon-red-glow); }
    100% { transform: scale(1.05); text-shadow: 0 0 15px var(--neon-red-glow); }
}

/* AI Native Product Format Badges & Protocols Drawer */
#ai-protocols-drawer.active {
    left: 0 !important;
}

.product-format-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-red);
    background: rgba(255, 42, 95, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    width: fit-content;
    text-transform: uppercase;
    border: 1px solid rgba(255, 42, 95, 0.2);
    font-weight: 800;
}

.product-format-badge.format-weights {
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.2);
}

.product-format-badge.format-agent {
    color: #ffb700;
    background: rgba(255, 183, 0, 0.1);
    border-color: rgba(255, 183, 0, 0.2);
}

.product-format-badge.format-sdk {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.2);
}

.product-format-badge.format-api {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

/* Surge Merchant Services Grid */
.services-viz-container {
    background: rgba(0, 242, 254, 0.03);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.02);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    transition: transform 0.2s ease, background 0.2s ease;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}

.service-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.02);
}

.service-icon {
    font-size: 1.2rem;
    background: rgba(0, 242, 254, 0.1);
    padding: 0.4rem;
    border-radius: 50%;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--neon-cyan);
}

.service-item:nth-child(even) .service-icon {
    background: rgba(255, 42, 95, 0.1);
    border-color: rgba(255, 42, 95, 0.3);
    color: var(--neon-red);
}

.service-details h5 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin: 0 0 0.2rem 0;
    font-weight: 600;
}

.service-details p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0 !important;
    line-height: 1.3;
}

@media(max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .merchant-grid { grid-template-columns: 1fr; }
    .cart-drawer { width: 100vw; right: -100vw; }
}
