/* =============================================
   FilipinaCare — styles.css (consolidated v2)
   ============================================= */

:root {
  --bg:      #0b1220;
  --card:    #0f1a2e;
  --text:    #e7eefc;
  --muted:   #b7c4e1;
  --accent:  #7aa7ff;
  --accent2: #77e3c5;
  --border:  rgba(231,238,252,.12);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg), #070b14);
  color: var(--text);
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---- Nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 18px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: .2px;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 30px rgba(122,167,255,.25);
  flex-shrink: 0;
}

.navlinks {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.navlinks a { color: var(--muted); font-weight: 600; }
.navlinks a.active { color: var(--text); }

/* ---- Hero ---- */
.hero { padding: 42px 0 12px; }

.h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  margin: 0 0 10px;
}

.sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 75ch;
  margin: 0;
}

/* ---- Badges ---- */
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 0;
}

.badge {
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 13px;
}

/* ---- Grid ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin: 28px 0;
}

/* All cards default to full width */
.card { grid-column: span 12; }

/* Responsive span classes */
@media (min-width: 780px) {
  .span4  { grid-column: span 4; }
  .span6  { grid-column: span 6; }
  .span8  { grid-column: span 8; }
  .span12 { grid-column: span 12; }
}

/* ---- Card ---- */
.card {
  background: rgba(15,26,46,.7);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.card h2 { margin: 0 0 10px; font-size: 18px; }
.card p  { margin: 0; color: var(--muted); line-height: 1.6; }

/* ---- Utility ---- */
.ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.kicker {
  color: var(--accent2);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .12em;
  margin-bottom: 10px;
  display: block;
}

.small {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

hr.sep {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* ---- Notice block ---- */
.notice {
  border-left: 3px solid var(--accent2);
  padding: 10px 14px;
  margin: 16px 0 0;
  color: var(--muted);
  background: rgba(119,227,197,.08);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  line-height: 1.6;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #07101f;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  text-align: center;
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 700;
}

.btn:hover { opacity: .9; }

.cta {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- Form ---- */
.form { margin-top: 16px; }

.form label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0 5px;
}

.form input[type="text"],
.form input[type="email"],
input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(7,11,20,.55);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus {
  border-color: var(--accent);
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.checkbox input { margin-top: 3px; flex-shrink: 0; }

.form .btn { margin-top: 16px; width: 100%; }

/* ---- Footer ---- */
.footer {
  padding: 22px 0 30px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 40px;
}
