:root {
    --primary-color: #8B5CF6;
    --primary-dark: #7C3AED;
    --primary-light: #A78BFA;
    --secondary-color: #3B82F6;
    --accent-color: #10B981;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --text-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white) !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--text-white) !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-white) !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.dropdown-menu {
    background-color: var(--bg-white);
    border: none;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    transform: translateX(4px);
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: var(--text-white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    color: var(--text-white);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    background: transparent;
}

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

.btn-light {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: none;
}

.btn-light:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

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

.btn-dark:hover {
    background-color: #111827;
    color: var(--text-white);
}

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

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

.btn-outline-primary.active {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.hero-section {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: var(--text-white);
    padding-top: 100px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="white" stop-opacity="0.1"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.hero-badge {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-intro-section {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.intro-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-scroll {
    animation: fadeInUp 0.8s ease-out 1s both;
    opacity: 0.7;
}

.hero-scroll i {
    animation: bounce 2s infinite;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.demo-section {
    background-color: var(--bg-light);
    position: relative;
    margin-top: -50px;
    z-index: 10;
}

.demo-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.service-tabs .btn {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

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

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    outline: none;
}

.form-select {
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    outline: none;
}

.features-intro {
    background-color: var(--bg-white);
    padding: 5rem 0;
}

.main-features {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.feature-form-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-form-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-list li {
    font-size: 1.1rem;
    font-weight: 500;
}

.services-section {
    background-color: var(--bg-white);
    padding: 5rem 0;
}

.service-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.phone-demo-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.phone-frame {
    width: 300px;
    height: 600px;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.audio-waves {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 60px;
}

.wave {
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    border-radius: 2px;
    animation: wave 1.5s ease-in-out infinite;
}

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

.wave:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes wave {
    0%, 100% {
        height: 20px;
    }
    50% {
        height: 40px;
    }
}

.cta-section {
    background-color: var(--bg-white);
    padding: 5rem 0;
}

.cta-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="b" cx="50%" cy="50%"><stop offset="0%" stop-color="white" stop-opacity="0.1"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><rect x="0" y="0" width="200" height="200" fill="url(%23b)"/><rect x="800" y="200" width="200" height="200" fill="url(%23b)"/><rect x="400" y="600" width="200" height="200" fill="url(%23b)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.avatar-group {
    display: flex;
    align-items: center;
}

.avatar {
    width: 50px;
    height: 50px;
    border: 3px solid var(--text-white);
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.features-grid {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.feature-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--primary-dark) !important;
}

.integration-section {
    background-color: var(--bg-white);
    padding: 5rem 0;
}

.integration-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.integration-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.integration-card:hover .integration-icon {
    transform: scale(1.1);
    color: var(--primary-dark) !important;
}

.code-example {
    border: 1px solid #374151;
    position: relative;
}

.code-tabs .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.code-tabs .btn.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
}

pre {
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    overflow-x: auto;
}

.dashboard-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.dashboard-mockup {
    border: 1px solid var(--border-color);
}

.mockup-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.metric-card {
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: scale(1.05);
}

.dashboard-feature {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dashboard-feature:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.dashboard-feature:hover .feature-icon {
    transform: scale(1.1);
    color: var(--primary-dark) !important;
}

.blog-section {
    background-color: var(--bg-white);
    padding: 5rem 0;
}

.blog-card {
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    transition: all 0.3s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-title {
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.faq-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.accordion-item {
    background-color: var(--bg-white);
    border-radius: 0.75rem !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.accordion-button {
    background-color: transparent;
    border: none;
    font-weight: 600;
    color: var(--text-dark);
    padding: 1.5rem;
}

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

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

.accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.footer {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    color: var(--text-white);
    padding: 3rem 0 1rem;
}

.footer-section h5 {
    color: var(--text-white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-link:hover {
    color: var(--text-white);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-hero {
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    color: var(--text-white);
    padding: 8rem 0 4rem;
}

.pricing-card {
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    background-color: var(--bg-white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: var(--text-white);
    padding: 0.5rem 2rem;
    border-radius: 0 0 1rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.feature-list-pricing {
    list-style: none;
    padding: 0;
}

.feature-list-pricing li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.feature-list-pricing li i {
    margin-right: 0.75rem;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-tabs .btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
}

.success-message {
    background-color: #D1FAE5;
    border: 1px solid #10B981;
    color: #065F46;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    display: none;
}

.error-message {
    background-color: #FEE2E2;
    border: 1px solid #EF4444;
    color: #991B1B;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    display: none;
}

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}
