/* Stu-MM Corporate - Base Styles, Animations & Acrylic Utilities */

@font-face {
  font-family: 'StuMMRegular';
  src: url('../font/stu_mm_regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'StuMMBold';
  src: url('../font/stu_mm_bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'StuMMLight';
  src: url('../font/stu_mm_light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

p:last-child { margin-bottom: 0; }

a {
  color: var(--color-brand-teal-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--color-brand-teal); }

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

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  position: relative;
}

@media (min-width: 1024px) {
  .section {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
  }
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--color-brand-teal-glow);
  color: var(--color-brand-teal-light);
  border: 1px solid var(--border-brand);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.12);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.badge-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 184, 166, 0.22);
}

/* Gradient Text Classes */
.gradient-text-primary {
  background: var(--gradient-text-teal-lime);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: var(--gradient-text-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-navy {
  background: var(--gradient-text-navy-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Progress Bar Component with Shimmer */
.progress-bar-container {
  width: 100%;
  height: 10px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0.75rem 0;
  border: 1px solid var(--border-color);
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 2.5s infinite;
}

/* Keyframe Animations */
@keyframes floatAnim {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(20, 184, 166, 0.2); }
  50% { box-shadow: 0 0 35px rgba(20, 184, 166, 0.5); }
}

.animate-float {
  animation: floatAnim 4s ease-in-out infinite;
}

/* Scroll reveal trigger class */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Grids */
.grid { display: grid; gap: 1.75rem; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 640px) {
  .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.text-center { text-align: center; }
.text-teal { color: var(--color-brand-teal-light); }
.text-lime { color: var(--color-brand-lime); }
.text-gold { color: var(--color-brand-gold); }
