/* J-Curve Investing Financial Planning Platform — Main Styles */
/* Fonts: Poppins (headings), Consolas/monospace (body/data) */
/* Colors: Blue #38b6ff | Yellow #ffde59 | Green #16c079 | Red #ff5757 | Black #0e0e0e | White #ffffff */

:root {
  --blue: #38b6ff;
  --yellow: #ffde59;
  --green: #16c079;
  --red: #ff5757;
  --black: #0e0e0e;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --gray-mid: #e8e8e8;
  --gray-text: #555;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Consolas', 'Courier New', monospace;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================================================
   TEST MODE BANNER
   ============================================================ */
.test-banner {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  background: var(--black);
  padding: 12px 0;
  position: sticky;
  top: 44px;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.nav-brand img {
  border-radius: 50%;
}

.nav-brand:hover { text-decoration: none; color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.btn-nav {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.btn-nav:hover {
  background: #1a9fe0;
  text-decoration: none !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background: #1a9fe0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56,182,255,0.4);
  text-decoration: none;
  color: white;
}

.btn-primary:disabled {
  background: #aaa;
  cursor: not-allowed;
  transform: none;
}

.btn-primary.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--blue);
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
}

/* ============================================================
   FORM INPUTS
   ============================================================ */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-mid);
  border-radius: 8px;
  font-family: 'Consolas', monospace;
  font-size: 14px;
  color: var(--black);
  transition: border-color 0.2s;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(56,182,255,0.15);
}

select.form-input { cursor: pointer; }

textarea.form-input { resize: vertical; min-height: 80px; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #1a1a2e 100%);
  padding: 80px 20px;
  color: var(--white);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.text-blue { color: var(--blue); }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
  max-width: 560px;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 32px;
}

.feature-item {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.hero-cta { margin-top: 8px; }

.cta-note {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
}

.hero-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(56,182,255,0.4);
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-text h1 { font-size: 30px; }
  .hero-features { grid-template-columns: 1fr; }
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 64px 20px;
  background: var(--white);
}

.how-it-works h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--black);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid var(--gray-mid);
  transition: box-shadow 0.2s;
}

.step-card:hover {
  box-shadow: 0 8px 24px rgba(56,182,255,0.15);
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 14px;
  color: var(--gray-text);
}

/* ============================================================
   WHAT'S INCLUDED
   ============================================================ */
.what-included {
  padding: 64px 20px;
  background: var(--gray-light);
}

.what-included h2 {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.included-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.included-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}

.included-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.included-card p {
  font-size: 14px;
  color: var(--gray-text);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 72px 20px;
  background: linear-gradient(135deg, var(--blue), #1a9fe0);
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  font-size: 17px;
  margin-bottom: 28px;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--blue);
  font-size: 18px;
}

.cta-section .btn-primary:hover {
  background: var(--yellow);
  color: var(--black);
}

/* ============================================================
   BADGE PILL
   ============================================================ */
.badge-pill {
  display: inline-block;
  background: rgba(56,182,255,0.2);
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 40px 20px 24px;
  margin-top: 48px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-bottom: 16px;
}

.footer-disclaimer strong {
  color: rgba(255,255,255,0.8);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}
