/* ============================================================
   APEX SHARES — HOME PAGE STYLES
   Extracted from home.blade.php
   ============================================================ */

/* ===== HERO SLIDER ===== */
.apex-hero-slider {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    margin-top: -80px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: all;
    position: relative;
    min-height: 100vh;
}

.slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Slide 1 — Investment Management (classic finance architecture) */
.slide-1 .slide-bg {
    background-image: url('https://images.unsplash.com/photo-1633059050703-0f1b50828402?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Slide 2 — Real Estate (premium estate) */
.slide-2 .slide-bg {
    background-image: url('https://images.unsplash.com/photo-1505843513577-22bb7d21e455?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Slide 3 — Shares & Capital Market (trading desk) */
.slide-3 .slide-bg {
    background-image: url('https://images.unsplash.com/photo-1768055104895-e6185762f2a9?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Slide-specific RGBA overlays for readability + thematic color tint */
.slide-1 .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11,31,58,0.82) 0%, rgba(26,58,107,0.70) 60%, rgba(10,40,85,0.80) 100%);
    z-index: 1;
}

.slide-2 .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,46,32,0.82) 0%, rgba(26,92,58,0.70) 60%, rgba(10,56,32,0.80) 100%);
    z-index: 1;
}

.slide-3 .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,11,58,0.82) 0%, rgba(58,26,107,0.70) 60%, rgba(37,10,85,0.80) 100%);
    z-index: 1;
}

.slide-4 .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(42,24,0,0.82) 0%, rgba(90,56,0,0.70) 60%, rgba(58,34,0,0.80) 100%);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 80px;
}

/* Slide shapes */
.slide-shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.slide-shape-1 {
    width: 420px; height: 420px;
    border-radius: 50%;
    background: rgba(74, 127, 199,0.07);
    top: -100px; right: -100px;
    animation: float 9s ease-in-out infinite;
}

.slide-shape-2 {
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    bottom: -60px; left: -60px;
    animation: float 12s ease-in-out infinite reverse;
}

.slide-shape-3 {
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(74, 127, 199,0.05);
    top: 40%; left: 45%;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-22px); }
}

/* Slide content animations */
.slide-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 127, 199,0.18);
    border: 1px solid rgba(74, 127, 199,0.35);
    color: #4A7FC7;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.hero-slide.active .slide-category-badge {
    opacity: 1;
    transform: translateY(0);
}

.slide-category-badge .dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #4A7FC7;
    animation: pulse 2s infinite;
}

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

.apex-hero-slider h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 18px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease 0.35s;
}

.apex-hero-slider h1 .highlight { color: #4A7FC7; }

.hero-slide.active h1 {
    opacity: 1;
    transform: translateY(0);
}

.slide-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
    max-width: 520px;
    font-weight: 400 !important;
    margin-bottom: 34px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.5s;
}

.hero-slide.active .slide-desc {
    opacity: 1;
    transform: translateY(0);
}

.slide-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.65s;
}

.hero-slide.active .slide-cta-group {
    opacity: 1;
    transform: translateY(0);
}

.btn-slide-primary {
    background: #4A7FC7;
    color: #0B1F3A;
    padding: 13px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-slide-primary:hover {
    background: #35619E;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 127, 199,0.4);
    color: #0B1F3A;
}

.btn-slide-secondary {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 13px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-slide-secondary:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

/* Right panel cards */
.slide-info-panel {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.7s ease 0.4s;
}

.hero-slide.active .slide-info-panel {
    opacity: 1;
    transform: translateX(0);
}

.slide-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    padding: 20px 22px;
    backdrop-filter: blur(20px);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: background 0.3s;
}

.slide-card:hover {
    background: rgba(255,255,255,0.13);
}

.slide-card-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(74, 127, 199,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A7FC7;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.slide-card-label {
    color: rgba(255,255,255,0.65);
    font-size: 0.78rem;
    font-weight: 400 !important;
}

.slide-card-value {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-top: 2px;
    font-family: 'Playfair Display', serif;
}

/* Trust bar */
.slide-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.75s;
}

.hero-slide.active .slide-trust-bar {
    opacity: 1;
    transform: translateY(0);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.65);
    font-size: 0.83rem;
    font-weight: 500;
}

.trust-item i { color: #4A7FC7; }

/* ===== SLIDER CONTROLS ===== */
.slider-controls {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: #4A7FC7;
    width: 24px;
    border-radius: 4px;
}

.slider-prev,
.slider-next {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.25s;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(74, 127, 199,0.25);
    border-color: #4A7FC7;
    color: #4A7FC7;
}

.slider-progress {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    background: #4A7FC7;
    z-index: 10;
    width: 0%;
    transition: width linear;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 90px 0;
    background: #fff;
}

.feature-card {
    background: #fff;
    border: 1.5px solid var(--apex-border);
    border-radius: 18px;
    padding: 36px 28px;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4A7FC7, #35619E);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: rgba(74, 127, 199,0.3);
    box-shadow: 0 20px 50px rgba(11,31,58,0.08);
    transform: translateY(-4px);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
    background: rgba(74, 127, 199,0.1);
    color: #4A7FC7;
}

.feature-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--apex-primary);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--apex-gray);
    font-size: 0.88rem;
    line-height: 1.7;
    font-weight: 400 !important;
    margin: 0;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 90px 0;
    background: #F8FAFB;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.about-image-badge {
    position: absolute;
    bottom: 28px;
    left: 28px;
    background: #fff;
    border-radius: 14px;
    padding: 18px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-image-badge .badge-icon {
    width: 44px; height: 44px;
    background: #4A7FC7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-image-badge .badge-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--apex-primary);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.about-image-badge .badge-label {
    font-size: 0.78rem;
    color: var(--apex-gray);
    font-weight: 400 !important;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--apex-gray);
    font-size: 0.92rem;
}

.about-list li i {
    color: #4A7FC7;
    font-size: 1.1rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.about-list li strong { color: var(--apex-primary); }

.btn-apex-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--apex-primary);
    color: #fff;
    padding: 13px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s;
}

.btn-apex-primary:hover {
    background: var(--apex-secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11,31,58,0.25);
}

.btn-apex-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--apex-primary);
    padding: 13px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s;
    border: 2px solid var(--apex-primary);
}

.btn-apex-outline:hover {
    background: var(--apex-primary);
    color: #fff;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: linear-gradient(135deg, #0B1F3A 0%, #1A3A6B 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: rgba(74, 127, 199,0.06);
}

.stat-card {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-card:last-child { border-right: none; }

@media (max-width: 768px) {
    .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .stat-card:last-child { border-bottom: none; }
}

.stat-card .stat-number {
    font-size: 2.6rem;
    font-weight: 800;
    color: #4A7FC7;
    font-family: 'Playfair Display', serif;
    line-height: 1;
    display: block;
}

.stat-card .stat-label {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin-top: 6px;
    font-weight: 400 !important;
}

.stat-card .stat-icon {
    font-size: 1.8rem;
    color: rgba(74, 127, 199,0.5);
    margin-bottom: 10px;
}

/* ===== INVESTMENT PLANS ===== */
.plans-section {
    padding: 90px 0;
    background: #fff;
}

.plan-card {
    border: 1.5px solid var(--apex-border);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.plan-card:hover {
    border-color: #4A7FC7;
    box-shadow: 0 20px 50px rgba(74, 127, 199,0.12);
    transform: translateY(-4px);
}

.plan-card.featured {
    border-color: #4A7FC7;
    box-shadow: 0 20px 50px rgba(74, 127, 199,0.15);
    position: relative;
}

.plan-badge-featured {
    position: absolute;
    top: 16px; right: 16px;
    background: #4A7FC7;
    color: #0B1F3A;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-header {
    background: linear-gradient(135deg, #0B1F3A 0%, #1A3A6B 100%);
    padding: 28px 24px;
    text-align: center;
}

.plan-header.gold { background: linear-gradient(135deg, #35619E 0%, #4A7FC7 100%); }

.plan-header h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-yield {
    font-size: 2.4rem;
    font-weight: 800;
    color: #4A7FC7;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.plan-yield.gold-yield { color: #0B1F3A; }

.plan-yield small {
    font-size: 0.9rem;
    font-weight: 500;
    vertical-align: middle;
}

.plan-yield-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    margin-top: 2px;
    font-weight: 400 !important;
}

.plan-body { padding: 24px; flex: 1; }

.plan-feature {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--apex-border);
    font-size: 0.88rem;
}

.plan-feature:last-child { border-bottom: none; }
.plan-feature .label { color: var(--apex-gray); font-weight: 400 !important; }
.plan-feature .value { color: var(--apex-primary); font-weight: 700; }

.plan-footer { padding: 0 24px 24px; }

.btn-plan {
    display: block;
    text-align: center;
    background: var(--apex-primary);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.25s;
    width: 100%;
}

.btn-plan:hover {
    background: var(--apex-secondary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(11,31,58,0.25);
}

.btn-plan.gold { background: #4A7FC7; color: #0B1F3A; }

.btn-plan.gold:hover {
    background: #35619E;
    box-shadow: 0 6px 20px rgba(74, 127, 199,0.35);
}

/* ===== TRADING WIDGETS ===== */
.trading-section {
    padding: 80px 0;
    background: #F8FAFB;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 90px 0;
    background: var(--apex-primary);
}

.testimonial-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 32px;
    height: 100%;
    transition: all 0.3s;
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(74, 127, 199,0.3);
}

.testimonial-stars {
    color: #4A7FC7;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.testimonial-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.92rem;
    line-height: 1.75;
    font-weight: 400 !important;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar-placeholder {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A7FC7, #35619E);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    border: 2px solid rgba(74, 127, 199,0.45);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.testimonial-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    margin: 0;
}

.testimonial-role {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    font-weight: 400 !important;
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #4A7FC7 0%, #35619E 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.cta-section h2 {
    color: #0B1F3A;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
}

.cta-section p {
    color: rgba(11,31,58,0.75);
    font-size: 1rem;
    font-weight: 400 !important;
    max-width: 500px;
}

.btn-cta-dark {
    background: #0B1F3A;
    color: #fff;
    padding: 14px 34px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-dark:hover {
    background: #1A3A6B;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11,31,58,0.3);
}

.btn-cta-outline {
    background: transparent;
    color: #0B1F3A;
    padding: 14px 34px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #0B1F3A;
}

.btn-cta-outline:hover {
    background: rgba(11,31,58,0.08);
    color: #0B1F3A;
}

/* ===== PARTNERS ===== */
.partners-section-new {
    padding: 50px 0;
    background: #F8FAFB;
    border-top: 1px solid var(--apex-border);
    border-bottom: 1px solid var(--apex-border);
}

.partners-label {
    color: var(--apex-gray);
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 28px;
}

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

.partners-items img {
    height: 36px;
    width: auto;
    object-fit: contain;
    opacity: 0.55;
    filter: grayscale(100%);
    transition: all 0.3s;
}

.partners-items img:hover {
    opacity: 0.85;
    filter: grayscale(0%);
}
