/* assets/css/frontend.css */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-indigo: #4f46e5;
    --primary-purple: #7c3aed;
    --primary-blue: #2563eb;
    --dark-navy: #0f172a;
    --accent-orange: #f97316;
    --text-dark: #1e293b;
    --bg-light: #f8fafc;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #334155;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Public Navbar Styling */
.public-navbar {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    padding: 0.35rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    z-index: 1040;
}

.brand-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-indigo), var(--primary-purple));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.brand-title {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--dark-navy);
    line-height: 1.1;
    display: block;
}

.brand-tagline {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-indigo);
    letter-spacing: 0.5px;
}

.public-nav-link {
    font-weight: 600;
    font-size: 0.92rem;
    color: #475569 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px;
    transition: all 0.2s ease-in-out;
}

.public-nav-link:hover {
    color: var(--primary-indigo) !important;
    background-color: #f1f5f9;
}

.public-nav-link.active {
    color: var(--primary-indigo) !important;
    background-color: #e0e7ff;
    font-weight: 700;
}

.btn-gradient-primary {
    background: linear-gradient(135deg, var(--primary-indigo), var(--primary-purple)) !important;
    border: none !important;
    color: #ffffff !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-gradient-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.4) !important;
    color: #ffffff !important;
}

/* Hero Section Banner */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #311b92 100%);
    color: #ffffff;
    padding: 5.5rem 0 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fef08a;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.gradient-text-gold {
    background: linear-gradient(90deg, #facc15, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.6;
}

/* Impact Stats Section */
.impact-stats-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    margin-top: -3.5rem;
    position: relative;
    z-index: 10;
    padding: 2rem;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-indigo);
    line-height: 1;
}

/* Track Cards */
.track-card {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease-in-out;
    height: 100%;
}

.track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.15);
    border-color: #c7d2fe;
}

.track-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* AI Products Teaser Cards */
.ai-product-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.25s ease;
    height: 100%;
}

.ai-product-card:hover {
    border-color: var(--primary-indigo);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.12);
    transform: translateY(-4px);
}

/* Footer */
.public-footer {
    background-color: #0f172a;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon-btn:hover {
    background: var(--primary-indigo);
    color: #ffffff;
}

/* Form floating glass */
.registration-glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    padding: 2.25rem;
}

/* Gradient Utilities */
.bg-gradient-primary {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #311b92 100%) !important;
    color: #ffffff !important;
}

/* Premium Mission Cards */
.mission-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.12);
    border-color: #c7d2fe;
}

.mission-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* FITA Feature Box */
.fita-feature-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
}

.fita-feature-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 12px 25px rgba(249, 115, 22, 0.12);
    transform: translateY(-4px);
}

/* Article Cards */
.article-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-indigo);
}

.article-image-box {
    height: 200px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.article-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(0, 0, 0, 0.1) 70%);
}

.badge-fita {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   REF 1: HERO / BANNER SECTION (DARK GRID & GLOW)
   ========================================================================== */
.hero-banner-reference {
    background-color: #080718;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    position: relative;
    padding: 7rem 0 6.5rem 0;
    overflow: hidden;
    color: #ffffff;
}

.hero-glow-purple {
    position: absolute;
    top: 15%;
    left: 20%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(50px);
}

.hero-glow-cyan {
    position: absolute;
    top: 20%;
    right: 20%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(50px);
}

.hero-title-main {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .hero-title-main {
        font-size: 2.3rem;
        letter-spacing: -0.5px;
    }
}

.text-gradient-purple-cyan {
    background: linear-gradient(90deg, #818cf8 0%, #a855f7 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-main {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 750px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

.btn-glow-pill {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(14, 165, 233, 0.35));
    border: 1px solid rgba(168, 85, 247, 0.6);
    color: #ffffff !important;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.4), inset 0 0 10px rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-glow-pill:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.65), rgba(14, 165, 233, 0.65));
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.6);
    transform: translateY(-2px);
    color: #ffffff !important;
}

.hero-rating-badge {
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 600;
}

/* ==========================================================================
   REF 2: OUTCOMES YOU CAN MEASURE (LIGHT MESH CARD SECTION)
   ========================================================================== */
.outcomes-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #f5f3ff 50%, #e0f2fe 100%);
    padding: 5.5rem 0;
    position: relative;
}

.outcome-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outcome-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
}

.outcome-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #4f46e5;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 1rem;
    border-radius: 30px;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
}

.outcome-stat-big {
    font-size: 4.2rem;
    font-weight: 800;
    color: #6366f1;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.outcome-title {
    font-weight: 800;
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.outcome-desc {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   REF 3: WHY MYDREAM / CORE ADVANTAGES (DARK GLOW CARDS)
   ========================================================================== */
.why-mydream-section {
    background-color: #080716;
    padding: 6rem 0;
    color: #ffffff;
}

.why-card {
    background: linear-gradient(160deg, rgba(30, 27, 75, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
}

.why-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.25);
    transform: translateY(-6px);
}

.why-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    font-size: 1.8rem;
    color: #ffffff;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   REF 4: AI BUILT IN. NOT BOLTED ON (DARK DOME & FAN CARDS)
   ========================================================================== */
.ai-builtin-section {
    background-color: #06050e;
    padding: 6rem 0 4rem 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.fanned-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: -50px;
    position: relative;
    z-index: 10;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */
    padding: 30px 15px 40px 15px;
}

.fanned-cards-wrapper::-webkit-scrollbar {
    display: none; /* WebKit browsers (Chrome, Safari, Edge) */
    width: 0;
    height: 0;
}

.fan-card {
    width: 190px;
    min-height: 230px;
    background: linear-gradient(165deg, #1e1b4b 0%, #0f172a 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 22px;
    padding: 1.35rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.fan-card-1 { transform: rotate(-12deg) translateY(35px); }
.fan-card-2 { transform: rotate(-6deg) translateY(18px); }
.fan-card-3 { 
    transform: rotate(0deg) translateY(-8px) scale(1.04); 
    border-color: rgba(139, 92, 246, 0.7); 
    box-shadow: 0 20px 45px rgba(139, 92, 246, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    z-index: 5;
}
.fan-card-4 { transform: rotate(6deg) translateY(18px); }
.fan-card-5 { transform: rotate(12deg) translateY(35px); }

.fan-card:hover {
    transform: translateY(-22px) scale(1.08) rotate(0deg) !important;
    z-index: 25 !important;
    border-color: #a855f7;
    box-shadow: 0 25px 50px rgba(168, 85, 247, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.dark-dome-container {
    background-color: #0b0919;
    border-radius: 40px 40px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 4.5rem 2rem 3.5rem 2rem;
    position: relative;
    z-index: 5;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.5);
}

.builtin-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.builtin-feature-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(129, 140, 248, 0.4);
    transform: translateY(-4px);
}

/* Utility to hide scrollbars cleanly across browsers */
.no-scrollbar {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.no-scrollbar::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Select2 Bootstrap 5 Overrides for Public Form Viewer & Searchable Pulldown */
.select2-container--bootstrap-5 .select2-selection {
    font-family: 'Manrope', sans-serif !important;
    font-size: 1rem !important;
    min-height: 48px !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid #dee2e6 !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #818cf8 !important;
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25) !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: #1e293b !important;
    padding-left: 0 !important;
    font-weight: 500 !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
    font-family: 'Manrope', sans-serif !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15), 0 10px 15px -6px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    z-index: 1080 !important;
    overflow: hidden !important;
    margin-top: 4px !important;
}

.select2-container--bootstrap-5 .select2-search--dropdown {
    padding: 0.6rem 0.75rem !important;
    background-color: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.select2-container--bootstrap-5 .select2-search__field {
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.92rem !important;
    padding: 0.45rem 0.75rem !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
}

.select2-container--bootstrap-5 .select2-search__field:focus {
    border-color: #6366f1 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2) !important;
}

.select2-container--bootstrap-5 .select2-results__option {
    padding: 0.65rem 1rem !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #334155 !important;
}

.select2-container--bootstrap-5 .select2-results__option--highlighted {
    background: linear-gradient(135deg, #4f46e5, #7c3aed) !important;
    color: #ffffff !important;
}


