/* css/index.css — styles for index.html */

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

html { scroll-behavior: smooth; }

body {
  background: #02423F;
  color: #FDFDFD;
  font-family: 'TheSeasonsFont', sans-serif;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* Top-right glow */
body::after {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,194,169,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Typography helpers ── */
.font-seasons  { font-family: 'TheSeasonsFont', serif; }
.font-cool     { font-family: 'Coolvetica', sans-serif; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatOwl {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
.anim-1 { animation: fadeUp 0.8s 0.05s ease both; }
.anim-2 { animation: fadeUp 0.8s 0.15s ease both; }
.anim-3 { animation: fadeUp 0.8s 0.25s ease both; }
.anim-4 { animation: fadeUp 0.8s 0.35s ease both; }
.anim-5 { animation: fadeUp 0.8s 0.45s ease both; }
.anim-6 { animation: fadeUp 0.8s 0.55s ease both; }

/* ── Eyebrow label ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Coolvetica', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0AC2A9;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: #0AC2A9;
}

/* ── Feature card ── */
.feature-card {
  background: rgba(13,98,91,0.25);
  border: 1px solid rgba(10,194,169,0.15);
  border-radius: 6px;
  padding: 1.75rem;
  transition: border-color 0.25s, background 0.25s;
}
.feature-card:hover {
  border-color: rgba(10,194,169,0.4);
  background: rgba(13,98,91,0.4);
}

/* ── Step badge ── */
.step-badge {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(10,194,169,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Coolvetica', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: #0AC2A9;
  flex-shrink: 0;
}

/* ── Social proof pill ── */
.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10,194,169,0.10);
  border: 1px solid rgba(10,194,169,0.25);
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  font-family: 'Coolvetica', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #0AC2A9;
}
.proof-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0AC2A9;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── Buttons ── */
.btn-primary {
  background: #0AC2A9;
  color: #02423F;
  border: none;
  border-radius: 4px;
  padding: 0.85rem 1.75rem;
  font-family: 'TheSeasonsFont', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover  { background: #C9FEF2; }
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  background: transparent;
  color: rgba(253,253,253,0.7);
  border: 1px solid rgba(253,253,253,0.18);
  border-radius: 4px;
  padding: 0.85rem 1.75rem;
  font-family: 'TheSeasonsFont', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
  text-decoration: none;
}
.btn-ghost:hover  { border-color: rgba(10,194,169,0.5); color: #0AC2A9; }
.btn-ghost:active { transform: scale(0.97); }

/* ── Section divider ── */
.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(253,253,253,0.07);
}

/* ── Tag pill ── */
.tag {
  font-family: 'Coolvetica', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(253,253,253,0.35);
  border: 1px solid rgba(253,253,253,0.10);
  border-radius: 2rem;
  padding: 0.32rem 0.85rem;
}

/* ── Owl deco ── */
.owl-deco {
  position: fixed;
  bottom: -3rem;
  right: -2rem;
  width: clamp(200px, 25vw, 360px);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  animation: floatOwl 7s ease-in-out infinite;
}

/* ── Auth Modal ── */
#auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2,25,24,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}
#auth-modal.open { display: flex; }

.modal-card {
  background: #02423F;
  border: 1px solid rgba(10,194,169,0.2);
  border-radius: 10px;
  width: 100%;
  max-width: 440px;
  margin: 1rem;
  padding: 2.5rem 2rem;
  position: relative;
  animation: fadeUp 0.35s ease both;
}

/* Tab bar */
.tab-bar {
  display: flex;
  border-bottom: 1px solid rgba(253,253,253,0.1);
  margin-bottom: 1.75rem;
}
.tab-btn {
  flex: 1;
  padding: 0.6rem;
  font-family: 'Coolvetica', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.35);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.tab-btn.active { color: #0AC2A9; border-bottom-color: #0AC2A9; }

/* Form fields */
.field-label {
  display: block;
  font-family: 'Coolvetica', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253,253,253,0.4);
  margin-bottom: 0.45rem;
}
.field-input {
  width: 100%;
  background: rgba(2,66,63,0.5);
  border: 1px solid rgba(10,194,169,0.2);
  border-radius: 4px;
  outline: none;
  padding: 0.8rem 1rem;
  font-family: 'TheSeasonsFont', sans-serif;
  font-size: 0.9rem;
  color: #FDFDFD;
  transition: border-color 0.2s;
  margin-bottom: 1rem;
}
.field-input:focus        { border-color: #0AC2A9; }
.field-input::placeholder { color: rgba(253,253,253,0.25); }
.field-input.error        { border-color: #ff6b6b; }

.btn-submit {
  width: 100%;
  background: #0AC2A9;
  color: #02423F;
  border: none;
  border-radius: 4px;
  padding: 0.85rem;
  font-family: 'TheSeasonsFont', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.25rem;
}
.btn-submit:hover    { background: #C9FEF2; }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-google {
  width: 100%;
  background: rgba(253,253,253,0.05);
  color: rgba(253,253,253,0.75);
  border: 1px solid rgba(253,253,253,0.15);
  border-radius: 4px;
  padding: 0.8rem;
  font-family: 'Coolvetica', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.btn-google:hover { background: rgba(253,253,253,0.1); border-color: rgba(253,253,253,0.3); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  font-family: 'Coolvetica', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(253,253,253,0.25);
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(253,253,253,0.1);
}

.auth-error {
  display: none;
  background: rgba(255,107,107,0.1);
  border: 1px solid rgba(255,107,107,0.3);
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  font-family: 'Coolvetica', sans-serif;
  font-size: 0.8rem;
  color: #ff9a9a;
  margin-bottom: 1rem;
}
.auth-error.visible { display: block; }

.auth-success {
  display: none;
  background: rgba(10,194,169,0.1);
  border: 1px solid rgba(10,194,169,0.3);
  border-radius: 4px;
  padding: 0.65rem 0.85rem;
  font-family: 'TheSeasonsFont', sans-serif;
  font-size: 0.85rem;
  color: #0AC2A9;
  margin-bottom: 1rem;
}
.auth-success.visible { display: block; }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(253,253,253,0.35);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: #FDFDFD; }

/* link inside modal */
.auth-link {
  font-family: 'Coolvetica', sans-serif;
  font-size: 0.75rem;
  color: rgba(10,194,169,0.7);
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s;
}
.auth-link:hover { color: #0AC2A9; }

/* ── Responsive ── */
@media (max-width: 640px) {
  .modal-card { padding: 2rem 1.25rem; }
}
