/* BitCashStaking - Main Stylesheet */

/* Base Variables */
:root {
    --color-dark: #0b0e11;
    --color-dark-gray: #181a20;
    --color-neon: #f0b90b;
    --color-white: #ffffff;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    --font-orbitron: 'Orbitron', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
    
    /* Responsive Breakpoints */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    
    /* Form Variables */
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.1);
    --input-focus-border: var(--color-neon);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-poppins);
    background-color: var(--color-dark);
    color: var(--color-white);
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Mobile Menu Animation Styles */
#mobile-menu {
    position: fixed;
    top: 80px;
    right: 0;
    width: 100%;
    max-width: 300px;
    background-color: var(--color-dark-gray);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    height: calc(100vh - 80px);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease;
    opacity: 0;
    z-index: 999;
    overflow-y: auto;
}

#mobile-menu.menu-visible {
    transform: translateX(0);
    opacity: 1;
}

.mobile-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

.mobile-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.mobile-toggle-btn .menu-icon {
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.mobile-toggle-btn-active {
    background-color: var(--color-neon);
    color: var(--color-dark);
    border-color: var(--color-neon);
}

.mobile-toggle-btn-active:hover {
    background-color: var(--color-neon);
    opacity: 0.9;
}

.menu-icon-active {
    transform: rotate(180deg);
}

body.menu-open {
    overflow: hidden;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--color-dark-gray);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    background: none;
    border: none;
    color: var(--color-gray-400);
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--color-white);
}

.modal-body {
    padding: 20px;
}

.bg-dark {
    background-color: var(--color-dark);
}

.bg-dark-gray {
    background-color: var(--color-dark-gray);
}

.bg-dark-transparent {
    background-color: rgba(11, 14, 17, 0.8);
}

.text-white {
    color: var(--color-white);
}

.text-neon {
    color: var(--color-neon);
}

.text-gray-300 {
    color: var(--color-gray-300);
}

.text-gray-400 {
    color: var(--color-gray-400);
}

.text-gray-500 {
    color: var(--color-gray-500);
}

.font-orbitron {
    font-family: var(--font-orbitron);
}

.font-poppins {
    font-family: var(--font-poppins);
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.leading-tight {
    line-height: 1.25;
}

.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.w-full {
    width: 100%;
}

.w-32 {
    width: 8rem;
}

.h-32 {
    height: 8rem;
}

.min-h-screen {
    min-height: 100vh;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-auto {
    overflow-x: auto;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

.border {
    border-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-gray-800 {
    border-color: var(--color-gray-800);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Header Styles */
header {
    transition: background-color 0.3s ease;
}

header .logo a {
    display: flex;
    align-items: center;
}

header nav ul {
    list-style: none;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
}

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

.btn-primary:hover {
    background-color: #d9a70a;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: rgba(240, 185, 11, 0.1);
    transform: translateY(-2px);
}

/* Section Styles */
.section-title {
    font-family: var(--font-orbitron);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--color-gray-400);
    max-width: 36rem;
    margin: 0 auto;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, rgba(11, 14, 17, 0.9), rgba(24, 26, 32, 0.9));
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Features Section */
.feature-card {
    padding: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.8), rgba(11, 14, 17, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(240, 185, 11, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-neon);
    margin-bottom: 1rem;
}

.feature-title {
    font-family: var(--font-orbitron);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--color-gray-400);
}

/* App Screenshots Section */
.screenshot-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
}

.phone-mockup {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.8), rgba(11, 14, 17, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.screenshot-img {
    border-radius: 0.75rem;
    width: 100%;
    height: auto;
}

.screenshot-caption {
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

/* Registration Form */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    color: var(--color-white);
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-neon);
}

.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

/* Download Section */
.download-card {
    padding: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.8), rgba(11, 14, 17, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.download-icon {
    font-size: 3rem;
    color: var(--color-neon);
    margin-bottom: 1rem;
}

.download-title {
    font-family: var(--font-orbitron);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.download-description {
    color: var(--color-gray-400);
    margin-bottom: 1.5rem;
}

/* Earning Diagram */
.diagram-container {
    overflow: hidden;
}

.diagram {
    position: relative;
    margin: 0 auto;
}

.diagram-node {
    position: absolute;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.8), rgba(11, 14, 17, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.diagram-node:hover {
    transform: scale(1.05);
    border-color: var(--color-neon);
}

.node-icon {
    font-size: 2rem;
    color: var(--color-neon);
    margin-bottom: 0.5rem;
}

.node-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}

.node-1 {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

.node-2 {
    top: 50%;
    left: 25%;
    transform: translateY(-50%);
}

.node-3 {
    top: 50%;
    left: 45%;
    transform: translateY(-50%);
}

.node-4 {
    top: 50%;
    left: 65%;
    transform: translateY(-50%);
}

.node-5 {
    top: 50%;
    left: 85%;
    transform: translateY(-50%);
}

.diagram-arrow {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, rgba(240, 185, 11, 0.3), rgba(240, 185, 11, 1));
    z-index: 1;
}

.arrow-1-2 {
    top: 50%;
    left: 13%;
    width: 10%;
}

.arrow-2-3 {
    top: 50%;
    left: 33%;
    width: 10%;
}

.arrow-3-4 {
    top: 50%;
    left: 53%;
    width: 10%;
}

.arrow-4-5 {
    top: 50%;
    left: 73%;
    width: 10%;
}

.diagram-arrow::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -4px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid var(--color-neon);
}

/* FAQ Section */
.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background: transparent;
    border: none;
    color: var(--color-white);
    font-size: 1.125rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-neon);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1rem;
}

.faq-answer p {
    color: var(--color-gray-400);
}

/* Footer */
.footer-heading {
    font-family: var(--font-orbitron);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-gray-400);
    transition: color 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-neon);
    transition: width 0.3s ease;
}

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

.footer-links a:hover::after {
    width: 100%;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--color-gray-400);
}

.footer-contact a {
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--color-neon);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
}

.animate-slideUp {
    animation: slideUp 0.8s ease forwards;
}

/* Responsive Styles */
@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .md\:block {
        display: block;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .md\:text-2xl {
        font-size: 1.5rem;
    }
    
    .md\:text-6xl {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 40;
}

/* App Section Styles */
.app-feature {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--color-neon);
}

/* Registration Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 0.375rem;
    color: var(--color-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--input-focus-border);
    box-shadow: 0 0 0 2px rgba(240, 185, 11, 0.2);
}

.form-input::placeholder {
    color: var(--color-gray-500);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .app-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .app-feature {
        padding: 1.25rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Mobile Menu Button */
.mobile-toggle-btn {
    background-color: var(--color-dark-gray);
    border: 1px solid var(--color-gray-700);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-toggle-btn:hover {
    background-color: var(--color-gray-800);
    border-color: var(--color-neon);
}

.mobile-toggle-btn .menu-icon {
    color: var(--color-white);
    font-size: 24px;
}

.mobile-toggle-btn:hover .menu-icon {
    color: var(--color-neon);
}

.mobile-toggle-btn-active {
    background-color: var(--color-neon);
    border-color: var(--color-neon);
}

.mobile-toggle-btn-active .menu-icon,
.mobile-toggle-btn-active:hover .menu-icon {
    color: var(--color-dark);
}

.menu-icon-active {
    color: var(--color-dark) !important;
}

/* Prevent scrolling when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .screenshot-item {
        margin-bottom: 2rem;
    }
    
    .form-input {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .diagram {
        min-width: 320px !important;
        height: 180px !important;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .download-card {
        padding: 1.25rem;
    }
}

/* Glow Effects */
.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-neon), transparent, var(--color-neon));
    z-index: -1;
    border-radius: inherit;
    animation: glowing 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::before {
    opacity: 1;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* Minimum width for diagram on small screens */
.min-w-\[768px\] {
    min-width: 768px;
}