/* ==========================================================================
   AUTOQUOTER.AI — APPLE-INSPIRED MINIMALIST LIGHT DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Apple-Style Luminance & Color Tokens */
    --bg-page: #fbfbfd;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f5f5f7;
    --bg-surface-subtle: #f9f9fb;
    
    --border: rgba(0, 0, 0, 0.08);
    --border-bright: rgba(0, 0, 0, 0.12);
    --border-focus: rgba(0, 113, 227, 0.4);
    
    --text-pure: #1d1d1f;
    --text-muted: #515154;
    --text-dim: #86868b;
    
    /* Brand & Accent Tokens */
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ed;
    --accent-green: #10b981;
    --accent-green-dark: #059669;
    --accent-green-soft: rgba(16, 185, 129, 0.08);
    --accent-green-border: rgba(16, 185, 129, 0.25);
    
    --wa-green: #25d366;
    --wa-dark-green: #075e54;
    --wa-light-bg: #eef7f2;
    --wa-in-bubble: #ffffff;
    --wa-out-bubble: #dcf8c6;
    
    --danger: #ff3b30;
    --danger-soft: rgba(255, 59, 48, 0.08);
    --danger-border: rgba(255, 59, 48, 0.25);
    
    --warning: #f59e0b;
    --warning-soft: rgba(245, 158, 11, 0.1);
    
    /* Radii & Typography */
    --radius-xl: 22px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    
    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Outfit', 'Inter', Helvetica, Arial, sans-serif;
    
    /* Apple Shadows */
    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-elevated: 0 12px 36px rgba(0, 0, 0, 0.08);
    --shadow-float: 0 20px 48px rgba(0, 0, 0, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-page);
    color: var(--text-pure);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Subtle Apple-style ambient lighting */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 600px;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.04) 0%, rgba(0, 113, 227, 0.03) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ==================== FROSTED GLASS TOP NAVBAR ==================== */
.main-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 3rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-decoration: none;
}

.brand-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-pure);
    letter-spacing: -0.02em;
}

.brand-logo-img {
    height: 52px;
    width: auto;
    max-height: 56px;
    display: block;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-wrapper:hover .brand-logo-img {
    transform: scale(1.03);
}

/* Navigation Links */
.main-nav-links {
    display: flex;
    gap: 0.4rem;
}

.main-nav-btn {
    padding: 0.45rem 1rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-muted);
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.main-nav-btn:hover {
    color: var(--text-pure);
    background: rgba(0, 0, 0, 0.04);
}

.main-nav-btn.active {
    color: var(--text-pure);
    background: rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

/* Auth Area */
.auth-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ==================== BUTTONS (APPLE STYLE) ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 980px; /* Apple pill button */
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--apple-blue);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 113, 227, 0.25);
}

.btn-primary:hover {
    background: var(--apple-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.35);
}

.btn-primary.btn-green {
    background: #10b981;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.btn-primary.btn-green:hover {
    background: #059669;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-pure);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
}

/* ==================== WRAPPER & SECTIONS ==================== */
.content-wrapper {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.page-section {
    display: none;
    animation: appleFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-section.active {
    display: block;
}

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

/* ==================== HERO SECTION (MINIMALIST APPLE) ==================== */
.hero-block {
    text-align: center;
    max-width: 820px;
    margin: 1.5rem auto 3.5rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 980px;
    background: var(--accent-green-soft);
    border: 1px solid var(--accent-green-border);
    color: var(--accent-green-dark);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.hero-heading {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--text-pure);
    margin-bottom: 1.25rem;
}

.hero-heading span {
    background: linear-gradient(135deg, #10b981 0%, #0071e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.15rem;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 2rem;
    letter-spacing: -0.01em;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-highlights-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.hero-highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.hero-highlight-item strong {
    color: var(--text-pure);
}

/* ==================== DYNAMIC LIVE INTERACTIVE SIMULATION STAGE ==================== */
.demo-stage-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-elevated);
    padding: 2.25rem;
    margin: 2.5rem auto 4rem;
    max-width: 960px;
    position: relative;
    overflow: hidden;
}

.demo-stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.demo-scenario-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.scenario-pill-btn {
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 980px;
    border: 1px solid var(--border);
    background: var(--bg-surface-elevated);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.scenario-pill-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-pure);
}

.scenario-pill-btn.active {
    background: var(--text-pure);
    color: white;
    border-color: var(--text-pure);
}

/* Live Chat Stream Frame */
.live-chat-stage {
    background: var(--wa-light-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.85rem;
    position: relative;
    background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 16px 16px;
}

.stage-bubble {
    max-width: 78%;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.45;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    animation: bubblePop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes bubblePop {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.stage-bubble.customer {
    align-self: flex-start;
    background: var(--wa-in-bubble);
    color: var(--text-pure);
    border-bottom-left-radius: 3px;
}

.stage-bubble.bot {
    align-self: flex-end;
    background: var(--wa-out-bubble);
    color: #0b2b1a;
    border-bottom-right-radius: 3px;
}

.stage-bubble-time {
    font-size: 0.68rem;
    color: rgba(0, 0, 0, 0.45);
    text-align: right;
    margin-top: 0.25rem;
}

.typing-pill {
    align-self: flex-end;
    background: var(--wa-out-bubble);
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #059669;
    opacity: 0.4;
    animation: typingAnim 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingAnim {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-4px); opacity: 1; }
}

/* ==================== APPLE-STYLE COMPARISON GRID ==================== */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
}

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

.comparison-col {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.comparison-col.bad {
    background: #ffffff;
    border-top: 4px solid var(--danger);
}

.comparison-col.good {
    background: #ffffff;
    border-top: 4px solid var(--accent-green);
    box-shadow: var(--shadow-elevated);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.comparison-icon-pill {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.comparison-col.bad .comparison-icon-pill {
    background: var(--danger-soft);
    color: var(--danger);
}

.comparison-col.good .comparison-icon-pill {
    background: var(--accent-green-soft);
    color: var(--accent-green-dark);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.comparison-col.bad .comparison-list li span {
    color: var(--danger);
    font-weight: 800;
}

.comparison-col.good .comparison-list li span {
    color: var(--accent-green);
    font-weight: 800;
}

.comparison-list li strong {
    color: var(--text-pure);
}

/* ==================== CARDS & PANELS ==================== */
.panel-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}

.panel-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 1.25rem;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 980px;
    letter-spacing: -0.01em;
}

.badge-success {
    background: var(--accent-green-soft);
    color: var(--accent-green-dark);
    border: 1px solid var(--accent-green-border);
}

.badge-info {
    background: rgba(0, 113, 227, 0.08);
    color: var(--apple-blue);
    border: 1px solid rgba(0, 113, 227, 0.2);
}

.badge-warning {
    background: var(--warning-soft);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
}

/* Tip Boxes */
.wizard-tip-box {
    background: rgba(0, 113, 227, 0.04);
    border-left: 3px solid var(--apple-blue);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 0.85rem 1.15rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.wizard-tip-box.green {
    background: var(--accent-green-soft);
    border-left-color: var(--accent-green);
}

/* Form Controls */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-pure);
    margin-bottom: 0.35rem;
}

.form-control {
    width: 100%;
    padding: 0.6rem 0.9rem;
    font-size: 0.88rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    color: var(--text-pure);
    transition: all 0.2s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

/* ==================== 4-STEP DEMO LAB (CLEAN APPLE CARD) ==================== */
.demo-workflow-guide {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
}

.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.demo-steps-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
}

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

.step-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-surface-elevated);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.step-nav-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.step-nav-btn.active {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: var(--shadow-subtle);
}

.step-num {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    margin-bottom: 0.2rem;
}

.step-nav-btn.active .step-num {
    color: var(--accent-green-dark);
}

.step-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-pure);
}

.demo-subview {
    display: none;
    animation: appleFadeIn 0.3s ease;
}

.demo-subview.active {
    display: block;
}

/* ==================== PHONE SIMULATOR (APPLE FLAT STYLE) ==================== */
.sim-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1.5rem;
    align-items: start;
}

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

.phone-mockup {
    background: #ffffff;
    border-radius: 36px;
    border: 8px solid #1d1d1f;
    box-shadow: var(--shadow-elevated);
    height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.phone-top {
    background: #075e54;
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone-contact {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.contact-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-meta h4 {
    font-size: 0.88rem;
    color: white;
    font-weight: 600;
}

.contact-meta p {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.75);
}

.chat-stream {
    flex: 1;
    background: #efeae2;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.chat-bubble {
    max-width: 80%;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    font-size: 0.84rem;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.chat-bubble.customer {
    align-self: flex-start;
    background: #ffffff;
    color: var(--text-pure);
    border-bottom-left-radius: 2px;
}

.chat-bubble.bot {
    align-self: flex-end;
    background: #dcf8c6;
    color: #0b2b1a;
    border-bottom-right-radius: 2px;
}

.bubble-time {
    font-size: 0.64rem;
    color: rgba(0, 0, 0, 0.4);
    text-align: right;
    margin-top: 0.2rem;
}

.chat-input-row {
    padding: 0.65rem 0.85rem;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-input-row input {
    flex: 1;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
    outline: none;
    background: #ffffff;
}

.chat-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #00a884;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Prompt Chips */
.prompt-chips {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.prompt-chip {
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-pure);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.prompt-chip:hover {
    background: var(--accent-green-soft);
    border-color: var(--accent-green-border);
    color: var(--accent-green-dark);
}

/* 2x2 Metrics */
.metrics-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.metric-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0.85rem;
}

.metric-label {
    font-size: 0.72rem;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.metric-data {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-pure);
}

/* ==================== PRICING (CLEAN APPLE CARDS) ==================== */
.pricing-container {
    text-align: center;
    max-width: 1040px;
    margin: 0 auto;
}

.pricing-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-pure);
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    text-align: left;
}

.price-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.price-card.highlight {
    border-color: var(--accent-green);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.12);
}

.price-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 980px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.price-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 0.35rem;
}

.price-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 1.25rem;
}

.price-figure {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-pure);
}

.price-interval {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.setup-note {
    font-size: 0.75rem;
    color: var(--accent-green-dark);
    font-weight: 600;
    margin-top: 0.25rem;
    margin-bottom: 1.25rem;
}

.price-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.price-perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.price-perks li span {
    color: var(--accent-green);
    font-weight: 700;
}

.price-perks li strong {
    color: var(--text-pure);
}

/* ==================== DATA TABLES ==================== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.data-table th {
    background: var(--bg-surface-elevated);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.data-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-pure);
}

.data-table tr:hover td {
    background: rgba(0, 0, 0, 0.015);
}

/* ==================== DROPZONE ==================== */
.dropzone {
    border: 2px dashed rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.5rem;
    text-align: center;
    background: var(--bg-surface-subtle);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dropzone:hover, .dropzone.dragover {
    border-color: var(--apple-blue);
    background: rgba(0, 113, 227, 0.03);
}

/* ==================== MODALS ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-float);
    padding: 2.25rem;
    width: 90%;
    max-width: 440px;
    position: relative;
    animation: appleModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes appleModalPop {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-pure);
}

/* ==================== ONBOARDING WIZARD (DASHBOARD) ==================== */
.wizard-header-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-card);
}

.wizard-progress-track {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    margin: 1.25rem 0;
    overflow: hidden;
}

.wizard-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #0071e3);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.wizard-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

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

.wizard-step-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-surface-elevated);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.wizard-step-tab:hover {
    background: rgba(0, 0, 0, 0.06);
}

.wizard-step-tab.active {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: var(--shadow-subtle);
}

.wizard-step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-muted);
}

.wizard-step-tab.active .wizard-step-num {
    background: var(--accent-green);
    color: white;
}

.wizard-step-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.wizard-step-tab.active .wizard-step-title {
    color: var(--text-pure);
}

.release-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--danger-soft);
    border: 1px solid var(--danger-border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ==================== LEAD LIVE CHAT SLIDE-OVER DRAWER ==================== */
.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 9998;
    animation: fadeIn 0.2s ease;
}

.lead-chat-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    max-width: 95vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    animation: slideInRight 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.35rem;
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface-elevated);
}

.drawer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-green-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.drawer-close-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
}

.drawer-context-ribbon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1.25rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.safeguard-banner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.78rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.safeguard-banner.active {
    background: rgba(16, 185, 129, 0.08);
    color: #065f46;
}

.safeguard-banner.expired {
    background: rgba(239, 68, 68, 0.08);
    color: #991b1b;
}

.drawer-chat-stream {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #f1f5f9;
}

.drawer-msg {
    max-width: 82%;
    padding: 0.65rem 0.95rem;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.45;
    word-break: break-word;
    position: relative;
}

.drawer-msg.customer {
    align-self: flex-start;
    background: #ffffff;
    color: #0f172a;
    border-bottom-left-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.drawer-msg.bot {
    align-self: flex-end;
    background: #e0f2fe;
    color: #0369a1;
    border-bottom-right-radius: 3px;
    border: 1px solid #bae6fd;
}

.drawer-msg.human_agent {
    align-self: flex-end;
    background: #dcfce7;
    color: #15803d;
    border-bottom-right-radius: 3px;
    border: 1px solid #bbf7d0;
}

.drawer-msg-sender {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.drawer-msg-time {
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
    text-align: right;
}

.drawer-reply-area {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--border);
    background: #ffffff;
}
