/* ==========================================================================
   #COMMON STYLES
   ========================================================================== */

:root {
    /* Colors */
    --primary: #4e54c8;
    --primary-light: #8f94fb;
    --white: #ffffff;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --text-color: #333;
    --text-light: #6c757d;
    
    /* Spacing */
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
    --primary-color: var(--primary);
    --primary-dark: #3f43b5;
}

/* ==========================================================================
   #HOME PAGE STYLES
   ========================================================================== */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero .badge {
    display: inline-block;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.hero .display-4 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

/* Stats Section */
.stats-section {
    margin-top: -40px;
    position: relative;
    z-index: 2;
    padding: 0 15px 30px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 15px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Avatar Group */
.avatar-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -10px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: #495057;
    position: relative;
    transition: var(--transition);
}

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

/* Clients Section */
.clients-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 0 -15px;
}

.client-logos img {
    max-width: 120px;
    height: auto;
    opacity: 0.7;
    transition: var(--transition);
    padding: 0 15px;
    filter: grayscale(100%);
}

.client-logos img:hover {
    opacity: 1;
    filter: grayscale(0);
}

/* Hero Image Animation */
.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

/* Base styles that apply across multiple pages */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.col-lg-6, .col-md-6, .col-12 {
    padding: 0 0.75rem;
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-6 {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-6 {
        width: 50%;
    }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.bg-light {
    background-color: var(--light-gray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    line-height: 1.5;
}

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

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

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

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

.btn-outline-white {
    background-color: transparent;
    border-color: white;
    color: white;
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   #BREADCRUMB
   ========================================================================== */
.breadcrumb-container {
    background-color: #f8fafc;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    display: inline-block;
    padding: 0 0.5rem;
    color: #94a3b8;
}

.breadcrumb-item a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb-item.active {
    color: #64748b;
}

/* ==========================================================================
   #PAGE HERO
   ========================================================================== */
.page-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.page-hero p.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   #SERVICE OVERVIEW
   ========================================================================== */
.service-page {
    padding: 3rem 0;
}

.service-overview {
    margin-bottom: 4rem;
}

.service-overview h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.service-overview p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.feature-list {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-item i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.service-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.service-image:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   #FEATURES SECTION
   ========================================================================== */
.features-section {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

/* ==========================================================================
   #TABS
   ========================================================================== */
.use-cases {
    padding: 4rem 0;
}

.tabs-header {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.tab-btn {
    padding: 0.5rem 1.25rem;
    background: none;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 500;
    color: #64748b;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

.tab-btn.active {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
    position: relative;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1.125rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ==========================================================================
   #PRICING
   ========================================================================== */
.pricing-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.pricing-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--primary-color);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.discount {
    color: var(--primary-color);
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e2e8f0;
}

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

.pricing-card.featured {
    border: 1px solid var(--primary-color);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-tag {
    position: absolute;
    top: -12px;
    right: 2rem;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.price {
    margin: 1rem 0;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    vertical-align: top;
    margin-right: 0.25rem;
}

.price .period {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.pricing-features {
    margin: 2rem 0;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    color: var(--text-light);
    border-bottom: 1px solid #f1f5f9;
}

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

.pricing-features i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.pricing-features i.icon-check {
    color: #10b981;
}

.pricing-features i.icon-x {
    color: #ef4444;
}

.pricing-features li.na {
    color: #cbd5e1;
    text-decoration: line-through;
}

.enterprise-solution {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px dashed #cbd5e1;
}

.enterprise-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.enterprise-content p {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
}

/* ==========================================================================
   #FAQ
   ========================================================================== */
.faq-section {
    padding: 4rem 0;
}

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

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: white;
    border: none;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
}

.faq-answer p {
    margin: 0 0 1.5rem;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.faq-cta p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

/* ==========================================================================
   #TRADITIONAL CHANNELS PAGE
   ========================================================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.page-hero .lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Services Navigation */
.services-nav {
    padding: 3rem 0;
    background-color: var(--white);
}

.services-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    display: block;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Service Sections */
.service-section {
    padding: 5rem 0;
}

.service-section.bg-light {
    background-color: var(--light-gray);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 2rem;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Responsive Adjustments */
/* ==========================================================================
   #RESPONSIVE STYLES
   ========================================================================== */

/* Homepage Specific Responsive Styles */
@media (max-width: 1199px) {
    .hero .display-4 {
        font-size: 2.75rem;
    }
    
    .hero .lead {
        font-size: 1.15rem;
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero .display-4 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .avatar-group {
        justify-content: center;
    }
    
    .col-md-3 {
        width: 50%;
    }
    
    .hero-image {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero .display-4 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .col-6, .col-md-3, .col-lg-6 {
        width: 100%;
    }
    
    .client-logos {
        gap: 15px;
    }
    
    .client-logos img {
        max-width: 100px;
        padding: 0 10px;
    }
}

@media (max-width: 1024px) {
    .page-hero {
        padding: 5rem 0 3rem;
    }
    
    .page-hero h1 {
        font-size: 2.25rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 4rem 0 2.5rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero .lead {
        font-size: 1.125rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .services-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .cta-banner {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .services-nav-grid {
        grid-template-columns: 1fr;
    }
    
    .page-hero h1 {
        font-size: 1.75rem;
    }
    
    .page-hero .lead {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.375rem;
    }
    
    .cta-banner h2 {
        font-size: 1.5rem;
    }
    
    .cta-banner p {
        font-size: 1rem;
    }
}

/* Animation for scroll-triggered elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-section {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.service-section:nth-child(2) { animation-delay: 0.1s; }
.service-section:nth-child(3) { animation-delay: 0.2s; }
.service-section:nth-child(4) { animation-delay: 0.3s; }
.service-section:nth-child(5) { animation-delay: 0.4s; }