* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #1a1a1a; background: #fff; }

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

/* Navbar */
.navbar { background: #1a4a3a; padding: 16px 0; }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 22px; font-weight: 700; color: #fff; text-decoration: none; }
.logo span { color: #c9a84c; }
.nav-links { display: flex; gap: 16px; align-items: center; }
.btn-link { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; }
.btn-link:hover { color: #c9a84c; }
.btn-primary-sm { background: #c9a84c; color: #1a4a3a; padding: 8px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; }
.btn-primary-sm:hover { background: #b8963f; }

/* Hero */
.hero { background: linear-gradient(135deg, #1a4a3a 0%, #2d6b55 100%); color: #fff; padding: 80px 0; text-align: center; }
.hero h1 { font-size: 42px; font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.subtitle { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 24px; line-height: 1.6; }
.pricing-badge { display: inline-block; background: rgba(255,255,255,0.15); padding: 8px 24px; border-radius: 20px; font-size: 15px; margin-bottom: 32px; }
.btn-cta { display: inline-block; background: #c9a84c; color: #1a4a3a; padding: 16px 40px; border-radius: 8px; font-size: 18px; font-weight: 700; text-decoration: none; transition: background 0.2s; }
.btn-cta:hover { background: #b8963f; }

/* Features */
.features { padding: 80px 0; background: #f8f8f6; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { background: #fff; padding: 32px; border-radius: 12px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; color: #1a4a3a; margin-bottom: 8px; }
.feature-card p { font-size: 15px; color: #555; line-height: 1.5; }

/* How it works */
.how-it-works { padding: 80px 0; text-align: center; }
.how-it-works h2 { font-size: 32px; color: #1a4a3a; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { padding: 24px; }
.step-number { width: 48px; height: 48px; background: #1a4a3a; color: #c9a84c; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 18px; color: #1a4a3a; margin-bottom: 8px; }
.step p { font-size: 15px; color: #555; line-height: 1.5; }

/* CTA section */
.cta-section { padding: 80px 0; background: #1a4a3a; text-align: center; color: #fff; }
.cta-section h2 { font-size: 32px; margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.8); margin-bottom: 32px; }

/* Footer */
.footer { padding: 24px 0; text-align: center; color: #999; font-size: 14px; }

/* Auth pages */
.auth-page { min-height: 100vh; background: #f8f8f6; display: flex; flex-direction: column; }
.auth-box { max-width: 420px; margin: 80px auto; background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,0.08); width: 100%; }
.auth-box h1 { font-size: 26px; color: #1a4a3a; margin-bottom: 8px; }
.auth-box .sub { color: #777; margin-bottom: 32px; font-size: 15px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: #333; }
.form-group input { width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; font-family: 'Inter', sans-serif; }
.form-group input:focus { outline: none; border-color: #1a4a3a; }
.btn-submit { width: 100%; padding: 14px; background: #1a4a3a; color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; }
.btn-submit:hover { background: #153d30; }
.btn-submit:disabled { background: #999; cursor: not-allowed; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: #777; }
.auth-footer a { color: #1a4a3a; font-weight: 500; }
.error-msg { background: #fee; color: #c00; padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; display: none; }

/* Dashboard */
.dash-page { min-height: 100vh; background: #f8f8f6; }
.dash-nav { background: #1a4a3a; padding: 16px 0; }
.dash-nav-content { display: flex; justify-content: space-between; align-items: center; }
.user-info { color: rgba(255,255,255,0.8); font-size: 14px; display: flex; align-items: center; gap: 16px; }
.btn-logout { background: none; border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 6px 16px; border-radius: 6px; cursor: pointer; font-size: 13px; font-family: 'Inter', sans-serif; }
.btn-logout:hover { border-color: #fff; }

.dash-content { max-width: 720px; margin: 40px auto; padding: 0 24px; }
.usage-bar { background: #fff; padding: 20px 24px; border-radius: 10px; margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 1px 8px rgba(0,0,0,0.05); }
.usage-text { font-size: 15px; color: #555; }
.usage-text strong { color: #1a4a3a; }
.btn-upgrade { background: #c9a84c; color: #1a4a3a; border: none; padding: 10px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 14px; font-family: 'Inter', sans-serif; }
.btn-upgrade:hover { background: #b8963f; }
.pro-badge { background: #c9a84c; color: #1a4a3a; padding: 4px 12px; border-radius: 12px; font-size: 13px; font-weight: 600; }

.generate-box { background: #fff; padding: 32px; border-radius: 12px; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.generate-box h2 { font-size: 22px; color: #1a4a3a; margin-bottom: 4px; }
.generate-box .hint { color: #999; font-size: 14px; margin-bottom: 20px; }
.generate-box textarea { width: 100%; height: 140px; padding: 16px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px; resize: vertical; font-family: 'Inter', sans-serif; line-height: 1.5; }
.generate-box textarea:focus { outline: none; border-color: #1a4a3a; }
.btn-generate { margin-top: 16px; padding: 14px 32px; background: #1a4a3a; color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; }
.btn-generate:hover { background: #153d30; }
.btn-generate:disabled { background: #999; cursor: not-allowed; }

.result-box { margin-top: 24px; padding: 24px; background: #f0f7f4; border-radius: 10px; border-left: 4px solid #1a4a3a; display: none; }
.result-box h3 { font-size: 16px; color: #1a4a3a; margin-bottom: 12px; }
.result-text { font-size: 15px; line-height: 1.6; color: #333; white-space: pre-wrap; }
.btn-copy { margin-top: 12px; padding: 8px 20px; background: #1a4a3a; color: #fff; border: none; border-radius: 6px; font-size: 13px; cursor: pointer; font-family: 'Inter', sans-serif; }
.btn-copy:hover { background: #153d30; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .subtitle { font-size: 16px; }
  .features-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .auth-box { margin: 40px 16px; }
  .usage-bar { flex-direction: column; gap: 12px; text-align: center; }
}
