/* Custom CSS for Nesa Landing Page */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #3b82f6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --gradient-secondary: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    --gradient-text: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-hero: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 25%, #93c5fd 50%, #60a5fa 75%, #3b82f6 100%);
    --shadow-light: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(59, 130, 246, 0.15);
    --shadow-heavy: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
}

/* Prevent any container overflow */
.container, .container-fluid {
    max-width: 100% !important;
    overflow-x: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
}

/* Universal section overflow prevention */
section {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.navbar-brand .brand-text {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-color);
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Navbar Toggler */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 8px 12px;
    background: rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2837, 99, 235, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

.btn {
    font-weight: 500;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px; /* Add padding to prevent navbar overlap */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#hero-canvas {
    width: 100%;
    height: 100%;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: var(--dark-color);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    color: #475569;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.hero-stats .stat-item {
    text-align: center;
    color: var(--dark-color);
}

.hero-stats .stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-item p {
    opacity: 0.7;
    font-size: 0.9rem;
    color: #64748b;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    overflow: hidden; /* Prevent floating cards from causing overflow */
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
    box-shadow: var(--shadow-light);
}

.floating-card.card-1 {
    top: 50px;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 150px;
    right: 10%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 100px;
    left: 5%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Hide floating cards on smaller screens to prevent overflow */
@media (max-width: 992px) {
    .floating-card {
        display: none !important;
    }
    
    /* Additional overflow prevention for medium devices */
    #features, #pricing {
        overflow-x: hidden !important;
    }
    
    #features .container, #pricing .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .feature-card, .pricing-card {
        overflow: hidden !important;
    }
}

.hero-phone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 400px;
    background: #1f2937;
    border-radius: 25px;
    padding: 20px;
    box-shadow: var(--shadow-heavy);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.call-interface {
    text-align: center;
    color: white;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin: 0 auto 1rem;
}

.caller-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.caller-info p {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.call-actions {
    display: flex;
    justify-content: space-around;
}

.call-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.call-btn.decline {
    background: var(--danger-color);
}

.call-btn.accept {
    background: var(--success-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Number Request Modal Styles */
.number-request-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.number-request-modal {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.number-request-modal h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

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

.number-request-modal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
}

.number-request-modal input,
.number-request-modal select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.number-request-modal input:focus,
.number-request-modal select:focus {
    outline: none;
    border-color: #3498db;
}

.number-request-modal .btn-primary {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.number-request-modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
}

.test-agent-container-blurred {
    filter: blur(3px);
    pointer-events: none;
}

/* Request Submitted State Styles */
.request-submitted-state {
    text-align: center;
    padding: 20px 0;
}

.request-submitted-state .success-icon {
    font-size: 48px;
    color: #27ae60;
    margin-bottom: 20px;
}

.request-submitted-state h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 24px;
}

.request-submitted-state p {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.polling-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    color: #3498db;
}

.polling-indicator .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e3f2fd;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

.estimated-time {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #95a5a6;
    font-size: 14px;
    margin-top: 15px;
}

.estimated-time i {
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

/* Steps Container */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow-light);
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.step-content p {
    color: #6b7280;
    margin: 0;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.step-connector {
    width: 2px;
    height: 40px;
    background: var(--gradient-primary);
    margin: 0 auto;
    opacity: 0.3;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Comparison Cards */
/* Legacy comparison card styles - keeping for backward compatibility */
.comparison-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.comparison-card .card-header {
    padding: 1.5rem;
    background: var(--light-color);
    border-bottom: 1px solid #e5e7eb;
}

.comparison-card .card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.before-card .card-header {
    background: rgba(239, 68, 68, 0.1);
    border-bottom-color: rgba(239, 68, 68, 0.2);
}

.after-card .card-header {
    background: rgba(16, 185, 129, 0.1);
    border-bottom-color: rgba(16, 185, 129, 0.2);
}

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

/* Comparison Container */
.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-section {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.comparison-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.before-section {
    border-top: 4px solid #3b82f6;
}

.after-section {
    border-top: 4px solid #0ea5e9;
}

.comparison-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.comparison-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--dark-color);
}

.before-section .comparison-header h3 {
    color: #1d4ed8;
}

.after-section .comparison-header h3 {
    color: #0ea5e9;
}

.comparison-content {
    padding: 1.5rem 2rem 2rem;
    display: block;
    visibility: visible;
    opacity: 1;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.comparison-item:last-child {
    margin-bottom: 0;
}

.comparison-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-light);
}

.problem-item {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 4px solid #3b82f6;
}

.solution-item {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0ea5e9;
}

.item-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.problem-item .item-icon {
    color: #1d4ed8;
}

.solution-item .item-icon {
    color: #0ea5e9;
}

.item-text {
    flex: 1;
}

.item-text p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Features Section */
#features {
    background: white;
    position: relative;
    z-index: 1;
    overflow-x: hidden !important; /* Prevent horizontal overflow */
    width: 100%;
    max-width: 100vw;
}

#features .container {
    max-width: 100% !important;
    overflow-x: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
}

#features .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
}

#features .col-lg-4,
#features .col-md-6 {
    padding-left: 10px;
    padding-right: 10px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden !important; /* Prevent content overflow */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-light);
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 5rem 0 3rem;
}

/* Footer CTA Section */
.footer-cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 0;
}

.footer-cta-content {
    padding-left: 2rem;
}

.footer-cta-description {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-cta-subtitle {
    color: #cbd5e1;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.footer-cta-btn {
    background: white;
    color: #1e293b;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-cta-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: white;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social a {
    color: #cbd5e1;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.footer-social a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Footer Brand Large */
.footer-brand-large {
    text-align: center;
    margin: 4rem 0 2rem;
}

.footer-logo {
    font-size: 8rem;
    font-weight: 800;
    color: #475569;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* Footer Copyright */
.footer-copyright {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 2rem 0 0;
    text-align: center;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-cta-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-cta-content {
        padding-left: 0;
    }
    
    .footer-nav {
        justify-content: center;
        margin-bottom: 2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-logo {
        font-size: 4rem;
    }
}

@media (max-width: 576px) {
    .footer-cta-title {
        font-size: 1.5rem;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-logo {
        font-size: 3rem;
    }
}

.footer-brand-large h1 {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.copyright {
    opacity: 0.6;
    margin: 1rem 0 0;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-heavy);
}

.modal-header {
    padding: 2rem 2rem 1rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.modal-body {
    padding: 1rem 2rem 2rem;
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Prevent overflow in all sections */
    #features, #pricing {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    #features .container, #pricing .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    #features .row, #pricing .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    #features .col-lg-4,
    #features .col-md-6 {
        padding-left: 5px !important;
        padding-right: 5px !important;
        max-width: 100% !important;
    }
    
    /* Navbar adjustments */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand .brand-text {
        font-size: 1.5rem;
    }
    
    /* Hero section mobile fixes */
    .hero-section {
        padding-top: 70px;
        min-height: auto;
        padding-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .hero-buttons .btn:first-child {
        margin-right: 0;
    }
    
    /* Hero visual mobile improvements */
    .hero-visual {
        height: 350px;
        margin-top: 2rem;
        padding: 20px;
    }
    
    .hero-phone {
        width: 160px;
        height: 320px;
        padding: 15px;
    }
    
    .phone-screen {
        padding: 15px;
    }
    
    .caller-info h4 {
        font-size: 0.9rem;
    }
    
    .caller-info p {
        font-size: 0.75rem;
    }
    
    .call-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* Floating cards mobile positioning */
    .floating-card {
        position: static;
        display: inline-block;
        margin: 0.5rem;
        padding: 0.75rem;
        font-size: 0.85rem;
        display: none;
    }
    
    .floating-card.card-1,
    .floating-card.card-2,
    .floating-card.card-3 {
        position: static;
        animation: none;
        transform: none;
    }
    
    /* Section adjustments */
    .section-title {
        font-size: 2rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    /* Stats adjustments */
    .hero-stats .stat-item h3 {
        font-size: 2rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-brand-large h1 {
        font-size: 2.5rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    /* Extra small mobile adjustments */
    .hero-section {
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Hero visual extra small screens */
    .hero-visual {
        height: 280px;
        padding: 10px;
    }
    
    .hero-phone {
        width: 140px;
        height: 280px;
        padding: 12px;
    }
    
    .phone-screen {
        padding: 12px;
    }
    
    .caller-info h4 {
        font-size: 0.8rem;
    }
    
    .caller-info p {
        font-size: 0.7rem;
    }
    
    .call-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .avatar {
        width: 45px;
        height: 45px;
    }
    
    /* Floating cards extra small */
    .floating-card {
        padding: 0.5rem;
        font-size: 0.8rem;
        margin: 0.25rem;
    }
    
    .step-item {
        padding: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Stats extra small */
    .hero-stats .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .hero-stats .stat-item p {
        font-size: 0.8rem;
    }
}

/* Pricing Section */
#pricing {
    background: #ffffff;
    position: relative;
    z-index: 1;
    padding: 5rem 0;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

#pricing .container {
    max-width: 100%;
    overflow-x: hidden;
}

#pricing .row {
    margin-left: 0;
    margin-right: 0;
}

.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Pro Plan (Early Bird) */
.pro-plan {
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

/* Enterprise Plan */
.enterprise-plan {
    background: #1f2937;
    border: 1px solid #374151;
    color: #ffffff;
}

.enterprise-plan .plan-title,
.enterprise-plan .price-main,
.enterprise-plan .features-title {
    color: #ffffff;
}

.enterprise-plan .price-period,
.enterprise-plan .plan-subtitle {
    color: #d1d5db;
}

.enterprise-plan .features-list li {
    color: #f3f4f6;
}

.enterprise-plan .features-list i {
    color: #ffffff;
}

/* Plan Badges */
.plan-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.popular-badge {
    background: #ff6b35;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
}

.enterprise-badge {
    background: #6b7280;
    color: #ffffff;
}

/* Pricing Header */
.pricing-header {
    padding: 40px 32px 20px;
    text-align: left;
}

.plan-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111827;
}

/* Pay as you go section */
.pay-as-go-section {
    margin-bottom: 0;
}

.pay-as-go-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
    margin-top: 4px;
}

.pay-as-go-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 8px;
}

.pay-as-go-type {
    font-size: 16px;
    color: #6b7280;
    
    margin-bottom: 4px;
}

.pay-as-go-description {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* Enterprise Description */
.enterprise-description {
    margin-top: 8px;
}

.enterprise-description p {
    font-size: 16px;
    color: #d1d5db;
    margin: 0;
    line-height: 1.5;
}

/* Section Divider */
.section-divider {
    border: none;
    height: 1px;
    background-color: #e5e7eb;
    margin: 0 32px 24px;
}

.enterprise-divider {
    background-color: #374151;
}

/* Features Section */
.features-section {
    padding: 0 32px 32px;
}

.subsection-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.enterprise-plan .subsection-title {
    color: #ffffff;
}

/* Details Section */
.details-section {
    margin-bottom: 24px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 0;
}

.details-list li:last-child {
    margin-bottom: 0;
}

/* Benefits Section */
.benefits-section {
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefits-list i {
    color: #10b981;
    font-size: 16px;
    width: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.enterprise-plan .benefits-list li {
    color: #f3f4f6;
}

.enterprise-plan .benefits-list i {
    color: #ffffff;
}

/* Referral Section */
.referral-section {
    background: #f0fdf4;
    padding: 16px;
    border-radius: 8px;
    border-left: 3px solid #10b981;
    margin-top: 8px;
}

.referral-text {
    margin: 0;
    font-size: 14px;
    color: #065f46;
    line-height: 1.5;
}

.referral-text i {
    color: #059669;
    margin-right: 8px;
}

/* Pricing Footer */
.pricing-footer {
    padding: 32px;
    text-align: center;
}

.cta-button {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary.cta-button {
    background: #2563eb;
    color: #ffffff;
}

.btn-primary.cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-outline.cta-button {
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-outline.cta-button:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
}

/* FAQ Section */
.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    border-radius: 12px !important;
}

.accordion-button:not(.collapsed) {
    background: var(--light-color);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    border-color: var(--primary-color);
}

.accordion-body {
    padding: 1.5rem;
    background: white;
    color: #6b7280;
    line-height: 1.6;
}

/* Responsive Pricing */
@media (max-width: 1200px) {
    .plan-badge {
        top: 18px;
        right: 18px;
        font-size: 11px;
        padding: 6px 12px;
        border-radius: 16px;
    }
    
    .popular-badge {
        gap: 3px;
    }
}

@media (max-width: 992px) {
    .plan-badge {
        top: 16px;
        right: 16px;
        font-size: 10px;
        padding: 5px 10px;
        border-radius: 14px;
    }
    
    .popular-badge {
        gap: 2px;
    }
    
    .popular-badge i {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    #pricing {
        padding: 3rem 0;
    }
    
    .pricing-card:hover {
        transform: translateY(-4px);
    }
    
    .plan-title {
        font-size: 20px;
    }
    
    .pay-as-go-title {
        font-size: 24px;
    }
    
    .pricing-header {
        padding: 32px 24px 16px;
    }
    
    .features-section {
        padding: 0 24px 24px;
    }
    
    .pricing-footer {
        padding: 24px;
    }
    
    .plan-badge {
        top: 14px;
        right: 14px;
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 12px;
    }
    
    .popular-badge {
        gap: 2px;
    }
    
    .popular-badge i {
        font-size: 9px;
    }
    
    .section-divider {
        margin: 0 24px 20px;
    }
}

@media (max-width: 576px) {
    .pricing-header {
        padding: 24px 20px 16px;
        text-align: center;
    }
    
    .plan-title {
        font-size: 18px;
    }
    
    .pay-as-go-title {
        font-size: 20px;
    }
    
    .features-section {
        padding: 0 20px 20px;
    }
    
    .pricing-footer {
        padding: 20px;
    }
    
    .benefits-list li,
    .details-list li {
        font-size: 13px;
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .plan-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 12px;
        letter-spacing: 0.3px;
    }
    
    .popular-badge {
        gap: 2px;
    }
    
    .popular-badge i {
        font-size: 10px;
    }
    
    .referral-section {
        padding: 12px;
        margin-top: 6px;
    }
    
    .section-divider {
        margin: 0 20px 16px;
    }
    
    .details-section,
    .benefits-section {
        margin-bottom: 16px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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