/* Echoo Pro Landing Page Styles */
/* Professional Orange Theme with Multi-Font Typography */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap");

/* Orange Theme Variables */
:root {
    --echoo-orange: #e76f51;
    --echoo-orange-hover: #e3694a;
    --echoo-orange-light: #f0a896;
    --echoo-orange-dark: #d85a3f;
    
    /* Professional Colors */
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Orange Theme Classes */
.theme-orange {
    --bs-orange: var(--echoo-orange);
    --bs-orange-rgb: 231, 111, 81;
}

.text-orange { 
    color: var(--echoo-orange) !important; 
}

.bg-orange { 
    background-color: var(--echoo-orange) !important; 
}

/* Button Styles */
.btn {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-orange { 
    background-color: var(--echoo-orange);
    border-color: var(--echoo-orange);
    color: white;
}

.btn-orange:hover { 
    background-color: var(--echoo-orange-hover);
    border-color: var(--echoo-orange-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-orange { 
    color: var(--echoo-orange);
    border-color: var(--echoo-orange);
    background: transparent;
}

.btn-outline-orange:hover { 
    background-color: var(--echoo-orange);
    border-color: var(--echoo-orange);
    color: white;
}

.btn-outline-dark {
    color: var(--text-primary);
    border-color: var(--border-color);
    background: transparent;
}

.btn-outline-dark:hover {
    background-color: var(--text-primary);
    border-color: var(--text-primary);
    color: white;
}

.btn-light {
    background-color: white;
    border-color: white;
    color: var(--text-primary);
}

.btn-light:hover {
    background-color: var(--bg-secondary);
    border-color: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-fluid {
    width: 100%;
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.col-lg-6, .col-xl-5, .col-xl-7, .col-md-6, .col-lg-3, .col-lg-4, .col-lg-8, .col-md-3 {
    padding: 0 0.75rem;
    flex: 1;
}

.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-xl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }

.min-vh-100 { min-height: 100vh; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.text-center { text-align: center; }
.text-lg-end { text-align: right; }
.text-md-end { text-align: right; }
.mx-auto { margin-left: auto; margin-right: auto; }
.d-none { display: none; }
.d-lg-block { display: block; }
.d-flex { display: flex; }
.h-100 { height: 100%; }

/* Background Utilities */
.bg-light { background-color: var(--bg-light) !important; }
.bg-dark { background-color: #212529 !important; }
.text-white { color: white !important; }

/* Spacing Utilities */
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.px-lg-5 { padding-left: 3rem; padding-right: 3rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 1.5rem; }
.me-3 { margin-right: 1rem; }
.me-2 { margin-right: 0.5rem; }
.g-4 > * { padding: 0.75rem; }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 2rem 0;
    display: flex;
    align-items: center;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Brand Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    
}

.logo-icon i {
    font-size: 3rem;
    color: var(--echoo-orange);
}



.brand-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin: 0;
}

/* Hero Text */
.hero-headline {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 3rem;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Hero Actions */
.hero-actions {
    margin-bottom: 3rem;
}

.hero-actions .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    color: var(--text-secondary);
}

.trust-item i {
    font-size: 1.25rem;
}

/* Demo Preview */
.hero-visual {
    padding: 2rem;
}

.demo-preview {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.preview-header {
    background: var(--bg-secondary);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.preview-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.bg-danger { background-color: #dc3545; }
.bg-warning { background-color: #ffc107; }
.bg-success { background-color: #198754; }
.bg-info { background-color: #0dcaf0; }

.preview-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Chat Preview */
.chat-preview {
    padding: 1.5rem;
    background: #fff;
}

.message-bubble {
    margin-bottom: 1rem;
    max-width: 80%;
}

.message-bubble.sent {
    margin-left: auto;
    text-align: right;
}

.message-bubble.received {
    margin-right: auto;
}

.message-author {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--echoo-orange);
    margin-bottom: 0.25rem;
}

.message-text {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text-secondary);
    display: inline-block;
    max-width: 100%;
}

.message-bubble.sent .message-text {
    background: var(--echoo-orange);
    color: white;
}

.message-time {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.typing-dots {
    display: flex;
    gap: 0.25rem;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.typing-text {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Demo CTA */
.demo-cta {
    margin-top: 2rem;
    text-align: center;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--echoo-orange);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-description {
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Stats Section */
.stats-section {
    padding: 5rem 0;
}

.stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Footer */
.footer-section {
    padding: 2rem 0;
}

.footer-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-text {
    font-family: 'IBM Plex Sans', sans-serif;
    color: #adb5bd;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.footer-badges .badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
}

/* Animated Feature Demo Styles */
.feature-demo {
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.demo-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.demo-screen.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
}

.demo-header i {
    font-size: 1.25rem;
}

.member-count, .file-count {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.status-indicator {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
}

.status-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
}

.status-indicator.online::before {
    background: #28a745;
    animation: pulse 2s infinite;
}

.sync-indicator {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--echoo-orange);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.demo-messages {
    padding: 1.5rem;
    min-height: 200px;
}

.demo-message {
    margin-bottom: 1rem;
    animation: slideInUp 0.3s ease;
}

.demo-message.sent {
    text-align: right;
}

.demo-message .message-author {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--echoo-orange);
    margin-bottom: 0.25rem;
}

.demo-message .message-text {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-family: 'IBM Plex Sans', sans-serif;
    color: var(--text-secondary);
    display: inline-block;
    max-width: 80%;
}

.demo-message.sent .message-text {
    background: var(--echoo-orange);
    color: white;
}

.read-receipt {
    font-size: 0.75rem;
    color: var(--echoo-orange);
    margin-top: 0.25rem;
}

.live-timestamp {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-style: italic;
}

/* File Attachment Styles */
.file-attachment {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 250px;
}

.file-attachment i {
    font-size: 2rem;
    color: var(--echoo-orange);
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.file-size {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.file-action {
    color: var(--echoo-orange);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.file-action:hover {
    background: rgba(231, 111, 81, 0.1);
}

/* Upload Progress */
.upload-progress {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    max-width: 200px;
}

.upload-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.upload-fill {
    height: 100%;
    background: var(--echoo-orange);
    width: 87%;
    border-radius: 2px;
    animation: uploadProgress 3s ease-in-out infinite;
}

@keyframes uploadProgress {
    0% { width: 0%; }
    50% { width: 87%; }
    100% { width: 87%; }
}

.upload-progress span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Presence Indicators */
.presence-indicators {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.presence-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: relative;
}

.avatar::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
}

.avatar.online::after {
    background: #28a745;
}

.avatar.away::after {
    background: #ffc107;
}

.presence-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Demo Input */
.demo-input {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.typing-animation {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Demo Navigation */
.demo-navigation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--echoo-orange);
    transform: scale(1.5);
}

.nav-dot:hover {
    background: var(--echoo-orange);
    opacity: 0.7;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .col-xl-5 { flex: 0 0 50%; max-width: 50%; }
    .col-xl-7 { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 992px) {
    .d-lg-block { display: none !important; }
    .col-lg-6, .col-lg-3, .col-lg-4, .col-lg-8 { 
        flex: 0 0 100%; 
        max-width: 100%; 
        margin-bottom: 2rem;
    }
    
    .px-lg-5 { padding-left: 1rem; padding-right: 1rem; }
    .text-lg-end { text-align: center; }
    
    .hero-headline { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    
    .trust-indicators {
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .col-md-6, .col-md-3 { 
        flex: 0 0 100%; 
        max-width: 100%; 
        margin-bottom: 1.5rem;
    }
    
    .text-md-end { text-align: center; }
    
    .hero-headline { font-size: 2rem; }
    .brand-title { font-size: 2rem; }
    
    .hero-actions .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .trust-item {
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .col-6 { 
        flex: 0 0 100%; 
        max-width: 100%; 
        margin-bottom: 1rem;
    }
    
    .hero-section { padding: 1rem 0; }
    .py-5 { padding-top: 2rem; padding-bottom: 2rem; }
    
    .container, .container-fluid {
        padding: 0 0.75rem;
    }
    
    .feature-card, .demo-preview {
        margin-bottom: 1.5rem;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Loading State */
body.loading * {
    transition: none !important;
}

body.loaded .animate-on-scroll {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
