/**
 * PreIntake.ai - Main Stylesheet
 * Extracted from index.html for better maintainability and caching
 */

:root {
    --primary-dark: #0c1f3f;
    --primary-blue: #1a3a5c;
    --accent-gold: #c9a962;
    --accent-gold-light: #e5d4a1;
    --text-light: #ffffff;
    --text-muted: #a0aec0;
    --text-dark: #1a1a2e;
    --bg-light: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.05);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --success: #48bb78;
    --warning: #ed8936;
    --danger: #f56565;
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(201, 169, 98, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 50%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 4rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 169, 98, 0.25);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 0.75rem;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.35rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    margin-top: 2.5rem;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(201, 169, 98, 0.5);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
}

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

.hero-privacy {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.hero-privacy strong {
    color: var(--accent-gold);
}

/* Desktop-only line breaks */
.desktop-only {
    display: inline;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

/* Stats Bar */
.stats-bar {
    background: var(--primary-dark);
    border-top: 1px solid rgba(201, 169, 98, 0.2);
    padding: 2rem;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat {
    color: var(--text-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
}

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

/* Problem Section */
.section {
    padding: 4rem 2rem;
}

.section-dark {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-header p {
    color: #64748b;
    font-size: 1.125rem;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Problem Cards */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.problem-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.problem-card-icon {
    width: 48px;
    height: 48px;
    background: #fee2e2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--danger);
}

.problem-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.problem-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* CRM Integration Note */
.crm-note {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid #bae6fd;
    border-bottom: 1px solid #bae6fd;
}

.crm-note p {
    color: #0369a1;
    font-size: 0.95rem;
    margin: 0;
}

.crm-note a {
    color: #0284c7;
    font-weight: 600;
    text-decoration: underline;
}

.crm-note a:hover {
    color: #0369a1;
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--accent) 0%, #f59e0b 100%);
    color: var(--primary-dark);
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-cta:hover {
    box-shadow: 0 6px 28px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

.sticky-cta.visible:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .sticky-cta {
        bottom: 16px;
        right: 16px;
        padding: 12px 20px;
        font-size: 0.875rem;
    }
}

/* Campaign Welcome Banner */
.campaign-welcome {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    padding: 1rem 2rem;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.campaign-welcome.visible {
    display: flex;
}

.campaign-welcome-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
}

.campaign-welcome-cta {
    background: var(--primary-dark);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: none; /* Hidden by default, shown for campaign demo visitors */
}

.campaign-welcome-cta.visible {
    display: inline-block;
}

#campaign-welcome-suffix {
    display: none; /* Hidden by default, shown for campaign demo visitors */
}

#campaign-welcome-suffix.visible {
    display: inline;
}

.campaign-welcome-cta:hover {
    background: #0d1f3a;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .campaign-welcome {
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }
    .campaign-welcome-text {
        font-size: 1rem;
        text-align: center;
    }
    .campaign-welcome-cta {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Campaign CTA View (replaces form for campaign visitors) */
.campaign-cta-view {
    text-align: center;
    padding: 2rem;
    display: none;
}

.campaign-cta-view.visible {
    display: block;
}

.campaign-cta-view h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1rem;
}

.campaign-cta-view p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.campaign-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-size: 1.35rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    border: none;
    cursor: pointer;
}

.campaign-demo-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(201, 169, 98, 0.5);
}

.campaign-demo-btn svg {
    width: 20px;
    height: 20px;
}

.campaign-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem;
    color: white;
}

.campaign-loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: var(--primary-dark);
    color: var(--text-light);
    font-weight: 600;
}

.comparison-table th:first-child {
    background: var(--primary-blue);
}

.comparison-table th:last-child {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

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

.comparison-table tr:hover td {
    background: #f8fafc;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--primary-dark);
}

.comparison-table td:last-child {
    color: var(--primary-dark);
    font-weight: 500;
}

/* Practice Areas */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.practice-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.practice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.practice-card h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.practice-card h3 span {
    font-size: 1.5rem;
}

.practice-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.practice-card li {
    padding: 0.25rem 0;
    color: #64748b;
    font-size: 0.95rem;
}

.practice-card li::before {
    content: '\2192';
    color: var(--accent-gold);
    margin-right: 0.5rem;
}

.practice-card-screening {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--primary-blue);
}

/* Routing Section */
.routing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.routing-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.routing-card.green {
    border-top: 4px solid var(--success);
}

.routing-card.yellow {
    border-top: 4px solid var(--warning);
}

.routing-card.red {
    border-top: 4px solid var(--danger);
}

.routing-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.routing-card.green .routing-badge {
    background: #dcfce7;
    color: #166534;
}

.routing-card.yellow .routing-badge {
    background: #fef3c7;
    color: #92400e;
}

.routing-card.red .routing-badge {
    background: #fee2e2;
    color: #991b1b;
}

.routing-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.routing-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.routing-action {
    font-weight: 500;
    color: var(--primary-dark);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--text-light);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Demo Form */
.demo-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.15);
}

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

.demo-submit {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.demo-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.demo-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.demo-submit.loading {
    position: relative;
    color: transparent;
}

.demo-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid var(--primary-dark);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.demo-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Hosted Form Toggle */
.hosted-toggle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.hosted-toggle a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hosted-toggle a:hover {
    color: var(--accent-gold-light);
    text-decoration: underline;
}

/* Form Select Dropdown */
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0aec0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.15);
}

.form-group select option {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 0.5rem;
}

/* Multi-select styling */
.form-group select[multiple] {
    background-image: none;
    height: auto;
    padding: 0.75rem;
    min-height: 180px;
}

.form-group select[multiple] option {
    padding: 0.625rem 0.875rem 0.625rem 1rem;
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.form-group select[multiple] option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.form-group select[multiple] option:checked {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-dark);
    font-weight: 500;
}

.select-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Success State */
.demo-success {
    text-align: center;
    padding: 2rem;
}

.demo-success-icon {
    width: 64px;
    height: 64px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.demo-success-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.demo-success h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.demo-success p {
    color: var(--text-muted);
    font-size: 1rem;
}

.demo-success .check-email {
    color: var(--accent-gold);
    font-weight: 500;
}

/* Error State */
.form-error {
    background: rgba(245, 101, 101, 0.2);
    border: 1px solid var(--danger);
    color: #feb2b2;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: none;
}

.form-error.show {
    display: block;
}

/* Processing/Analyzing State */
.analyzing-state {
    text-align: center;
    padding: 2.5rem 2rem;
}

.analyzing-spinner {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.analyzing-spinner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(201, 169, 98, 0.2);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.analyzing-state h3 {
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.analyzing-state p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 350px;
    margin: 0 auto;
    line-height: 1.6;
}

.analyzing-steps {
    margin-top: 1.5rem;
    text-align: left;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.analyzing-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.analyzing-step.active {
    color: var(--text-light);
}

.analyzing-step.complete {
    color: var(--success);
}

.analyzing-step-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.analyzing-step.active .analyzing-step-icon {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.analyzing-step.complete .analyzing-step-icon {
    background: var(--success);
    color: white;
}

/* Verification Pending State */
.verification-pending {
    text-align: center;
    padding: 2.5rem 2rem;
}

/* Building Demo State */
.building-demo {
    text-align: center;
    padding: 2.5rem 2rem;
}

.building-demo h3 {
    font-size: 1.35rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.building-demo p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 350px;
    margin: 0 auto;
    line-height: 1.6;
}

.building-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    color: var(--text-muted);
}

.spinner-small {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(201, 169, 98, 0.3);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Practice Area Confirmation Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem 1.5rem 0;
    text-align: center;
}

.modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.modal-body {
    padding: 1.5rem;
}

/* Practice Area Tags */
.practice-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.practice-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #86efac;
    color: #166534;
    padding: 0.5rem 0.875rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.practice-tag.primary {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

.practice-tag.primary::before {
    content: '\2605';
    font-size: 0.75rem;
}

.practice-tag-remove {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.practice-tag-remove:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.practice-tag-remove svg {
    width: 12px;
    height: 12px;
}

/* Add Practice Area */
.add-practice-area {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.add-practice-input {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.add-practice-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

.add-practice-btn {
    padding: 0.625rem 1rem;
    background: var(--primary-dark);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.add-practice-btn:hover {
    background: var(--primary-blue);
}

/* Primary Area Selector */
.primary-area-selector {
    margin-bottom: 1.5rem;
}

.primary-area-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.primary-area-select {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.primary-area-select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.modal-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-btn-secondary {
    background: #f1f5f9;
    color: var(--primary-dark);
    border: 1px solid #e2e8f0;
}

.modal-btn-secondary:hover {
    background: #e2e8f0;
}

.modal-btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    border: none;
    box-shadow: 0 4px 12px rgba(201, 169, 98, 0.3);
}

.modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(201, 169, 98, 0.4);
}

.modal-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Campaign Demo Modal (full-width iframe embed) */
.demo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.demo-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.demo-modal-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
}

.demo-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.demo-modal-close:hover {
    color: white;
}

.demo-modal-close svg {
    width: 18px;
    height: 18px;
}

.demo-modal-iframe-wrapper {
    position: relative;
    width: 100%;
    height: calc(90vh - 4rem);
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.demo-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Pre-Demo Welcome Screen (inside demo modal, before iframe loads) */
.demo-pre-screen {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: calc(90vh - 4rem);
}

.demo-pre-screen-content {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.demo-pre-screen-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.demo-pre-screen-logo .logo-icon {
    height: 1.5rem;
    width: auto;
    margin-right: 0.5rem;
}

.demo-pre-screen-logo .logo-pre {
    color: #ffffff;
}

.demo-pre-screen-logo .logo-intake {
    color: #c9a962;
}

.demo-pre-screen-logo .logo-ai {
    color: #ffffff;
}

.demo-pre-screen-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-gold);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.demo-pre-firm-name {
    font-size: 1.75rem;
    color: var(--accent-gold);
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(201, 169, 98, 0.4);
    border-radius: 4px;
    display: inline-block;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    line-height: 1.3;
}

.demo-pre-firm-name:empty {
    display: none;
}

.demo-pre-steps {
    text-align: left;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.demo-pre-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
}

.demo-pre-step:last-child {
    margin-bottom: 0;
}

.demo-pre-step-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--accent-gold);
    margin-top: 2px;
}

.demo-pre-step-email {
    color: var(--accent-gold);
    font-weight: 500;
}

.demo-pre-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

.demo-pre-start-button {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.demo-pre-start-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.demo-pre-escape-link {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

.demo-pre-escape-link a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.demo-pre-escape-link a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .demo-pre-screen {
        height: 100%;
        padding: 1rem;
    }

    .demo-pre-screen-content {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .demo-pre-firm-name {
        font-size: 1.35rem;
        padding: 0.75rem 1rem;
    }

    .demo-pre-screen-content h2 {
        font-size: 1.5rem;
    }
}

/* Floating Buttons (shown after demo modal closes) */
.floating-demo-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 9999;
}

.floating-demo-buttons.visible {
    display: flex;
}

.get-started-btn {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.get-started-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(201, 169, 98, 0.5);
}

.view-demo-btn {
    padding: 0.875rem 1.25rem;
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-demo-btn:hover {
    background: var(--primary-blue);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .demo-modal-overlay {
        padding: 0;
    }

    .demo-modal-container {
        max-width: 100%;
        height: 100%;
    }

    .demo-modal-close {
        position: fixed;
        top: 0.75rem;
        right: 1rem;
        z-index: 10001;
    }

    .demo-modal-iframe-wrapper {
        height: 100%;
        border-radius: 0;
    }

    .floating-demo-buttons {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Account Already Active Modal */
.account-active-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.account-active-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.account-active-modal {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.account-active-modal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--success) 0%, #38a169 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.account-active-modal-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.account-active-modal h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.account-active-modal p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.account-active-modal-details {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.account-active-modal-details-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.account-active-modal-details-row:last-child {
    border-bottom: none;
}

.account-active-modal-details-label {
    color: #64748b;
    font-size: 0.875rem;
}

.account-active-modal-details-value {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.875rem;
}

.account-active-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
}

.account-active-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 98, 0.4);
}

.account-active-modal-contact {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.account-active-modal-contact a {
    color: var(--primary-blue);
    text-decoration: none;
}

.account-active-modal-contact a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .account-active-modal {
        padding: 2rem 1.5rem;
    }

    .account-active-modal h2 {
        font-size: 1.5rem;
    }
}

/* Exit Confirmation Modal (shown when user tries to end demo before completing) */
.exit-confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    z-index: 10001; /* Above demo modal */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1.5rem;
}

.exit-confirm-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.exit-confirm-modal {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.exit-confirm-modal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.exit-confirm-modal-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.exit-confirm-modal h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.exit-confirm-modal p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.exit-confirm-modal-email {
    color: var(--accent-gold);
    font-weight: 600;
}

.exit-confirm-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.exit-confirm-btn-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.exit-confirm-btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 98, 0.4);
}

.exit-confirm-btn-end {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.exit-confirm-btn-end:hover {
    background: #f8fafc;
    color: #475569;
    border-color: #cbd5e1;
}

@media (max-width: 768px) {
    .exit-confirm-modal {
        padding: 2rem 1.5rem;
    }

    .exit-confirm-modal h2 {
        font-size: 1.25rem;
    }
}

/* Empty state for no practice areas */
.practice-tags-empty {
    text-align: center;
    padding: 1rem;
    color: #64748b;
    font-size: 0.875rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #e2e8f0;
}

/* Honeypot - hidden from humans, bots will fill it */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--text-muted);
    padding: 3rem 2rem;
    text-align: center;
}

footer a {
    color: var(--accent-gold);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    margin: 0 1rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 2px solid var(--accent-gold);
    background: linear-gradient(180deg, #fffbf0 0%, #ffffff 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.pricing-label {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.pricing-amount {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.pricing-amount span {
    font-size: 1.25rem;
    font-weight: 400;
    color: #64748b;
}

.pricing-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.pricing-cta-container {
    text-align: center;
    margin-top: 2.5rem;
}

.pricing-get-started-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.4);
}

.pricing-get-started-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(201, 169, 98, 0.5);
}

/* Demo Callout Section */
.demo-callout {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--text-light);
}

.demo-callout-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.demo-callout-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(72, 187, 120, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
}

.demo-callout h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.demo-callout-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.demo-callout-list {
    list-style: none;
    display: inline-block;
    text-align: left;
    margin-bottom: 2rem;
}

.demo-callout-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-light);
}

.demo-callout-list li svg {
    color: var(--success);
    flex-shrink: 0;
}

.demo-callout-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    color: var(--primary-dark);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.demo-callout-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 60px rgba(201, 169, 98, 0.5);
}

/* Lead Output Example */
.lead-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.lead-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.lead-card-header {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
}

.lead-card-header.qualified {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.lead-card-header.declined {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.lead-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.lead-badge.qualified {
    background: var(--success);
    color: white;
}

.lead-badge.declined {
    background: #ef4444;
    color: white;
}

.lead-card-time {
    font-size: 0.8rem;
    color: #64748b;
}

.lead-card-body {
    padding: 1.5rem;
}

.lead-card-contact {
    margin-bottom: 1rem;
}

.lead-card-contact h4 {
    font-size: 1.125rem;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.lead-card-contact p {
    font-size: 0.875rem;
    color: #64748b;
}

.lead-card-summary {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.lead-card-summary-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.lead-card-summary p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

.lead-card-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.lead-detail {
    font-size: 0.8rem;
}

.lead-detail-label {
    color: #94a3b8;
    font-weight: 500;
}

.lead-detail-value {
    color: var(--primary-dark);
    font-weight: 600;
}

.lead-card-footer {
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lead-card-footer a {
    font-size: 0.875rem;
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
}

.lead-card-footer a:hover {
    text-decoration: underline;
}

.lead-card-meta {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.lead-card-meta.declined-meta {
    color: #dc2626;
}

.lead-card-section {
    margin-bottom: 1rem;
}

.lead-card-section-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.contact-section {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
}

.contact-label {
    color: #64748b;
    width: 60px;
    flex-shrink: 0;
}

.contact-value {
    color: var(--primary-dark);
    font-weight: 500;
}

.lead-card-factors {
    margin-top: 1rem;
}

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

.factor-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.factor-pill.positive {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.factor-pill.negative {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.factor-pill.neutral {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.declined-summary {
    background: #fef2f2;
    border-left: 3px solid #ef4444;
}

.lead-card-transcript {
    display: none;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 1.25rem;
    max-height: 300px;
    overflow-y: auto;
}

.lead-card-transcript.expanded {
    display: block;
}

.lead-card-transcript-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.transcript-message {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

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

.transcript-role {
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.transcript-role.ai {
    color: var(--accent-gold);
}

.transcript-role.user {
    color: var(--primary-dark);
}

.transcript-text {
    color: #475569;
    padding-left: 0.5rem;
    border-left: 2px solid #e2e8f0;
}

.transcript-toggle {
    cursor: pointer;
    user-select: none;
}

.transcript-toggle:hover {
    text-decoration: underline;
}

/* Trust/Privacy Section */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.trust-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.trust-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--success);
}

.trust-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.trust-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Competitive Comparison */
.vs-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
}

.vs-header {
    text-align: center;
    margin-bottom: 2rem;
}

.vs-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.5rem;
}

.vs-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.vs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.vs-item {
    text-align: center;
}

.vs-item-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
}

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

.vs-item-compare {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

/* 3 Simple Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.step-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(201, 169, 98, 0.3);
}

.step-content h3 {
    font-size: 1.125rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.step-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem;
    }

    .lead-examples {
        grid-template-columns: 1fr;
    }

    .lead-card-details {
        grid-template-columns: 1fr;
    }

    .vs-section {
        padding: 2rem 1.5rem;
    }

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