* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; background: #0a0a0f; color: #fff; }

nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 60px; border-bottom: 1px solid #1e1e2e; }
.logo { font-size: 24px; font-weight: 800; background: linear-gradient(135deg, #7c3aed, #06b6d4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 2px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #aaa; text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: white; }
.nav-links button { background: transparent; border: 1px solid #333; color: white; padding: 8px 20px; border-radius: 8px; cursor: pointer; font-size: 14px; }

.hero { text-align: center; padding: 120px 20px 80px; }
.hero h1 { font-size: 52px; font-weight: 800; max-width: 700px; margin: 0 auto 20px; background: linear-gradient(135deg, #ffffff, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: #888; font-size: 18px; max-width: 500px; margin: 0 auto 40px; line-height: 1.7; }

.btn-primary { background: linear-gradient(135deg, #7c3aed, #06b6d4); color: white; border: none; padding: 12px 28px; border-radius: 10px; cursor: pointer; font-size: 15px; font-weight: 600; transition: opacity 0.2s; }
.btn-primary:hover { opacity: 0.85; }
.btn-large { padding: 16px 40px; font-size: 17px; }
.btn-full { width: 100%; margin-top: 12px; }
.btn-google { background: #1e1e2e; color: white; border: 1px solid #333; padding: 12px 28px; border-radius: 10px; cursor: pointer; font-size: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.btn-google:hover { background: #2a2a3e; }

.features { display: flex; justify-content: center; gap: 30px; padding: 60px 40px; flex-wrap: wrap; }
.feature-card { background: #111120; border: 1px solid #1e1e2e; border-radius: 16px; padding: 36px 30px; width: 280px; text-align: center; }
.feature-card span { font-size: 36px; }
.feature-card h3 { margin: 16px 0 10px; font-size: 18px; }
.feature-card p { color: #888; font-size: 14px; line-height: 1.6; }

/* Modal */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 100; }
.modal { display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #111120; border: 1px solid #2a2a3e; border-radius: 20px; padding: 40px; width: 400px; z-index: 200; max-width: 90%; }
.modal h2 { font-size: 24px; margin-bottom: 6px; }
.modal-sub { color: #888; font-size: 14px; margin-bottom: 24px; }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: #888; font-size: 18px; cursor: pointer; }
.input-group { position: relative; margin-bottom: 12px; }
.input-group input { width: 100%; background: #0a0a0f; border: 1px solid #2a2a3e; color: white; padding: 12px 16px; border-radius: 10px; font-size: 14px; outline: none; }
.input-group input:focus { border-color: #7c3aed; }
.password-wrapper { position: relative; }
.toggle-password { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); cursor: pointer; background: none; border: none; font-size: 18px; color: #888; padding: 4px; transition: color 0.2s; }
.toggle-password:hover { color: #7c3aed; }

.divider { text-align: center; color: #555; font-size: 13px; margin: 16px 0; position: relative; }
.divider::before, .divider::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: #2a2a3e; }
.divider::before { left: 0; }
.divider::after { right: 0; }

.switch-auth { text-align: center; font-size: 13px; color: #888; margin-top: 16px; }
.switch-auth a { color: #7c3aed; cursor: pointer; }
.error-msg { color: #f87171; font-size: 13px; margin-top: 10px; text-align: center; }
.success-msg { color: #34d399; font-size: 13px; margin-top: 10px; text-align: center; }