/* ══════════════════════════════════════
   AGEYE — Global Styles
   Design system, typography, buttons,
   utilities, shared keyframes
   ══════════════════════════════════════ */

:root {
  color-scheme: only light;
  --black: #0a0a0a;
  --white: #fafafa;
  --pink: #e8155b;
  --pink-light: #ff2d72;
  --green: #111a14;
  --green-mid: #1a3a2a;
  --green-bright: #3ecf8e;
  --gray-50: #f7f7f7;
  --gray-100: #efefef;
  --gray-200: #ddd;
  --gray-400: #999;
  --gray-600: #666;
  --gray-800: #333;
  --radius-lg: 16px;
  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { position: relative; }

/* ── PLUS MOTIF ── */
.p { font-family: 'Outfit', sans-serif; font-weight: 300; color: var(--pink); line-height: 1; }
.p::before { content: '+'; }
.pg { font-family: 'Outfit', sans-serif; font-weight: 300; color: var(--green-bright); line-height: 1; }
.pg::before { content: '+'; }

/* ── SECTION BAND ── */
.band {
  width: 100%;
  padding: 0 40px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}
.band-seg {
  flex: 1;
  height: 2px;
  background: var(--pink);
  opacity: 0.12;
}
.band-seg.g { background: var(--green-bright); opacity: 0.10; }
.band .p, .band .pg { font-size: 0.85rem; opacity: 0.25; }

/* ── SECTION HEADERS ── */
.sec-head { margin-bottom: 56px; }
.sec-head.center { text-align: center; }

.sec-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--pink); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.sec-label.center { justify-content: center; }
.sec-label .p, .sec-label .pg { font-size: 0.65rem; }

.sec-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800; letter-spacing: -0.025em;
  color: var(--black);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: var(--t); border: none; cursor: pointer;
}
.btn-p { background: var(--pink); color: white; }
.btn-p:hover { background: var(--pink-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,21,91,0.22); }
.btn-s { background: transparent; color: var(--black); border: 1.5px solid var(--gray-200); }
.btn-s:hover { border-color: var(--black); transform: translateY(-2px); }
.btn-g { background: var(--green-bright); color: var(--green); font-weight: 700; }
.btn-g:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(62,207,142,0.28); }
.btn-gh { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.12); }
.btn-gh:hover { border-color: rgba(255,255,255,0.35); transform: translateY(-2px); }
.btn-w { background: white; color: var(--black); font-weight: 700; }
.btn-w:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,255,255,0.12); }
.btn-ow { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.12); }
.btn-ow:hover { border-color: rgba(255,255,255,0.35); transform: translateY(-2px); }

/* ── SCROLL ANIMATION UTILITY ── */
.anim {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim.vis { opacity: 1; transform: translateY(0); }

/* ── SHARED KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes aDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(62,207,142,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(62,207,142,0); }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ══════════════════════════════════════
   Shared Contact Modal
   ══════════════════════════════════════ */
.g-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.g-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.g-modal {
  background: white;
  border-radius: 20px;
  padding: 52px 44px;
  max-width: 580px;
  width: 90%;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
}

.g-modal-overlay.open .g-modal {
  transform: translateY(0) scale(1);
}

.g-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--gray-400);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.g-modal-close:hover {
  background: var(--gray-50);
  color: var(--black);
}

.g-modal h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.g-modal h3::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
  margin-bottom: 14px;
}

.g-modal > p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 28px;
}

.g-modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.g-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.g-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.g-form-field label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-800);
  letter-spacing: 0.02em;
}

.g-form-field input,
.g-form-field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  background: var(--gray-50);
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.g-form-field input::placeholder,
.g-form-field textarea::placeholder {
  color: var(--gray-400);
}

.g-form-field input:focus,
.g-form-field textarea:focus {
  border-color: var(--green-bright);
  background: white;
}

.g-form-submit {
  align-self: flex-end;
  margin-top: 4px;
}

@media (max-width: 480px) {
  .g-modal { padding: 40px 24px; }
  .g-form-row { grid-template-columns: 1fr; }
  .g-form-submit { width: 100%; text-align: center; justify-content: center; }
}
