/**
 * Xeora Homepage Modern Styles - Split Design
 * Full-screen, animated, modern design with Business/Customer split
 * 
 * @package Xeora
 * @subpackage Assets/CSS
 */

/* ==========================================
   RESET & BASE
========================================== */
.xeora-homepage-body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.xeora-homepage-wrapper {
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ==========================================
   HERO SPLIT SCREEN
========================================== */
.xeora-hero-split {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    overflow: hidden;
}

.xeora-split-side {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    transition: all 0.5s ease;
}

.xeora-split-side:hover {
    transform: scale(1.02);
}

.xeora-split-business {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.xeora-split-customer {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.xeora-split-bg-business,
.xeora-split-bg-customer {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,.1) 0%, transparent 50%);
    animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

.xeora-split-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    color: white;
    text-align: center;
}

.xeora-split-icon {
    font-size: 80px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.2));
}

.xeora-split-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.xeora-split-desc {
    font-size: 18px;
    margin: 0 0 32px 0;
    opacity: 0.95;
    line-height: 1.6;
}

.xeora-split-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    text-align: left;
}

.xeora-split-features li {
    font-size: 16px;
    margin-bottom: 12px;
    padding-left: 8px;
}

.xeora-btn-split {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: white;
    color: #1a202c;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.xeora-btn-split:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.xeora-btn-business {
    color: #667eea;
}

.xeora-btn-customer {
    color: #f5576c;
}

.xeora-split-divider {
    width: 80px;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.xeora-split-divider::before,
.xeora-split-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
}

.xeora-split-divider::before {
    top: 0;
}

.xeora-split-divider::after {
    bottom: 0;
}

.xeora-split-logo {
    font-size: 24px;
    font-weight: 900;
    color: white;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 4px;
}

/* ==========================================
   BADGE
========================================== */
.xeora-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* ==========================================
   SECTIONS BASE
========================================== */
.xeora-section {
    padding: 120px 20px;
    position: relative;
}

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

.xeora-section-header {
    text-align: center;
    margin-bottom: 80px;
}

.xeora-section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin: 0 0 16px 0;
    color: #1a202c;
}

.xeora-section-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: #718096;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ==========================================
   CUSTOMER BENEFITS SECTION
========================================== */
.xeora-customer-benefits {
    background: linear-gradient(180deg, #fef5ff 0%, white 100%);
}

.xeora-customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.xeora-customer-card {
    padding: 40px 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #fce7f3;
}

.xeora-customer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(245, 87, 108, 0.2);
    border-color: #f5576c;
}

.xeora-customer-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.xeora-customer-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #1a202c;
}

.xeora-customer-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #718096;
    margin: 0;
}

/* Customer Journey */
.xeora-customer-journey {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 24px;
    padding: 60px 40px;
    color: white;
}

.xeora-journey-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 48px 0;
}

.xeora-journey-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.xeora-journey-step {
    text-align: center;
    max-width: 200px;
}

.xeora-journey-number {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    margin: 0 auto 16px;
}

.xeora-journey-step h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.xeora-journey-step p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.xeora-journey-arrow {
    font-size: 32px;
    opacity: 0.7;
}

/* ==========================================
   BUSINESS FEATURES SECTION
========================================== */
.xeora-business-features {
    background: linear-gradient(180deg, #f0f4ff 0%, white 100%);
}

.xeora-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.xeora-module-card {
    padding: 40px 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.xeora-module-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.xeora-module-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.xeora-module-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: #1a202c;
}

.xeora-module-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xeora-module-card li {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

/* CHANGED: Updated check icon color to Xeora green */
.xeora-module-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #b8cc0b;
    font-weight: 700;
}

/* NEW: Hide FontAwesome check icons in module cards */
.xeora-module-card li .fa-check {
    display: none;
}

/* ==========================================
   INTEGRATIONS SECTION
========================================== */
.xeora-integrations {
    background: linear-gradient(180deg, white 0%, #f7fafc 100%);
}

.xeora-integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
}

.xeora-integration-logo {
    padding: 40px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    font-size: 16px;
    font-weight: 600;
    color: #4a5568;
}

.xeora-integration-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

/* ==========================================
   USE CASES SECTION
========================================== */
.xeora-use-cases {
    background: white;
}

.xeora-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.xeora-use-case {
    padding: 40px 32px;
    background: linear-gradient(135deg, #f7fafc 0%, white 100%);
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.xeora-use-case:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.xeora-use-case-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.xeora-use-case h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #1a202c;
}

.xeora-use-case p {
    font-size: 15px;
    line-height: 1.7;
    color: #718096;
    margin: 0;
}

/* ==========================================
   STATS SECTION
========================================== */
.xeora-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.xeora-stats .xeora-section-title,
.xeora-stats .xeora-section-subtitle {
    color: white;
}

.xeora-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.xeora-stat-card {
    text-align: center;
    padding: 48px 32px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.xeora-stat-card:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.05);
}

.xeora-stat-number {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1;
}

.xeora-stat-label {
    font-size: 16px;
    opacity: 0.95;
}

/* ==========================================
   FAQ SECTION
========================================== */
.xeora-faq {
    background: linear-gradient(180deg, #f7fafc 0%, white 100%);
}

.xeora-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.xeora-faq-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.xeora-faq-item {
    background: white;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.xeora-faq-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.xeora-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: white;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    cursor: pointer;
    transition: all 0.3s ease;
}

.xeora-faq-question:hover {
    background: #f7fafc;
    color: #667eea;
}

.xeora-faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #718096;
}

.xeora-faq-item.active .xeora-faq-icon {
    transform: rotate(180deg);
    color: #667eea;
}

.xeora-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.xeora-faq-item.active .xeora-faq-answer {
    max-height: 500px;
    padding: 0 28px 24px 28px;
}

.xeora-faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

.xeora-faq-cta {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.xeora-faq-cta p {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 24px 0;
}

.xeora-btn-faq {
    display: inline-block;
    padding: 14px 40px;
    background: white;
    color: #667eea;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.xeora-btn-faq:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ==========================================
   CTA SECTION
========================================== */
.xeora-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.xeora-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,.1) 0%, transparent 50%);
    pointer-events: none;
}

.xeora-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.xeora-cta-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin: 0 0 24px 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.xeora-cta-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    margin: 0 0 48px 0;
    opacity: 0.95;
    line-height: 1.6;
}

.xeora-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.xeora-btn-cta-primary,
.xeora-btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.xeora-btn-cta-primary {
    background: white;
    color: #667eea;
}

.xeora-btn-cta-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    background: #f7f9ff;
}

.xeora-btn-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.xeora-btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.xeora-btn-cta-primary i,
.xeora-btn-cta-secondary i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.xeora-btn-cta-primary:hover i {
    transform: translateX(4px);
}

.xeora-btn-cta-secondary:hover i {
    transform: scale(1.2);
}

/* ==========================================
   FOOTER
========================================== */
.xeora-footer {
    background: #1a202c;
    color: white;
    padding: 80px 20px 40px;
}

.xeora-footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.xeora-footer-brand h3 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.xeora-footer-brand p {
    color: #a0aec0;
    margin: 0 0 24px 0;
    line-height: 1.7;
}

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

.xeora-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2d3748;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.xeora-footer-social a:hover {
    background: #667eea;
    transform: translateY(-4px);
}

.xeora-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.xeora-footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.xeora-footer-column a {
    display: block;
    color: #a0aec0;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    padding: 4px 0;
}

.xeora-footer-column a:hover {
    color: white;
    padding-left: 8px;
}

.xeora-footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
    font-size: 14px;
}

.xeora-footer-bottom p {
    margin: 0;
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1024px) {
    .xeora-hero-split {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    
    .xeora-split-divider {
        display: none;
    }
    
    .xeora-split-side {
        min-height: 100vh;
    }
}

@media (max-width: 768px) {
    .xeora-section {
        padding: 80px 20px;
    }
    
    .xeora-split-content {
        padding: 20px;
    }
    
    .xeora-customer-grid,
    .xeora-modules-grid,
    .xeora-use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .xeora-journey-steps {
        flex-direction: column;
    }
    
    .xeora-journey-arrow {
        transform: rotate(90deg);
    }
    
    .xeora-footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .xeora-footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .xeora-integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .xeora-faq-grid {
        grid-template-columns: 1fr;
    }
    
    .xeora-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .xeora-btn-cta-primary,
    .xeora-btn-cta-secondary {
        width: 100%;
        max-width: 320px;
    }
}