:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a26;
    --surface: #1e1e2e;
    --text: #f1f1f6;
    --text-muted: #9ca3af;
    --border: #2a2a3a;
    --gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --radius: 16px;
    --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s;
}
.navbar.scrolled {
    background: rgba(10,10,15,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}
.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1.25rem;
}
.logo-icon {
    color: var(--primary);
    font-size: 1.5rem;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(99,102,241,0.5);
    transform: translateY(-1px);
}
.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn .material-icons-outlined { font-size: 1.1em; }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}
.phone-mockup {
    width: 300px;
    background: #1a1a2e;
    border-radius: 36px;
    padding: 12px;
    border: 2px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
    position: relative;
}
.phone-screen {
    background: var(--bg);
    border-radius: 26px;
    padding: 20px 16px;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}
.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.mock-title {
    font-weight: 700;
    font-size: 1.2rem;
}
.mock-icons {
    display: flex;
    gap: 8px;
    color: var(--text-muted);
}
.mock-icons .material-icons-outlined { font-size: 1.1rem; }
.mock-note {
    background: var(--note-color, var(--surface));
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}
.mock-note:nth-child(2) { animation-delay: 0.1s; }
.mock-note:nth-child(3) { animation-delay: 0.2s; }
.mock-note:nth-child(4) { animation-delay: 0.3s; }
.mock-note-title {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mock-note-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.mock-note-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.7;
}
.mock-fab {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(99,102,241,0.4);
}
.mock-fab .material-icons-outlined { font-size: 1.4rem; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Features */
.features {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
}
.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99,102,241,0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(99,102,241,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-icon .material-icons-outlined {
    color: var(--primary-light);
    font-size: 1.5rem;
}
.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Security */
.security {
    padding: 100px 0;
}
.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s;
}
.security-content.visible {
    opacity: 1;
    transform: translateY(0);
}
.security-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.security-text > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 32px;
}
.security-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.security-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.security-list .material-icons-outlined {
    color: #10b981;
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.security-list strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.security-list span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Crypto Flow */
.crypto-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.crypto-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.9rem;
    width: 220px;
    justify-content: center;
}
.crypto-step.highlight {
    background: rgba(99,102,241,0.15);
    border-color: rgba(99,102,241,0.4);
    color: var(--primary-light);
}
.crypto-icon {
    width: 36px;
    height: 36px;
    background: rgba(99,102,241,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.crypto-icon .material-icons-outlined {
    color: var(--primary-light);
    font-size: 1.1rem;
}
.crypto-arrow {
    color: var(--text-muted);
    opacity: 0.5;
}
.crypto-arrow .material-icons-outlined { font-size: 1.2rem; }

/* CTA */
.cta-section {
    padding: 80px 0 100px;
}
.cta-card {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s;
}
.cta-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(99,102,241,0.08), transparent 60%);
    pointer-events: none;
}
.cta-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.cta-card > p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 28px;
}
.cta-actions {
    margin-bottom: 16px;
}
.cta-note {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}
.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-visual { order: -1; }
    .phone-mockup { width: 260px; }
    .phone-screen { min-height: 420px; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .security-content { grid-template-columns: 1fr; }
    .security-visual { order: -1; }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10,10,15,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.8rem; }
    .security-text h2 { font-size: 1.8rem; }
    .cta-card { padding: 40px 24px; }
    .cta-card h2 { font-size: 1.6rem; }
    .footer-content { flex-direction: column; gap: 12px; text-align: center; }
}
