/* ============================================
   Vurdari - Cryptix-Inspired Premium Design
   ============================================ */

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

::selection {
    background: rgba(52, 211, 153, 0.3);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #34d399, #10b981);
    border-radius: 4px;
}

/* Hide scrollbar for testimonials */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ============================================
   Navigation
   ============================================ */
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

/* ============================================
   Buttons - Cryptix Style
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #34d399;
    color: #000;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background: #6ee7b7;
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 1px solid rgba(239, 68, 68, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.3);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-glow:hover::before {
    left: 100%;
}

/* ============================================
   Glass Cards
   ============================================ */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.glass-card-strong {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
}

/* ============================================
   Gradient Text
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #34d399 50%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   Form Inputs
   ============================================ */
.input-field {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.2s ease;
}

.input-field:focus {
    border-color: rgba(52, 211, 153, 0.5);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1);
}

.input-field::placeholder {
    color: #6b7280;
}

/* ============================================
   Select/Dropdown Styling
   ============================================ */
select.input-field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
    cursor: pointer;
}

select.input-field option {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 0.75rem 1rem;
}

select.input-field option:hover,
select.input-field option:focus,
select.input-field option:checked {
    background-color: #34d399;
    color: #000000;
}

/* Checkbox and Radio */
input[type="checkbox"],
input[type="radio"] {
    accent-color: #34d399;
}

/* ============================================
   Trade Widget
   ============================================ */
.trade-widget {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    overflow: hidden;
}

.trade-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.25rem;
    border-radius: 0.75rem;
    gap: 0.25rem;
}

.trade-tab {
    flex: 1;
    padding: 0.75rem 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: #9ca3af;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
}

.trade-tab.active {
    background: #34d399;
    color: #000;
}

.trade-tab:not(.active):hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.trade-input-group {
    position: relative;
}

.trade-input {
    width: 100%;
    padding: 1rem 1.25rem;
    padding-right: 120px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
}

.trade-input:focus {
    border-color: rgba(52, 211, 153, 0.5);
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1);
}

.trade-input::placeholder {
    color: #4b5563;
}

.currency-select {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-select:hover {
    background: rgba(255, 255, 255, 0.1);
}

.swap-button {
    width: 48px;
    height: 48px;
    margin: -0.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #34d399;
    border-radius: 50%;
    border: 4px solid #0a0a0a;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.swap-button:hover {
    transform: rotate(180deg);
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.5);
}

.rate-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(52, 211, 153, 0.1);
    border-radius: 0.75rem;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.4s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(52, 211, 153, 0.3);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.2), rgba(16, 185, 129, 0.2));
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: #34d399;
}

/* ============================================
   Steps
   ============================================ */
.step-card {
    position: relative;
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #34d399;
    border-radius: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    box-shadow: 0 10px 40px -10px rgba(52, 211, 153, 0.5);
}

.step-connector {
    position: absolute;
    top: 32px;
    left: calc(50% + 48px);
    width: calc(100% - 96px);
    height: 2px;
    background: linear-gradient(90deg, #34d399, #10b981);
    opacity: 0.3;
}

/* ============================================
   Rate Cards
   ============================================ */
.rate-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.rate-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.rate-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(52, 211, 153, 0.2);
    line-height: 1;
}

/* ============================================
   Crypto Marquee
   ============================================ */
.crypto-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.crypto-marquee-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.crypto-marquee-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-shrink: 0;
    align-items: center;
}

.crypto-marquee-content > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.crypto-marquee:hover .crypto-marquee-track {
    animation-play-state: paused;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease forwards;
    opacity: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(52, 211, 153, 0.8);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

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

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

/* ============================================
   Stat Cards
   ============================================ */
.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ============================================
   Loading States
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.03) 25%, 
        rgba(255, 255, 255, 0.08) 50%, 
        rgba(255, 255, 255, 0.03) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
    .crypto-coin {
        display: none;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .step-connector {
        display: none;
    }
}

/* ============================================
   Floating Elements
   ============================================ */
.crypto-float {
    position: relative;
    perspective: 1000px;
}

.crypto-coin {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 40px -20px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.crypto-coin svg {
    width: 50%;
    height: 50%;
}

.crypto-coin.bitcoin { color: #f7931a; }
.crypto-coin.ethereum { color: #627eea; }
.crypto-coin.usdt { color: #26a17b; }
.crypto-coin.solana { color: #9945ff; }

/* ============================================
   Notice Bar
   ============================================ */
#notice-bar {
    transition: all 0.3s ease;
}

/* ============================================
   Scrollbar for dark dropdowns
   ============================================ */
select option {
    background-color: #0a0a0a !important;
    color: white !important;
}
