
/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--light-bg); overflow-x: hidden; }

/* ============================================
    NAVIGATION
    ============================================ */
.navbar {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-brand-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-link {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--gray-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.nav-cta {
    display: flex;
    gap: 8px;
}

.btn {
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
    border: none;
    cursor: pointer;
    display: inline-block;
    white-space: nowrap;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* ============================================
    HERO SECTION
    ============================================ */
.hero {
    background: linear-gradient(135deg, #42aaab 0%, #389091 100%);
    padding: 60px 20px 50px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out;
    text-align: center;
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 28px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 0.6s ease-out backwards;
    min-width: 100px;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-hero {
    padding: 14px 28px;
    font-size: 15px;
}

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

/* Dashboard Preview */
.hero-visual {
    animation: fadeInRight 0.8s ease-out;
    max-width: 600px;
    margin: 0 auto;
}

.dashboard-preview {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 10px;
}

.preview-title {
    font-size: 16px;
    font-weight: 700;
}

.preview-badge {
    background: rgba(16, 185, 129, 0.3);
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
}

.preview-value {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 6px;
}

.preview-change {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.preview-chart {
    background: rgba(255,255,255,0.1);
    height: 80px;
    border-radius: 10px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, transparent, rgba(255,255,255,0.3));
    clip-path: polygon(0 100%, 10% 75%, 20% 80%, 30% 65%, 40% 70%, 50% 55%, 60% 60%, 70% 45%, 80% 50%, 90% 35%, 100% 40%, 100% 100%);
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.preview-stat {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 8px;
}

.preview-stat-label {
    font-size: 10px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.preview-stat-value {
    font-size: 14px;
    font-weight: 700;
}

/* ============================================
    TRUST BAR
    ============================================ */
.trust-bar {
    background: white;
    padding: 40px 20px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.trust-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.trust-item {
    text-align: center;
    animation: fadeInUp 0.6s ease-out backwards;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--primary-color);
    font-size: 28px;
    transition: all .3s;
}

.trust-item:hover .trust-icon {
    background: var(--primary-color);
    color: white;
    transform: translateY(-4px);
}

.trust-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
}

/* =========================================
    LIVE MARKET OVERVIEW SECTION
========================================= */

.market-section {
    padding: var(--spacing-4xl) var(--spacing-xl);
    background: var(--body-bg);
    padding: 80px 40px;
}

.market-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

/* Section Title */
.market-title {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid Layout */
.market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
}

/* Market Card Box */
.market-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.market-card:hover {
    /* background: var(--primary-color); */
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* Card Header */
.market-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.market-card-header h6 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.market-card-header a {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.market-card-header a:hover {
    color: var(--primary-hover);
}

/* Coin Row */
.market-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    cursor: pointer;
}

/* .market-row:hover {
    background: var(--hover-bg);
} */


.market-row:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

/* Left side */
.market-coin {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.market-coin img {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
}

.market-coin-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.market-coin-symbol {
    font-size: 12px;
    color: var(--text-muted);
}

/* Price */
.market-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

/* Change Badge */
.market-change {
    min-width: 70px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.market-change.positive {
    background: var(--success-light);
    color: var(--success-dark);
}

.market-change.negative {
    background: var(--danger-light);
    color: var(--danger-dark);
}

/* Divider */
.market-row + .market-row {
    border-top: 1px solid var(--divider-color);
}

/* Live Animation Flash */
.price-up {
    animation: flashGreen 0.6s ease;
}

.price-down {
    animation: flashRed 0.6s ease;
}

@keyframes flashGreen {
    0% { background: var(--success-light); }
    100% { background: transparent; }
}

@keyframes flashRed {
    0% { background: var(--danger-light); }
    100% { background: transparent; }
}

/* Responsive */
@media (max-width: 992px) {
    .market-grid {
    grid-template-columns: 1fr;
    }
}

/* ============================================
    INVESTMENT PLANS
    ============================================ */
.plans-section {
    padding: 60px 20px;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-desc {
    font-size: 15px;
    color: var(--gray-color);
    line-height: 1.6;
}

.plans-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.plan-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 2px solid #e2e8f0;
    transition: all .25s;
    position: relative;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out backwards;
}

.plan-card:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(66,170,171,.2);
}

.plan-card.featured {
    background: linear-gradient(135deg, #42aaab, #389091);
    color: white;
    transform: translateY(-4px);
    border: none;
    box-shadow: 0 15px 30px rgba(66,170,171,.3);
}

.plan-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(66,170,171,.4);
}

.plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--success-color);
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 6px;
}

.plan-desc {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.plan-roi {
    font-size: 40px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.plan-card.featured .plan-roi {
    color: white;
}

.roi-period {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

.plan-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.feature-check {
    color: var(--primary-color);
    font-size: 14px;
    flex-shrink: 0;
}

.plan-card.featured .feature-check {
    color: white;
}

.plan-cta {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all .2s;
    font-size: 14px;
}

.plan-card:not(.featured) .plan-cta {
    background: var(--primary-light);
    color: var(--primary-color);
}

.plan-card:not(.featured) .plan-cta:hover {
    background: var(--primary-color);
    color: white;
}

.plan-card.featured .plan-cta {
    background: white;
    color: var(--primary-color);
}

.plan-card.featured .plan-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* ============================================
    FEATURES
    ============================================ */
.features-section {
    padding: 60px 20px;
    background: white;
}

.features-grid {
    max-width: 1400px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,.07);
    border: 1px solid rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.6;
}

/* ============================================
    STATS
    ============================================ */
.stats-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #42aaab, #389091);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-big-number {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 6px;
}

.stat-big-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ============================================
    CTA
    ============================================ */
.cta-section {
    padding: 60px 20px;
    background: var(--light-bg);
}

.cta-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #42aaab, #389091);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(66,170,171,.3);
}

.cta-card h2 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

/* ============================================
    FOOTER
    ============================================ */
.footer {
    background: var(--dark-color);
    color: var(--gray-color);
    padding: 40px 20px 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-section h4 {
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--gray-color);
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(100,116,139,0.2);
    text-align: center;
    font-size: 13px;
}

/* ============================================
MOBILE MENU
============================================ */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-links {
    flex: 1;
    padding: 20px 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: var(--primary-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.mobile-nav-link i {
    font-size: 20px;
    color: var(--primary-color);
}

.mobile-menu-cta {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    background: var(--light-bg);
}
    
/* ============================================
    RESPONSIVE BREAKPOINTS
    ============================================ */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .nav-container {
    padding: 0 30px;
    }
    
    .hero-content h1 {
    font-size: 36px;
    }
    
    .hero-content p {
    font-size: 17px;
    }
    
    .stat-number {
    font-size: 32px;
    }
    
    .section-title {
    font-size: 32px;
    }
    
    .trust-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    }
    
    .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
    grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-card h2 {
    font-size: 32px;
    }

    .crypto-card {
    min-width: 220px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .navbar {
    padding: 16px 0;
    }
    
    .nav-container {
    padding: 0 40px;
    }
    
    .nav-brand-text {
    font-size: 20px;
    }
    
    .nav-menu {
    display: flex !important;
    }
    
    .nav-cta {
    display: flex !important;
    }
    
    .hero {
    padding: 80px 40px 60px;
    }
    
    .hero-content {
    text-align: left;
    }
    
    .hero-content h1 {
    font-size: 42px;
    }
    
    .hero-content p {
    font-size: 18px;
    }
    
    .hero-stats {
    justify-content: flex-start;
    gap: 40px;
    }
    
    .hero-buttons {
    justify-content: flex-start;
    }
    
    .stat-number {
    font-size: 36px;
    }
    
    .btn-hero {
    padding: 16px 32px;
    font-size: 16px;
    }
    
    .preview-value {
    font-size: 40px;
    }
    
    .preview-chart {
    height: 100px;
    }
    
    .section-title {
    font-size: 36px;
    }
    
    .section-desc {
    font-size: 17px;
    }
    
    .plans-section,
    .features-section,
    .stats-section,
    .cta-section {
    padding: 80px 40px;
    }
    
    .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    }
    
    .stat-big-number {
    font-size: 48px;
    }
    
    .stat-big-label {
    font-size: 16px;
    }
    
    .cta-card {
    padding: 60px 40px;
    }
    
    .cta-card h2 {
    font-size: 38px;
    }
    
    .cta-card p {
    font-size: 18px;
    }
    
    .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    }

    .crypto-card {
    min-width: 240px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    }
    
    .hero-content h1 {
    font-size: 48px;
    }
    
    .section-title {
    font-size: 42px;
    }
    
    .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    }
    
    .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-content h1 {
    font-size: 52px;
    }
    
    .plans-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    }
    
    .plan-card {
    padding: 32px;
    }
    
    .plan-name {
    font-size: 24px;
    }
    
    .plan-desc {
    font-size: 14px;
    }
    
    .plan-roi {
    font-size: 48px;
    }
    
    .roi-period {
    font-size: 13px;
    }
    
    .plan-features li {
    font-size: 14px;
    }
    
    .plan-cta {
    padding: 14px;
    }
}

/* Hide nav menu and CTA on mobile by default */
@media (max-width: 767px) {
    .nav-menu,
    .nav-cta {
    display: none;
    }
    .mobile-menu-btn {
    display: block;
    }
}