/* ============================================================
   BTCInvest – Frontend Blue Design Skin
   Matching the dashboard blue (#0047ba) design system
   ============================================================ */

:root {
    --front-primary: #0047ba;
    --front-primary-dark: #003091;
    --front-primary-deeper: #001f5c;
    --front-primary-light: #e8f0fe;
    --front-accent: #2ecc40;
    --front-white: #ffffff;
    --front-light: #f5f7fb;
    --front-border: #e2e6ed;
    --front-text: #1c2b46;
    --front-text-light: #6e82a5;
    --front-radius: 14px;
    --front-radius-sm: 8px;
    --front-radius-lg: 20px;
    --front-shadow: 0 4px 24px rgba(0, 30, 80, 0.07);
    --front-shadow-lg: 0 12px 48px rgba(0, 30, 80, 0.12);
    --front-gradient: linear-gradient(135deg, #0052d4 0%, #003399 100%);
    --front-gradient-hero: linear-gradient(160deg, #0052d4 0%, #0041b0 40%, #002770 100%);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.front-header {
    position: relative;
    z-index: 100;
}
.front-header-bar {
    background: var(--front-gradient);
    padding: 0;
    position: relative;
}
.front-header-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.08);
}
.front-header .header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

/* Logo area - force white text */
.front-header .nk-sidebar-logo,
.front-header .header-logo,
.front-header .logo-link {
    color: var(--front-white) !important;
}
.front-header .logo-dark {
    display: none !important;
}
.front-header .logo-light {
    display: inline-block !important;
}

/* Nav links */
.front-header .menu-link.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}
.front-header .menu-link.nav-link:hover,
.front-header .menu-link.nav-link:focus {
    color: var(--front-white) !important;
    background: rgba(255, 255, 255, 0.1);
}

/* Hamburger */
.front-header .menu-toggler {
    color: var(--front-white);
}
.front-header .menu-toggler .icon {
    color: var(--front-white) !important;
}

/* Login button */
.front-login-btn {
    background: var(--front-white) !important;
    color: var(--front-primary) !important;
    border-color: var(--front-white) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 8px 22px !important;
    border-radius: 24px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.front-login-btn:hover {
    background: rgba(255,255,255,0.92) !important;
    color: var(--front-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.front-login-btn .icon {
    color: var(--front-primary) !important;
}

/* User avatar in nav */
.front-nav-avatar {
    background: rgba(255,255,255,0.18) !important;
    border: 1.5px solid rgba(255,255,255,0.4) !important;
}
.front-nav-avatar .icon {
    color: var(--front-white) !important;
}

/* Mobile nav */
@media (max-width: 991px) {
    .front-header .header-menu {
        background: var(--front-primary-deeper);
        border-top: 1px solid rgba(255,255,255,0.06);
    }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.front-hero-section {
    background: var(--front-gradient-hero);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.front-hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.front-hero-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.front-hero-circle--1 {
    width: 500px;
    height: 500px;
    top: -200px;
    right: -120px;
}
.front-hero-circle--2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -80px;
}
.front-hero-circle--3 {
    width: 160px;
    height: 160px;
    top: 40%;
    left: 15%;
    background: rgba(255,255,255,0.02);
}
.front-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}
.front-hero-title {
    color: var(--front-white);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}
.front-hero-highlight {
    background: linear-gradient(90deg, #56d8ff, #80eaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.front-hero-sub {
    color: rgba(255,255,255,0.75);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.front-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.front-btn-hero-primary {
    background: var(--front-white) !important;
    color: var(--front-primary) !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 34px;
    border-radius: 28px;
    border: 2px solid var(--front-white);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.front-btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.95) !important;
}
.front-btn-hero-outline {
    background: transparent !important;
    color: var(--front-white) !important;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 34px;
    border-radius: 28px;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}
.front-btn-hero-outline:hover {
    border-color: var(--front-white);
    background: rgba(255,255,255,0.08) !important;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .front-hero-section {
        padding: 50px 0 70px;
    }
    .front-hero-title {
        font-size: 28px;
    }
    .front-hero-sub {
        font-size: 15px;
    }
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.front-section-head {
    text-align: center;
    margin-bottom: 40px;
}
.front-section-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--front-text);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.front-section-sub {
    font-size: 16px;
    color: var(--front-text-light);
    max-width: 480px;
    margin: 0 auto;
}

/* ============================================================
   INVESTMENT PLAN CARDS
   ============================================================ */
.front-plans-section {
    padding: 70px 0;
    background: var(--front-light);
}
.front-plan-card {
    background: var(--front-white);
    border-radius: var(--front-radius-lg);
    padding: 36px 28px 32px;
    text-align: center;
    border: 1.5px solid var(--front-border);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.front-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--front-shadow-lg);
    border-color: transparent;
}
.front-plan-card--featured {
    background: var(--front-gradient);
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(0, 40, 120, 0.25);
    color: var(--front-white);
}
.front-plan-card--featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 52px rgba(0, 40, 120, 0.32);
}
.front-plan-badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: var(--front-white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.2);
}
.front-plan-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.front-plan-card--featured .front-plan-name {
    color: var(--front-white);
}
.front-plan-roi {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--front-primary);
}
.front-plan-roi span {
    font-weight: 400;
    opacity: 0.7;
}
.front-plan-card--featured .front-plan-roi {
    color: rgba(255,255,255,0.8);
}
.front-plan-rate {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--front-border);
}
.front-plan-card--featured .front-plan-rate {
    border-bottom-color: rgba(255,255,255,0.15);
}
.front-plan-rate h3 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}
.front-plan-card--featured .front-plan-rate h3 {
    color: var(--front-white);
}
.front-plan-rate span {
    font-size: 13px;
    color: var(--front-text-light);
    font-weight: 500;
}
.front-plan-card--featured .front-plan-rate span {
    color: rgba(255,255,255,0.65);
}
.front-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}
.front-plan-features li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 13px;
}
.front-plan-card--featured .front-plan-features li {
    border-bottom-color: rgba(255,255,255,0.08);
}
.front-plan-features li:last-child {
    border-bottom: none;
}
.front-plan-feat-label {
    color: var(--front-text-light);
    font-weight: 500;
}
.front-plan-card--featured .front-plan-feat-label {
    color: rgba(255,255,255,0.65);
}
.front-plan-feat-value {
    font-weight: 600;
    color: var(--front-text);
}
.front-plan-card--featured .front-plan-feat-value {
    color: var(--front-white);
}
.front-plan-action {
    margin-top: auto;
}
.front-btn-plan-primary {
    display: block;
    width: 100%;
    background: var(--front-white) !important;
    color: var(--front-primary) !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    transition: all 0.25s ease;
}
.front-btn-plan-primary:hover {
    background: rgba(255,255,255,0.92) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.front-btn-plan-outline {
    display: block;
    width: 100%;
    background: transparent !important;
    color: var(--front-primary) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 10px;
    border: 1.5px solid var(--front-primary);
    transition: all 0.25s ease;
}
.front-btn-plan-outline:hover {
    background: var(--front-primary) !important;
    color: var(--front-white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,71,186,0.2);
}

/* ============================================================
   HOW IT WORKS / STEPS
   ============================================================ */
.front-steps-section {
    padding: 70px 0 80px;
    background: var(--front-white);
}
.front-step-card {
    background: var(--front-white);
    border: 1.5px solid var(--front-border);
    border-radius: var(--front-radius);
    padding: 28px 22px 24px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.front-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--front-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.front-step-card:hover {
    border-color: transparent;
    box-shadow: var(--front-shadow-lg);
    transform: translateY(-4px);
}
.front-step-card:hover::before {
    opacity: 1;
}
.front-step-num {
    font-size: 32px;
    font-weight: 800;
    color: rgba(0, 71, 186, 0.08);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.front-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--front-primary-light);
    color: var(--front-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}
.front-step-card:hover .front-step-icon {
    background: var(--front-primary);
    color: var(--front-white);
    transform: scale(1.05);
}
.front-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--front-text);
    margin-bottom: 8px;
}
.front-step-text {
    font-size: 13px;
    color: var(--front-text-light);
    line-height: 1.55;
    margin-bottom: 16px;
    flex: 1;
}
.front-step-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--front-primary);
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}
.front-step-link:hover {
    color: var(--front-primary-dark);
    gap: 8px;
}

/* Payment Card */
.front-payment-card {
    background: var(--front-gradient);
    border-radius: var(--front-radius-lg);
    overflow: hidden;
    position: relative;
    height: 100%;
}
.front-payment-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.front-payment-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.front-payment-card-inner {
    padding: 36px 28px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: center;
}
.front-payment-title {
    color: var(--front-white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}
.front-payment-text {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 20px;
}
.front-payment-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}
.front-payment-icon-item {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.front-payment-icon-item:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}
.front-payment-icon-item .icon {
    font-size: 22px;
    color: var(--front-white);
}
.front-btn-payment {
    display: block;
    width: 100%;
    background: var(--front-white) !important;
    color: var(--front-primary) !important;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 24px;
    border-radius: 12px;
    border: none;
    transition: all 0.25s ease;
}
.front-btn-payment:hover {
    background: rgba(255,255,255,0.92) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.front-footer {
    background: #0a1628;
}
.front-footer-top {
    padding: 40px 0 30px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.front-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    justify-content: center;
}
@media (min-width: 768px) {
    .front-footer-brand {
        justify-content: flex-start;
    }
}
.front-footer-brand-icon {
    font-size: 24px;
    color: #56d8ff;
}
.front-footer-brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--front-white);
    letter-spacing: 0.01em;
}
.front-footer-tagline {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    margin: 0;
}
.front-social-list {
    display: flex;
    gap: 10px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (min-width: 768px) {
    .front-social-list {
        justify-content: flex-end;
    }
}
.front-social-list li a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none !important;
    transition: all 0.25s ease;
    font-size: 16px;
}
.front-social-list li a:hover {
    background: var(--front-primary);
    border-color: var(--front-primary);
    color: var(--front-white);
    transform: translateY(-2px);
}
.front-footer-bottom {
    padding: 20px 0;
}
.front-footer-copyright {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}
.front-footer-nav {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    flex-wrap: wrap;
}
@media (min-width: 768px) {
    .front-footer-nav {
        justify-content: flex-end;
    }
}
.front-footer-nav li a {
    color: rgba(255,255,255,0.45);
    font-size: 13px;
    text-decoration: none !important;
    transition: color 0.2s ease;
    font-weight: 500;
}
.front-footer-nav li a:hover {
    color: var(--front-white);
}
.front-footer-disclaimer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.front-footer-disclaimer p {
    color: rgba(255,255,255,0.3);
    font-size: 12px;
    margin: 0;
    text-align: center;
}

/* ============================================================
   PAGE CONTENT AREA
   ============================================================ */
.front-page-content {
    background: var(--front-light);
    min-height: 50vh;
}
.front-section-page {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Investment Plans Page Override */
.front-page-content .nk-block-head-lg {
    padding-bottom: 30px;
}
.front-page-content .nk-block-title {
    color: var(--front-text);
    font-weight: 800;
}
.front-page-content .nk-ivp-card {
    border-radius: var(--front-radius);
    border-color: var(--front-border);
    transition: all 0.3s ease;
}
.front-page-content .nk-ivp-card:hover {
    box-shadow: var(--front-shadow-lg);
    transform: translateY(-3px);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes front-fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.front-hero-inner {
    animation: front-fadeInUp 0.6s ease both;
}
.front-plan-card {
    animation: front-fadeInUp 0.5s ease both;
}
.front-plan-card:nth-child(1) { animation-delay: 0.1s; }
.front-plan-card:nth-child(2) { animation-delay: 0.2s; }
.front-plan-card:nth-child(3) { animation-delay: 0.3s; }
.front-step-card {
    animation: front-fadeInUp 0.5s ease both;
}
.front-step-card:nth-child(1) { animation-delay: 0.1s; }
.front-step-card:nth-child(2) { animation-delay: 0.15s; }
.front-step-card:nth-child(3) { animation-delay: 0.2s; }
