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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --dark-bg: #1e293b;
    --darker-bg: #0f172a;
    --card-bg: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: #475569;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    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: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Desktop-only elements */
.desktop-only {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-line:first-child {
    color: var(--primary-color);
    animation: slideInLeft 1s ease-out 0.2s both;
}

.title-line:last-child {
    color: var(--text-primary);
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.download-btn {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

/* Первая кнопка на десктопе */
.download-btn:first-child {
    width: auto;
    height: auto;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    gap: 8px;
}

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

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

.download-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.download-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.download-btn:focus {
    outline: 2px solid rgba(99, 102, 241, 0.5);
    outline-offset: 2px;
}

.qr-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qr-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 200px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.phone-mockup {
    position: relative;
    width: 320px;
    height: 680px;
    margin: 0 auto;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: 45px;
    padding: 8px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 30px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: phoneFloat 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    border-radius: 45px;
    pointer-events: none;
    z-index: 1;
}

@keyframes phoneFloat {
    0%, 100% { 
        transform: translateY(0px) rotateY(0deg) rotateX(0deg); 
    }
    25% { 
        transform: translateY(-8px) rotateY(1deg) rotateX(1deg); 
    }
    50% { 
        transform: translateY(-12px) rotateY(2deg) rotateX(0deg); 
    }
    75% { 
        transform: translateY(-8px) rotateY(1deg) rotateX(-1deg); 
    }
}

/* Mobile-specific phone animations */
@media (max-width: 768px) {
    @keyframes phoneFloat {
        0%, 100% { 
            transform: perspective(1000px) translateY(0px) rotateY(-5deg) rotateX(5deg); 
        }
        25% { 
            transform: perspective(1000px) translateY(-8px) rotateY(-4deg) rotateX(4deg); 
        }
        50% { 
            transform: perspective(1000px) translateY(-15px) rotateY(-3deg) rotateX(3deg); 
        }
        75% { 
            transform: perspective(1000px) translateY(-8px) rotateY(-4deg) rotateX(4deg); 
        }
    }
}

@media (max-width: 480px) {
    @keyframes phoneFloat {
        0%, 100% { 
            transform: perspective(800px) translateY(0px) rotateY(-3deg) rotateX(3deg); 
        }
        25% { 
            transform: perspective(800px) translateY(-5px) rotateY(-2deg) rotateX(2deg); 
        }
        50% { 
            transform: perspective(800px) translateY(-10px) rotateY(-1deg) rotateX(1deg); 
        }
        75% { 
            transform: perspective(800px) translateY(-5px) rotateY(-2deg) rotateX(2deg); 
        }
    }
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 18px;
    background: #000;
    border-radius: 0 0 12px 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.phone-notch::before {
    content: '';
    width: 40px;
    height: 2px;
    background: #666;
    border-radius: 1px;
    margin-right: 10px;
}

.phone-notch::after {
    content: '';
    position: absolute;
    right: 12px;
    width: 4px;
    height: 4px;
    background: #4a5568;
    border-radius: 50%;
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.5);
}

.phone-mockup::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #333;
    border-radius: 2px;
}

.phone-button {
    position: absolute;
    background: #333;
    border-radius: 2px;
}

.phone-button.volume-up {
    left: -1px;
    top: 100px;
    width: 2px;
    height: 25px;
}

.phone-button.volume-down {
    left: -1px;
    top: 135px;
    width: 2px;
    height: 25px;
}

.phone-button.side {
    right: -1px;
    top: 80px;
    width: 3px;
    height: 35px;
}

.phone-button.action {
    left: -1px;
    top: 60px;
    width: 3px;
    height: 15px;
    background: #666;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 37px;
    padding: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 0 20px rgba(99, 102, 241, 0.1),
        0 0 30px rgba(99, 102, 241, 0.2);
    z-index: 2;
}

.phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    border-radius: 37px;
    pointer-events: none;
    z-index: 1;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    border-radius: 37px 37px 0 0;
    pointer-events: none;
}

.wallet-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.wallet-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.wallet-header h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.wallet-balances {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.balance-card {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.8), rgba(30, 41, 59, 0.8));
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.7;
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.crypto-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.crypto-icon {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.balance-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.balance-crypto {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.balance-equivalent {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.send-receive {
    margin-bottom: 20px;
}

.tab-buttons {
    display: flex;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.send-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.form-input {
    background: rgba(51, 65, 85, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--text-primary);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.send-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.send-btn::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;
}

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

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

.recent-transactions {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.recent-transactions h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.transaction-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.transaction-status.pending {
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-color);
}

.transaction-details {
    color: var(--text-secondary);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-person {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    animation: float 6s ease-in-out infinite;
}

.floating-wallet {
    position: absolute;
    bottom: 20%;
    left: 15%;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #f97316);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    animation: float 6s ease-in-out infinite 2s;
}

.floating-wallet .fa-lock {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 12px;
    background: var(--success-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-coin {
    position: absolute;
    top: 60%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    animation: float 6s ease-in-out infinite 4s;
}

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

.path-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, var(--text-muted) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    animation: moveDots 20s linear infinite;
}

@keyframes moveDots {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

/* Features Section */
.features {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circles" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23circles)"/></svg>');
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

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

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 40px;
    color: white;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 24px;
    background: linear-gradient(135deg, #10b981, #6366f1);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

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

.feature-icon::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 24px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    z-index: -2;
    animation: featureGlow 3s ease-in-out infinite alternate;
}

@keyframes featureGlow {
    0% { 
        transform: scale(1); 
        opacity: 0.3; 
    }
    100% { 
        transform: scale(1.2); 
        opacity: 0.6; 
    }
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.feature-card:hover h3 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.feature-card:hover p {
    color: #cbd5e1;
}

/* Feature Entrance Animation */
.feature-entrance {
    animation: featureEntrance 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(40px) scale(0.9);
}

@keyframes featureEntrance {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}











.user-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.user-email {
    font-weight: 600;
    color: var(--text-primary) !important;
}



.nav-section {
    margin-bottom: 25px;
}

.nav-section h4 {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.nav-item:hover,
.nav-item.active {
    background: var(--primary-color);
    color: white;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.help-section {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.help-section h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
}

.help-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.contact-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--secondary-color);
}







.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.flag-icon,
.notification-icon {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    background: var(--danger-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.buy-crypto-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-crypto-btn:hover {
    background: var(--secondary-color);
}

.market-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.market-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.market-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.market-header h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
}

.market-chart {
    width: 60px;
    height: 30px;
}

.market-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.market-pair {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.kyc-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.kyc-icon {
    font-size: 2rem;
    color: var(--success-color);
}

.kyc-text h3 {
    color: var(--success-color);
    margin-bottom: 5px;
}

.kyc-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.balance-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.balance-header {
    text-align: center;
    margin-bottom: 30px;
}

.balance-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.balance-header p {
    color: var(--text-secondary);
}

.balance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.balance-chart {
    display: flex;
    justify-content: center;
}

.donut-chart {
    position: relative;
    width: 200px;
    height: 200px;
}

.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.chart-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.chart-currency {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.balance-currencies h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.currency-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.currency-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.currency-color.bitcoin {
    background: var(--accent-color);
}

.currency-color.ethereum {
    background: var(--secondary-color);
}

.currency-color.usd {
    background: var(--success-color);
}

.currency-name {
    flex: 1;
    color: var(--text-secondary);
}

.currency-amount {
    color: var(--text-primary);
    font-weight: 600;
}

.balance-actions {
    display: flex;
    gap: 20px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.action-btn.receive {
    background: var(--success-color);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.transactions-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.transactions-section h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.transactions-placeholder {
    text-align: center;
    color: var(--text-muted);
    padding: 40px 20px;
}

.transactions-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Download Section */
.download-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="20" height="20" patternUnits="userSpaceOnUse"><polygon points="10,1 19,6 19,14 10,19 1,14 1,6" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    pointer-events: none;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 2;
}

.platform-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.platform-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.platform-card:hover::before {
    transform: scaleX(1);
}

.platform-card:hover::after {
    opacity: 1;
}

.platform-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(99, 102, 241, 0.3);
}

.platform-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.platform-card:hover h3 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px;
    font-size: 50px;
    color: white;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.platform-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.platform-icon.android {
    background: linear-gradient(135deg, #3ddc84, #2bb673);
}

.platform-icon.android::before {
    background: linear-gradient(135deg, #3ddc84, #6366f1);
}

.platform-icon.ios {
    background: linear-gradient(135deg, #000000, #333333);
}

.platform-icon.ios::before {
    background: linear-gradient(135deg, #000000, #8b5cf6);
}

.platform-icon.web {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.platform-icon.web::before {
    background: linear-gradient(135deg, #6366f1, #10b981);
}

.platform-card:hover .platform-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.platform-card:hover .platform-icon::before {
    opacity: 1;
}

.platform-icon::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    z-index: -2;
    animation: platformGlow 3s ease-in-out infinite alternate;
}

@keyframes platformGlow {
    0% { 
        transform: scale(1); 
        opacity: 0.3; 
    }
    100% { 
        transform: scale(1.2); 
        opacity: 0.6; 
    }
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.browser-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.browser-icon.brave {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.browser-icon.chrome {
    background: linear-gradient(135deg, #4285f4, #34a853);
}

.browser-icon.firefox {
    background: linear-gradient(135deg, #ff7139, #ff7139);
}

.browser-icon.edge {
    background: linear-gradient(135deg, #0078d4, #106ebe);
}

.browser-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.browser-icon:hover::before {
    opacity: 1;
}

.browser-icon:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.browser-icon::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    z-index: -1;
    animation: browserGlow 2s ease-in-out infinite alternate;
}

@keyframes browserGlow {
    0% { 
        transform: scale(1); 
        opacity: 0.2; 
    }
    100% { 
        transform: scale(1.1); 
        opacity: 0.4; 
    }
}

/* Platform Entrance Animation */
.platform-entrance {
    animation: platformEntrance 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(40px) scale(0.9);
}

@keyframes platformEntrance {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.platform-buttons {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.platform-btn {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    width: 100%;
    margin-bottom: 10px;
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

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

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

.platform-btn:hover {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
    cursor: pointer;
}

.platform-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.platform-btn:focus {
    outline: 2px solid rgba(99, 102, 241, 0.5);
    outline-offset: 2px;
}

.platform-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.platform-btn:hover i {
    transform: scale(1.1);
}

/* Security Section */
.security-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.security-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.security-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.security-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.security-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.security-card:hover::before {
    transform: scaleX(1);
}

.security-card:hover::after {
    opacity: 1;
}

.security-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(99, 102, 241, 0.3);
}

.security-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.security-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #10b981, #6366f1);
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.security-card:hover .security-icon {
    transform: scale(1.15) rotate(8deg);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.security-card:hover .security-icon::before {
    opacity: 1;
}

.security-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-primary);
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.security-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.security-features {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(99, 102, 241, 0.15));
    color: #10b981;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-tag:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(99, 102, 241, 0.25));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
}

.security-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 40px 25px;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(99, 102, 241, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #10b981);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.faq-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.faq-item:hover::before {
    transform: scaleX(1);
}

.faq-item:hover::after {
    opacity: 1;
}

.faq-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-item.active {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-item.active::before {
    transform: scaleX(1);
}

.faq-item.active::after {
    opacity: 1;
}

.faq-question {
    padding: 35px 40px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.faq-question:hover {
    background: rgba(99, 102, 241, 0.05);
}

.faq-question h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-question i {
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
}

.faq-item:hover .faq-question i {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
    transform: scale(1.1);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg) scale(1.1);
    color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 40px 35px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 1.05rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ Entrance Animation */
.faq-entrance {
    animation: faqEntrance 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes faqEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Hover Effects */
.faq-item:hover .faq-question {
    background: rgba(99, 102, 241, 0.08);
}

.faq-item.active .faq-question {
    background: rgba(99, 102, 241, 0.1);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    

    
    .balance-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        z-index: 1000;
        transform: translateY(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-links.active {
        transform: translateY(0);
        display: flex;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .nav-social {
        display: none;
        position: fixed;
        top: 200px;
        left: 0;
        right: 0;
        background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95));
        backdrop-filter: blur(20px);
        padding: 20px;
        justify-content: center;
        gap: 20px;
        z-index: 1000;
        transform: translateY(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-social.active {
        transform: translateY(0);
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
        /* Hero Section Mobile Optimization */
    .hero {
        min-height: 100vh;
        padding: 120px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
        padding: 0 20px;
    }

    .hero-content {
        order: 1;
        max-width: 100%;
    }

    .hero-visual {
        display: none;
    }
    
        .hero-title {
        font-size: 2.4rem;
        line-height: 1.1;
        margin-bottom: 40px;
        text-align: center;
    }

    .title-line {
        margin-bottom: 8px;
        display: block;
    }

    .title-line:first-child {
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .title-line:last-child {
        color: #ffffff;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .hero-description {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 50px;
        padding: 0 15px;
        color: #e2e8f0;
        text-align: center;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .download-buttons {
        flex-direction: column;
        gap: 0;
        align-items: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 30px;
    }
    
        .download-btn {
        width: 100%;
        padding: 20px 30px;
        font-size: 1.1rem;
        border-radius: 20px;
        background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.9));
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-weight: 600;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }
    
    .download-btn i {
        font-size: 1.2rem;
    }

    .download-btn:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 35px rgba(99, 102, 241, 0.2);
        border-color: rgba(99, 102, 241, 0.3);
    }

    /* Скрываем desktop-only элементы на мобильных */
    .desktop-only {
        display: none;
    }
    
    /* Скрываем все кнопки кроме первой */
    .download-btn:not(:first-child) {
        display: none;
    }
    
    .qr-section {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
        margin-top: 20px;
        padding: 0 20px;
    }
    
    .qr-text {
        font-size: 0.95rem;
        margin: 0;
        color: #cbd5e1;
        font-weight: 500;
    }
    
    /* iPhone Mockup Mobile Optimization */
    .phone-mockup {
        width: 320px;
        height: 640px;
        margin: 0 auto;
        position: relative;
        transform: perspective(1200px) rotateY(-8deg) rotateX(8deg);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
        border-radius: 40px;
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .phone-mockup:hover {
        transform: perspective(1200px) rotateY(-4deg) rotateX(4deg) scale(1.03);
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    
    .phone-mockup::before {
        content: '';
        position: absolute;
        top: -25px;
        left: -25px;
        right: -25px;
        bottom: -25px;
        background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
        border-radius: 50px;
        z-index: -1;
        animation: phoneGlow 4s ease-in-out infinite alternate;
    }
    
    @keyframes phoneGlow {
        0% { 
            opacity: 0.4; 
            transform: scale(1); 
        }
        100% { 
            opacity: 0.8; 
            transform: scale(1.08); 
        }
    }
    
    .phone-notch {
        width: 140px;
        height: 35px;
        border-radius: 0 0 18px 18px;
        background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
        box-shadow: 
            inset 0 2px 4px rgba(0, 0, 0, 0.5),
            0 1px 2px rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .phone-notch::before {
        width: 10px;
        height: 10px;
        background: linear-gradient(135deg, #6366f1, #8b5cf6);
        box-shadow: 
            0 0 15px rgba(99, 102, 241, 0.6),
            inset 0 1px 2px rgba(255, 255, 255, 0.2);
        border-radius: 50%;
    }
    
    .phone-notch::after {
        content: '';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        background: #4a5568;
        border-radius: 50%;
        box-shadow: 
            inset 0 1px 2px rgba(0, 0, 0, 0.8),
            0 0 2px rgba(255, 255, 255, 0.1);
    }
    
    .phone-screen {
        border-radius: 36px;
        background: linear-gradient(135deg, #0f172a, #1e293b);
        box-shadow: 
            inset 0 0 30px rgba(0, 0, 0, 0.6),
            0 0 40px rgba(99, 102, 241, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.05);
        overflow: hidden;
    }
    
    .phone-screen::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
        pointer-events: none;
        z-index: 1;
    }
    
    .wallet-header {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(15px);
        position: relative;
        z-index: 2;
    }
    
    .wallet-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .wallet-header:hover::before {
        opacity: 1;
    }
    
    .wallet-header h3 {
        font-size: 1.3rem;
        padding: 20px 24px;
        font-weight: 800;
        background: linear-gradient(135deg, #ffffff, #e2e8f0);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-align: center;
        letter-spacing: 0.5px;
        position: relative;
        z-index: 2;
    }
    
    .balance-card {
        margin: 20px;
        padding: 28px;
        background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 24px;
        backdrop-filter: blur(20px);
        box-shadow: 
            0 12px 35px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 2;
        overflow: hidden;
    }
    
    .balance-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, #6366f1, #8b5cf6, #10b981);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }
    
    .balance-card:hover::before {
        transform: scaleX(1);
    }
    
    .balance-card:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 
            0 20px 50px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
        border-color: rgba(99, 102, 241, 0.3);
    }
    
    .balance-header {
        margin-bottom: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .crypto-name {
        font-size: 1.2rem;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .crypto-icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: linear-gradient(135deg, #f7931a, #ff9500);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: white;
        box-shadow: 
            0 6px 20px rgba(247, 147, 26, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }
    
    .crypto-icon::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: rotate(45deg);
        transition: transform 0.6s ease;
    }
    
    .balance-card:hover .crypto-icon::before {
        transform: rotate(45deg) translate(50%, 50%);
    }
    
    .balance-amount {
        font-size: 2.2rem;
        font-weight: 800;
        color: #ffffff;
        margin-bottom: 10px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
        letter-spacing: -0.5px;
    }
    
    .balance-crypto {
        font-size: 1.1rem;
        color: #e2e8f0;
        margin-bottom: 8px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    
    .balance-equivalent {
        font-size: 1rem;
        color: #94a3b8;
        font-weight: 500;
        letter-spacing: 0.3px;
    }
    
    .floating-elements {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .market-cards {
        grid-template-columns: 1fr;
    }
    
    .balance-actions {
        flex-direction: column;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .buy-crypto-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Hero Section Small Mobile Optimization */
    .hero {
        padding: 70px 0 30px;
    }
    
    .hero-container {
        gap: 30px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 25px;
    }
    
    .title-line {
        margin-bottom: 6px;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 35px;
        padding: 0 10px;
        max-width: 100%;
    }
    
    .download-buttons {
        max-width: 260px;
        gap: 0;
        margin: 0 auto 25px;
    }
    
    .download-btn {
        padding: 18px 25px;
        font-size: 1.05rem;
        border-radius: 18px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .download-btn i {
        font-size: 1.1rem;
    }
    
    .qr-section {
        margin-top: 15px;
        gap: 10px;
        padding: 0 15px;
    }
    
    .qr-text {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* iPhone Mockup Small Mobile Optimization */
    .phone-mockup {
        display: none;
    }
    
    .wallet-header h3 {
        font-size: 1.2rem;
        padding: 18px 20px;
        font-weight: 800;
    }
    
    .balance-card {
        margin: 18px;
        padding: 24px;
        border-radius: 20px;
        background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
        backdrop-filter: blur(20px);
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    
    .balance-card:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
    
    .balance-header {
        margin-bottom: 18px;
    }
    
    .crypto-name {
        font-size: 1.1rem;
        font-weight: 700;
    }
    
    .crypto-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
        box-shadow: 
            0 4px 15px rgba(247, 147, 26, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    
    .balance-amount {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 8px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    }
    
    .balance-crypto {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 6px;
        letter-spacing: 0.3px;
    }
    
    .balance-equivalent {
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0.2px;
    }
    
    .phone-button {
        display: none;
    }
    
    .platform-card {
        padding: 30px 20px;
    }
    
    .platform-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .security-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

/* Phone element animations */
.phone-element-animate {
    animation: phoneElementSlide 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes phoneElementSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* Дополнительные стили для всех кнопок */
button, .platform-btn, .download-btn {
    cursor: pointer !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
}

/* Стили для карточек платформ */
.platform-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Принудительные стили для кликабельности */
.platform-btn, .download-btn {
    cursor: pointer !important;
    pointer-events: auto !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
    .platform-btn, .download-btn {
        min-height: 44px; /* Минимальная высота для touch */
        touch-action: manipulation;
    }
}