/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e2e8f0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h2 {
    color: #2563eb;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #2563eb;
    background: #eff6ff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #64748b;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    padding-top: 80px;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.version-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.version-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.version-item .label {
    opacity: 0.8;
}

.version-item .value {
    font-weight: 600;
    color: #fbbf24;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.8s both;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-android {
    background: #10b981;
    color: white;
}

.btn-android:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.btn-ios {
    background: #3b82f6;
    color: white;
}

.btn-ios:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-mockup {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: #1f2937;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.interface-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 600;
}

.signal-bars,
.battery {
    width: 20px;
    height: 12px;
    background: #10b981;
    border-radius: 2px;
}

.interface-content {
    flex: 1;
    padding: 1rem;
}

.price-display {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.crypto-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 10px;
}

.crypto-name {
    font-weight: bold;
    color: #1f2937;
}

.crypto-price {
    font-weight: 600;
    color: #1f2937;
}

.crypto-change {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.crypto-change.negative {
    color: #ef4444;
    background: #fee2e2;
}

.crypto-change.positive {
    color: #10b981;
    background: #dcfce7;
}

/* Promotion Section */
.promotion {
    padding: 4rem 0;
    background: white;
}

.promo-card {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.promo-card h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.promo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.promo-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.promo-item i {
    font-size: 1.5rem;
    color: #fbbf24;
}

/* Stats Section */
.stats {
    padding: 6rem 0;
    background: #f1f5f9;
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem;
}

.stats-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.stats-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: bold;
    color: #10b981;
}

/* Trading Section */
.trading {
    padding: 6rem 0;
    background: white;
}

.trading-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trading-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 2rem;
}

.trading-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.tab-btn {
    padding: 1rem 2rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    border-color: #2563eb;
    background: #2563eb;
    color: white;
}

.trading-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.trading-promo p {
    font-size: 1.2rem;
    color: #64748b;
    margin: 1rem 0;
    line-height: 1.8;
}

/* Market Data Section */
.market-data {
    padding: 6rem 0;
    background: #f8fafc;
}

.market-header {
    text-align: center;
    margin-bottom: 3rem;
}

.market-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.market-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.market-table-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.market-table {
    width: 100%;
    border-collapse: collapse;
}

.market-table th {
    background: #f1f5f9;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.market-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.3s ease;
}

.market-table tr:hover td {
    background: #f8fafc;
}

.crypto-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.crypto-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e5e7eb;
}

.crypto-symbol {
    font-weight: 600;
    color: #1f2937;
}

.crypto-name {
    color: #64748b;
    font-size: 0.9rem;
}

.price-change.positive {
    color: #10b981;
}

.price-change.negative {
    color: #ef4444;
}

.market-action {
    text-align: center;
    margin-top: 2rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* News Section */
.news {
    padding: 6rem 0;
    background: white;
}

.news-header {
    text-align: center;
    margin-bottom: 4rem;
}

.news-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.news-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid #2563eb;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-date,
.news-category {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-date {
    background: #dbeafe;
    color: #1e40af;
}

.news-category {
    background: #dcfce7;
    color: #166534;
}

.news-item h3 {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.news-item p {
    color: #64748b;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-action {
    text-align: center;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Download Section */
.download {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.download-buttons-large {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.btn-android-large,
.btn-ios-large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-android-large {
    background: #10b981;
    color: white;
}

.btn-android-large:hover {
    background: #059669;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.btn-ios-large {
    background: #3b82f6;
    color: white;
}

.btn-ios-large:hover {
    background: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-section h4 {
    color: #f9fafb;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #f9fafb;
    background: #374151;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-crypto {
    position: absolute;
    font-size: 2rem;
    color: rgba(37, 99, 235, 0.1);
    animation: floatAround 20s linear infinite;
}

.floating-crypto:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-crypto:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 7s;
}

.floating-crypto:nth-child(3) {
    bottom: 30%;
    left: 70%;
    animation-delay: 14s;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateY(10deg);
    }
}

@keyframes floatAround {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-100px) translateX(100px) rotate(90deg);
    }
    50% {
        transform: translateY(-50px) translateX(-100px) rotate(180deg);
    }
    75% {
        transform: translateY(100px) translateX(50px) rotate(270deg);
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .version-info {
        flex-direction: column;
        gap: 1rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .promo-features {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .trading-tabs {
        flex-direction: column;
        align-items: center;
    }

    .market-table-container {
        overflow-x: auto;
    }

    .market-table {
        min-width: 800px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons-large {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .promo-card {
        padding: 2rem;
    }

    .promo-card h2 {
        font-size: 2rem;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Interactive elements */
.market-table tr {
    cursor: pointer;
}

.news-item {
    cursor: pointer;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}