/* ============================================
   FORJA LABS — Main Stylesheet
   forjalabs.com.au
   ============================================ */

:root {
  --teal: #007a88;
  --teal-light: #009daf;
  --teal-glow: rgba(0, 122, 136, 0.15);
  --black: #0a0a0a;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #222222;
  --text: #f0f0f0;
  --text-muted: #888888;
  --white: #ffffff;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --transition: 0.2s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.teal { color: var(--teal-light); }

/* ---- LAYOUT ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  transition: background var(--transition), color var(--transition) !important;
}
.nav-cta:hover { background: var(--teal-light) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,122,136,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(0,122,136,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-left { position: relative; }

.hero-tag {
  display: inline-block;
  background: var(--teal-glow);
  border: 1px solid rgba(0,122,136,0.3);
  color: var(--teal-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-headline {
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-tagline em {
  color: var(--teal-light);
  font-style: normal;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-light);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal-light);
  transform: translateY(-1px);
}

/* F-words */
.f-words {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.f-word {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-muted);
  opacity: 0.25;
  transition: opacity 0.4s ease, color 0.4s ease;
  line-height: 1.2;
}
.f-word.active {
  color: var(--white);
  opacity: 1;
}
.f-word .f {
  color: var(--teal-light);
}

/* Hero right — animated visual */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}
.hero-card-label {
  font-size: 0.75rem;
  color: var(--teal-light);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-card-metric {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.hero-card-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-card-bar {
  margin-top: 24px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.hero-card-bar-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 2px;
  width: 0%;
  transition: width 1.5s ease;
}
.hero-card-items {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-card-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero-card-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ---- SECTION HEADERS ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  color: var(--teal-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 16px auto 0;
}

/* ---- PRODUCTS ---- */
#products { background: var(--surface); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
}
.product-card.featured {
  border-color: var(--teal);
  background: linear-gradient(135deg, var(--black) 0%, rgba(0,122,136,0.08) 100%);
}
.product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.product-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-glow);
  border: 1px solid rgba(0,122,136,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.product-card h3 {
  margin-bottom: 10px;
  color: var(--white);
}
.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.product-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.product-price .amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal-light);
}
.product-price .period {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.product-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.product-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
}
.product-status.soon::before { background: #f59e0b; }
.product-status.live::before { background: #22c55e; }

/* ---- HOW IT WORKS ---- */
#how {
  background: var(--black);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent 50%, var(--teal));
  opacity: 0.3;
}
.step {
  text-align: center;
  padding: 32px 24px;
}
.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--teal-glow);
  border: 1px solid rgba(0,122,136,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal-light);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* ---- ABOUT ---- */
#about { background: var(--surface); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-content h2 { margin-bottom: 20px; }
.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}
.about-content p strong { color: var(--white); }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.stat {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.about-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-card {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color var(--transition);
}
.about-card:hover { border-color: var(--teal); }
.about-card-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.about-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.about-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---- CONTACT ---- */
#contact { background: var(--black); }
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-inner h2 { margin-bottom: 16px; }
.contact-inner p {
  color: var(--text-muted);
  margin-bottom: 40px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--surface); }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; }
.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ---- FOOTER ---- */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand img { height: 32px; margin-bottom: 16px; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 280px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--teal-light); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Mobile nav open */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--black);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  gap: 20px;
}
