/* styles.css – Prox web theme
   Futuristic + warm, human-focused
*/

:root {
  --bg-body: #f7f5f2;
  --bg-surface: #ffffff;
  --bg-surface-soft: #f0ece6;

  --text-main: #111827;
  --text-muted: #6b7280;
  --text-on-dark: #f9fafb;

  --accent: #ff7a3c;     /* warm */
  --accent-soft: #ffe2cf;
  --accent-strong: #ea580c;
  --accent-secondary: #6366f1; /* subtle future */

  --border-subtle: #e5e7eb;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
}

body {
  line-height: 1.6;
}

/* Layout */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(
    to bottom,
    rgba(247, 245, 242, 0.95),
    rgba(247, 245, 242, 0.85)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav-inner,
.main-inner,
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

main {
  min-height: 70vh;
}

footer {
  border-top: 1px solid var(--border-subtle);
  background: #f9fafb;
  color: var(--text-muted);
}

/* Nav */

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 30% 70% 45% 55%;
  background: radial-gradient(circle at 30% 20%, #fef3c7, #111827);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
}

.nav-logo-text {
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 1rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.nav-links a:hover {
  background: var(--bg-surface-soft);
  color: var(--text-main);
  transform: translateY(-1px);
}

.nav-links a.active {
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 600;
}

.nav-cta {
  text-decoration: none;
  font-size: 0.9rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background 0.12s ease;
}

.btn-primary {
  color: var(--text-on-dark);
  background-image: linear-gradient(
    135deg,
    var(--accent),
    var(--accent-strong)
  );
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(249, 115, 22, 0.5);
}

.btn-outline {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.03);
}

/* Hero */

.hero {
  padding: 3.5rem 1.5rem 3rem;
}

.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.22rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  background: rgba(255, 255, 255, 0.8);
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  letter-spacing: 0.04em;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-aside {
  border-radius: 30px;
  background: radial-gradient(circle at 0% 0%, #fef3c7, #111827);
  padding: 1.8rem;
  color: var(--text-on-dark);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 130% -10%, rgba(244, 114, 182, 0.3), transparent 60%);
  pointer-events: none;
}

.hero-aside-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.8;
}

.hero-aside-title {
  font-size: 1.1rem;
  margin: 0.8rem 0;
  font-weight: 600;
}

.hero-aside-list {
  margin: 0.7rem 0 0.4rem;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

.hero-aside-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.36rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.5);
  font-size: 0.78rem;
  margin-top: 0.8rem;
}

/* Generic sections */

.section {
  padding: 2.5rem 0;
}

.section-alt {
  background: var(--bg-surface);
}

.section-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.section-text {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Grid helpers */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: start;
}

/* Cards */

.card {
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.card-soft {
  border-radius: var(--radius-lg);
  background: var(--bg-surface-soft);
  padding: 1.3rem 1.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: var(--text-muted);
}

/* Lists */

.check-list {
  list-style: none;
  padding-left: 0;
  margin: 0.6rem 0 0;
}

.check-list li {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  display: flex;
  gap: 0.4rem;
}

.check-list li::before {
  content: "✓";
  color: var(--accent-strong);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

/* Forms */

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: start;
}

.form-field {
  margin-bottom: 0.9rem;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  padding: 0.6rem 0.7rem;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fdfdfc;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

/* Tables / simple layouts */

.simple-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.simple-table th,
.simple-table td {
  padding: 0.55rem 0.4rem;
  text-align: left;
}

.simple-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.simple-table tr:nth-child(even) {
  background: #f3f4f6;
}

/* Footer */

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

/* Utility */

.muted {
  color: var(--text-muted);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--bg-surface-soft);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 840px) {
  .hero-inner,
  .grid-2,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.4rem;
  }

  .nav-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-right {
    justify-content: space-between;
    width: 100%;
  }
}
