* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg-dark: #0a0a0a;
    --color-bg-card: #ffffff;
    --color-bg-light: #f5f5f5;
    --color-bg-purple: #d4b5ff;
    --color-text-primary: #ffffff;
    --color-text-dark: #1a1a1a;
    --color-text-gray: #666666;
    --color-accent: #b88dff;
    --color-accent-green: #00d4a1;
    --color-accent-dark-green: #008866;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    --border-radius: 1.5rem;
    --border-radius-sm: 1rem;
    --border-radius-xs: 0.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-accent);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #9b6de8 100%);
    color: var(--color-text-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(184, 141, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.hero {
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-accent) 0%, #9b6de8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.hero-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.feature-card {
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.feature-card-large {
    padding: var(--spacing-2xl);
}

.card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.feature-card-reverse .card-content {
    direction: rtl;
}

.feature-card-reverse .card-text {
    direction: ltr;
}

.card-text h2 {
    font-size: 2.5rem;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.card-text p {
    font-size: 1.1rem;
    color: var(--color-text-gray);
    line-height: 1.7;
}

.card-visual {
    border-radius: var(--border-radius-sm);
    padding: var(--spacing-xl);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-visual-purple {
    background: linear-gradient(135deg, #e5d4ff 0%, #d4b5ff 100%);
}

.card-visual-light {
    background: var(--color-bg-light);
}

.device-mockup {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hardware-wallet {
    width: 80px;
    height: 200px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 1rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hardware-wallet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.phone-mockup {
    width: 180px;
    height: 360px;
    background: #1a1a1a;
    border-radius: 2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: #0a0a0a;
    border-radius: 0 0 1rem 1rem;
}

.device-mockup-horizontal {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hardware-device {
    width: 240px;
    height: 160px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.verification-badge {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 50%;
    border: 4px solid var(--color-bg-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.setup-steps {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-icon,
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-text-gray);
}

.step-complete .step-icon {
    background: var(--color-accent-green);
    color: white;
}

.step-active .step-number {
    background: var(--color-accent-dark-green);
    color: white;
}

.step-label {
    font-size: 0.85rem;
    color: var(--color-text-dark);
    font-weight: 600;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
}

.feature-list-item {
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.feature-list-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--color-bg-light);
    border-radius: var(--border-radius-sm);
    flex-shrink: 0;
}

.phone-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: var(--border-radius-sm);
}

.feature-info {
    flex: 1;
}

.feature-info h3 {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.feature-description {
    color: var(--color-accent);
    font-size: 0.9rem;
}

.feature-arrow {
    font-size: 1.5rem;
    color: var(--color-text-gray);
}

.security-features {
    margin-bottom: var(--spacing-3xl);
}

.security-header h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.security-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
}

.security-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.security-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.security-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.security-card-feature {
    background: var(--color-accent-dark-green);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn-feature {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: var(--spacing-sm);
    transition: background 0.2s ease;
}

.btn-feature:hover {
    background: rgba(255, 255, 255, 0.3);
}

.crypto-support {
    text-align: center;
    padding: var(--spacing-3xl) 0;
}

.crypto-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.crypto-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.25rem;
}

.crypto-usd { background: linear-gradient(135deg, #26a17b 0%, #2eb887 100%); }
.crypto-usdt { background: linear-gradient(135deg, #26a17b 0%, #2eb887 100%); }
.crypto-btc { background: linear-gradient(135deg, #f7931a 0%, #ffa838 100%); }
.crypto-bitcoin { background: linear-gradient(135deg, #f7931a 0%, #ffa838 100%); }
.crypto-ada { background: linear-gradient(135deg, #0033ad 0%, #0047d1 100%); }
.crypto-dai { background: linear-gradient(135deg, #f5ac37 0%, #ffc55a 100%); }
.crypto-eth { background: linear-gradient(135deg, #627eea 0%, #7a93f7 100%); }
.crypto-xlm { background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%); }
.crypto-dot { background: linear-gradient(135deg, #e6007a 0%, #ff1a9e 100%); }

.crypto-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
}

.search-container {
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    font-size: 1rem;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-3xl) 2rem var(--spacing-lg);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.6);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .card-content {
        grid-template-columns: 1fr;
    }

    .feature-card-reverse .card-content {
        direction: ltr;
    }

    .nav-menu {
        display: none;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    main {
        padding: 6rem 1rem 2rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-container {
        padding: 1rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .card-text h2 {
        font-size: 1.75rem;
    }

    .card-text p {
        font-size: 1rem;
    }

    .feature-card-large {
        padding: var(--spacing-lg);
    }

    .crypto-icons {
        gap: 1rem;
    }

    .crypto-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .device-mockup,
    .device-mockup-horizontal {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .card-text h2 {
        font-size: 1.5rem;
    }

    .feature-list-item {
        padding: var(--spacing-md);
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .setup-steps {
        gap: 0.75rem;
    }

    .step-icon,
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}
