@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Dancing+Script:wght@600&display=swap");

/* ─── CSS Custom Properties ────────────────────────────────── */
:root {
  /* Brand Colors — Matching Mockup Exactly */
  --teal: #00897b;
  --teal-hover: #00796b;
  --teal-light: #e0f2f1;
  --teal-muted: #80cbc4;
  --navy: #0b1e2d;
  --navy-card: #0d2137;
  --text-dark: #111827;
  --text-body: #4b5563;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-off: #f9fafb;
  --bg-section: #f3f4f6;
  --border: #e5e7eb;
  --border-light: #f3f4f6;

  /* Typography */
  --font-body: "Inter", -apple-system, sans-serif;
  --font-title: "Outfit", sans-serif;
  --font-script: "Dancing Script", cursive;

  /* Effects */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Base Reset ────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

/* ─── Utilities ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 2.25rem 0;
}

/* section-alt uses off-white; focus-areas uses pure white */
.section-alt {
  background: var(--bg-off);
}

.section-white {
  background: var(--bg-white);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--teal-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 137, 123, 0.35);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-dark);
}

.btn-ghost:hover {
  background: var(--bg-off);
  border-color: #9ca3af;
  transform: translateY(-1px);
}

/* ─── Form Styles ───────────────────────────────────────────── */
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.675rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  background: var(--bg-off);
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(0, 137, 123, 0.1);
}

/* ─── Flash Message ─────────────────────────────────────────── */
.flash {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 360px;
  animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
