/* ============================================================
   NovaFlow — Main Stylesheet (Light Theme)
   ============================================================ */

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

:root {
  --bg:        #f4f9f7;
  --surface:   #eaf4f0;
  --card:      #ffffff;
  --border:    #d0e8df;
  --text:      #0d1f1a;
  --sub:       #4a7060;
  --accent:    #00a87e;
  --radius:    14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Navbar ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 5vw;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 249, 247, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #00a87e, #00c896);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.nav-logo-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.85;
  display: block;
  margin-top: 1px;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, #00a87e, #00c896);
  -webkit-background-clip: text;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sub);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #00a87e, #00c896);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,168,126,0.25);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(0,168,126,0.32); }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: 0.9rem 2.2rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ── Hero ── */
.hero {
  position: relative;
  padding: 7rem 5vw 5rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }

.hero-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 460px;
  background: radial-gradient(ellipse, rgba(0,200,150,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.nz-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(0,168,126,0.1);
  border: 1px solid rgba(0,168,126,0.28);
  color: #007a5c;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: #0a1f18;
}

.gradient-text {
  background: linear-gradient(90deg, #00a87e, #00c8a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--sub);
  max-width: 560px;
  margin: 0 auto 2.2rem;
}

.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Stats ── */
.stats {
  padding: 3rem 5vw;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stats-inner {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

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

.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00a87e, #00c896);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--sub);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Section shared ── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5vw;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.8rem;
  color: #0a1f18;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--sub);
  max-width: 600px;
}

/* ── Services ── */
.services { padding: 6rem 0; background: #ffffff; }

.services .section-inner { display: flex; flex-direction: column; gap: 0; }
.services .section-title,
.services .section-sub { text-align: center; margin-left: auto; margin-right: auto; }
.services .section-label { text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,168,126,0.12);
}

.service-icon {
  font-size: 2rem;
  line-height: 1;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0a1f18;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--sub);
  line-height: 1.6;
}

/* ── Why NovaFlow ── */
.why {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 0;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-text { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.why-text .section-sub { max-width: 460px; }

.why-cards { display: flex; flex-direction: column; gap: 1rem; }

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.why-card-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}

.why-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; color: #0a1f18; }
.why-card p  { font-size: 0.88rem; color: var(--sub); }

/* ── CTA Section ── */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, #00a87e, #00c896);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-inner h2 { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.025em; color: #fff; }
.cta-inner p  { font-size: 1rem; color: rgba(255,255,255,0.8); max-width: 460px; }

.cta-section .btn-primary {
  background: #fff;
  color: #00a87e;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}
.cta-section .btn-primary:hover { opacity: 0.95; }

/* ── Contact ── */
.contact-hero {
  padding: 5rem 0 2rem;
  background: #ffffff;
}

.contact-body { padding: 3rem 0 6rem; background: #ffffff; }

.contact-hero-inner { text-align: left; }

.contact-left { max-width: 580px; }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sub);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #fff;
}

.form-group select option { background: #fff; }
.form-group textarea { resize: vertical; }

/* Form feedback states */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem 2rem;
  text-align: center;
  background: rgba(0,168,126,0.06);
  border: 1px solid rgba(0,168,126,0.2);
  border-radius: var(--radius);
}
.form-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00a87e, #00c896);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 { font-size: 1.2rem; font-weight: 700; color: #0a1f18; }
.form-success p  { font-size: 0.92rem; color: var(--sub); }

.form-error {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(220, 50, 50, 0.06);
  border: 1px solid rgba(220, 50, 50, 0.2);
  color: #c0392b;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.form-error a { color: #e74c3c; text-decoration: underline; }

/* ── Footer ── */
.footer {
  background: #0d1f1a;
  border-top: 1px solid #1a3328;
  padding: 3rem 5vw;
  text-align: center;
}

.footer-inner { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; }

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  background: linear-gradient(90deg, #00c896, #00e8b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-fullname { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #4a7060; margin-top: -0.4rem; }
.footer-tagline { font-size: 0.88rem; color: #4a7060; }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; color: #4a7060; transition: color 0.2s; }
.footer-links a:hover { color: #00c896; }

.footer-copy { font-size: 0.8rem; color: #2a4a3a; margin-top: 0.5rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .why-inner { grid-template-columns: 1fr; }
  .stats-inner { gap: 2rem; }
  .nav-links { gap: 1.2rem; }
}

@media (max-width: 480px) {
  .hero { padding: 4rem 5vw 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
