/* 247Ease Website Styles */

/* ========================
   CSS VARIABLES & THEME
   ======================== */
:root {
    --primary: #0d7377;
    --primary-dark: #0a5a5d;
    --primary-light: #0d737720;
    --secondary: #323232;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --purple: #9370db;
    --cyan: #00b4d8;
    --teal: #20c997;
    --dark: #212529;
    --light: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #0d7377 0%, #14919b 100%);
    --gradient-text: linear-gradient(135deg, #0d7377 0%, #14919b 50%, #0d7377 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

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

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-teal {
    background-color: #20c997 !important;
}

/* ========================
   HERO SECTION
   ======================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f8f8 50%, #f0fffe 100%);
    min-height: 100vh;
    overflow: hidden;
}

.hero-gradient-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(13, 115, 119, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-chat-wrapper {
    perspective: 1000px;
}

.hero-chat-window {
    background: #1a1a2e;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-chat-window:hover {
    transform: rotateY(0) rotateX(0);
}

.chat-win-header {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-avatar-lg {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.online-blink {
    width: 8px;
    height: 8px;
    background: #00e676;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

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

.chat-win-body {
    padding: 20px;
    height: 350px;
    overflow-y: auto;
    background: #0f0f1a;
}

.message {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}

.msg-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: 15px;
    max-width: 85%;
}

.bot-bubble {
    background: #16213e;
    color: #fff;
    border-bottom-left-radius: 4px;
}

.user-bubble {
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    margin-left: auto;
}

.user-msg {
    flex-direction: row-reverse;
}

.msg-time {
    font-size: 10px;
    opacity: 0.6;
    margin-top: 5px;
    display: block;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.service-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.action-btns {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.success-box {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.3);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-win-footer {
    padding: 15px 20px;
    background: #16213e;
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-voice, .btn-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-voice {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-send {
    background: var(--primary);
    color: #fff;
}

.btn-voice:hover, .btn-send:hover {
    transform: scale(1.1);
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 10px 20px;
    color: #fff;
    outline: none;
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* ========================
   FEATURE CARDS
   ======================== */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.feature-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

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

/* ========================
   CHANNEL CARDS
   ======================== */
.channel-card {
    border-radius: 16px;
    transition: all 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.channel-icon-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

/* ========================
   PRICING CARDS
   ======================== */
.pricing-card {
    border-radius: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

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

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
}

.price-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
}

.price-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.price-period {
    font-size: 16px;
    color: #6c757d;
    margin-left: 5px;
}

.feature-list li {
    color: #495057;
}

.feature-list li.text-muted {
    color: #adb5bd !important;
}

/* ========================
   TESTIMONIAL CARDS
   ======================== */
.testimonial-card {
    border-radius: 16px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ========================
   SETUP STEPS
   ======================== */
.setup-step {
    padding: 30px;
}

.step-num {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-illustration {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.il-box {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.il-box-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.code-preview {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

/* ========================
   CHANNEL INTEGRATION
   ======================== */
.channel-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.channel-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.channel-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.multi-channel-visual {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.channel-orbit {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: var(--shadow);
}

.orbit-1 { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-2 { top: 50%; right: 0; transform: translateY(-50%); }
.orbit-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.orbit-4 { top: 50%; left: 0; transform: translateY(-50%); }

/* ========================
   INTEGRATION CARDS
   ======================== */
.integration-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.integration-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* ========================
   SECTION STYLES
   ======================== */
.section {
    padding: 80px 0;
}

.section-title {
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6c757d;
    margin-bottom: 3rem;
}

/* ========================
   ACCORDION OVERRIDES
   ======================== */
.accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem var(--primary-light);
}

/* ========================
   RESPONSIVE ADJUSTMENTS
   ======================== */
@media (max-width: 991px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .hero-chat-window {
        transform: none;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 50px 0;
    }
    
    .hero-section {
        min-height: auto;
        padding: 80px 0;
    }
    
    .chat-win-body {
        height: 250px;
    }
}

/* ========================
   ANIMATIONS
   ======================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ========================
   UTILITY CLASSES
   ======================== */
.min-vh-100 {
    min-height: 100vh;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.gradient-primary {
    background: linear-gradient(135deg, #0d7377 0%, #14919b 100%);
}
