* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #0f1117; color: #e2e8f0; min-height: 100vh; }

/* Nav */
nav { background: #1a1d27; border-bottom: 1px solid #2d3148; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 60px; }
nav .logo { font-size: 1.2rem; font-weight: 700; color: #6366f1; letter-spacing: -0.5px; }
nav .logo span { color: #e2e8f0; }
nav a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; margin-left: 1.5rem; }
nav a:hover { color: #e2e8f0; }
nav .btn-nav { background: #6366f1; color: #fff !important; padding: 0.4rem 1rem; border-radius: 6px; }

/* Hero */
.hero { text-align: center; padding: 6rem 2rem 4rem; }
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.2rem; }
.hero h1 span { color: #6366f1; }
.hero p { color: #94a3b8; font-size: 1.1rem; max-width: 500px; margin: 0 auto 2.5rem; }
.btn { display: inline-block; padding: 0.8rem 2rem; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 1rem; cursor: pointer; border: none; }
.btn-primary { background: #6366f1; color: #fff; }
.btn-primary:hover { background: #4f46e5; }
.btn-outline { background: transparent; color: #6366f1; border: 2px solid #6366f1; margin-left: 1rem; }
.btn-outline:hover { background: #6366f1; color: #fff; }

/* Pricing */
.pricing { padding: 4rem 2rem; text-align: center; }
.pricing h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.pricing p { color: #94a3b8; margin-bottom: 3rem; }
.plans { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.plan { background: #1a1d27; border: 1px solid #2d3148; border-radius: 16px; padding: 2.5rem 2rem; width: 280px; }
.plan.popular { border-color: #6366f1; position: relative; }
.plan.popular::before { content: 'BEST VALUE'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #6366f1; color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.8rem; border-radius: 20px; }
.plan h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.plan .price { font-size: 2.5rem; font-weight: 800; color: #6366f1; }
.plan .price span { font-size: 1rem; color: #94a3b8; font-weight: 400; }
.plan ul { list-style: none; margin: 1.5rem 0; text-align: left; }
.plan ul li { padding: 0.4rem 0; color: #94a3b8; font-size: 0.9rem; }
.plan ul li::before { content: '✓ '; color: #6366f1; font-weight: 700; }
.plan .btn { width: 100%; text-align: center; margin-top: 0.5rem; }

/* Features */
.features { padding: 4rem 2rem; max-width: 900px; margin: 0 auto; }
.features h2 { text-align: center; font-size: 2rem; margin-bottom: 3rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.feature { background: #1a1d27; border: 1px solid #2d3148; border-radius: 12px; padding: 1.5rem; }
.feature .icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.feature h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.feature p { color: #94a3b8; font-size: 0.85rem; }

/* Auth forms */
.auth-wrap { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 60px); padding: 2rem; }
.auth-box { background: #1a1d27; border: 1px solid #2d3148; border-radius: 16px; padding: 2.5rem; width: 100%; max-width: 420px; }
.auth-box h2 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.auth-box p { color: #94a3b8; font-size: 0.9rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.85rem; color: #94a3b8; margin-bottom: 0.4rem; }
.form-group input { width: 100%; background: #0f1117; border: 1px solid #2d3148; border-radius: 8px; padding: 0.7rem 1rem; color: #e2e8f0; font-size: 0.95rem; }
.form-group input:focus { outline: none; border-color: #6366f1; }
.btn-full { width: 100%; padding: 0.8rem; border-radius: 8px; font-size: 1rem; font-weight: 600; }
.alert { padding: 0.8rem 1rem; border-radius: 8px; font-size: 0.9rem; margin-bottom: 1rem; }
.alert-error { background: #3b1f1f; color: #f87171; border: 1px solid #7f1d1d; }
.alert-success { background: #1a3a2a; color: #4ade80; border: 1px solid #166534; }

/* Dashboard */
.dash-wrap { max-width: 900px; margin: 0 auto; padding: 2rem; }
.dash-header { margin-bottom: 2rem; }
.dash-header h1 { font-size: 1.8rem; }
.dash-header p { color: #94a3b8; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card { background: #1a1d27; border: 1px solid #2d3148; border-radius: 16px; padding: 1.8rem; }
.card h3 { font-size: 1rem; color: #94a3b8; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.8rem; }
.card .val { font-size: 2rem; font-weight: 700; color: #6366f1; }
.card .val.green { color: #4ade80; }
.qr-box { text-align: center; }
.qr-box img { width: 180px; height: 180px; border-radius: 8px; background: #fff; padding: 8px; }
.qr-box p { color: #94a3b8; font-size: 0.85rem; margin-top: 0.8rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; border-radius: 6px; }
.mt-1 { margin-top: 0.8rem; }
.mt-2 { margin-top: 1.5rem; }

/* Table */
table { width: 100%; border-collapse: collapse; }
table th { text-align: left; padding: 0.7rem 1rem; color: #94a3b8; font-size: 0.8rem; text-transform: uppercase; border-bottom: 1px solid #2d3148; }
table td { padding: 0.8rem 1rem; font-size: 0.9rem; border-bottom: 1px solid #1a1d27; }
.badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-green { background: #1a3a2a; color: #4ade80; }
.badge-red { background: #3b1f1f; color: #f87171; }
.badge-gray { background: #2d3148; color: #94a3b8; }

footer { text-align: center; padding: 2rem; color: #475569; font-size: 0.85rem; border-top: 1px solid #2d3148; margin-top: 4rem; }
