/* URBot.net — Event Budget & Finances Bot Styles */
/* Accent: #C0392B (rich red) */

:root {
    --bot-accent: #C0392B;
    --bot-accent-dim: rgba(192, 57, 43, 0.15);
    --bot-accent-glow: rgba(192, 57, 43, 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: #C0392B;
}

*, *::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 ===== */
.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;
    transition: color 0.2s;
}
.header-back:hover { color: var(--bot-accent); }

.header-bot {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--bot-accent);
    box-shadow: 0 0 16px var(--bot-accent-dim);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--card-bg);
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bot-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.category-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bot-accent-dim);
    color: var(--bot-accent);
    border: 1px solid var(--bot-accent);
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 3.5rem 0 2.5rem;
}

.tagline {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--bot-accent), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--bot-accent);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    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);
}

/* ===== SECTIONS ===== */
.section {
    padding: 3rem 0;
    border-top: 1px solid var(--border-subtle);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-primary);
}

/* ===== FEATURES ===== */
.feature-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    max-width: 640px;
    margin: 0 auto;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bot-accent);
    flex-shrink: 0;
    margin-top: 0.45rem;
}

/* ===== DISCLAIMER ===== */
.disclaimer-section {
    background: rgba(255, 68, 68, 0.08);
    border: 1px solid rgba(255, 68, 68, 0.3);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin: -1rem 0 0;
    font-size: 0.85rem;
    color: #ff8888;
    text-align: center;
    line-height: 1.5;
}

/* ===== TIER CARDS ===== */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.tier-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.tier-card:hover { border-color: var(--border-accent); }

.tier-card.popular {
    border-color: var(--bot-accent);
    box-shadow: 0 0 20px var(--bot-accent-dim);
}

.popular-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bot-accent);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.tier-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.tier-header h3 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.tier-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bot-accent);
    line-height: 1.1;
}

.tier-license {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.tier-includes {
    list-style: none;
    flex: 1;
    margin-bottom: 1.25rem;
}

.tier-includes li {
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.tier-includes li:last-child { border-bottom: none; }

.tier-includes li::before {
    content: '\2713';
    color: var(--bot-accent);
    font-weight: 700;
    flex-shrink: 0;
}

.tier-action { text-align: center; }

.buy-btn {
    display: inline-block;
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--bot-accent);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.buy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--bot-accent-glow);
}
.buy-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.checkout-form {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.checkout-form input[type="email"] {
    padding: 0.6rem 0.75rem;
    border: 2px solid var(--border-accent);
    background: var(--darker-bg);
    color: var(--text-primary);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}
.checkout-form input[type="email"]:focus {
    outline: none;
    border-color: var(--bot-accent);
}
.checkout-submit {
    padding: 0.6rem;
    background: var(--bot-accent);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
}
.checkout-submit:hover { opacity: 0.9; }
.checkout-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.discount-badge {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bot-accent);
    padding: 0.25rem;
    background: rgba(192, 57, 43, 0.1);
    border-radius: 4px;
}

.checkout-error {
    text-align: center;
    font-size: 0.8rem;
    color: var(--error-color);
}

/* ===== STEPS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bot-accent);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.step p { font-size: 0.85rem; color: var(--text-secondary); }

/* ===== CHAT DEMO ===== */
.chat-demo {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-bubble {
    max-width: 85%;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-bubble.user {
    align-self: flex-end;
    background: var(--bot-accent);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.chat-bubble.bot {
    align-self: flex-start;
    background: var(--card-bg);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    border-bottom-left-radius: 4px;
}

.chat-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
    display: block;
}

.chat-bubble.user .chat-label { color: rgba(255, 255, 255, 0.7); }
.chat-bubble.bot .chat-label { color: var(--bot-accent); }

/* ===== PACKAGE CONTENTS ===== */
.package-contents {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.package-file {
    padding: 0.65rem 1rem;
    background: var(--card-bg);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.package-file .file-icon { margin-right: 0.25rem; }
.package-file strong { color: var(--text-primary); }

/* ===== TRUST GRID ===== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.trust-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
}

.trust-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.trust-item h3 { font-size: 0.95rem; margin-bottom: 0.35rem; color: var(--text-primary); }
.trust-item p { font-size: 0.8rem; color: var(--text-secondary); }

/* ===== SIGNUP ===== */
.signup-section { text-align: center; }
.signup-subtitle { color: var(--text-secondary); margin-bottom: 1rem; font-size: 0.95rem; }

.signup-form {
    display: flex;
    gap: 0.75rem;
    max-width: 420px;
    margin: 0 auto 0.75rem;
}

.signup-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-accent);
    background: var(--darker-bg);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}
.signup-form input:focus { outline: none; border-color: var(--bot-accent); }

.signup-form button {
    padding: 0.75rem 1.5rem;
    background: var(--bot-accent);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s;
    white-space: nowrap;
}
.signup-form button:hover { transform: translateY(-1px); }

.privacy-note { font-size: 0.75rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-subtle);
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--bot-accent);
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 0.8; }

.footer-principle { font-style: italic; color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.5rem; }
.footer-copy { color: var(--text-muted); font-size: 0.75rem; }

/* ===== HEADER AUTH ===== */
.header-auth { margin-left: auto; flex-shrink: 0; }
.header-auth-btn {
    display: inline-flex;
    align-items: center;
    padding: .4rem .9rem;
    background: var(--bot-accent);
    color: #fff;
    border-radius: 2rem;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}
.header-auth-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.header-auth-user {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
}
.header-auth-user:hover { background: rgba(255,255,255,0.2); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .page { padding: 0 1rem; }
    .header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .hero { padding: 2.5rem 0 2rem; }
    .tagline { font-size: 1.35rem; }
    .description { font-size: 1rem; }
    .tier-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .tier-card.popular { order: -1; }
    .steps { grid-template-columns: 1fr; gap: 1rem; }
    .trust-grid { grid-template-columns: 1fr; }
    .signup-form { flex-direction: column; }
}

@media (max-width: 480px) {
    .tagline { font-size: 1.15rem; }
    .tier-price { font-size: 2rem; }
    .bot-name { font-size: 1.25rem; }
    .section-title { font-size: 1.25rem; }
}
