:root {
    --primary-blue: #018CFF;
    --primary-green: #50EB97;
    --bg-dark: #0d1117;
    --bg-darker: #010409;
    --bg-card: #161b22;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --border-color: #30363d;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    margin-bottom: 40px;
    position: sticky;
    top: 0;
    background: var(--bg-darker);
    padding: 20px 0;
    z-index: 100;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

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

.logo-highlight {
    color: var(--primary-blue);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-green));
    width: 0%;
    transition: width 0.3s ease;
}

/* Screens */
.screen {
    display: none;
    animation: fadeIn 0.4s ease;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Bubbles */
.chat-bubble {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.chat-bubble.assistant {
    border-left: 4px solid var(--primary-blue);
}

.chat-bubble h1 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.chat-bubble p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.chat-bubble p:last-child {
    margin-bottom: 0;
}

/* Buttons */
.btn-primary {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 300px;
}

.btn-primary:hover {
    background: #0177d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 140, 255, 0.3);
}

.btn-primary:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.5;
}

/* Answer Options */
#answerOptions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.answer-option {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    color: var(--text-primary);
    font-size: 1rem;
}

.answer-option:hover {
    border-color: var(--primary-blue);
    background: rgba(1, 140, 255, 0.1);
    transform: translateX(4px);
}

.answer-option.selected {
    border-color: var(--primary-blue);
    background: rgba(1, 140, 255, 0.2);
}

/* Results */
.results-content {
    animation: fadeIn 0.6s ease;
}

.results-content h1 {
    text-align: center;
    margin-bottom: 32px;
    font-size: 2rem;
    color: var(--primary-green);
}

.tier-section {
    margin-bottom: 40px;
}

.tier-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tier-icon {
    font-size: 1.5rem;
}

.tier-title {
    font-size: 1.4rem;
    font-weight: 600;
}

.tier-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.tool-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.tool-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.tool-cost {
    background: rgba(80, 235, 151, 0.2);
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tool-description {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.tool-roi {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
}

.tool-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    margin-top: 8px;
    display: inline-block;
}

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

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 12px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .chat-bubble h1 {
        font-size: 1.4rem;
    }

    .btn-primary {
        max-width: 100%;
    }
}

/* Typing Indicator */
.typing-indicator {
    display: inline-block;
    margin-left: 8px;
}

.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-blue);
    margin: 0 2px;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

/* Tool Use Cases */
.tool-use-cases {
    margin: 12px 0;
    padding: 12px;
    background: rgba(1, 140, 255, 0.05);
    border-left: 3px solid var(--primary-blue);
    border-radius: 4px;
}

.tool-use-cases strong {
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.tool-use-cases ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.tool-use-cases li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 4px 0;
}
