/* FILE: /public_html/assets/css/landing.css | VERSION: v10-a (FAQ V2 REBUILD) */
/* This file contains all landing page content styles. */
/* This update rebuilds the FAQ section for new interactivity. */

/* =============================================================
   HERO SECTION
   ============================================================= */
.hero {
    position: relative;
    /* Remove the border from the first section */
    border-top: none !important; 
    
    /* FIX: v9-b - Make hero fill the screen */
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
}

/* Add padding back for when content is taller than screen */
@media (max-height: 700px) {
    .hero {
        padding-top: 8rem;
        padding-bottom: 6rem;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%; /* Ensure grid takes full width */
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title-gradient {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

/* Hero Chart Widget */
.hero-widget-card {
    background: var(--panel-color);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 50px rgba(0,0,0,0.3);
    overflow: hidden;
    padding: 1.5rem; /* Padding is now on the card itself */
}

.hero-chart-container {
    background: transparent; /* Remove old background */
    transition: background-color 0.3s ease;
    cursor: default; /* Not clickable */
}

.hero-chart-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem; /* Increased spacing */
}

.hero-chart-symbol {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color-muted);
}

.hero-chart-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
}

/* Sparkline Chart */
.hero-chart-canvas-wrapper {
    height: 80px; /* New height for the sparkline */
    width: 100%;
    margin-bottom: 1.5rem; /* Space before stats */
}

#hero-sparkline-chart {
    width: 100%;
    height: 100%;
}

/* 24h Stats Grid */
.hero-chart-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-color-muted);
    text-transform: uppercase;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.stat-value#hero-24h-change-val {
    color: var(--neon-green);
}
.stat-value#hero-24h-change-val.negative {
    color: #FF5B5B;
}


/* =============================================================
   STATS SECTION ("Made for mass adoption")
   ============================================================= */
.stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 992px) {
    .stats-container {
        grid-template-columns: 0.8fr 1.2fr;
        align-items: center;
    }
}

.stats-content .eyebrow-text {
    color: var(--neon-green);
    font-weight: 600;
}
.stats-content .section-title {
    margin-top: 0.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}


.stats-card {
    background: var(--panel-color);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Neon border on hover */
.stats-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1px; /* Border thickness */
    background: var(--gradient-border);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.stats-card:hover::before {
    opacity: 1;
}

.stats-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    color: var(--neon-cyan);
}
.stats-card-icon svg {
    width: 100%;
    height: 100%;
}
.stats-card:nth-child(1) .stats-card-icon { color: var(--neon-violet); }
.stats-card:nth-child(2) .stats-card-icon { color: var(--neon-cyan); }
.stats-card:nth-child(3) .stats-card-icon { color: var(--neon-green); }
.stats-card:nth-child(4) .stats-card-icon { color: var(--neon-magenta); }


.stats-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.stats-card-info {
    font-size: 0.9rem;
    color: var(--text-color-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 80px; /* Align cards */
}

.stats-card-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
}

.stats-card-label {
    font-size: 0.875rem;
    color: var(--text-color-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* =============================================================
   INVEST PREVIEW SECTION ("Designed for real world use")
   ============================================================= */
.invest-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Align to top */
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.invest-header-content {
    flex: 1;
    min-width: 300px;
}
/* Reduce bottom margin on subtitle when it's in the header */
.invest-header-content .section-subtitle {
    margin-bottom: 0;
}
/* Style the new button */
.invest-header .btn-secondary-glow {
    flex-shrink: 0; /* Prevent button from shrinking */
    margin-top: 0.5rem; /* Align nicely with title */
}

/* NEW 3-COLUMN GRID */
.invest-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    /* Change to 3 columns on desktop */
    .invest-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Base Card Style for Invest & Explore */
.invest-card-visual, /* NEW unified class */
.use-case-visual-card /* NEW class */
{
    position: relative;
    display: block;
    text-decoration: none;
    border-radius: 1rem;
    background: var(--panel-color);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

/* Neon Border on Hover */
.invest-card-visual::before, 
.use-case-visual-card::before
{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1px; /* Border thickness */
    background: var(--gradient-border);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.invest-card-visual:hover::before,
.use-case-visual-card:hover::before {
    opacity: 1;
}
.invest-card-visual:hover,
.use-case-visual-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-color-light);
}

/* NEW: Unified visual card style */
.invest-card-visual {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Aligns text to bottom */
    min-height: 450px;
    padding: 2rem;
}

/* Content (text) sits on top */
.invest-card-content {
    position: relative;
    z-index: 2;
    /* Gradient overlay to make text readable */
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.9) 100%);
    /* Negative margins to align with padding */
    margin: -2rem;
    padding: 10rem 2rem 2rem 2rem; /* Push content to bottom */
}
.invest-card-visual:hover .invest-card-content {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,1) 100%);
}


/* --- Qryptosphere Visual --- */
.qryptosphere-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    opacity: 0.5; /* Brighter base opacity */
    overflow: hidden;
    transition: opacity 0.4s ease;
}
.invest-card-visual:hover .qryptosphere-visual {
    opacity: 0.8; /* Brighter hover opacity */
}
.q-core {
    width: 80px;
    height: 80px;
    background: var(--neon-violet);
    border-radius: 50%;
    box-shadow: 0 0 50px var(--neon-violet), 0 0 90px var(--neon-violet);
    animation: qPulse 4s infinite ease-in-out;
}
@keyframes qPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}
.q-ring {
    position: absolute;
    border: 1px solid var(--neon-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: qRingPulse 4s infinite ease-out;
}
.q-ring-1 { width: 150px; height: 150px; animation-delay: 0s; }
.q-ring-2 { width: 250px; height: 250px; animation-delay: 1s; }
.q-ring-3 { width: 350px; height: 350px; animation-delay: 2s; }
@keyframes qRingPulse {
    0% { transform: scale(0.5); opacity: 0; }
    50% { opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 0; }
}
.q-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: qParticleMove 10s infinite linear;
}
.q-particle.p1 { top: 10%; left: 20%; animation-delay: 0s; }
.q-particle.p2 { top: 80%; left: 30%; animation-delay: -2s; }
.q-particle.p3 { top: 30%; left: 70%; animation-delay: -4s; }
.q-particle.p4 { top: 60%; left: 80%; animation-delay: -6s; }
.q-particle.p5 { top: 50%; left: 10%; animation-delay: -8s; }
.q-particle.p6 { top: 20%; left: 90%; animation-delay: -1s; }
@keyframes qParticleMove {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(40px, -60px) scale(1.5); opacity: 0.5; }
    100% { transform: translate(0, 0) scale(1); opacity: 1; }
}
.q-particle.p2, .q-particle.p4, .q-particle.p6 {
    animation-direction: reverse;
}
/* --- END Qryptosphere Visual --- */


/* --- NEW: HD Wallet Visual --- */
.hd-wallet-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.4;
    transition: opacity 0.4s ease;
    overflow: hidden;
    /* Generative "hash" pattern */
    background-image: 
        radial-gradient(at 20% 20%, var(--neon-cyan) 0px, transparent 50%),
        radial-gradient(at 80% 20%, var(--neon-violet) 0px, transparent 50%),
        radial-gradient(at 20% 80%, var(--neon-green) 0px, transparent 50%),
        radial-gradient(at 80% 80%, var(--neon-magenta) 0px, transparent 50%);
    background-size: 300% 300%;
    animation: hashMove 15s infinite alternate ease-in-out;
}
@keyframes hashMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}
.invest-card-visual:hover .hd-wallet-visual {
    opacity: 0.7;
}
/* --- END HD Wallet Visual --- */


/* --- NEW: GIN Transfer Visual --- */
.gin-transfer-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.4s ease;
    overflow: hidden;
}
.invest-card-visual:hover .gin-transfer-visual {
    opacity: 0.9;
}
.gt-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    fill: var(--neon-green);
    filter: drop-shadow(0 0 8px var(--neon-green));
    opacity: 0;
    animation: particleFlow 8s infinite linear;
}
@keyframes particleFlow {
    0% { transform: translate(-100px, 0); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translate(400px, 80px); opacity: 0; }
}
.gt-particle.p1 { top: 10%; animation-delay: 0s; }
.gt-particle.p2 { top: 30%; animation-delay: -1.5s; }
.gt-particle.p3 { top: 50%; animation-delay: -3s; }
.gt-particle.p4 { top: 70%; animation-delay: -5s; }
.gt-particle.p5 { top: 90%; animation-delay: -7s; }
/* --- END GIN Transfer Visual --- */


.invest-card-title {
    font-size: 1.75rem; /* Make title a bit bigger */
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.invest-card-info {
    font-size: 0.95rem;
    color: var(--text-color-muted);
    line-height: 1.6;
}

/* =============================================================
   ROADMAP & TECHNOLOGY SECTION (v10-a FIXED)
   ============================================================= */

/* Header alignment */
.explore-header {
    max-width: 100%;
    margin: 0 0 2rem 0;
    text-align: left;
}
.explore-header .section-subtitle {
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
}

/* Main Grid Layout */
.explore-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 992px) {
    .explore-grid-container {
        grid-template-columns: 1.2fr 0.8fr; /* 60% / 40% split */
        gap: 4rem;
        align-items: flex-start; 
    }
}

.explore-left-col {
    min-width: 0; /* Prevents grid blowout */
}
.explore-right-col {
    padding-top: 1rem;
}

/* --- TIMELINE FIX START --- */
.roadmap-timeline {
    position: relative;
    width: 100%;
    padding: 3rem 0 1rem 0; /* Added top padding for visual balance */
    margin: 0;
}

/* Wrapper for the event items */
.roadmap-events-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 3;
    width: 100%;
}

/* Individual Event Item */
.roadmap-event {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px; /* FIXED WIDTH: Matches calculation below */
    position: relative;
    /* No transition delay here, handled by card-reveal class */
}

/* The Dots */
.roadmap-dot {
    width: 20px; /* Slightly larger for better visibility */
    height: 20px;
    background-color: var(--bg-color);
    border: 3px solid var(--border-color-light);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 4; /* Above the line */
    transition: border-color 0.5s ease, transform 0.5s ease, background-color 0.5s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.5); /* Drop shadow to separate from line */
}

/* Active State for Dot */
.roadmap-timeline.is-active .roadmap-event .roadmap-dot {
    border-color: var(--neon-green);
    background-color: var(--bg-color-light);
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--neon-green);
}

/* --- THE LINE CALCULATIONS --- 
   Logic: Item width is 150px. Center is at 75px.
   Line starts at center of first item (75px) and ends at center of last item.
   Total width - (75px left) - (75px right) = 100% - 150px.
*/

/* Background Line (Grey) */
.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 57px; /* (Padding-top 48px) + (Dot height 20px / 2) - (Line height 3px / 2) = approx 57px */
    left: 75px; 
    width: calc(100% - 150px);
    height: 3px;
    background-color: var(--border-color);
    z-index: 1;
}

/* Progress Line (Green/Gradient) */
.roadmap-progress {
    position: absolute;
    top: 57px; /* Must match above */
    left: 75px; /* Must match above */
    width: calc(100% - 150px); /* Must match above */
    height: 3px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 2;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.roadmap-timeline.is-active .roadmap-progress {
    transform: scaleX(1);
}

/* Content Styling */
.roadmap-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.roadmap-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.roadmap-desc {
    font-size: 0.85rem;
    color: var(--text-color-muted);
    line-height: 1.5;
}

/* --- MOBILE LAYOUT (Vertical) --- */
@media (max-width: 991px) {
    .roadmap-timeline {
        padding: 0;
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
    
    /* Reset horizontal lines */
    .roadmap-timeline::before, 
    .roadmap-progress {
        top: 0;
        left: 9px; /* Align with center of dot (20px/2 approx) */
        width: 3px;
        height: 100%;
        transform: scaleY(0);
        transform-origin: top;
    }
    
    /* Show vertical progress */
    .roadmap-timeline::before {
        transform: scaleY(1); /* Always show grey background line */
    }
    .roadmap-timeline.is-active .roadmap-progress {
        transform: scaleY(1);
    }

    .roadmap-events-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .roadmap-event {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        width: 100%;
        padding-left: 2.5rem; /* Space for line */
    }

    .roadmap-dot {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        width: 20px;
        height: 20px;
    }

    /* Adjust content alignment for mobile */
    .roadmap-content {
        background: var(--panel-color);
        border: 1px solid var(--border-color);
        padding: 1.25rem;
        border-radius: 0.75rem;
        width: 100%;
    }
    
    .roadmap-title {
        font-size: 1.1rem;
    }
}

/* Tech Grid Styles (Unchanged but included for context) */
.tech-grid-header { margin-bottom: 2rem; }
.tech-grid-title { font-size: 2rem; font-weight: 700; color: var(--text-color); }
.tech-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

.tech-card {
    background: var(--panel-color);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-light);
}
.tech-card-icon {
    width: 32px; height: 32px; color: var(--neon-cyan); margin-bottom: 1.5rem;
}
.tech-card-title { font-size: 1.125rem; font-weight: 700; color: var(--text-color); margin-bottom: 0.75rem; }
.tech-card-info { font-size: 0.9rem; color: var(--text-color-muted); line-height: 1.6; }/* END: Core Technology Grid */


/* =============================================================
   NEW: CORE USE CASES SECTION (v9-p)
   ============================================================= */

/* 2-Column Layout */
.use-case-grid-container {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first */
    gap: 3rem;
}
@media (min-width: 992px) {
    .use-case-grid-container {
        grid-template-columns: 0.8fr 1.2fr; /* Text-left, Grid-right */
        gap: 4rem;
        align-items: center;
    }
}
.use-case-header {
    text-align: left;
}

/* 2x2 Grid for the cards */
.use-case-visual-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile-first */
    gap: 1.5rem;
}
@media (min-width: 576px) {
    .use-case-visual-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 on tablet+ */
    }
}

.use-case-visual-card {
    min-height: 350px; /* Shorter cards, as they are in a grid */
    padding: 1.5rem; /* Slightly less padding */
}
.use-case-visual-card .invest-card-content {
    margin: -1.5rem;
    padding: 8rem 1.5rem 1.5rem 1.5rem;
}
.use-case-visual-card .invest-card-title {
    font-size: 1.5rem; /* Smaller title */
}
.use-case-visual-card .invest-card-info {
    font-size: 0.9rem; /* Smaller info text */
}

/* --- NEW: NFT Visual --- */
.nft-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
    transition: opacity 0.4s ease;
    overflow: hidden;
    background: linear-gradient(45deg, var(--neon-magenta) 0%, var(--neon-violet) 100%);
    animation: nftShine 8s infinite alternate ease-in-out;
}
.nft-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Pixel pattern */
    background-image: 
        linear-gradient(45deg, #000 25%, transparent 25%), 
        linear-gradient(-45deg, #000 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #000 75%),
        linear-gradient(-45deg, transparent 75%, #000 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.2;
}
@keyframes nftShine {
    0% { filter: brightness(0.8) saturate(1); }
    100% { filter: brightness(1.2) saturate(1.5); }
}
.invest-card-visual:hover .nft-visual {
    opacity: 0.6;
}
/* --- END NFT Visual --- */


/* =============================================================
   FAQ SECTION (Split-View & Mobile Accordion)
   ============================================================= */

.faq {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
}

.faq-container {
    width: 100%;
}

/* --- Layout Grid --- */
.faq-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
}

@media (min-width: 992px) {
    .faq-grid-container {
        grid-template-columns: 400px 1fr; /* Fixed width for answer box */
        gap: 4rem;
        align-items: flex-start;
    }
}

/* --- Left Column: Header & Answer Box --- */
.faq-header-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 992px) {
    .faq-header-content {
        position: sticky;
        top: 120px; /* Sticks below header */
        height: fit-content;
    }
}

/* The Answer Display Box (Desktop Only) */
.faq-display-box {
    background: var(--panel-color);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2.5rem;
    min-height: 300px;
    display: none; /* Hidden on mobile */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

/* Glow effect when active */
.faq-display-box.is-active {
    border-color: var(--neon-cyan);
    background: linear-gradient(145deg, var(--panel-color) 0%, rgba(0, 198, 255, 0.05) 100%);
    box-shadow: 0 0 30px rgba(0, 198, 255, 0.1);
    align-items: flex-start;
    text-align: left;
    justify-content: flex-start;
}

@media (min-width: 992px) {
    .faq-display-box {
        display: flex;
    }
}

/* Icons and Text in Box */
.faq-display-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-color-muted);
    transition: all 0.3s ease;
}
.faq-display-box.is-active .faq-display-icon {
    display: none; /* Hide big icon when showing answer */
}

.faq-display-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.faq-display-content {
    font-size: 1rem;
    color: var(--text-color-muted);
    line-height: 1.6;
}
/* Animation for new content */
.faq-display-content.fade-in {
    animation: fadeInText 0.5s ease forwards;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- Right Column: The Question Grid --- */
.faq-accordion-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr; /* Default: 1 Column (Mobile) */
}

@media (min-width: 768px) {
    .faq-accordion-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 Columns */
    }
}

@media (min-width: 1200px) {
    .faq-accordion-grid {
        grid-template-columns: repeat(3, 1fr); /* Desktop: 3 Columns */
    }
}

/* The Question Card */
.faq-accordion-item {
    background: var(--panel-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    /* Ensure uniform height for grid items */
    display: flex;
    flex-direction: column; 
}

.faq-accordion-item:hover {
    border-color: var(--text-color-muted);
    background: var(--bg-color-light);
}

/* Active State (Selected Question) */
.faq-accordion-item.is-active {
    border-color: var(--neon-cyan);
    background: var(--bg-color-light);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.2);
}

.faq-accordion-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem; /* Slightly smaller font for dense grid */
    color: var(--text-color);
    list-style: none;
    flex-grow: 1; /* Allows card to fill height */
}
.faq-accordion-question::-webkit-details-marker {
    display: none;
}

/* Question Text & Icon */
.faq-question-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile Toggle Icon (+/-) */
.faq-mobile-toggle {
    display: block;
    color: var(--text-color-muted);
    transition: transform 0.3s ease;
    font-size: 1.25rem;
    line-height: 1;
}
@media (min-width: 992px) {
    .faq-mobile-toggle {
        display: none; /* Hide on Desktop */
    }
}

/* --- The Answer (Mobile Behavior) --- */
.faq-accordion-answer {
    padding: 0 1.5rem 1.5rem 1.5rem; 
    color: var(--text-color-muted);
    line-height: 1.6;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
    display: none; /* Default hidden */
}

/* Desktop: Always hide the inline answer (it shows in the box) */
@media (min-width: 992px) {
    .faq-accordion-answer {
        display: none !important; 
    }
}

/* Mobile: Show when open */
.faq-accordion-item[open] .faq-accordion-answer {
    display: block;
    animation: slideDown 0.3s ease;
}
.faq-accordion-item[open] .faq-mobile-toggle {
    transform: rotate(45deg);
    color: var(--neon-cyan);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* END: FAQ SECTION V2 */


/* =============================================================
   CTA SECTION ("Join")
   ============================================================= */
.cta-container {
    padding: 4rem 2rem;
    text-align: center;
    background: var(--panel-color);
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* CTA Background Gradients */
.cta-container::before,
.cta-container::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.3;
}
.cta-container::before {
    background: var(--neon-violet);
    top: -50%;
    left: -20%;
}
.cta-container::after {
    background: var(--neon-cyan);
    bottom: -50%;
    right: -20%;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}

.cta-btn {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    position: relative;
    z-index: 2;
}