/* URBot.net — Subdomain Product Page Styles */
/* Per-bot theming via CSS custom properties set by JS */

:root {
    --bot-accent: #00ff88;
    --bot-accent-dim: rgba(0, 255, 136, 0.15);
    --bot-accent-glow: rgba(0, 255, 136, 0.25);
    --dark-bg: #0a0e1a;
    --darker-bg: #050812;
    --card-bg: #151a2e;
    --card-bg-hover: #1a2038;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --text-muted: #6b6b8a;
    --error-color: #ff4444;
    --success-color: #00ff88;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.page { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

.header { padding: 1.5rem 0; display: flex; align-items: center; gap: 1.5rem; border-bottom: 1px solid var(--border-subtle); }
.header-back { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; white-space: nowrap; }
.header-back:hover { color: var(--bot-accent); }
.header-auth { margin-left: auto; }
.header-auth-btn { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; padding: 0.4rem 1rem; border: 1px solid var(--border-accent); border-radius: 6px; }
.header-auth-btn:hover { color: var(--bot-accent); border-color: var(--bot-accent); }
.header-bot { display: flex; align-items: center; gap: 1rem; }
.avatar-wrap { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2px solid var(--bot-accent); flex-shrink: 0; }
.avatar { width: 100%; height: 100%; object-fit: cover; }
.bot-name { font-size: 1.3rem; font-weight: 700; }
.category-badge { font-size: 0.75rem; color: var(--bot-accent); background: var(--bot-accent-dim); padding: 0.15rem 0.6rem; border-radius: 10px; }

.memory-banner { background: linear-gradient(135deg, rgba(0,255,136,0.08) 0%, rgba(139,92,246,0.08) 100%); border-bottom: 1px solid rgba(0,255,136,0.15); }
.memory-banner-inner { max-width: 960px; margin: 0 auto; padding: 0.6rem 1.5rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; }
.memory-banner-icon { font-size: 1.1rem; }
.memory-banner-stat { color: var(--bot-accent); font-weight: 600; }
.memory-banner-dismiss { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.2rem; margin-left: auto; }

.hero { padding: 3rem 0 2rem; text-align: center; }
.tagline { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; background: linear-gradient(135deg, var(--bot-accent) 0%, #a78bfa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.description { color: var(--text-secondary); max-width: 600px; margin: 0 auto 1.5rem; }
.cta-btn { display: inline-block; padding: 0.8rem 2rem; background: linear-gradient(135deg, var(--bot-accent), #0088ff); color: #0a0e1a; font-weight: 700; border-radius: 10px; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--bot-accent-glow); }
.cta-btn-outline { background: transparent; border: 2px solid var(--bot-accent); color: var(--bot-accent); }

.section { padding: 2.5rem 0; }
.section-title { font-size: 1.3rem; margin-bottom: 1.5rem; text-align: center; }
.feature-list { list-style: none; display: grid; gap: 0.75rem; max-width: 600px; margin: 0 auto; }
.feature-list li { padding: 0.6rem 1rem; background: var(--card-bg); border-radius: 8px; border-left: 3px solid var(--bot-accent); color: var(--text-secondary); font-size: 0.9rem; }

.disclaimer-section { background: rgba(255,68,68,0.05); border: 1px solid rgba(255,68,68,0.2); border-radius: 10px; padding: 1.25rem; margin: 0 0 1rem; }
.disclaimer-section p { color: #ff8888; font-size: 0.85rem; line-height: 1.5; }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tier-card { background: var(--card-bg); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 1.5rem; position: relative; transition: border-color 0.2s; }
.tier-card:hover { border-color: var(--bot-accent); }
.tier-card.popular { border-color: var(--bot-accent); box-shadow: 0 0 30px var(--bot-accent-glow); }
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--bot-accent); color: #0a0e1a; padding: 0.2rem 1rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.tier-header { text-align: center; margin-bottom: 1rem; }
.tier-header h3 { font-size: 1.1rem; }
.tier-price { font-size: 2rem; font-weight: 800; color: var(--bot-accent); }
.tier-license { font-size: 0.8rem; color: var(--text-muted); }
.tier-includes { list-style: none; margin-bottom: 1.25rem; }
.tier-includes li { padding: 0.3rem 0; font-size: 0.82rem; color: var(--text-secondary); }
.tier-includes li::before { content: '\2713 '; color: var(--bot-accent); font-weight: 700; }
.tier-action { text-align: center; }
.buy-btn { width: 100%; padding: 0.7rem; background: linear-gradient(135deg, var(--bot-accent), #0088ff); color: #0a0e1a; font-weight: 700; border: none; border-radius: 8px; cursor: pointer; font-size: 0.9rem; transition: transform 0.2s; }
.buy-btn:hover { transform: translateY(-1px); }
.checkout-form { margin-top: 0.75rem; text-align: center; }
.checkout-form input[type="email"] { width: 100%; padding: 0.6rem; background: var(--dark-bg); border: 1px solid var(--border-accent); border-radius: 6px; color: var(--text-primary); font-size: 0.85rem; margin-bottom: 0.5rem; }
.checkout-submit { width: 100%; padding: 0.6rem; background: var(--bot-accent); color: #0a0e1a; font-weight: 700; border: none; border-radius: 6px; cursor: pointer; }
.discount-badge { display: block; margin-top: 0.5rem; color: #a78bfa; font-size: 0.8rem; }
.checkout-error { display: block; margin-top: 0.5rem; color: var(--error-color); font-size: 0.8rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { text-align: center; padding: 1.5rem; }
.step-number { width: 40px; height: 40px; border-radius: 50%; background: var(--bot-accent-dim); color: var(--bot-accent); display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 0.75rem; border: 2px solid var(--bot-accent); }
.step h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.82rem; color: var(--text-secondary); }

.chat-demo { background: var(--card-bg); border-radius: 14px; padding: 1.5rem; max-width: 600px; margin: 0 auto; }
.chat-msg { margin-bottom: 0.75rem; }
.chat-msg.user { text-align: right; }
.chat-msg .bubble { display: inline-block; padding: 0.6rem 1rem; border-radius: 12px; max-width: 80%; text-align: left; font-size: 0.88rem; line-height: 1.5; }
.chat-msg.user .bubble { background: var(--bot-accent-dim); color: var(--text-primary); border-bottom-right-radius: 4px; }
.chat-msg.bot .bubble { background: var(--dark-bg); color: var(--text-secondary); border-bottom-left-radius: 4px; border: 1px solid var(--border-subtle); }
.chat-label { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.2rem; }

.package-contents { max-width: 600px; margin: 0 auto; }
.package-file { padding: 0.5rem 0; display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); border-bottom: 1px solid var(--border-subtle); }
.file-icon { font-size: 1.1rem; }

.trust-section { background: var(--card-bg); border-radius: 16px; padding: 2rem; margin-top: 1rem; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.trust-item { text-align: center; padding: 1rem 0.5rem; }
.trust-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.trust-item h3 { font-size: 0.85rem; margin-bottom: 0.3rem; }
.trust-item p { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.4; }
.trust-highlight { background: linear-gradient(135deg, rgba(0,255,136,0.05), rgba(139,92,246,0.05)); border-radius: 12px; border: 1px solid var(--bot-accent-dim); }

.signup-section { text-align: center; }
.signup-subtitle { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.signup-form { display: flex; gap: 0.5rem; max-width: 400px; margin: 0 auto; }
.signup-form input { flex: 1; padding: 0.6rem 1rem; background: var(--card-bg); border: 1px solid var(--border-accent); border-radius: 8px; color: var(--text-primary); font-size: 0.9rem; }
.signup-form button { padding: 0.6rem 1.5rem; background: var(--bot-accent); color: #0a0e1a; font-weight: 700; border: none; border-radius: 8px; cursor: pointer; }
.privacy-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; }

.footer { padding: 2rem 0; border-top: 1px solid var(--border-subtle); text-align: center; margin-top: 2rem; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--bot-accent); }
.footer-principle { color: var(--text-muted); font-size: 0.8rem; font-style: italic; margin-bottom: 0.3rem; }
.footer-copy { color: var(--text-muted); font-size: 0.75rem; }

@media (max-width: 768px) {
    .tier-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .header { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .tagline { font-size: 1.2rem; }
    .signup-form { flex-direction: column; }
}
