/* Revenue Ring AI - v2 Styles (Linear / SaaS-Modern) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Palette */
    --bg-color: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --border-color: #E5E5E5;
    --accent-color: #1A1A1A;
    /* Stark black for buttons */
    --accent-hover: #333333;
    --surface-color: #F8F9FA;
    /* Very light gray for bento cards */
    --highlight-blue: #2563EB;
    /* Main Brand Color */
    --accent-color: #2563EB;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    --container-width: 1200px;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

button {
    cursor: pointer;
    font-family: inherit;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 50%, #1E40AF 100%);
    color: #FFF;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1E40AF 50%, #1E3A8A 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #3B82F6, #8B5CF6, #7C3AED);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: var(--accent-color);
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #7C3AED 100%);
    color: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #FAFAFA 0%, #F3F4F6 50%, #E5E7EB 100%);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 50%, #93C5FD 100%);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
    /* Solid White */
    /* backdrop-filter: blur(20px); removed for solid white */
    /* -webkit-backdrop-filter: blur(20px); removed */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* ... (Skipping nav-content/logo for brevity if unchanged) ... */
.nav-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.desktop-nav a:hover {
    color: var(--highlight-blue);
    background: rgba(37, 99, 235, 0.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Live Demo Widget */
.live-demo-widget {
    max-width: 480px;
    margin: 0 auto;
    background: #FFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 24px;
    text-align: left;
}

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

.widget-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.demo-input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.audio-samples {
    display: flex;
    gap: 8px;
}

.audio-btn {
    flex: 1;
    padding: 8px;
    font-size: 0.8rem;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: center;
}

.audio-btn:hover,
.audio-btn.active {
    border-color: var(--text-primary);
    background: #FFF;
}

/* Data Viz Section */
.data-viz-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.viz-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.calc-input-row {
    margin-bottom: 20px;
}

.calc-input-row label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.calc-input-row input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-family: inherit;
}

.calc-result {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #DDD;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--highlight-blue);
}

/* Bento Grid */
.bento-section {
    padding: 80px 0;
}

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

.bento-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Premium smooth easing */
}

/* "Deep Lift" Effect */
.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
    /* Subtle Blue Tint */
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.comp-card {
    background: #FAFAFA;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.comp-card:hover {
    background: #FFF;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--accent-color);
}



/* Smart Orb Animation */
.hero-pulse-animation {
    animation: digitalPulse 3s ease-in-out infinite;
}

@keyframes digitalPulse {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 10px rgba(37, 99, 235, 0.4));
        opacity: 0.9;
    }

    50% {
        transform: scale(1.05);
        filter: brightness(1.2) drop-shadow(0 0 20px rgba(37, 99, 235, 0.7));
        opacity: 1;
    }
}

/* Latency Chart */
.latency-chart {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chart-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.bar-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar {
    height: 32px;
    border-radius: 4px;
}

.bar-competitor {
    background: #EF4444;
    /* Red */
}

.bar-rr {
    background: #10B981;
    /* Green */
}

.bar-value {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
}

/* Latency Chart Overlay */
.latency-wrapper {
    position: relative;
    display: inline-block;
}

.latency-label {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
    transform: translate(-50%, -100%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    z-index: 10;
}

.label-red {
    top: 35%;
    left: 25%;
    color: #EF4444;
}

.label-green {
    top: 65%;
    left: 70%;
    color: #10B981;
    border-color: #10B981;
    background: rgba(255, 255, 255, 0.95);
}

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

/* Timeline */
.timeline-section {
    padding: 80px 0;
    background: #FFFFFF;
}

/* Timeline Refactored */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Remove central line for the side-by-side layout, 
   or keep it if we want a split view. 
   Let's go with a cleaner grid layout as requested. */
.timeline::before {
    display: none;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

/* Alternating Layout */
.timeline-step.reversal {
    flex-direction: row-reverse;
}

.step-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-image img {
    max-width: 100%;
    width: 300px;
    /* Consistent icon size */
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.step-image img:hover {
    transform: translateY(-5px);
}

.step-content-wrapper {
    flex: 1;
    position: relative;
    padding-left: 0;
    /* Reset */
}

/* Hide original marker or repurpose it */
.step-marker {
    display: none;
}

.step-content h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.step-content h2 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

/* Footer */
footer {
    background: #000;
    color: #FFF;
    padding: 80px 0;
    text-align: center;
}

/* Light Footer Theme */
footer.footer-light {
    background: #F8F9FA;
    border-top: 1px solid #E5E5E5;
    color: var(--text-primary);
}

footer h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

footer p {
    color: #888;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

footer.footer-light p {
    color: var(--text-secondary);
}

footer .btn-primary {
    background: #FFF;
    color: #000;
}

footer .btn-primary:hover {
    background: #EEE;
}

footer.footer-light .footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
}

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

footer.footer-light .footer-phone-mobile {
    color: var(--text-primary) !important;
}

footer.footer-dark .footer-phone-mobile {
    color: #fff !important;
}

.legal {
    margin-top: 60px;
    color: #444;
    font-size: 0.8rem;
}

/* Footer Phone Number */
.footer-phone-mobile {
    display: block;
    font-weight: 600;
    color: inherit;
    margin-top: 8px;
}

/* Pricing Section */

.pricing-section {
    padding: 80px 0;
    background: #FAFAFA;
    /* Slightly off-white for contrast */
    border-top: 1px solid var(--border-color);
}

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

.pricing-card {
    background: #FFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy premium feel */
}

/* ... existing popular class ... */

/* Higher specificity to override .scroll-reveal.active */
.pricing-grid .pricing-card:hover {
    transform: translateY(-16px) scale(1.02);
    border-color: #D1D5DB;
    /* Neutral Grey Border */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    background: #F9FAFB;
    /* Very Light Grey (Cool Grey 50) */
    z-index: 100;
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: #FFF;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-header {
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.pricing-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.features-list li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: #374151;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: 700;
}

.full-width {
    width: 100%;
}

/* Comparison Matrix */
.comparison-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.comparison-section h3 {
    margin-bottom: 32px;
    font-size: 1.5rem;
}

.matrix-table {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: #FFF;
    overflow: hidden;
}

.matrix-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    align-items: center;
}

.matrix-row:last-child {
    border-bottom: none;
}

.matrix-row.header {
    background: var(--surface-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.col-metric {
    font-weight: 500;
}

.col-standard {
    color: var(--text-secondary);
}

.col-premium {
    color: var(--text-primary);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    text-align: left;
    transition: background-color 0.2s;
    cursor: pointer;
}

.faq-trigger span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.faq-trigger:hover span {
    color: #000;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
}

.faq-body {
    padding-bottom: 24px;
    color: #4B5563;
    /* Gray-600 */
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
    }

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

    /* Pricing Responsive */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .matrix-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    /* Timeline Responsive */
    .timeline-step {
        flex-direction: column !important;
        /* Force stack on mobile */
        gap: 24px;
        text-align: center;
    }

    .timeline-step.reversal {
        flex-direction: column !important;
    }

    .step-image img {
        width: 200px;
        /* Smaller image on mobile */
    }

    .col-metric {
        margin-bottom: 4px;
        font-weight: 700;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

}

/* Pulse Animation */
.pulse-animation {
    opacity: 0.6;
    animation: corePulse 8s infinite alternate ease-in-out;
    filter: drop-shadow(0 0 40px rgba(56, 189, 248, 0.3));
}

@keyframes corePulse {
    0% {
        transform: scale(0.9) rotate(0deg);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.1) rotate(10deg);
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .pulse-animation {
        width: 300px;
        opacity: 0.4;
    }
}

/* --- Multi-Step Form Styles --- */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.input-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: var(--highlight-blue);
    outline: none;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-question {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.selection-grid.vertical {
    grid-template-columns: 1fr;
}

.selection-card {
    position: relative;
    cursor: pointer;
}

.selection-card input {
    position: absolute;
    opacity: 0;
}

.card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #F8F9FA;
    border: 2px solid transparent;
    border-radius: 12px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s;
}

.selection-card input:checked+.card-content {
    border-color: var(--highlight-blue);
    background: rgba(37, 99, 235, 0.05);
    color: var(--highlight-blue);
}

.selection-card:hover .card-content {
    background: #EEEEEE;
}

.nav-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-text {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
}

/* --- Hero Animation --- */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Sit behind the text */
    pointer-events: none;
    /* Let clicks pass through, but we handle mousemove on parent in JS */
}

/* Ensure Hero Text needs z-index to stay on top? 
   z-index: -1 puts canvas behind default stacking context (0).
   The .container inside .hero is default (0). So canvas should be behind.
   We already have .hero { position: relative; } */

/* --- Platform Showcase Section --- */
.platform-showcase .container {
    max-width: 1000px;
}

.showcase-block {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.showcase-block.reverse {
    flex-direction: row-reverse;
}

.showcase-block:last-child {
    margin-bottom: 0;
}

.block-content {
    flex: 1;
}

.block-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.block-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--highlight-blue);
    margin-bottom: 12px;
}

.showcase-block h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.2;
}

.showcase-block p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- CSS iPhone Mockup --- */
.css-device-wrapper {
    position: relative;
    /* Floating Animation */
    animation: floatDevice 6s ease-in-out infinite;
}

@keyframes floatDevice {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.css-iphone {
    width: 280px;
    height: 560px;
    background: #000;
    border-radius: 40px;
    border: 12px solid #333;
    /* Frame */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.iphone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #000;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: #F2F2F7;
    /* iOS Gray */
    padding-top: 40px;
    display: flex;
    flex-direction: column;
}

/* Fake Chat UI */
.chat-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-bottom: 1px solid #E5E5EA;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00C6FF, #0072FF);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.chat-info {
    font-size: 0.9rem;
}

.chat-name {
    font-weight: 600;
}

.chat-status {
    font-size: 0.75rem;
    color: #8E8E93;
}

.chat-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    opacity: 0;
    animation: fadeInMsg 0.5s ease forwards;
}

.msg-ai {
    background: #E5E5EA;
    color: #000;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    animation-delay: 0.5s;
}

.msg-user {
    background: #007AFF;
    color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    animation-delay: 1.5s;
}

/* AI Reply 2 */
.msg-ai:last-of-type {
    animation-delay: 2.5s;
    /* Appears after user */
}

@keyframes fadeInMsg {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: 60px;
    right: -40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 10px 16px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 20;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 3s;
    opacity: 0;
    transform: scale(0.8);
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- CSS MacBook Mockup --- */
.css-macbook {
    width: 460px;
    perspective: 1000px;
}

.macbook-screen {
    width: 100%;
    height: 280px;
    background: #1A1A1A;
    /* Dark Mode border */
    border-radius: 16px 16px 0 0;
    border: 1px solid #333;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.macbook-base {
    width: 110%;
    height: 16px;
    background: #E0E0E0;
    margin-left: -5%;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background: linear-gradient(to bottom, #EEEEEE, #CCCCCC);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-ui {
    width: 100%;
    height: 100%;
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
    padding-bottom: 10px;
}

.dash-title {
    font-weight: 700;
    font-size: 0.9rem;
}

.dash-date {
    font-size: 0.8rem;
    color: #888;
}

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

.stat-card {
    flex: 1;
    background: #F9FAFB;
    padding: 12px;
    border-radius: 8px;
}

.stat-label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
}

.stat-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin-top: 4px;
}

.stat-trend.up {
    font-size: 0.7rem;
    color: #10B981;
    margin-top: 2px;
}

.dash-graph {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    border-bottom: 1px solid #EEE;
    padding-bottom: 4px;
}

.graph-bar {
    flex: 1;
    background: #E5E7EB;
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
}

.graph-bar.active {
    background: linear-gradient(to top, #00F0FF, #007AFF);
}

/* --- Handoff Visual --- */
.handoff-visual {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #F5F5F7;
    padding: 32px 48px;
    border-radius: 100px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    color: #999;
}

.icon-circle.active {
    background: #007AFF;
    color: #FFF;
    box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

.icon-circle svg {
    margin-bottom: 4px;
}

.icon-circle span {
    font-size: 0.7rem;
    font-weight: 600;
}

.arrow-connector {
    font-size: 1.5rem;
    color: #CCC;
}

.phone-link:hover {
    color: var(--highlight-blue) !important;
}

/* Responsive */

/* Mobile Navigation Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    /* Above header */
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    justify-content: flex-end;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: #FFF;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.mobile-nav-overlay.active .mobile-nav-menu {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.mobile-nav-links a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links a:hover {
    color: var(--highlight-blue);
}

.mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }

    .desktop-nav {
        display: none !important;
    }

    .header-actions {
        gap: 12px;
    }

    .header-actions .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .showcase-block {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .showcase-block.reverse {
        flex-direction: column;
    }

    .css-device-wrapper {
        transform: scale(0.9);
    }

    .css-macbook {
        width: 100%;
        max-width: 320px;
    }

    .macbook-screen {
        height: 200px;
    }
}

/* --- Global Scroll Animations --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    /* Apple-esque ease */
    will-change: transform, opacity;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for better flow */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* --- Enhanced Mobile Responsiveness --- */
@media (max-width: 768px) {

    /* Lead Form */
    .lead-form-section .form-container {
        padding: 24px 16px;
        /* Reduce padding */
    }

    .lead-form-section h2 {
        font-size: 1.75rem !important;
    }

    .selection-grid {
        grid-template-columns: 1fr;
        /* Stack selection cards */
    }

    .card-selection {
        flex-direction: column;
    }

    /* Mid-Page CTA */
    .mid-page-cta .split-layout {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .mid-page-cta .cta-content {
        padding-right: 0 !important;
        align-items: center;
    }

    .mid-page-cta .cta-buttons {
        align-items: center;
        width: 100%;
    }

    /* Handoff Visual */
    .handoff-visual {
        flex-direction: column;
        padding: 24px;
        width: 100%;
        max-width: 300px;
        /* Constrain width */
        margin: 0 auto;
        border-radius: 40px;
    }

    .arrow-connector {
        transform: rotate(90deg);
        /* Rotate arrow to point down */
        margin: 12px 0;
    }

    /* Pricing & Comparison */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .matrix-row {
        grid-template-columns: 1fr 1fr;
        /* Simplification for matrix if needed, or scroll */
        font-size: 0.8rem;
    }

    /* Global Container */
    .container {
        padding: 0 20px;
    }
}

/* --- Hero Content Box (Moved from Inline) --- */
.hero-content-box {
    background: rgba(255, 255, 255, 0.01);
    /* Almost invisible */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Fainter border */
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
    /* Softer shadow */
    transition: background 0.3s ease;
}

@media (max-width: 768px) {
    .hero-content-box {
        background: rgba(255, 255, 255, 0.9);
        /* Less transparent for better contrast on mobile */
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

/* --- Smart Orb Animation --- */
.smart-orb {
    animation: orbPulse 3s infinite ease-in-out;
    will-change: transform, filter;
}

@keyframes orbPulse {
    0% {
        transform: scale(0.95);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.05);
        filter: brightness(1.2) drop-shadow(0 0 15px rgba(0, 240, 255, 0.4));
    }

    100% {
        transform: scale(0.95);
        filter: brightness(1);
    }
}

/* --- Missing Lead Form Styles --- */
.lead-form-section {
    position: relative;
    z-index: 10;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.input-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--highlight-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.card-selection {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.selection-card {
    flex: 1;
    min-width: 140px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    background: #FFF;
}

.selection-card:hover {
    border-color: var(--highlight-blue);
    background: #F0F7FF;
}

.selection-card.selected {
    background: var(--highlight-blue);
    color: #FFF;
    border-color: var(--highlight-blue);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.step-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.step-indicators .step-label {
    position: relative;
    padding-bottom: 8px;
}

.step-indicators .step-label.active {
    color: var(--highlight-blue);
}

.step-indicators .step-label.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--highlight-blue);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Chat Simulator Styles --- */
@media (max-width: 768px) {
    .chat-sim-container {
        flex-direction: column;
    }

    .chat-sim-col {
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
    }

    .chat-sim-col:last-child {
        border-bottom: none;
    }
}

/* Concierge Widget */
.concierge-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.concierge-widget.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.concierge-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

.concierge-close:hover {
    color: #333;
}

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

.concierge-avatar {
    width: 40px;
    height: 40px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.concierge-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.concierge-info {
    display: flex;
    flex-direction: column;
}

.concierge-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111;
}

.concierge-status {
    font-size: 0.75rem;
    color: #10B981;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.concierge-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
}

.concierge-body p {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 16px;
    line-height: 1.5;
}

.concierge-cta {
    width: 100%;
    background: #000;
    color: #FFF;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
}

.concierge-cta:hover {
    background: #333;
}

/* Chat Interface Styles */
.concierge-widget {
    /* Adjusted for chat interface */
    display: flex;
    flex-direction: column;
    height: 400px;
    /* Fixed height for chat */
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: #F8F9FA;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    animation: fadeIn 0.3s ease;
}

.message.bot {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
    align-items: flex-end;
}

.message-content {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
}

.message.bot .message-content {
    background: #FFF;
    color: #333;
    border: 1px solid #E5E7EB;
    border-bottom-left-radius: 2px;
}

.message.user .message-content {
    background: #000;
    color: #FFF;
    border-bottom-right-radius: 2px;
}

.message-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 4px;
    padding: 0 4px;
}

.chat-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.chat-options button {
    background: #FFF;
    border: 1px solid #10B981;
    color: #10B981;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-options button:hover {
    background: #10B981;
    color: #FFF;
}

.chat-input-area {
    padding: 12px;
    display: flex;
    gap: 8px;
    background: #FFF;
}

#chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
    transition: border 0.2s;
}

#chat-input:focus {
    border-color: #000;
}

.chat-send-btn {
    width: 36px;
    height: 36px;
    background: #000;
    color: #FFF;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.chat-send-btn:hover {
    transform: scale(1.05);
}

.typing-indicator {
    display: inline-flex;
    gap: 4px;
    padding: 12px 16px;
    background: #FFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}

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

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

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

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* Chat Launcher */
.concierge-launcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9998;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0);
    /* Hidden initially */
    opacity: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.concierge-launcher.visible {
    transform: scale(1);
    opacity: 1;
}

.concierge-launcher:hover {
    transform: scale(1.1);
}

.concierge-launcher img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Update Widget Position to align perfectly */
.concierge-widget {
    /* Ensure it overlaps the launcher position naturally */
    transform-origin: bottom right;
}

/* Chat Footer */
.concierge-footer {
    text-align: center;
    font-size: 10px;
    color: #888;
    padding-bottom: 8px;
    background: #fff;
    border-radius: 0 0 16px 16px;
    margin-top: -4px;
}

/* --- High-End Form Styles (Slideout) --- */
#slideoutForm .input-group {
    margin-bottom: 24px;
}

#slideoutForm label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

#slideoutForm input[type="text"],
#slideoutForm input[type="email"],
#slideoutForm input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

#slideoutForm input:focus {
    background: #FFF;
    border-color: #2563EB;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

#slideoutForm input:focus+label {
    color: #2563EB;
}

/* Checkbox Style */
#slideoutForm .checkbox-container input[type="checkbox"] {
    accent-color: #2563EB;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Premium Button Hover */
.btn-primary.full-width {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary.full-width:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* Premium Button Styles */
.pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-color);
    background: #FFF;
    color: var(--text-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pricing-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--text-primary);
    background: #FAFAFA;
}

.pricing-btn.primary {
    background: #e0e7ff;
    color: #4338ca;
    border: none;
}

.pricing-btn.primary:hover {
    background: #c7d2fe;
    box-shadow: 0 8px 20px rgba(67, 56, 202, 0.15);
}

.pricing-btn .btn-icon {
    font-size: 1.2rem;
}

.pricing-btn.active-call {
    animation: pulseRed 2s infinite;
    background: #Fee2e2 !important;
    color: #b91c1c !important;
    border-color: #ef4444 !important;
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Active Call State */
.btn.active-call {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 50%, #B91C1C 100%) !important;
    border: none !important;
    color: white !important;
    animation: pulse-red 2s infinite;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5) !important;
}

.btn.active-call:hover {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 50%, #991B1B 100%) !important;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6) !important;
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* ========================================
   SIP Web Calling Button Styles
   ======================================== */

.btn-sip-call {
    position: relative;
    overflow: hidden;
}

.btn-sip-call .call-icon {
    transition: transform 0.3s ease;
}

.btn-sip-call:hover .call-icon {
    transform: rotate(15deg) scale(1.1);
}

/* Calling State - Orange/Red Gradient */
.btn-sip-call.calling {
    background: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%) !important;
    animation: pulse 2s infinite;
}

/* Active State - Dark Red */
.btn-sip-call.active {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%) !important;
    animation: pulse 1.5s infinite;
}

/* Pulse Animation */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 14px 0 rgba(239, 68, 68, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px 0 rgba(239, 68, 68, 0.7);
    }
}

/* Status Indicator Blink */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Responsive SIP Button */
@media (max-width: 768px) {
    .btn-sip-call {
        font-size: 1rem !important;
        padding: 14px 28px !important;
    }

    .btn-sip-call .call-icon {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Call Request Modal Styles */
.call-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.modal-content-wrapper {
    position: relative;
    background: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #9ca3af;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #374151;
}

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

.modal-header svg {
    margin-bottom: 16px;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

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

.call-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.call-status.success {
    background: #d1fae5;
    color: #065f46;
}

.call-status.error {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 768px) {
    .modal-content-wrapper {
        padding: 30px 20px;
        width: 95%;
    }

    .modal-header h3 {
        font-size: 20px;
    }
}