/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a84ff;
    --primary-dark: #0066cc;
    --secondary-color: #00d4aa;
    --dark-bg: #0a0e17;
    --darker-bg: #050a14;
    --card-bg: #131a2a;
    --text-color: #e6e9f0;
    --text-muted: #8a93a7;
    --border-color: #1e2a44;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --glow: 0 0 15px rgba(10, 132, 255, 0.5);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header Styles */
.header {
    background-color: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a {
    font-weight: 500;
    position: relative;
}

.nav a:not(.btn-login, .btn-register):after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav a:not(.btn-login, .btn-register):hover:after {
    width: 100%;
}

.btn-login, .btn-register {
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-login {
    border: 1px solid var(--primary-color);
}

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

.btn-register:hover {
    box-shadow: var(--glow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow);
}

.btn-secondary {
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(10, 132, 255, 0.1);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mining-visual {
    width: 400px;
    height: 400px;
    position: relative;
}

.crypto-chip {
    width: 200px;
    height: 200px;
    background: var(--card-bg);
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.crypto-chip:before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: conic-gradient(var(--primary-color), var(--secondary-color), var(--primary-color));
    animation: rotate 10s linear infinite;
}

.crypto-chip:after {
    content: '';
    position: absolute;
    width: 190px;
    height: 190px;
    background: var(--card-bg);
    border-radius: 15px;
}

.mining-graph {
    width: 300px;
    height: 150px;
    background: var(--card-bg);
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    right: 0;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.blockchain-animation {
    width: 250px;
    height: 100px;
    background: var(--card-bg);
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(10, 132, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.icon-chip, .icon-shield, .icon-profit, .icon-support {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 8px;
    position: relative;
}

.icon-chip:after, .icon-shield:after, .icon-profit:after, .icon-support:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--dark-bg);
    border-radius: 4px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Plans Section */
.plans {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.plans h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plan-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.plan-card.popular {
    border: 1px solid var(--primary-color);
    transform: scale(1.05);
}

.plan-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-features {
    margin-bottom: 30px;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.plan-features li:last-child {
    border-bottom: none;
}

.btn-plan {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: var(--gradient);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    box-shadow: var(--glow);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--card-bg);
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 70px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .plan-card.popular {
        transform: scale(1);
    }
    
    .plan-card.popular:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: var(--darker-bg);
        flex-direction: column;
        padding: 30px;
        transition: left 0.3s ease;
        border-right: 1px solid var(--border-color);
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
    
    .mining-visual {
        width: 300px;
        height: 300px;
    }
    
    .crypto-chip {
        width: 150px;
        height: 150px;
    }
    
    .crypto-chip:after {
        width: 140px;
        height: 140px;
    }
    
    .mining-graph {
        width: 220px;
        height: 110px;
    }
    
    .blockchain-animation {
        width: 180px;
        height: 80px;
    }
    
    .features h2, .plans h2, .cta h2 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .features, .plans, .stats, .cta {
        padding: 60px 0;
    }
    
    .feature-card, .plan-card {
        padding: 20px;
    }
    
    .plan-price {
        font-size: 2.5rem;
    }
}