/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background: linear-gradient(135deg, #050520 0%, #0a0a2e 50%, #10102a 100%);
    min-height: 100vh;
}

#demo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Progress Bar */
.progress-container {
    background: rgba(15, 15, 45, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #818cf8);
    border-radius: 4px;
    width: 20%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
    font-weight: 500;
}

/* Demo Sections */
.demo-section {
    display: none;
    background: rgba(15, 15, 45, 0.85);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.05);
    flex: 1;
    animation: fadeIn 0.5s ease-in-out;
    backdrop-filter: blur(10px);
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h1 {
    font-size: 2.5rem;
    color: #f1f5f9;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-header h2 {
    font-size: 2rem;
    color: #f1f5f9;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* Revenue Warning Style for Section 2 */
.revenue-warning {
    color: #ef4444;
    font-weight: 600;
    margin-top: 10px;
    font-size: 1.1rem;
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    background: rgba(10, 10, 35, 0.8);
    color: #e2e8f0;
}

.form-group input::placeholder {
    color: #64748b;
}

.form-group select option {
    background: #0f0f2d;
    color: #e2e8f0;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Slider Styles */
.slider-container {
    margin: 10px 0;
}

#email-volume {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(99, 102, 241, 0.2);
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 10px;
}

#email-volume::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6366f1;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

#email-volume::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #6366f1;
    cursor: pointer;
    border: none;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #94a3b8;
}

#email-count {
    font-weight: 600;
    color: #818cf8;
    font-size: 16px;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.checkbox-item:hover {
    background-color: rgba(99, 102, 241, 0.1);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: #6366f1;
}

.checkbox-item span {
    color: #cbd5e1;
}

/* Buttons */
.demo-button {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
}

.demo-button.primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.demo-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

.demo-button.secondary {
    background: transparent;
    color: #818cf8;
    border: 2px solid rgba(99, 102, 241, 0.4);
}

.demo-button.secondary:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
}

.demo-button.large {
    padding: 20px 40px;
    font-size: 18px;
    min-width: 300px;
}

/* INBOX SIMULATION - Section 2 */
.inbox-simulation {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(10, 10, 35, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.inbox-header {
    background: rgba(15, 15, 50, 0.95);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.inbox-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
}

.inbox-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.email-count {
    background: rgba(99, 102, 241, 0.3);
    padding: 5px 10px;
    border-radius: 15px;
    color: #a5b4fc;
}

.revenue-at-risk {
    background: rgba(239, 68, 68, 0.3);
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: 600;
    color: #fca5a5;
}

/* Challenge Setup */
.challenge-setup {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin: 25px;
}

.challenge-warning h4 {
    color: #ef4444;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.competitor-warning {
    background: rgba(239, 68, 68, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
    margin-top: 15px;
}

.warning-text {
    font-weight: 600;
    color: #ef4444;
}

.challenge-metrics {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    gap: 20px;
}

.timer-container, .found-container, .revenue-container {
    text-align: center;
    background: rgba(15, 15, 45, 0.8);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border: 1px solid rgba(99, 102, 241, 0.15);
    min-width: 100px;
}

.timer, .found-count, .revenue-at-risk-counter {
    font-size: 24px;
    font-weight: bold;
    color: #e2e8f0;
    margin-bottom: 5px;
}

.revenue-at-risk-counter {
    color: #ef4444;
}

.timer-label, .found-label, .revenue-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.email-list {
    max-height: 400px;
    overflow-y: auto;
}

.email-item {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.email-item:hover {
    background-color: rgba(99, 102, 241, 0.08);
}

.email-item.customer {
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid #ef4444;
}

.email-item.customer.found {
    background: rgba(34, 197, 94, 0.1);
    border-left-color: #22c55e;
    animation: foundPulse 0.5s ease;
}

@keyframes foundPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.email-item.spam {
    color: #64748b;
}

.email-icon {
    margin-right: 10px;
    font-size: 18px;
}

.email-content {
    flex: 1;
}

.email-sender {
    font-weight: 600;
    color: #e2e8f0;
}

.email-subject {
    color: #94a3b8;
    margin-top: 2px;
}

/* Competitor Timeline */
.competitor-timeline {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin: 15px 25px;
    display: none;
}

.competitor-timeline h5 {
    color: #ef4444;
    margin-bottom: 10px;
}

.competitor-updates {
    font-family: monospace;
    font-size: 14px;
}

.competitor-update {
    color: #ef4444;
    margin: 5px 0;
}

/* Enhanced Results Section */
.chaos-results {
    padding: 20px;
    background: rgba(239, 68, 68, 0.08);
    border-top: 2px solid rgba(99, 102, 241, 0.2);
    margin: 20px 25px;
    border-radius: 12px;
}

.chaos-results h4 {
    color: #ef4444;
}

.chaos-results p {
    color: #cbd5e1;
}

.results-header h4 {
    color: #ef4444;
    margin-bottom: 15px;
    font-size: 1.4rem;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.results-time, .results-lost, .results-saved {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: rgba(15, 15, 45, 0.8);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.big-number {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
}

.big-number.lost {
    color: #ef4444;
}

.big-number.saved {
    color: #22c55e;
}

.result-label {
    font-size: 14px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.opportunity-breakdown {
    margin: 20px 0;
}

.opportunity-list {
    background: rgba(15, 15, 45, 0.8);
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
}

.opportunity {
    display: grid;
    grid-template-columns: 30px 2fr 2fr 1fr;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    align-items: center;
}

.opportunity.lost {
    background: rgba(239, 68, 68, 0.08);
}

.opportunity.saved {
    background: rgba(34, 197, 94, 0.08);
}

.reality-check {
    background: rgba(15, 15, 50, 0.9);
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin-top: 25px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.solution-tease {
    color: #818cf8;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Operations Dashboard */
.operations-dashboard {
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(79, 70, 229, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #e2e8f0;
}

.dashboard-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.dashboard-stats span {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    color: #e2e8f0;
}

.priority-sections {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.priority-section {
    background: rgba(15, 15, 45, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.priority-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.priority-section.emergency {
    border-left: 5px solid #ef4444;
}

.priority-section.hot-leads {
    border-left: 5px solid #f59e0b;
}

.priority-section.scheduling {
    border-left: 5px solid #6366f1;
}

.priority-section.filtered {
    border-left: 5px solid #64748b;
}

.section-icon {
    font-size: 2rem;
    margin-top: 5px;
}

.section-content {
    flex: 1;
}

.section-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 15px;
}

.section-content p {
    color: #94a3b8;
}

.items {
    margin-bottom: 15px;
}

.priority-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    color: #cbd5e1;
}

.priority-item:last-child {
    border-bottom: none;
}

.action-btn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.action-btn:hover {
    background: #4f46e5;
}

.status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status.confirmed {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.status.needs-action {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
}

.status.ready {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
}

.section-revenue {
    font-weight: 600;
    color: #f59e0b;
    font-size: 14px;
}

/* Transformation Summary */
.transformation-summary {
    margin-top: 30px;
    padding: 30px;
    background: rgba(10, 10, 35, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
}

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.before, .after {
    padding: 20px;
    border-radius: 8px;
}

.before {
    background: rgba(239, 68, 68, 0.08);
    border: 2px solid rgba(239, 68, 68, 0.2);
}

.after {
    background: rgba(34, 197, 94, 0.08);
    border: 2px solid rgba(34, 197, 94, 0.2);
}

.before h5, .after h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.before h5 {
    color: #ef4444;
}

.after h5 {
    color: #22c55e;
}

.before ul, .after ul {
    list-style: none;
}

.before li, .after li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    color: #cbd5e1;
}

.before li::before {
    content: "\274C";
    position: absolute;
    left: 0;
}

.after li::before {
    content: "\2705";
    position: absolute;
    left: 0;
}

/* ROI Calculator */
.roi-calculator {
    background: rgba(15, 15, 45, 0.8);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.roi-calculator h4 {
    text-align: center;
    color: #e2e8f0;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.roi-breakdown {
    display: grid;
    gap: 12px;
}

.roi-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.roi-item:last-child {
    border-bottom: none;
}

.roi-item span:first-child {
    color: #94a3b8;
}

.roi-item span:last-child {
    font-weight: 600;
    color: #e2e8f0;
}

/* Implementation Timeline */
.implementation-timeline {
    max-width: 800px;
    margin: 0 auto 40px;
}

.timeline-week {
    margin-bottom: 30px;
}

.timeline-week h3 {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1.2rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.timeline-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.timeline-day {
    background: rgba(15, 15, 45, 0.8);
    border: 2px solid rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.2s ease;
}

.timeline-day:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.day-number {
    background: #6366f1;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 15px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.day-content h4 {
    color: #e2e8f0;
    margin-bottom: 10px;
    font-size: 1rem;
}

.day-content p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Guarantee Section */
.guarantee-section {
    background: rgba(10, 10, 35, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.1);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.guarantee-section h3 {
    text-align: center;
    color: #e2e8f0;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.guarantees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.guarantee-item {
    background: rgba(15, 15, 45, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.15);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.guarantee-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.guarantee-item h4 {
    color: #e2e8f0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.guarantee-item p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Implementation Summary */
.implementation-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 12px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.summary-stat h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.summary-stat p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Investment Section */
.investment-breakdown {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

.value-stack {
    background: rgba(10, 10, 35, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.1);
    padding: 30px;
    border-radius: 12px;
}

.value-stack h3 {
    text-align: center;
    color: #e2e8f0;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.value-items {
    display: grid;
    gap: 12px;
}

.value-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.value-item:last-child {
    border-bottom: none;
}

.value-item span:first-child {
    color: #94a3b8;
}

.value-item span:last-child {
    font-weight: 600;
    color: #e2e8f0;
}

.total-value {
    border-top: 3px solid #6366f1;
    padding-top: 15px !important;
    margin-top: 15px;
}

.total-value span {
    font-size: 1.2rem !important;
}

/* Investment Offer */
.investment-offer {
    text-align: center;
}

.offer-box {
    background: rgba(15, 15, 45, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.3);
    color: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.1);
}

.offer-box h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #e2e8f0;
}

.price-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.original-price {
    font-size: 1.8rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.arrow {
    font-size: 1.5rem;
    font-weight: 700;
}

.final-price {
    font-size: 3rem;
    font-weight: 700;
    color: #6366f1;
}

.savings {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.risk-free {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.risk-free h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #e2e8f0;
}

.risk-free p {
    color: #cbd5e1;
}

/* Payback Calculation */
.payback-calculation {
    background: rgba(15, 15, 45, 0.8);
    border: 1px solid rgba(99, 102, 241, 0.15);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.payback-calculation h3 {
    text-align: center;
    color: #e2e8f0;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.payback-items {
    display: grid;
    gap: 12px;
}

.payback-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    color: #cbd5e1;
}

.payback-item:last-child {
    border-bottom: none;
}

.payback-total {
    border-top: 2px solid #6366f1;
    padding-top: 15px !important;
    margin-top: 15px;
    color: #e2e8f0;
}

.payback-time {
    background: rgba(34, 197, 94, 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 2px solid rgba(34, 197, 94, 0.2);
    margin: 15px 0;
    color: #4ade80;
}

.annual-roi {
    background: rgba(239, 68, 68, 0.1);
    padding: 15px;
    border-radius: 8px;
    border: 2px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Next Steps */
.next-steps {
    text-align: center;
    margin-top: 40px;
    padding: 40px;
    background: rgba(10, 10, 35, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 15px;
}

.next-steps h3 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.next-steps p {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
}

.contact-info p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

.contact-info a {
    color: #818cf8;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
    color: #a5b4fc;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(15, 15, 45, 0.98);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.modal-content h3 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.modal-content p {
    color: #94a3b8;
    margin-bottom: 25px;
}

#lead-form {
    display: grid;
    gap: 15px;
}

#lead-form input {
    padding: 12px 15px;
    border: 2px solid rgba(99, 102, 241, 0.25);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(10, 10, 35, 0.8);
    color: #e2e8f0;
}

#lead-form input::placeholder {
    color: #64748b;
}

#lead-form input:focus {
    outline: none;
    border-color: #6366f1;
}

/* Challenge text */
.chaos-challenge {
    padding: 20px;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.challenge-text h4 {
    color: #e2e8f0;
}

.challenge-text p {
    color: #94a3b8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #demo-container {
        padding: 10px;
    }

    .demo-section {
        padding: 20px;
    }

    .section-header h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .inbox-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .inbox-stats {
        justify-content: center;
    }

    .challenge-metrics {
        flex-direction: column;
        gap: 15px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .dashboard-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .before-after, .comparison-grid {
        grid-template-columns: 1fr;
    }

    .timeline-days {
        grid-template-columns: 1fr;
    }

    .guarantees {
        grid-template-columns: 1fr;
    }

    .implementation-summary {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .demo-button.large {
        min-width: auto;
        width: 100%;
    }

    .price-display {
        flex-direction: column;
        gap: 10px;
    }

    .original-price,
    .final-price {
        font-size: 1.5rem;
    }

    .arrow {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }

    .timer-container {
        flex-direction: column;
        gap: 15px;
    }

    .timer {
        font-size: 1.5rem;
    }

    .value-item,
    .roi-item,
    .payback-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .priority-section {
        flex-direction: column;
        text-align: center;
    }

    .priority-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .cash-metrics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .section-header h1 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .demo-button {
        min-width: auto;
        width: 100%;
        margin: 5px 0;
    }

    .investment-breakdown {
        grid-template-columns: 1fr;
    }

    .challenge-setup {
        padding: 15px;
        margin: 15px;
    }

    .opportunity {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }
}
