/* Page: Home (#page-home) - Premium Dark Theme */

/* ========================================
   PREMIUM DESIGN SYSTEM
   ======================================== */

/* Page-Level Premium Background */
#page-home {
    background:
        linear-gradient(rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.9)),
        url('../../images/bg_main.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: visible;
    color: #f3f4f6;
}

#page-home .main-content-wrapper,
#page-home .footer {
    background: transparent !important;
    border-top: none;
}

#page-home .footer {
    color: #94a3b8 !important;
}

#page-home .footer small {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ========================================
   GLOBAL DARK THEME TEXT OVERRIDES
   (Excludes sidebar)
   ======================================== */
#page-home .hero-section p,
#page-home .hero-section span,
#page-home section p,
#page-home section span,
#page-home section li,
#page-home section div:not(.sidebar):not(.sidebar-content) {
    color: #e2e8f0;
}

#page-home section h1,
#page-home section h2,
#page-home section h3,
#page-home section h4,
#page-home section h5,
#page-home section h6,
#page-home section strong,
#page-home section b {
    color: #ffffff !important;
}

#page-home section .text-muted {
    color: #94a3b8 !important;
}

#page-home section .bg-light,
#page-home section .bg-white {
    background-color: rgba(30, 41, 59, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   HERO SECTION
   ======================================== */
#page-home .hero-section {
    position: relative;
    padding: 6rem 0 8rem;
    text-align: left;
    overflow: visible;
}

#page-home .hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

#page-home .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.text-gradient {
    background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #F472B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
}

.glass-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
    animation: pulseGlow 4s ease-in-out infinite;
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.9);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* ========================================
   PROMPT HELPER
   ======================================== */
#page-home .prompt-helper {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    text-align: left;
    color: #cbd5e1;
}

#page-home .prompt-helper:hover {
    border-color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.6);
}

#page-home .prompt-helper code {
    display: block;
    background: #1e293b;
    color: #f8f8f2;
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    white-space: pre-wrap;
    word-break: break-all;
}

#page-home .prompt-label {
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

/* ========================================
   SECTION COMMON
   ======================================== */
#page-home .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

#page-home .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#page-home .section-desc {
    font-size: 1.1rem;
    color: #94a3b8 !important;
}

/* ========================================
   CONCEPT CARDS
   ======================================== */
#page-home .concept-card {
    border-radius: 24px;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#page-home .concept-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

#page-home .concept-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: white;
}

#page-home .icon-bg-primary {
    background: #4F46E5;
}

#page-home .icon-bg-success {
    background: #10B981;
}

#page-home .icon-bg-purple {
    background: #8B5CF6;
}

#page-home .icon-bg-orange {
    background: #F59E0B;
}

/* ========================================
   USE CASES SECTION
   ======================================== */
#page-home .use-case-card {
    height: 100%;
    border-radius: 24px;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.4s ease;
}

#page-home .use-case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(79, 70, 229, 0.2);
}

#page-home .use-case-img-wrapper {
    height: 200px;
    overflow: hidden;
    background-color: rgba(30, 41, 59, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

#page-home .use-case-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#page-home .use-case-card:hover .use-case-img-wrapper img {
    transform: scale(1.05);
}

#page-home .use-case-body {
    padding: 1.5rem;
}

#page-home .use-case-body h4 {
    color: #fff !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#page-home .use-case-body p {
    color: #94a3b8 !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   ROADMAP SECTION
   ======================================== */
#page-home .roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}

#page-home .roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: rgba(139, 92, 246, 0.3);
    transform: translateX(-50%);
}

#page-home .roadmap-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding-right: 2rem;
}

#page-home .roadmap-item:nth-child(even) {
    left: 50%;
    padding-right: 0;
    padding-left: 2rem;
}

#page-home .roadmap-marker {
    position: absolute;
    right: -10px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #8B5CF6;
    border: 4px solid #1e293b;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    z-index: 2;
}

#page-home .roadmap-item:nth-child(even) .roadmap-marker {
    right: auto;
    left: -10px;
}

#page-home .roadmap-content {
    background: rgba(30, 41, 59, 0.9);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
}

#page-home .roadmap-item:nth-child(even) .roadmap-content {
    text-align: left;
}

#page-home .roadmap-content h4 {
    color: #fff !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#page-home .roadmap-content p {
    color: #94a3b8 !important;
    margin-bottom: 0;
}

#page-home .step-number {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #4F46E5, #8B5CF6);
    color: #fff;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

/* ========================================
   FAQ SECTION
   ======================================== */
#page-home .faq-accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    background: transparent !important;
}

#page-home .faq-accordion .accordion-button {
    border-radius: 12px !important;
    background: rgba(30, 41, 59, 0.9) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    padding: 1.25rem;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#page-home .faq-accordion .accordion-button::after {
    filter: invert(1) brightness(2);
}

#page-home .faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.3), rgba(139, 92, 246, 0.2)) !important;
    color: #fff !important;
    border-color: rgba(139, 92, 246, 0.5);
}

#page-home .faq-accordion .accordion-body {
    background: rgba(15, 23, 42, 0.8) !important;
    border-radius: 0 0 12px 12px;
    margin-top: -5px;
    padding: 1.5rem;
    color: #cbd5e1 !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
}

#page-home .faq-accordion .accordion-body p {
    color: #cbd5e1 !important;
}

#page-home .faq-accordion .accordion-body ul {
    padding-left: 1.25rem;
}

#page-home .faq-accordion .accordion-body li {
    color: #cbd5e1 !important;
    margin-bottom: 0.5rem;
}

#page-home .faq-accordion .accordion-body strong {
    color: #fff !important;
}

#page-home .faq-accordion .accordion-body h5,
#page-home .faq-accordion .accordion-body h6 {
    color: #fff !important;
}

#page-home .faq-accordion .alert {
    background: rgba(79, 70, 229, 0.2) !important;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #cbd5e1 !important;
}

/* ========================================
   PEOPLE SECTION
   ======================================== */
#page-home .person-card {
    text-align: center;
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

#page-home .person-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

#page-home .person-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(139, 92, 246, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#page-home .person-card:hover .person-img {
    border-color: #8B5CF6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transform: scale(1.05);
}

#page-home .person-card h5 {
    color: #fff !important;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

#page-home .person-role {
    color: #8B5CF6 !important;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

#page-home .person-card p {
    color: #94a3b8 !important;
    font-size: 0.9rem;
}

#page-home .person-icon i {
    color: #8B5CF6 !important;
}

/* ========================================
   CTA SECTION
   ======================================== */
#page-home .cta-section {
    position: relative;
    background: #1e293b;
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: white;
    padding: 4rem 2rem;
    border-radius: 32px;
    text-align: center;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.15);
}

#page-home .cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff !important;
    background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #F472B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#page-home .cta-section p {
    font-size: 1.2rem;
    color: #94a3b8 !important;
}

#page-home .cta-btn {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    color: #fff !important;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 2rem;
    display: inline-block;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

#page-home .cta-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
    color: #fff !important;
}

#page-home .cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: #fff !important;
}

#page-home .cta-btn {
    background: white;
    color: #7C3AED !important;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 2rem;
    display: inline-block;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

#page-home .cta-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(40px, 30px) scale(1.05);
    }
}