/* ============================================================
   base.css – Reset, typography, animations, and shared
   utility classes. Imported after variables.css.
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-size: 11pt;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --- Typography --- */
h1 {
  font-family: 'Paytone One', sans-serif;
  font-size: 20pt;
  color: var(--accent1);
}

h2 {
  font-family: 'Paytone One', sans-serif;
  font-size: 16pt;
  color: var(--accent2);
}

h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 14pt;
  color: var(--accent4);
  font-weight: 500;
}

p {
  color: var(--white);
  font-size: 11pt;
}

/* --- Section structure --- */
section {
  padding: 90px 8%;
}

.section-label {
  font-size: 8pt;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 10px;
}

/* --- Glassmorphism card --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35),
              inset 0 1px 0 var(--neu-light);
}

/* --- Neumorphic card --- */
.neu-card {
  background: var(--neu-card-bg);
  border-radius: 20px;
  box-shadow: 6px 6px 18px var(--neu-dark),
              -4px -4px 12px var(--neu-light);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 40px;
  background: var(--accent1);
  color: var(--btn-text);
  font-weight: 700;
  font-size: 11pt;
  font-family: 'Roboto', sans-serif;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(120, 185, 255, 0.28);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--btn-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(120, 185, 255, 0.42);
}

.btn-secondary {
  padding: 12px 28px;
  border-radius: 40px;
  background: transparent;
  color: var(--accent4);
  font-weight: 500;
  font-size: 11pt;
  font-family: 'Roboto', sans-serif;
  border: 1px solid var(--accent4);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  background: rgba(222, 222, 222, 0.1);
  color: var(--white);
  transform: translateY(-2px);
}

/* .btn-primary already sets these (see above) since it's most often used on
   <a> tags; .btn-secondary is applied to <a> tags too (e.g. file-download
   links) but historically was button-only, so needs the same reset here. */
a.btn-secondary {
  display: inline-block;
  text-decoration: none;
}

/* --- Filter pills --- */
.filter-pill {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 9pt;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--accent4);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-pill.active,
.filter-pill:hover {
  background: rgba(120, 185, 255, 0.15);
  border-color: var(--accent1);
  color: var(--accent1);
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
}

.tab {
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 10pt;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  border: 1px solid transparent;
  background: transparent;
  color: var(--accent4);
  transition: all 0.2s;
}

.tab.active {
  background: rgba(120, 185, 255, 0.12);
  border-color: var(--accent1);
  color: var(--accent1);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* --- Scroll-reveal --- */
.reveal {
  opacity: 0;
  transform: scale(0.96) translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* --- Animations --- */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0);  opacity: 1;   }
  50%       { transform: translateY(8px); opacity: 0.4; }
}

@keyframes pulse {
  0%, 100% { opacity: 1;    }
  50%       { opacity: 0.55; }
}

.pulse {
  animation: pulse 2.5s infinite;
}

/* --- Page navigation (breadcrumb dots) --- */
.breadcrumb {
  position: fixed;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.bc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(222, 222, 222, 0.2);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}

.bc-dot.active {
  background: var(--accent1);
  transform: scale(1.5);
}

/* --- Form groups --- */
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 9.5pt;
  color: var(--accent4);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-size: 11pt;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent1);
  background: rgba(120, 185, 255, 0.07);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(222, 222, 222, 0.35); }
