/**
 * Trust2 homepage redesign — scoped to public frontend.
 * Loaded after main.css. Uses admin --color-primary from color.blade.php.
 */

body.frontend-futuristic {
    --fe-bg: #060b14;
    --fe-bg-alt: #0c1220;
    --fe-surface: rgba(15, 23, 42, 0.65);
    --fe-surface-elevated: rgba(20, 30, 52, 0.85);
    --fe-border: rgba(255, 255, 255, 0.08);
    --fe-border-strong: rgba(255, 255, 255, 0.14);
    --fe-text: #e8edf5;
    --fe-muted: #94a3b8;
    --fe-glow: color-mix(in srgb, var(--color-primary) 35%, transparent);
    --fe-radius: 16px;
    --fe-radius-lg: 24px;
    background: var(--fe-bg);
    color: var(--fe-muted);
}

body.frontend-futuristic h1,
body.frontend-futuristic h2,
body.frontend-futuristic h3,
body.frontend-futuristic h4,
body.frontend-futuristic h5,
body.frontend-futuristic h6 {
    color: var(--fe-text);
}

body.frontend-futuristic p {
    color: var(--fe-muted);
}

body.frontend-futuristic .fe-home {
    overflow-x: hidden;
}

/* —— Section shell —— */
body.frontend-futuristic .fe-section {
    position: relative;
}

body.frontend-futuristic .fe-section--alt,
body.frontend-futuristic .bg-color {
    background: var(--fe-bg-alt) !important;
}

body.frontend-futuristic .section-title h2 {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
}

body.frontend-futuristic .section-title p {
    max-width: 560px;
    margin-top: 12px;
}

body.frontend-futuristic .fe-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 12px;
}

body.frontend-futuristic .linear-left,
body.frontend-futuristic .linear-right {
    opacity: 0.35;
}

/* —— Topbar —— */
body.frontend-futuristic .topbar {
    background: linear-gradient(90deg, var(--fe-bg-alt), var(--fe-bg));
    border-bottom: 1px solid var(--fe-border);
    opacity: 1;
    visibility: visible;
}

body.frontend-futuristic .topbar .marquee {
    opacity: 1;
    visibility: visible;
    min-height: 32px;
}

body.frontend-futuristic .topbar .marquee-items {
    display: flex;
    align-items: center;
}

body.frontend-futuristic .marquee .marquee-item {
    border-right-color: var(--fe-border);
}

/* —— Header —— */
body.frontend-futuristic header.header-area.style-1 {
    padding-left: max(4%, env(safe-area-inset-left));
    padding-right: max(4%, env(safe-area-inset-right));
}

body.frontend-futuristic header.style-1.sticky {
    background: rgba(6, 11, 20, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--fe-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

body.frontend-futuristic header.style-1 .menu-list > li > a {
    color: var(--fe-muted);
    font-weight: 500;
    transition: color 0.2s ease;
}

body.frontend-futuristic header.style-1 .menu-list > li > a:hover,
body.frontend-futuristic header.style-1 .menu-list > li > a.active {
    color: var(--color-primary);
}

/* Header logo neon — see figma-make-match.css (logo visibility safe) */

/* —— Hero / Banner —— */
body.frontend-futuristic .fe-hero {
    position: relative;
    min-height: min(92vh, 900px);
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background-color: var(--fe-bg);
    background-image:
        linear-gradient(135deg, rgba(6, 11, 20, 0.92) 0%, rgba(6, 11, 20, 0.75) 45%, rgba(6, 11, 20, 0.55) 100%),
        var(--fe-hero-bg, none);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

body.frontend-futuristic .fe-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 70% 40%, var(--fe-glow), transparent 60%);
    pointer-events: none;
}

body.frontend-futuristic .fe-hero .container {
    position: relative;
    z-index: 2;
}

body.frontend-futuristic .fe-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--fe-text);
    margin-bottom: 1rem;
}

body.frontend-futuristic .fe-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--fe-muted);
    max-width: 36rem;
    margin-bottom: 2rem;
}

body.frontend-futuristic .fe-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

body.frontend-futuristic .fe-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    background: var(--color-primary);
    color: #0a0f18;
    border: none;
    text-decoration: none;
    box-shadow: 0 0 28px var(--fe-glow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.frontend-futuristic .fe-hero__cta:hover {
    transform: translateY(-2px);
    color: #0a0f18;
    box-shadow: 0 0 40px var(--fe-glow);
}

body.frontend-futuristic .fe-hero__play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #0a0f18;
    font-size: 1.5rem;
    box-shadow: 0 0 24px var(--fe-glow);
}

body.frontend-futuristic .fe-hero__tagline span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

body.frontend-futuristic .fe-hero__providers-wrap {
    width: 100%;
    max-width: 100%;
}

body.frontend-futuristic .fe-hero__visual img {
    max-width: 100%;
    width: min(440px, 100%);
    height: auto;
    animation: feFloat 6s ease-in-out infinite;
}

@keyframes feFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* —— About —— */
body.frontend-futuristic .about-us-section .about-list li {
    color: var(--fe-muted);
    padding: 0.5rem 0;
}

body.frontend-futuristic .counter-single {
    background: var(--fe-surface);
    border: 1px solid var(--fe-border);
    border-radius: var(--fe-radius);
    padding: 1.25rem;
}

body.frontend-futuristic .counter-single h3 {
    color: var(--color-primary);
    font-weight: 700;
}

body.frontend-futuristic .smaller-count {
    font-size: 2.75rem !important;
    line-height: 1.2;
}

body.frontend-futuristic .smaller-count.odometer {
    min-width: 120px;
}

/* —— Process —— */
body.frontend-futuristic .process-item {
    background: var(--fe-surface);
    border: 1px solid var(--fe-border);
    border-radius: var(--fe-radius-lg);
    padding: 2rem 1.5rem;
    height: 100%;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

body.frontend-futuristic .process-item:hover {
    border-color: color-mix(in srgb, var(--color-primary) 40%, var(--fe-border));
    transform: translateY(-4px);
}

body.frontend-futuristic .process-item .serial {
    color: var(--color-primary);
    opacity: 0.5;
    font-weight: 700;
}

body.frontend-futuristic .process-item .icon {
    color: var(--color-primary);
}

/* —— Pricing / investment cards —— */
body.frontend-futuristic .pricing-item,
body.frontend-futuristic .invest-card {
    background: var(--fe-surface-elevated);
    border: 1px solid var(--fe-border);
    border-radius: var(--fe-radius-lg);
    backdrop-filter: blur(8px);
}

body.frontend-futuristic .pricing-item .title,
body.frontend-futuristic .invest-card h4 {
    color: var(--fe-text);
}

/* —— Conversion / crypto pairs —— */
body.frontend-futuristic .converstion-item {
    background: var(--fe-surface);
    border: 1px solid var(--fe-border);
    border-radius: var(--fe-radius);
    transition: border-color 0.2s ease;
}

body.frontend-futuristic .converstion-item:hover {
    border-color: color-mix(in srgb, var(--color-primary) 35%, var(--fe-border));
}

body.frontend-futuristic .converstion-item h5 {
    color: var(--fe-text);
}

/* —— Service tabs —— */
body.frontend-futuristic .service-title-wrap .nav-link {
    color: var(--fe-muted);
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

body.frontend-futuristic .service-title-wrap .nav-link.active {
    background: var(--fe-surface-elevated);
    color: var(--color-primary);
    border: 1px solid var(--fe-border);
}

/* —— Choose us —— */
body.frontend-futuristic .choose-item {
    background: var(--fe-surface);
    border: 1px solid var(--fe-border);
    border-radius: var(--fe-radius);
    padding: 1.5rem;
    height: 100%;
}

/* —— FAQ —— */
body.frontend-futuristic .faq-wrap .accordion-item {
    background: var(--fe-surface);
    border: 1px solid var(--fe-border);
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

body.frontend-futuristic .faq-wrap .accordion-button {
    background: transparent;
    color: var(--fe-text);
    box-shadow: none;
}

body.frontend-futuristic .faq-wrap .accordion-button:not(.collapsed) {
    color: var(--color-primary);
    background: var(--fe-surface-elevated);
}

body.frontend-futuristic .faq-wrap .accordion-body {
    color: var(--fe-muted);
}

/* —— Feature —— */
body.frontend-futuristic .feature-single {
    background: var(--fe-surface);
    border: 1px solid var(--fe-border);
    border-radius: var(--fe-radius);
    padding: 1.5rem;
    height: 100%;
}

body.frontend-futuristic .feature-single .icon {
    color: var(--color-primary);
}

/* —— Testimonial —— */
body.frontend-futuristic .testimonial-card,
body.frontend-futuristic .testimonial-item {
    background: var(--fe-surface);
    border: 1px solid var(--fe-border);
    border-radius: var(--fe-radius-lg);
}

body.frontend-futuristic .testimonial-item .content p {
    color: var(--fe-muted);
    font-style: italic;
}

/* —— Crypto table partial —— */
body.frontend-futuristic .table-container th,
body.frontend-futuristic .table-container td::before {
    color: var(--fe-text) !important;
}

body.frontend-futuristic .table-container .amount {
    color: var(--fe-text);
}

/* —— Buttons —— */
body.frontend-futuristic .i-btn.btn--primary {
    box-shadow: 0 0 20px var(--fe-glow);
}

body.frontend-futuristic .i-btn.btn--primary-outline {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

body.frontend-futuristic .i-btn.btn--primary-outline:hover {
    background: var(--color-primary);
    color: #0a0f18;
}

/* —— Footer (enhance existing ff-premium) —— */
body.frontend-futuristic footer.futuristic-footer.ff-premium {
    background: var(--fe-bg-alt);
    border-top: 1px solid var(--fe-border);
}

/* —— Responsive hero —— */
@media (max-width: 991px) {
    body.frontend-futuristic .fe-hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 60px;
        text-align: center;
    }

    body.frontend-futuristic .fe-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    body.frontend-futuristic .fe-hero__actions {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
}

/* —— Homepage sections mobile (shared) —— */
@media (max-width: 767px) {
    body.frontend-futuristic .fe-home {
        overflow-x: hidden;
    }

    body.frontend-futuristic .fe-home .fe-section.pt-110 {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    body.frontend-futuristic .fe-section-head {
        margin-bottom: 1.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.frontend-futuristic .fe-hero__visual img {
        animation: none;
    }
}
