/* ============================================
   RunwayModeler - Complete Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #15151f;
    --text-primary: #ffffff;
    --text-secondary: #b0b0c0;
    --text-muted: #6b6b7b;
    --accent-primary: #6366f1;
    --accent-secondary: #818cf8;
    --accent-light: #a5b4fc;
    --accent-green: #22c55e;
    --accent-yellow: #eab308;
    --accent-red: #ef4444;
    --border-color: #2a2a3a;
    --border-light: #3a3a4a;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: 0.2s ease;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-primary);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    text-decoration: none;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-light);
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-light);
}

.btn-social {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    width: 100%;
}

.btn-social:hover {
    background: var(--bg-secondary);
    border-color: var(--border-light);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-loading .btn-text { display: none; }
.btn:not(.btn-loading) .btn-loading { display: none; }

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 140px 24px 80px;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--accent-secondary);
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
}

@media (max-width: 968px) {
    .hero-subtitle { margin: 0 auto 32px; }
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 968px) {
    .hero-cta { justify-content: center; }
}

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

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-card-header {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.hero-card-content {
    padding: 24px;
}

.preview-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.preview-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.preview-stat {
    flex: 1;
    text-align: center;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
}

.preview-stat.highlight {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.stat-num.pessimistic { color: var(--accent-red); }
.stat-num.optimistic { color: var(--accent-green); }

.preview-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.preview-stat.highlight .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.preview-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--accent-yellow);
}

/* ============================================
   Sections
   ============================================ */
.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Problem Section */
.problem-section {
    padding: 80px 24px;
    background: var(--bg-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .problem-grid { grid-template-columns: 1fr; }
}

.problem-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    text-align: center;
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.problem-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.problem-card p {
    color: var(--text-secondary);
    font-style: italic;
}

.problem-reality {
    margin-top: 12px;
    font-style: normal !important;
    color: var(--accent-red) !important;
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    padding: 80px 24px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 968px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 1.125rem;
}

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

/* How It Works */
.how-section {
    padding: 80px 24px;
    background: var(--bg-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

@media (max-width: 968px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .steps-grid { grid-template-columns: 1fr; }
}

.step {
    text-align: center;
}

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

.step h3 {
    margin-bottom: 8px;
    font-size: 1.125rem;
}

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

/* Pricing Section */
.pricing-section {
    padding: 80px 24px;
}

.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price .currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.price .amount {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price .period {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.price-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.check-icon {
    width: 20px;
    height: 20px;
    color: var(--accent-green);
    flex-shrink: 0;
}

.pricing-guarantee {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials-section {
    padding: 80px 24px;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 968px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

.testimonial {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.testimonial p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial footer {
    display: flex;
    flex-direction: column;
}

.testimonial cite {
    font-style: normal;
}

.testimonial strong {
    color: var(--text-primary);
}

.testimonial span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: 80px 24px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(99, 102, 241, 0.1) 100%);
}

.cta-section h2 {
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.125rem;
}

/* Footer */
.footer {
    padding: 60px 24px 24px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

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

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================
   Auth Pages
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
}

.auth-container {
    display: flex;
    width: 100%;
}

.auth-card {
    flex: 1;
    max-width: 480px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 968px) {
    .auth-card {
        max-width: 100%;
        padding: 32px 24px;
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    display: inline-block;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.auth-header h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    font-size: 0.85rem;
}

.form-group input {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: border-color var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input.error {
    border-color: var(--accent-red);
}

.password-input {
    position: relative;
}

.password-input input {
    width: 100%;
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}

.toggle-password:hover {
    color: var(--text-secondary);
}

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

.error-message {
    font-size: 0.8rem;
    color: var(--accent-red);
    min-height: 1.2em;
}

.form-error {
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-sm);
    color: var(--accent-red);
    font-size: 0.9rem;
    display: none;
}

.form-error:not(:empty) {
    display: block;
}

/* Checkbox */
.checkbox-group {
    flex-direction: row !important;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-primary);
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-buttons {
    display: flex;
    gap: 12px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Auth Side Panel */
.auth-side {
    flex: 1;
    background: linear-gradient(135deg, var(--accent-primary), #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

@media (max-width: 968px) {
    .auth-side { display: none; }
}

.auth-side-content {
    max-width: 400px;
    color: white;
}

.auth-side blockquote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 24px;
}

.auth-side footer {
    display: flex;
    flex-direction: column;
}

.auth-side strong {
    font-size: 1rem;
}

.auth-side span {
    opacity: 0.8;
    font-size: 0.9rem;
}

.trial-info h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.trial-info ul {
    list-style: none;
    margin-bottom: 32px;
}

.trial-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 1rem;
}

.trial-info .check-icon {
    color: white;
}

.price-preview {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    text-align: center;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 4px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
}

/* ============================================
   Dashboard
   ============================================ */
.dashboard-page {
    background: var(--bg-primary);
}

.dashboard-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.dashboard-nav .nav-container {
    padding: 12px 24px;
}

.nav-user {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--text-primary);
    font-family: var(--font-sans);
}

.user-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
}

.user-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.user-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.user-dropdown a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.user-dropdown hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 4px 0;
}

/* Dashboard Main */
.dashboard-main {
    padding-top: 72px;
    min-height: 100vh;
}

.dashboard-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    height: calc(100vh - 72px);
}

@media (max-width: 1200px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
}

/* Chat Panel */
.chat-panel {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

.chat-header h1 {
    font-size: 1.25rem;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.message {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

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

.message-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 50%;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.message.user .message-avatar {
    background: var(--accent-primary);
    color: white;
}

.message-content {
    flex: 1;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    max-width: 85%;
}

.message.user .message-content {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    margin-left: auto;
}

.message-content p {
    margin-bottom: 12px;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content blockquote {
    border-left: 3px solid var(--accent-primary);
    padding-left: 16px;
    margin: 12px 0;
    color: var(--text-secondary);
    font-style: italic;
}

.message-content strong {
    color: var(--accent-secondary);
}

.message.user .message-content strong {
    color: white;
}

/* Chat Input */
.chat-input-form {
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.chat-input-container {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
}

#userInput {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-sans);
    resize: none;
    transition: border-color var(--transition);
}

#userInput:focus {
    outline: none;
    border-color: var(--accent-primary);
}

#userInput::placeholder {
    color: var(--text-muted);
}

.send-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.send-btn:hover {
    background: var(--accent-secondary);
}

.send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Visualization Panel */
.viz-panel {
    padding: 24px;
    overflow-y: auto;
    background: var(--bg-secondary);
}

@media (max-width: 1200px) {
    .viz-panel {
        display: none;
    }
}

.viz-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.viz-card h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.viz-description {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Runway Stats */
.runway-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.runway-stats .stat {
    flex: 1;
    text-align: center;
    padding: 16px 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
}

.runway-stats .stat.pessimistic {
    border-left: 3px solid var(--accent-red);
}

.runway-stats .stat.median {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

.runway-stats .stat.optimistic {
    border-left: 3px solid var(--accent-green);
}

.runway-stats .stat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.runway-stats .stat.median .stat-label {
    color: rgba(255, 255, 255, 0.8);
}

.runway-stats .stat-sublabel {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.runway-stats .stat.median .stat-sublabel {
    color: rgba(255, 255, 255, 0.6);
}

.runway-stats .stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.runway-stats .stat-unit {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.runway-stats .stat.median .stat-unit {
    color: rgba(255, 255, 255, 0.7);
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 160px;
}

.chart-container-lg {
    height: 200px;
}

/* Risk Meter */
.risk-meter {
    margin-bottom: 16px;
}

.risk-bar {
    height: 10px;
    background: linear-gradient(to right, var(--accent-green), var(--accent-yellow), var(--accent-red));
    border-radius: 5px;
    position: relative;
}

.risk-fill {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 5px 5px 0;
    transition: width 0.5s ease;
}

.risk-marker {
    position: absolute;
    top: -4px;
    width: 4px;
    height: 18px;
    background: white;
    border-radius: 2px;
    box-shadow: var(--shadow);
    transition: left 0.5s ease;
}

.risk-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.risk-details {
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.risk-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.85rem;
}

.risk-label {
    color: var(--text-secondary);
}

.risk-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Loading */
.loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.loading-dots {
    display: flex;
    gap: 4px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Keyboard shortcuts */
kbd {
    display: inline-block;
    padding: 2px 6px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: monospace;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #ffffff;
        --text-secondary: #ffffff;
    }

    .btn-primary {
        border: 2px solid white;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .navbar,
    .chat-input-form,
    .send-btn,
    .nav-user {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}

/* ============================================
   Page Hero (for inner pages)
   ============================================ */
.page-hero {
    padding: 140px 24px 60px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.page-hero h1 {
    margin-bottom: 16px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Content Sections (About, Contact, etc.)
   ============================================ */
.content-section {
    padding: 60px 24px;
}

.content-section.alt-bg {
    background: var(--bg-secondary);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.content-text h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.content-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-text.centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Founder Card */
.founder-card {
    max-width: 800px;
    margin: 0 auto;
}

.founder-info h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.founder-info h3 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.founder-title {
    color: var(--accent-secondary) !important;
    font-weight: 500;
    margin-bottom: 24px !important;
}

.founder-info p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.founder-links {
    margin-top: 24px;
}

.founder-links .btn {
    gap: 10px;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 868px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.contact-email {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent-secondary);
    margin: 8px 0;
}

.response-time {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
}

/* Contact Form */
.contact-form-section h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form select {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-sans);
    cursor: pointer;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.contact-form textarea {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-sans);
    resize: vertical;
    min-height: 120px;
}

.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.contact-form textarea::placeholder {
    color: var(--text-muted);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}

.faq-item h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   Legal Pages (Privacy, Terms, Accessibility)
   ============================================ */
.legal-content {
    padding: 40px 24px 80px;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.legal-text h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-text h3 {
    font-size: 1.125rem;
    margin: 24px 0 12px;
    color: var(--text-secondary);
}

.legal-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-text ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-text li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.7;
}

.legal-text a {
    color: var(--accent-secondary);
}

.legal-text a:hover {
    color: var(--accent-light);
}

.legal-text strong {
    color: var(--text-primary);
}

/* ============================================
   Blog Pages
   ============================================ */

/* Blog Section & Grid */
.blog-section {
    padding: 40px 24px 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-grid.small {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 968px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-grid,
    .blog-grid.small {
        grid-template-columns: 1fr;
    }
}

/* Blog Card */
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.blog-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.blog-card.featured {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

@media (max-width: 968px) {
    .blog-card.featured {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .blog-card.featured {
        grid-column: span 1;
    }
}

.blog-card-image {
    background: var(--bg-tertiary);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card.featured .blog-card-image {
    min-height: 280px;
}

.blog-image-placeholder {
    color: var(--text-muted);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card.featured .blog-card-content {
    padding: 32px;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.blog-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    color: var(--accent-secondary);
    font-weight: 500;
}

.blog-date,
.blog-read-time {
    color: var(--text-muted);
}

/* Blog Card Content */
.blog-card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.blog-card.featured h2 {
    font-size: 1.75rem;
}

.blog-card h2 a {
    color: var(--text-primary);
}

.blog-card h2 a:hover {
    color: var(--accent-secondary);
}

.blog-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.blog-card h3 a {
    color: var(--text-primary);
}

.blog-card h3 a:hover {
    color: var(--accent-secondary);
}

.blog-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.read-more {
    font-weight: 600;
    color: var(--accent-secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.read-more:hover {
    color: var(--accent-light);
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 24px;
    background: var(--bg-secondary);
}

.newsletter-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.newsletter-card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.newsletter-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-sans);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

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

/* Blog Post Page */
.blog-post-header {
    padding: 140px 24px 40px;
    background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.back-link:hover {
    color: var(--text-primary);
}

.blog-post-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 16px;
    max-width: 800px;
}

.blog-post-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 700px;
    line-height: 1.6;
}

/* Blog Post Content */
.blog-post-content {
    padding: 40px 24px 80px;
}

/* Prose Styles */
.prose {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.prose p {
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.prose p.lead {
    font-size: 1.25rem;
    color: var(--text-primary);
    border-left: 3px solid var(--accent-primary);
    padding-left: 20px;
    margin-bottom: 32px;
}

.prose h2 {
    font-size: 1.5rem;
    margin: 48px 0 16px;
    color: var(--text-primary);
}

.prose h3 {
    font-size: 1.25rem;
    margin: 32px 0 12px;
    color: var(--text-primary);
}

.prose h4 {
    font-size: 1rem;
    margin: 24px 0 8px;
    color: var(--text-primary);
}

.prose ul,
.prose ol {
    margin: 16px 0 24px;
    padding-left: 24px;
}

.prose li {
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.prose li strong {
    color: var(--text-primary);
}

.prose blockquote {
    border-left: 4px solid var(--accent-primary);
    padding: 16px 24px;
    margin: 32px 0;
    background: var(--bg-tertiary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.prose a {
    color: var(--accent-secondary);
}

.prose a:hover {
    color: var(--accent-light);
}

.prose strong {
    color: var(--text-primary);
}

.prose em {
    font-style: italic;
}

/* Example Box */
.example-box {
    padding: 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin: 24px 0;
}

.example-box h4 {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    color: var(--accent-secondary) !important;
}

.example-box p {
    margin-bottom: 8px !important;
    font-size: 0.95rem;
}

.example-box p:last-child {
    margin-bottom: 0 !important;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.95rem;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    color: var(--text-secondary);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: var(--bg-tertiary);
}

/* Blog CTA */
.blog-cta {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(135deg, var(--accent-primary), #4f46e5);
    border-radius: var(--radius);
    text-align: center;
}

.blog-cta h3 {
    margin: 0 0 8px !important;
    color: white !important;
    font-size: 1.25rem;
}

.blog-cta p {
    margin-bottom: 20px !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.blog-cta .btn {
    background: white;
    color: var(--accent-primary);
}

.blog-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts {
    padding: 60px 24px;
    background: var(--bg-secondary);
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 32px;
}

/* ============================================
   Billing & Subscription Styles
   ============================================ */

/* Subscription Badge */
.subscription-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 12px;
}

.subscription-badge.active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.subscription-badge.trialing {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.subscription-badge.past-due {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.subscription-badge.free {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* Upgrade Banner */
.upgrade-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    padding: 12px 24px;
}

.upgrade-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.upgrade-banner-text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--text-primary);
}

.upgrade-banner-text strong {
    color: var(--accent-light);
}

.upgrade-banner-text span {
    color: var(--text-secondary);
}

.upgrade-banner .btn {
    white-space: nowrap;
}

/* Billing Page Styles */
.billing-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

.billing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.billing-card h2 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.billing-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.billing-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.billing-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.billing-detail-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.billing-detail-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Pricing Table in Billing */
.current-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.plan-info h3 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.plan-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.875rem;
}

.plan-price {
    text-align: right;
}

.plan-price .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.plan-price .period {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Mobile responsive */
@media (max-width: 640px) {
    .upgrade-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .upgrade-banner-text {
        flex-direction: column;
    }

    .current-plan {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .plan-price {
        text-align: center;
    }
}
