/* ==========================================================================
   GLOBAL DESIGN SYSTEMS & CUSTOM VARIABLES
   ========================================================================== */
:root {
    /* Brighter, high-contrast backgrounds */
    --bg-main: #0a0f24e0;                 /* Deepened for better contrast against text */
    --bg-card: rgba(20, 30, 60, 0.75);  /* Slightly lighter & more opaque card base */
    --border-color: rgba(255, 255, 255, 0.15); /* More visible, crisp borders */
    
    /* Vibrant, high-visibility neon greens */
    --primary: #00ff73;                 /* Vibrant cyber neon green */
    --primary-glow: rgba(0, 255, 115, 0.3); /* Softer alpha but much brighter hue for glow effects */
    --secondary: #10d361;               /* Solid supporting green */
    
    /* Corrected and enhanced text hierarchy */
    --text-white: ghostwhite;              /* Crisp white for headings */
    --text-muted: #fff;              /* Clean, readable silver-gray for secondary text */
    
    /* Structure */
    --font-family: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    font-weight: bolder;
}
body, .main-wrapper {
    min-width: 1280px;
    width: 100%;
}
body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-family);
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Containers mapping system */
.container, .custom-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Global Button Mechanics */
.theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), #00a2ff);
    color: #020617;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: var(--transition);
    font-size: 0.95rem;
}

.theme-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 28px rgba(0, 229, 255, 0.5);
    color: #020617;
}

.btn-secondary-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    box-shadow: none;
}

.btn-secondary-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-white);
    color: var(--text-white);
}

/* ==========================================================================
   NAVIGATION HEADER STRUCTURES
   ========================================================================== */
.main-header {
    position: relative;
    width: 100%;
    z-index: 999;
}

.header-top {
    background: #020617;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.text-accent {
    color: var(--primary);
    margin-right: 4px;
}

.header-lower {
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fallback-logo {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: -0.5px;
}
.fallback-logo b {
    color: var(--primary);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list a {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-white);
    position: relative;
    padding: 8px 0;
    text-transform: uppercase;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--text-white);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-list a:hover::after, .nav-list a.active::after {
    width: 100%;
}

.nav-list .start-btn {
    background: #16ab5b;
    color: var(--text-white) !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
}
.nav-list .start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(15, 123, 55, 0.4);
}
.nav-list .start-btn::after { display: none; }

/* ==========================================================================
   DYNAMIC HERO SLIDER WITH TYPING CURSOR PIPELINES
   ========================================================================== */
.main-slider {
    position: relative;
    height: calc(30vh - 120px);
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    background-color: #020617;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    z-index: 1;
    transform: scale(1.05);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.slide.prev {
    z-index: 1;
    opacity: 0;
}

.content-boxed {
    max-width: 800px;
    margin-left: max(24px, calc((100vw - 1200px) / 2));
    padding: 0 40px;
    z-index: 5;
}

.title-tag {
    color: var(--primary);
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s both;
}

.content-boxed h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
    min-height: 2.3em; 
    display: block;
    position: relative;
}

/* Typing Terminal Unique Core */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 0.95em;
    background-color: var(--primary);
    margin-left: 4px;
    vertical-align: middle;
    animation: blink 0.8s infinite steps(2);
}

@keyframes blink {
    50% { opacity: 0; }
}

.content-boxed p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 0.8s both 0.4s;
}

.hero-actions {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s both 0.6s;
}

/* Control Elements Navigation */
.slider-dots {
    position: absolute;
    bottom: 40px;
    right: 60px;
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-dots span {
    width: 45px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition);
}

.slider-dots span.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    width: 60px;
}
.theme-btn{
        background: #16ab5b;
        color: #fff !important;
        font-weight: 700;
        padding: 14px 32px;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 20px var(--primary-glow);
        transition: var(--transition);
        font-size: 0.95rem;
}
/* ==========================================================================
   SERVICES SECTION MODULE
   ========================================================================== */
.services {
    padding: 120px 0;
    background: radial-gradient(circle at 50% 0%, rgba(112, 0, 255, 0.08), transparent 60%);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.icon-wrap {
    background-color: var(--primary);
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(15, 23, 42, 0.85);
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(112, 0, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card .icon {
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* ==========================================================================
   ABOUT & INTERACTIVE REVEALS CONTEXTS
   ========================================================================== */
.about {
    padding: 60px 0 120px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tag {
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 16px;
}

.about-left h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 800;
}

.about-right p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PARTNERSHIP REFERRAL STYLES
   ========================================================================== */
.referral {
    padding: 100px 0;
    background: rgba(15, 23, 42, 0.4);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.referral-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.referral-image img {
    border-radius: 16px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
}

.check-list {
    margin: 24px 0 40px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--text-white);
    font-weight: 500;
}

.check-list li i {
    color: var(--primary);
}

/* ==========================================================================
   STEPS SYSTEM MODULE
   ========================================================================== */
.steps-section {
    padding: 120px 0;
    text-align: center;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 64px;
    font-size: 1.1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.step-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 50px 32px;
    border-radius: 16px;
}

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #16ab5b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(112, 0, 255, 0.4);
}

.step-card h3 {
    margin: 16px 0 12px;
    font-size: 1.4rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   FEATURES INTEGRATION GRID
   ========================================================================== */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(2,6,23,0.7));
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.features-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.features-left .feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px 24px;
    border-radius: 12px;
}

.features-left .feature-card h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.features-left .feature-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.features-right h2 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.features-right p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.mini-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.mini-box {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

/* ==========================================================================
   INSTITUTIONAL safeprimeasset SHOWCASE 
   ========================================================================== */
.safeprimeasset-showcase {
    padding: 120px 0;
    background: #090e1a;
}

.safeprimeasset-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: center;
}

.media-stack {
    position: relative;
}

.media-main img {
    border-radius: 16px;
    border: 1px solid var(--border-color);
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.growth-card {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--primary);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    width: 240px;
}

.growth-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.growth-header i { color: #00e5ff; }

.growth-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #10b981;
    margin: 8px 0 2px;
}

.growth-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.safeprimeasset-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.safeprimeasset-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin: 16px 0 24px;
    line-height: 1.2;
}

.safeprimeasset-text {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.safeprimeasset-features {
    margin-bottom: 40px;
}

.safeprimeasset-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 500;
}

.safeprimeasset-actions {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   PRICING & CARD ASSET ARCHITECTURES
   ========================================================================== */
.pricing-section {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.plan-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.plan-card.popular {
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.05), transparent);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #020617;
    padding: 4px 16px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 20px;
    text-transform: uppercase;
}

.plan-card h3 {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 16px;
}

.plan-profit {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.plan-duration {
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 8px 0 32px;
}

.plan-card ul {
    margin-bottom: 40px;
    text-align: left;
}

.plan-card ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.98rem;
    color: var(--text-white);
}

.plan-card ul li b { color: var(--text-white); }

.plan-card .theme-btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* ==========================================================================
   UNIQUE THEME IMPLEMENTATION: INTERACTIVE GLASS-TRADING CARDS
   ========================================================================== */
.trade {
    padding: 120px 0;
    background: radial-gradient(circle at 50% 100%, rgba(112,0,255,0.1), transparent 50%);
}

.header-section {
    text-align: center;
    margin-bottom: 70px;
}

.header-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.header-section p {
    color: var(--text-muted);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.investment-card {
    background: rgba(10, 16, 32, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.investment-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.visual-box {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.visual-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.investment-card:hover .visual-box img {
    transform: scale(1.08);
}

.floating-icon {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: var(--bg-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    color: var(--primary);
}

.content-box {
    padding: 28px;
}

.category-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-box h3 {
    font-size: 1.4rem;
    margin: 6px 0 14px;
}

.content-box p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 24px;
    height: 66px;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}

.btn-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-link:hover { color: var(--primary); }

.status-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
}

.status-pill.up { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.status-pill.active-market { background: rgba(0, 229, 255, 0.1); color: var(--primary); }
.status-pill.stable { background: rgba(112, 0, 255, 0.15); color: #b480ff; }

/* ==========================================================================
   SECONDARY HERO CONTEXT PANEL BLOCK
   ========================================================================== */
.hero-block {
    padding: 120px 0;
    background: linear-gradient(180deg, #060913, #02050c);
}

.hero-block-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-block-text .hero-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    display: block;
    margin-bottom: 16px;
}

.hero-block-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-block-text .highlight {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 16px;
}

.hero-block-text .description {
    color: var(--text-muted);
}

.hero-block-image {
    position: relative;
}

.hero-block-image img {
    width: 100%;
    border-radius: 16px;
    z-index: 2;
    position: relative;
}

.img-border-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--secondary);
    border-radius: 16px;
    z-index: 1;
}

/* ==========================================================================
   WIDGETS & SYSTEM FOOTER ARCHITECTURE
   ========================================================================== */
.tradingview-widget-container {
    background: #020617;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.main-footer {
    background: #01040a;
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   SCROLL REVEAL DRIVER GRAPHICS & ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM MEDIA BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .about-grid, .referral-grid, .features-grid, .safeprimeasset-container, .hero-block-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .features-left { order: 2; }
    .features-right { order: 1; }
    .slider-dots { right: 50%; transform: translateX(50%); }
}

@media (max-width: 768px) {
    .main-nav { display: none; } /* Dropdown tracking can be added here if responsive mobile nav is needed */
    .content-boxed { padding: 0 20px; margin-left: 0; }
    .pricing-grid, .grid-container { grid-template-columns: 1fr; }
}