/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: linear-gradient(to bottom, #0a0a20, #0f0f2d);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

header.scrolled {
    background-color: rgba(10, 10, 32, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: #1E6AFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text span:first-child {
    font-size: 20px;
    font-weight: 700;
}

.logo-text span:last-child {
    font-size: 12px;
    opacity: 0.8;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.main-nav ul li a:hover {
    opacity: 1;
}

.download-btn {
    background-color: #1E6AFF;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.download-btn:hover {
    background-color: #0052e0;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

/* Hero section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 60px;
}

h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.app-download-btn {
    display: inline-flex;
    align-items: center;
    background-color: #1E6AFF;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.app-download-btn:hover {
    background-color: #0052e0;
}

.apple-icon {
    margin-right: 10px;
}

/* Stats section */
.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
}

.stat-item {
    text-align: center;
}

.stat-item h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.7;
}

.stars {
    color: #ffcc00;
    font-size: 24px;
    letter-spacing: 2px;
}

/* Phone mockups */
.phone-mockups {
    position: relative;
    height: 600px;
    margin: 0 auto;
}

.phone {
    position: absolute;
    width: 280px;
    height: 560px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, z-index 0.3s ease;
}

.phone-left {
    transform: translate(calc(-50% - 220px), -50%) scale(0.9);
    z-index: 1;
}

.phone-center {
    z-index: 3;
}

.phone-right {
    transform: translate(calc(-50% + 220px), -50%) scale(0.9);
    z-index: 1;
}

.phone-left:hover, .phone-right:hover {
    z-index: 2;
    transform: translate(calc(-50% - 200px), -50%) scale(0.95);
}

.phone-right:hover {
    transform: translate(calc(-50% + 200px), -50%) scale(0.95);
}

.phone-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #1a1a3a, #0f0f2d);
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 32px;
    overflow: hidden;
    padding: 16px;
}

/* Staking screen */
.staking-screen h3 {
    font-size: 20px;
    margin-bottom: 16px;
    text-align: left;
}

.balance-card {
    background-color: #1a1a3a;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
}

.balance-card .label {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.balance-card .amount {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.balance-card .change {
    font-size: 12px;
}

.positive {
    color: #4caf50;
}

.stake-text {
    font-size: 14px;
    margin-bottom: 16px;
    text-align: left;
}

.staking-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.staking-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a3a;
    border-radius: 12px;
    padding: 12px;
}

.option-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.option-icon {
    width: 32px;
    height: 32px;
    background-color: #2a2a4a;
    border-radius: 50%;
    margin-bottom: 4px;
}

.option-left p {
    font-size: 12px;
    opacity: 0.7;
}

.option-right {
    text-align: right;
}

.option-right .rate {
    color: #4caf50;
    font-weight: 600;
    font-size: 14px;
}

.option-right .period {
    font-size: 10px;
    opacity: 0.7;
}

/* Login screen */
.login-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.nova-logo {
    margin-bottom: 16px;
}

.login-screen h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.login-screen p {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 32px;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.create-wallet-btn {
    background-color: #1E6AFF;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.existing-wallet-btn {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

/* Balance screen */
.balance-screen h3 {
    font-size: 20px;
    margin-bottom: 16px;
    text-align: left;
}

.total-balance {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.total-balance .label {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.total-balance .amount {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.balance-screen h4 {
    font-size: 16px;
    margin-bottom: 12px;
    text-align: left;
}

.tokens {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.token {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a3a;
    border-radius: 12px;
    padding: 12px;
}

.token-left {
    display: flex;
    align-items: center;
}

.token-icon {
    width: 32px;
    height: 32px;
    background-color: #2a2a4a;
    border-radius: 50%;
    margin-right: 8px;
}

.token-info {
    text-align: left;
}

.token-name {
    font-size: 14px;
    font-weight: 600;
}

.token-network {
    font-size: 12px;
    opacity: 0.7;
}

.token-right {
    text-align: right;
}

.token-amount {
    font-size: 14px;
    font-weight: 600;
}

.token-change {
    font-size: 12px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 48px;
    }
    
    .phone {
        width: 240px;
        height: 480px;
    }
    
    .phone-left {
        transform: translate(calc(-50% - 180px), -50%) scale(0.9);
    }
    
    .phone-right {
        transform: translate(calc(-50% + 180px), -50%) scale(0.9);
    }
    
    .phone-left:hover {
        transform: translate(calc(-50% - 160px), -50%) scale(0.95);
    }
    
    .phone-right:hover {
        transform: translate(calc(-50% + 160px), -50%) scale(0.95);
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .stats {
        gap: 40px;
    }
    
    .phone-mockups {
        height: 500px;
    }
    
    .phone {
        width: 200px;
        height: 400px;
    }
    
    .phone-left {
        transform: translate(calc(-50% - 140px), -50%) scale(0.9);
    }
    
    .phone-right {
        transform: translate(calc(-50% + 140px), -50%) scale(0.9);
    }
    
    .phone-left:hover {
        transform: translate(calc(-50% - 120px), -50%) scale(0.95);
    }
    
    .phone-right:hover {
        transform: translate(calc(-50% + 120px), -50%) scale(0.95);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .phone-mockups {
        height: 450px;
    }
    
    .phone {
        width: 180px;
        height: 360px;
    }
    
    .phone-left {
        transform: translate(calc(-50% - 100px), -50%) scale(0.9);
    }
    
    .phone-right {
        transform: translate(calc(-50% + 100px), -50%) scale(0.9);
    }
    
    .phone-left:hover {
        transform: translate(calc(-50% - 90px), -50%) scale(0.95);
    }
    
    .phone-right:hover {
        transform: translate(calc(-50% + 90px), -50%) scale(0.95);
    }
}

@media (max-width: 576px) {
    .phone-mockups {
        height: 400px;
    }
    
    .phone {
        width: 160px;
        height: 320px;
    }
    
    .phone-left {
        transform: translate(calc(-50% - 80px), -50%) scale(0.9);
    }
    
    .phone-right {
        transform: translate(calc(-50% + 80px), -50%) scale(0.9);
    }
    
    .phone-left:hover {
        transform: translate(calc(-50% - 70px), -50%) scale(0.95);
    }
    
    .phone-right:hover {
        transform: translate(calc(-50% + 70px), -50%) scale(0.95);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .app-download-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .phone-mockups {
        height: 350px;
    }
    
    .phone {
        width: 140px;
        height: 280px;
    }
    
    .phone-left {
        transform: translate(calc(-50% - 60px), -50%) scale(0.9);
    }
    
    .phone-right {
        transform: translate(calc(-50% + 60px), -50%) scale(0.9);
    }
    
    .phone-left:hover {
        transform: translate(calc(-50% - 55px), -50%) scale(0.95);
    }
    
    .phone-right:hover {
        transform: translate(calc(-50% + 55px), -50%) scale(0.95);
    }
}