﻿/* Minimalist Design - Software Wallet */
:root {
    /* Palette: Monochrome + single accent */
    --primary: #0F172A;      /* Deep navy for headers/important */
    --primary-light: #334155;
    --accent: #3B82F6;       /* Bright blue for CTAs */
    --accent-hover: #2563EB;
    --text-main: #1E293B;    /* Dark slate */
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --bg-body: #FFFFFF;
    --bg-subtle: #F8FAFC;
    --border: #E2E8F0;
    --border-light: #F1F5F9;
    
    /* Spacing & radius */
    --space-xs: 12px;
    --space-sm: 24px;
    --space-md: 32px;
    --space-lg: 48px;
    --space-xl: 64px;
    --space-2xl: 96px;
    --radius: 8px;
    --radius-lg: 12px;
    
    /* Shadows - very subtle */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.06);
}

/* Reset & base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    font-size: 16px;
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: var(--space-sm); color: var(--text-main); }

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover { color: var(--accent-hover); }

/* Header */
.header {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-xs) 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Navigation */
.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.nav-links a:hover {
    color: var(--accent);
    background: var(--bg-subtle);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}
.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Hero section */
.hero {
    padding: var(--space-2xl) 0 var(--space-xl);
    text-align: center;
    background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg-body) 100%);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

/* Cards */
.card, .feature, .legal-card {
    background: var(--bg-body);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .feature:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--border);
}

/* Forms */
input, textarea, select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background: var(--bg-body);
    color: var(--text-main);
    transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Footer */
.footer {
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
    padding: var(--space-lg) 0;
    margin-top: var(--space-xl);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Utility spacing */
.section { padding: var(--space-xl) 0; }
