/* Basic reset and theme */
:root {
  --bg: #0b0d10;
  --accent: #00bcd4;
  --text: #f5f5f5;
  --muted: #b0b3b8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

/* Layout helpers */
.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* Header */
.header { background: rgba(0,0,0,0.8); position: sticky; top: 0; z-index: 10; }
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--accent); }
.logo span { color: #fff; }
.header nav a { margin: 0 0.8rem; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.header nav a:hover { color: var(--accent); }
.cta-btn { background: var(--accent); color: #000; padding: 0.6rem 1.2rem; border-radius: 6px; text-decoration: none; font-weight: 600; }
.cta-btn.big { padding: 0.9rem 1.6rem; font-size: 1.1rem; }
.secondary-btn { color: var(--accent); text-decoration: underline; margin-left: 1rem; }

/* Hero */
.hero { display: flex; align-items: center; padding: 4rem 0; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; align-items: center; }
.hero-text h1 { font-size: 2.2rem; margin-bottom: 1rem; }
.hero-text p { margin-bottom: 1.5rem; color: var(--muted); }
.hero-image img { width: 100%; border-radius: 8px; box-shadow: 0 0 20px rgba(0,0,0,0.5); }

/* Features */
.features { background: #111317; padding: 3rem 0; text-align: center; }
.features h2 { margin-bottom: 2rem; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card { background: #1a1d23; padding: 2rem; border-radius: 8px; box-shadow: 0 0 8px rgba(0,0,0,0.3); transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-card h3 { margin-bottom: 0.5rem; color: var(--accent); }

/* How section */
.how { padding: 3rem 0; text-align: center; }
.how ol { text-align: left; max-width: 500px; margin: 1rem auto 2rem; list-style: decimal inside; color: var(--muted); }
.how li { margin-bottom: 0.5rem; }

/* Signup */
.signup { background: #111317; text-align: center; padding: 3rem 0; }
.signup-form { margin-top: 1rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; }
.signup-form input { padding: 0.8rem; border: none; border-radius: 6px; width: 260px; }
.signup-form button { cursor: pointer; }

/* Footer */
.footer { background: #090a0c; padding: 2rem 0; text-align: center; font-size: 0.9rem; color: var(--muted); }
.footer nav a { color: var(--muted); margin: 0 0.5rem; text-decoration: none; }
.footer nav a:hover { color: var(--accent); }
.footer-logo { font-size: 1.2rem; color: var(--accent); margin-bottom: 0.5rem; }
/* --- Mobile polish --- */
img { max-width: 100%; height: auto; }

/* Typography scale */
@media (max-width: 540px){
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.05rem; }
  p  { font-size: .98rem; }
}

/* Header: stack nav on small screens */
.header .container { gap: .6rem; }
@media (max-width: 860px){
  .header nav { display: none; }                  /* hidden by default on mobile */
  .header .menu-btn { display: inline-flex; }     /* show hamburger */
}

/* Hero layout */
@media (max-width: 860px){
  .hero { padding: 2.2rem 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-cta .cta-btn.big { width: 100%; text-align: center; }
  .secondary-btn { display: inline-block; margin-top: .6rem; }
}

/* Feature grid/cards */
@media (max-width: 720px){
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.2rem; }
}

/* Forms & buttons */
.signup-form { flex-direction: column; }
.signup-form input, .signup-form button { width: 100%; }

/* Dashboard/inner pages */
@media (max-width: 880px){
  /* dashboard.html and others use .shell/.wrap sidebars */
  .shell, .wrap { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid { grid-template-columns: 1fr; }
}

/* Touch targets */
a.cta-btn, .ghost-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }

