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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0 20px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 50px;
    position: relative;
    z-index: 1001;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#iq2call-logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

#iq2call-logo:hover {
    transform: scale(1.05);
}

#iqstel-logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

#iqstel-logo:hover {
    transform: scale(1.05);
}

#iq2call-logo-footer {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

/* Keep iqstel-logo-about for index.html if it exists there */
#iqstel-logo-about {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

.nasdaq-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.nasdaq-link:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

.nav-menu a.active {
    color: #667eea;
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1px;
}

.nav-cta {
    display: flex;
    gap: 1rem;
}

/* Hamburger Menu Styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.1rem;
    color: #888;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-style: italic;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Zoom-like Agents Container */
.agents-container {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    width: 100%;
    position: relative;
    transform: none !important;
    box-sizing: border-box;
}

/* Demo Banner Styles */
.demo-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.demo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    animation: shimmer-demo 3s linear infinite;
}

@keyframes shimmer-demo {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

.demo-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.demo-text {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    line-height: 1.4;
}

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

.agent-card {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease;
}

.agent-card:hover {
    transform: scale(1.05);
    z-index: 10;
}

.agent-video {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.agent-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

.agent-avatar {
    font-size: 3rem;
    color: white;
    z-index: 2;
    position: relative;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.agent-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.agent-status {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 3;
}

.agent-status.online {
    background: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.agent-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px 15px 15px;
    color: white;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.agent-details {
    flex: 1;
    text-align: left;
}

.agent-name {
    display: block;
    font-weight: 400;
    font-size: 0.7rem;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.7);
}

.agent-role {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.agent-emotion {
    text-align: center;
    padding: 0.3rem 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    min-width: 60px;
}

.agent-emotion .metric-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    margin-bottom: 0.1rem;
}

.agent-emotion .metric-value.sentiment {
    background-color: #00ff88 !important;
    color: #000000 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border: 2px solid #ffffff !important;
    display: inline-block !important;
    text-align: center !important;
    min-width: 45px !important;
    line-height: 1 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    /* Override any gradient text effects */
    -webkit-text-fill-color: #000000 !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
}

.agent-emotion .metric-value.sentiment.low {
    background-color: #ff4757 !important;
    color: #ffffff !important;
    animation: pulse-warning 2s infinite !important;
    /* Override any gradient text effects */
    -webkit-text-fill-color: #ffffff !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
}

@keyframes pulse-warning {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05);
    }
}

/* Zoom-like Controls */
.call-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    margin-top: 32px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.control-btn.end-call {
    background: #ff4757;
}

.control-btn.end-call:hover {
    background: #ff3742;
}

.control-btn span {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 20px 20px 60px;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.feature-card.featured-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.02);
}

.feature-card.featured-highlight .feature-icon {
    background: rgba(255, 255, 255, 0.2);
}

.feature-card.featured-highlight h3,
.feature-card.featured-highlight p {
    color: white;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: white;
    color: #667eea;
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Pricing Section */
.pricing {
    padding: 100px 20px;
    background: #f8f9fa;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: 3px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    /* Remove permanent featured styling - will only show when selected */
}

.pricing-card.featured:hover {
    transform: translateY(-10px);
}

.pricing-card.selected {
    border: 3px solid #667eea;
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.pricing-card.selected .pricing-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

.pricing-header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.price {
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    color: #667eea;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.period {
    font-size: 1.2rem;
    color: #666;
}

.plan-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.hours-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.hours-info-text {
    color: #666;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.pricing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 2.5rem 2.5rem;
}

.features-section {
    flex: 1;
    margin-bottom: 2rem;
}

.features-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-align: left;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.pricing-features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.pricing-features i {
    color: #00ff88;
    font-size: 0.9rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.pricing-cta {
    margin-top: auto;
}

.pricing-cta .btn-large {
    width: 100%;
    padding: 16px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-cta .btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Plan selection animations */
.pricing-card {
    animation: cardEntrance 0.6s ease-out;
    animation-fill-mode: both;
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

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

/* Enhanced badge styling */
.pricing-badge {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.pricing-card:hover .pricing-badge {
    transform: translateX(-50%) scale(1.05);
}

/* Feature list enhancements */
.pricing-features li {
    transition: all 0.2s ease;
}

.pricing-features li:hover {
    background: rgba(102, 126, 234, 0.05);
    padding-left: 0.5rem;
    border-radius: 6px;
    margin: 0 -0.5rem;
}

/* Pricing Note */
.pricing-note {
    margin-top: 3rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    animation: shimmer-line 3s infinite;
}

@keyframes shimmer-line {
    0% { left: -100%; }
    100% { left: 100%; }
}

.pricing-note p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #475569;
    margin: 0;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-note strong {
    color: #1e293b;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.pricing-note strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.3;
}

/* About Section */
.about {
    padding: 100px 20px;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

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

.about-visual {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.about-visual i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.about-visual h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.powered-by-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    text-align: center;
    margin-bottom: 1rem;
}

.about-visual p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Integrations Section */
.integrations {
    padding: 100px 20px;
    background: #f8f9fa;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.integration-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.integration-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.integration-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.integration-card p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer Updates */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.company-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
}

.company-info p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Legal Pages Styles */
.legal-content {
    padding: 120px 20px 60px;
    background: white;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: #666;
    font-style: italic;
    font-size: 1rem;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #444;
}

.legal-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.legal-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.legal-text ul {
    margin: 1rem 0 1.5rem 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin: 1.5rem 0;
}

.contact-info p {
    margin: 0;
    line-height: 1.6;
}

/* Navigation brand link styling */
.nav-brand a {
    text-decoration: none;
}

.nav-brand a h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Video Button Icon Animation */
.btn-primary i {
    transition: transform 0.3s ease;
    margin-right: 4px;
}

.btn-primary:hover i {
    transform: scale(1.2);
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    background-color: #ffffff;
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.video-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.video-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
    position: relative;
}

.video-modal-close {
    font-size: 1.8rem;
    font-weight: 300;
    cursor: pointer;
    color: white;
    opacity: 0.9;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
    position: relative;
}

.video-modal-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-modal-body {
    padding: 0;
    background: #000;
    position: relative;
    aspect-ratio: 16/9;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 20px 20px;
}

/* Mobile responsiveness for video modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        margin: 1% auto;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .video-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .video-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .btn-primary i {
        font-size: 0.85rem;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #ccc;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
    }
    
    .nav {
        position: relative;
    }
    
    .nav-brand {
        z-index: 1001;
    }
    
    /* Mobile video button positioning */
    .nav-video-mobile {
        display: flex !important;
        margin-right: 15px;
        font-size: 0.9rem;
        padding: 8px 16px;
        z-index: 1002;
    }
    
    .nav-video-mobile i {
        margin-right: 5px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 0.5rem 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        text-align: center;
        padding: 0;
        width: 100%;
    }
    
    /* Ensure hamburger menu is always clickable */
    .nav-toggle {
        margin-left: 0;
        margin-right: 0;
    }
    
    /* Ensure proper spacing for mobile */
    .nav-brand {
        flex: 1;
        max-width: calc(100% - 140px); /* Increased to accommodate video button */
    }

    .nav-menu a {
        display: inline-block;
        padding: 0.5rem 1.5rem;
        font-size: 1.05rem;
        color: #333;
        text-decoration: none;
        border-radius: 8px;
        margin: 0.25rem auto;
        width: auto;
        min-width: 100px;
        max-width: 220px;
        text-align: center;
        transition: background 0.3s, color 0.3s;
    }

    .nav-menu a:hover {
        background-color: rgba(102, 126, 234, 0.1);
        color: #667eea;
    }

    /* Add CTA buttons to the hamburger menu */
    .nav-menu.active::after {
        content: '';
        display: block;
        height: 1px;
        background: rgba(0, 0, 0, 0.1);
        margin: 0.5rem 1rem;
    }

    .nav-cta {
        display: none !important;
    }
    .nav-cta-mobile {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin: 0.5rem 0 0 0;
    }
    .nav-cta-mobile button {
        display: inline-block;
        width: auto !important;
        min-width: 100px;
        max-width: 220px;
        padding: 0.5rem 1.5rem;
        font-size: 1.05rem;
        border-radius: 8px;
        text-align: center;
        margin: 0.25rem auto;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #fff;
        border: none;
        font-weight: 600;
        transition: background 0.3s, color 0.3s;
    }
    .nav-cta-mobile button:hover {
        background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
        color: #fff;
    }

    /* Mobile layout fixes */
    .hero {
        padding: 80px 15px 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
    }

    .agents-container {
        max-width: 100%;
        padding: 20px;
        margin: 0 auto;
    }

    .agents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .agent-card {
        aspect-ratio: 1/1;
    }

    .agent-info {
        padding: 15px 10px 10px;
    }

    .agent-name {
        font-size: 0.65rem;
    }

    .agent-role {
        font-size: 0.85rem;
    }

    .agent-emotion {
        min-width: 50px;
        padding: 0.25rem 0.4rem;
    }

    .agent-emotion .metric-value.sentiment {
        font-size: 14px !important;
        padding: 6px 8px !important;
        min-width: 35px !important;
    }

    .call-controls {
        padding: 15px;
        margin-top: 20px;
        gap: 10px;
    }

    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Section padding adjustments */
    .features,
    .pricing,
    .about,
    .contact,
    .ai-supervision {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-card.featured-highlight {
        transform: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .footer {
        padding: 40px 15px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cta-section {
        padding: 60px 15px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }
}

@media (min-width: 769px) {
    .nav-cta-mobile {
        display: none !important;
    }
    .nav-cta {
        display: flex !important;
    }
    .nav-video-mobile {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0 8px;
        height: 48px;
    }
    .nav {
        height: 48px;
        padding: 0;
    }
    .nav-brand {
        gap: 0.5rem;
        height: 36px;
    }
    #iq2call-logo,
    #iqstel-logo {
        height: 32px !important;
        max-height: 32px !important;
    }
    .nav-video-mobile {
        font-size: 0.8rem;
        padding: 4px 8px;
        height: 32px;
        align-items: center;
    }
    .nav-toggle {
        width: 32px;
        height: 32px;
        align-items: center;
    }
    .nav {
        flex-wrap: nowrap;
    }

    /* Portrait orientation specific fixes */
    .hero {
        padding: 60px 10px 30px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }

    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    .agents-container {
        padding: 15px;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .agents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
        max-width: 100%;
    }

    .agent-card {
        aspect-ratio: 1/1;
    }

    .agent-info {
        padding: 10px 8px 8px;
    }

    .agent-name {
        font-size: 0.6rem;
        margin-bottom: 2px;
    }

    .agent-role {
        font-size: 0.75rem;
    }

    .agent-emotion {
        min-width: 40px;
        padding: 0.2rem 0.3rem;
    }

    .agent-emotion .metric-label {
        font-size: 0.65rem;
    }

    .agent-emotion .metric-value.sentiment {
        font-size: 12px !important;
        padding: 4px 6px !important;
        min-width: 30px !important;
    }

    .call-controls {
        padding: 10px;
        margin-top: 15px;
        gap: 8px;
    }

    .control-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .control-btn span {
        width: 14px;
        height: 14px;
        font-size: 0.6rem;
        top: -3px;
        right: -3px;
    }

    /* Section adjustments for portrait */
    .features,
    .pricing,
    .about,
    .contact,
    .ai-supervision {
        padding: 40px 10px;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1.5rem 1rem;
    }

    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .pricing-card {
        margin-bottom: 1rem;
    }

    .pricing-header {
        padding: 2rem 1.5rem 1rem;
    }

    .pricing-header h3 {
        font-size: 1.4rem;
    }

    .amount {
        font-size: 2.2rem;
    }

    .pricing-content {
        padding: 1rem 1.5rem 2rem;
    }

    .pricing-features li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .footer {
        padding: 30px 10px 15px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .footer-column ul li {
        margin-bottom: 0.4rem;
    }

    .footer-column ul li a {
        font-size: 0.9rem;
    }

    .cta-section {
        padding: 40px 10px;
    }

    .cta-section h2 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    .cta-section p {
        font-size: 1rem;
        line-height: 1.4;
    }

    .btn-large {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Extra small screens - narrow portrait orientation */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .agents-container {
        padding: 12px;
    }

    .demo-banner {
        padding: 12px 16px;
        margin-bottom: 16px;
    }

    .demo-text {
        font-size: 0.85rem;
    }

    .agent-info {
        padding: 8px 6px 6px;
    }

    .agent-name {
        font-size: 0.55rem;
    }

    .agent-role {
        font-size: 0.7rem;
    }

    .agent-emotion {
        min-width: 35px;
        padding: 0.15rem 0.25rem;
    }

    .agent-emotion .metric-label {
        font-size: 0.6rem;
    }

    .agent-emotion .metric-value.sentiment {
        font-size: 10px !important;
        padding: 3px 5px !important;
        min-width: 25px !important;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .feature-card {
        padding: 1.25rem 0.8rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .pricing-header {
        padding: 1.5rem 1rem 1rem;
    }

    .pricing-content {
        padding: 1rem 1rem 1.5rem;
    }

    .contact-form {
        padding: 1.25rem 0.8rem;
    }

    .footer {
        padding: 25px 8px 12px;
    }

    .footer-brand img {
        height: 50px;
    }

    .cta-section h2 {
        font-size: 1.4rem;
    }

    .cta-section p {
        font-size: 0.95rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for agents */
.agent-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Agent Modal Styles */
.agent-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #ffffff;
    margin: 1% auto;
    padding: 0;
    border-radius: 20px;
    width: 95%;
    max-width: 1200px;
    max-height: 95vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
    position: relative;
}

.modal-close {
    font-size: 1.8rem;
    font-weight: 300;
    cursor: pointer;
    color: white;
    opacity: 0.9;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
    position: relative;
}

.modal-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 2.5rem;
    max-height: calc(95vh - 120px);
    overflow-y: auto;
    background: #fafbfc;
}

/* Enhanced Call Info Section */
.call-info {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid #e8ecf4;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.08);
}

.call-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f3f7;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2d3748;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    position: relative;
}

.status-dot.online {
    background: #00d084;
    box-shadow: 0 0 0 3px rgba(0, 208, 132, 0.2);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { 
        box-shadow: 0 0 0 3px rgba(0, 208, 132, 0.2);
    }
    50% { 
        box-shadow: 0 0 0 6px rgba(0, 208, 132, 0.1);
    }
}

.call-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    font-weight: 600;
    font-size: 1rem;
    background: rgba(102, 126, 234, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.call-duration i {
    color: #667eea;
}

.call-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.caller-details {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e8ecf4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.caller-details h4 {
    margin-bottom: 1.25rem;
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 2px solid #f0f3f7;
    padding-bottom: 0.75rem;
}

.caller-details p {
    margin-bottom: 0.75rem;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    justify-content: space-between;
}

.caller-details p strong {
    color: #2d3748;
    font-weight: 600;
    min-width: 100px;
}

.call-metrics {
    display: flex;
    gap: 2rem;
    justify-content: center;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e8ecf4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.metric {
    text-align: center;
    position: relative;
}

.metric::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: #e8ecf4;
}

.metric:last-child::after {
    display: none;
}

.metric-value:not(.sentiment) {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Transcription Section */
.transcription-section {
    background: white;
    border-radius: 16px;
    border: 1px solid #e8ecf4;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-bottom: 2px solid #f0f3f7;
}

.section-header h4 {
    margin: 0;
    color: #2d3748;
    font-size: 1.3rem;
    font-weight: 700;
}

.supervision-controls {
    display: flex;
    gap: 0.75rem;
}

.supervision-btn {
    padding: 0.75rem 1.25rem;
    border: 2px solid #e8ecf4;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #4a5568;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.supervision-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
    color: #667eea;
}

.supervision-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.supervision-btn.escalate {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border-color: #ff6b6b;
}

.supervision-btn.escalate:hover {
    background: linear-gradient(135deg, #ff5252 0%, #d63031 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    transform: translateY(-2px);
}

.transcription-container {
    padding: 2rem;
    max-height: 400px;
    overflow-y: auto;
    background: #fafbfc;
}

.transcript-line {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.transcript-line:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.transcript-line.ai {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-left: 4px solid #667eea;
    border-color: rgba(102, 126, 234, 0.2);
}

.transcript-line.customer {
    background: linear-gradient(135deg, rgba(74, 85, 104, 0.06) 0%, rgba(45, 55, 72, 0.03) 100%);
    border-left: 4px solid #718096;
    border-color: rgba(113, 128, 150, 0.2);
}

.transcript-line.guided {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.transcript-line.suggested {
    background: linear-gradient(135deg, rgba(255, 165, 2, 0.12) 0%, rgba(255, 149, 0, 0.08) 100%);
    border-left: 4px solid #ffa502;
    box-shadow: 0 2px 8px rgba(255, 165, 2, 0.15);
}

.transcript-speaker {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.transcript-speaker.ai {
    color: #667eea;
}

.transcript-speaker.customer {
    color: #4a5568;
}

.transcript-text {
    color: #2d3748;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
}

.transcript-timestamp {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 0.75rem;
    color: #a0aec0;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.guided-indicator,
.suggested-indicator {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
}

.guided-indicator {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
}

.suggested-indicator {
    background: rgba(255, 165, 2, 0.15);
    color: #ffa502;
}

/* Enhanced AI Guidance Panel */
.ai-guidance-panel {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 2px solid #667eea;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1.5rem;
    animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.guidance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e8ecf4;
}

.guidance-header h5 {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.guidance-status {
    background: linear-gradient(135deg, #00d084 0%, #00b894 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 208, 132, 0.3);
}

.guidance-input {
    margin-bottom: 1.5rem;
}

.guidance-input textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e8ecf4;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
    background: white;
    color: #2d3748;
    line-height: 1.6;
}

.guidance-input textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #fafbfc;
}

.guidance-input textarea::placeholder {
    color: #a0aec0;
    font-style: italic;
}

.guidance-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.btn-guidance {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-guidance.send {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-guidance.send:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-guidance.suggest {
    background: linear-gradient(135deg, #ffa502 0%, #ff9500 100%);
    color: white;
}

.btn-guidance.suggest:hover {
    background: linear-gradient(135deg, #ff9500 0%, #e67e22 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 165, 2, 0.3);
}

.guidance-history {
    max-height: 250px;
    overflow-y: auto;
    border: 2px solid #e8ecf4;
    border-radius: 12px;
    padding: 1rem;
    background: white;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.guidance-item {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    transition: all 0.3s ease;
}

.guidance-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.guidance-item.suggestion {
    border-left-color: #ffa502;
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
}

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

.guidance-timestamp {
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.guidance-text {
    font-size: 0.9rem;
    color: #2d3748;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-weight: 500;
}

.guidance-status-indicator {
    font-size: 0.8rem;
    color: #667eea;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Enhanced Agent Insights */
.agent-insights {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid #e8ecf4;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.agent-insights h4 {
    margin-bottom: 1.25rem;
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 2px solid #f0f3f7;
    padding-bottom: 0.5rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    flex: 1;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e8ecf4;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.insight-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.insight-item i {
    color: #667eea;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.insight-item span {
    color: #4a5568;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

.insight-item strong {
    color: #2d3748;
    font-weight: 700;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 98%;
        margin: 1% auto;
        max-height: 98vh;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .call-info {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .call-main-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .call-metrics {
        justify-content: center;
        gap: 1.5rem;
    }

    .supervision-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .supervision-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

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

    .agent-insights {
        padding: 1.25rem;
    }

    .agent-insights h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .insight-item {
        padding: 0.6rem;
        gap: 0.6rem;
    }

    .insight-item span {
        font-size: 0.8rem;
    }

    .insight-item i {
        font-size: 1rem;
        width: 18px;
    }

    .transcription-container {
        padding: 1.5rem;
    }

    .ai-guidance-panel {
        padding: 1.5rem;
    }

    .guidance-actions {
        flex-direction: column;
    }

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

/* AI Supervision Features Section */
.ai-supervision {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
}

.supervision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.supervision-feature {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.supervision-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.12);
}

.supervision-feature.whisper-highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.02);
}

.supervision-feature.whisper-highlight:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.25);
}

.supervision-feature.whisper-highlight .feature-icon-large {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.supervision-feature.whisper-highlight h3,
.supervision-feature.whisper-highlight p {
    color: white;
}

.feature-icon-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.supervision-feature h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.supervision-feature p {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.whisper-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.flow-number {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.flow-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.flow-arrow {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin: 0 5px;
}

.supervision-cta {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.3);
}

.supervision-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.supervision-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.supervision-cta .btn-primary {
    background: white;
    color: #667eea;
}

.supervision-cta .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Mobile responsiveness for AI supervision section */
@media (max-width: 768px) {
    .ai-supervision {
        padding: 60px 0;
    }
    
    .supervision-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .supervision-feature {
        padding: 30px 20px;
    }
    
    .supervision-feature.whisper-highlight {
        transform: none;
    }
    
    .supervision-feature.whisper-highlight:hover {
        transform: translateY(-5px);
    }
    
    .feature-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .supervision-feature h3 {
        font-size: 1.2rem;
    }
    
    .supervision-feature p {
        font-size: 0.9rem;
    }
    
    .whisper-flow {
        gap: 6px;
        margin-top: 15px;
    }
    
    .flow-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
    
    .flow-text {
        font-size: 0.75rem;
    }
    
    .flow-arrow {
        font-size: 1rem;
        margin: 0 3px;
    }
    
    .supervision-cta h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .about .container,
    .contact .container,
    .footer .container {
        max-width: 100vw !important;
        width: 100vw !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .about-content,
    .contact-content,
    .footer-content,
    .footer-links {
        max-width: 100vw !important;
        width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 10px !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .about-content {
        padding-right: 20px !important;
    }
    .contact-content {
        padding-right: 20px !important;
    }
    .about-visual,
    .contact-form {
        padding: 1rem !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .about .container,
    .contact .container,
    .footer .container,
    .about-content,
    .contact-content,
    .footer-content,
    .footer-links {
        max-width: 100vw !important;
        width: 100vw !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 5px !important;
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
    .about-content {
        padding-right: 15px !important;
    }
    .contact-content {
        padding-right: 15px !important;
    }
    .about-visual,
    .contact-form {
        padding: 0.5rem !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
} 