:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --secondary-color: #00B377;
    --accent-color: #FF9500;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.lang-switch a {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
}

.lang-switch a::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0ff 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image:
        radial-gradient(circle at 20% 30%, var(--primary-color) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--secondary-color) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

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

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat span {
    font-size: 14px;
    color: var(--text-medium);
}

/* Phone Mockup */
.phone-mockup {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    animation: float 3s ease-in-out infinite;
}

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

.phone-screen {
    background: #1a1a1a;
    border-radius: 35px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
}

.incoming-call {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 28px;
    padding: 40px 20px;
    color: white;
    text-align: center;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.call-status {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.caller-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.caller-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
}

.caller-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
    transition: all 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

.caller-info p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 4px;
    transition: all 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
}

.caller-name {
    transition: opacity 0.5s ease, transform 0.5s ease !important;
}

.caller-department {
    transition: opacity 0.5s ease, transform 0.5s ease !important;
}

.caller-department {
    font-size: 15px;
    opacity: 0.85;
    margin-top: 8px;
}

.phone-number {
    font-size: 18px;
    margin-top: 12px;
    opacity: 1;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.5s ease;
}

.call-actions {
    display: flex;
    gap: 50px;
    margin-top: 25px;
}

.call-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.call-button svg {
    width: 24px;
    height: 24px;
}

.call-button.decline {
    background: #FF3B30;
}

.call-button.accept {
    background: #34C759;
}

.call-button:hover {
    transform: scale(1.1);
}

/* Animation states */
.caller-avatar.resolving {
    background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 100%);
}

.phone-number.resolving {
    opacity: 0.5;
    font-size: 18px;
}

.caller-name.resolved {
    animation: fadeInUp 0.5s ease forwards;
}

.caller-department.resolved {
    animation: fadeInUp 0.5s ease 0.2s forwards;
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

.steps {
    display: grid;
    gap: 40px;
}

.step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step:hover {
    box-shadow: var(--shadow-md);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.step-content h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-content > p {
    color: var(--text-medium);
    margin-bottom: 16px;
    font-size: 16px;
}

.step-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-features li {
    color: var(--text-medium);
    padding-left: 24px;
    position: relative;
}

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

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: white;
}

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

.benefit-card {
    padding: 32px;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
    text-align: center;
}

.benefit-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.pricing-header p {
    color: var(--text-medium);
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.period {
    font-size: 14px;
    color: var(--text-medium);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--bg-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

/* Tech Stack */
.tech-stack {
    padding: 80px 0;
    background: white;
}

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

.tech-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-light);
    border-radius: 12px;
}

.tech-item h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.tech-item p {
    font-size: 13px;
    color: var(--text-medium);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-info > p {
    color: var(--text-medium);
    margin-bottom: 32px;
    font-size: 16px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 18px;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-item p {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
}

.contact-form .btn {
    justify-self: start;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-column h4 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .features-grid,
    .benefits-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

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

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        padding: 16px 24px;
    }

    .hero-visual {
        order: -1;
        max-width: 240px;
        margin: 0 auto;
    }

    .phone-mockup {
        max-width: 240px;
    }

    .incoming-call {
        padding: 30px 16px;
        min-height: 400px;
    }

    .caller-avatar {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }

    .caller-info h3 {
        font-size: 20px;
    }

    .caller-info p {
        font-size: 13px;
    }

    .phone-number {
        font-size: 15px;
    }

    .call-actions {
        gap: 35px;
    }

    .call-button {
        width: 50px;
        height: 50px;
    }

    .call-button svg {
        width: 20px;
        height: 20px;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .stat {
        min-width: 120px;
        text-align: center;
    }

    .features-grid,
    .benefits-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 16px;
    }

    .feature-card,
    .benefit-card {
        padding: 24px;
    }

    .step {
        flex-direction: column;
        padding: 24px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

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

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 40px 24px;
        gap: 40px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 16px;
    }
}
