/* Fieldy — Shared Styles */

:root {
  --orange: #E8430A;
  --orange-light: #FF5B1F;
  --navy: #1B2B4B;
  --navy-light: #263d6b;
  --white: #FAFAF8;
  --gray-50: #F6F5F3;
  --gray-100: #ECEAE6;
  --gray-300: #C4BFB8;
  --gray-500: #888077;
  --gray-700: #4A4540;
  --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --nav-h: 68px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 48px;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  gap: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
}

.nav-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.5px;
}

.nav-logo-text sup {
  font-size: 10px;
  font-weight: 600;
  vertical-align: super;
  color: var(--gray-500);
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--orange);
  background: rgba(232,67,10,0.07);
}

.nav-links a.active {
  color: var(--orange);
  font-weight: 700;
}

.nav-cta {
  display: flex;
  gap: 10px;
  margin-left: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,67,10,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--gray-50);
}

.btn-lg {
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
}

/* FOOTER */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 60px 48px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .nav-logo-text {
  color: #fff;
}

.footer-tagline {
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* SECTION HELPERS */
.section {
  padding: 100px 48px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.section-title span {
  color: var(--orange);
}

.section-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-700);
  max-width: 560px;
  margin-top: 20px;
}

/* APP MOCKUP PLACEHOLDER */
.mockup-placeholder {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-300);
  font-size: 12px;
  font-family: 'Courier New', monospace;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.mockup-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 8px,
    rgba(0,0,0,0.025) 8px,
    rgba(0,0,0,0.025) 9px
  );
}

.mockup-placeholder span {
  position: relative;
  z-index: 1;
  padding: 8px 16px;
  background: rgba(255,255,255,0.7);
  border-radius: 6px;
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  box-shadow: 0 12px 40px rgba(27,43,75,0.1);
  transform: translateY(-3px);
  border-color: var(--orange);
}

.feature-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,67,10,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--orange);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--gray-700);
}

/* NAV BACKGROUND on scroll */
.nav.scrolled {
  box-shadow: 0 2px 16px rgba(27,43,75,0.08);
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 64px 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer { padding: 48px 20px 32px; }
}
