/* === Design Tokens === */
:root {
  --accent: #75B3B4;
  --accent-rgb: 117, 179, 180;
  --bg-dark: #181818;
  --bg-card: rgba(255, 255, 255, 0.02);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(117, 179, 180, 0.3);
  --text-muted: rgba(255, 255, 255, 0.5);
  --text-muted-2: rgba(255, 255, 255, 0.4);
  --gradient-accent: linear-gradient(135deg, hsl(181, 32%, 62%), hsl(185, 28%, 48%));
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(117, 179, 180, 0.28), transparent 60%);
  --surface-dark-border: rgba(255, 255, 255, 0.08);
}

/* === Global Focus Styles === */
.mud-text:focus,
.mud-text:focus-visible {
  outline: none !important;
}

.hero-section .mud-text:focus,
.hero-section .mud-text:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.hero-section *:focus,
.hero-section *:focus-visible {
  outline: none !important;
}

/* === Layout Helpers === */
.container-tight {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* === Hero === */
.hero-section {
  background-image: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.85)),
                    url('../images/hero-powder.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(117, 179, 180, 0.28), transparent 60%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--surface-dark-border);
  background-color: rgba(24, 24, 24, 0.4);
  color: var(--accent);
  backdrop-filter: blur(8px);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* === CTAs === */
.cta-button {
  text-transform: none !important;
  font-weight: 500 !important;
  padding: 12px 28px !important;
  border-radius: 100px !important;
}

.cta-accent {
  background: var(--accent) !important;
  color: #000 !important;
  box-shadow: 0 0 30px rgba(117, 179, 180, 0.35) !important;
  text-transform: none !important;
  font-weight: 500 !important;
  padding: 12px 28px !important;
  border-radius: 100px !important;
}

.cta-accent:hover {
  box-shadow: 0 0 45px rgba(117, 179, 180, 0.5) !important;
}

.cta-hero {
  background: #fff !important;
  color: #0c0c0c !important;
  text-transform: none !important;
  font-weight: 500 !important;
  padding: 12px 28px !important;
  border-radius: 100px !important;
}

/* === Stats === */
.stat-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease;
}

.stat-card:hover {
  border-color: rgba(117, 179, 180, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #75B3B4;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.3;
}

/* === Partner Grid === */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.partners-grid img {
  opacity: 0.4;
  transition: opacity 0.2s ease;
}

.partners-grid img:hover {
  opacity: 0.7;
}

/* === Section Dividers === */
.section-divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent
  );
  margin: 0 auto;
  max-width: 1200px;
}

.section-number {
  font-size: 6rem;
  font-weight: 800;
  color: rgba(117, 179, 180, 0.08);
  line-height: 1;
  margin-bottom: -32px;
  user-select: none;
}

/* === Figure Label === */
.figure-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(117, 179, 180, 0.5);
  border: 1px solid rgba(117, 179, 180, 0.2);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* === Use Case Cards === */
.use-case-card {
  border-radius: 16px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease;
}

.use-case-card:hover {
  border-color: rgba(117, 179, 180, 0.2);
}

/* === Case Study === */
.case-study-metric {
  background-color: rgba(117, 179, 180, 0.06);
  border: 1px solid rgba(117, 179, 180, 0.12);
  border-radius: 10px;
  padding: 14px;
}

.case-study-metric .metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #75B3B4;
  line-height: 1.1;
}

.case-study-metric .metric-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

/* === Feature Card === */
.feature-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 32px;
  height: 100%;
  transition: border-color 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(117, 179, 180, 0.2);
}

/* === Technology Images === */
.tech-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tech-figure {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-dark-border);
}

.tech-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tech-figure figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
}

.tech-figure figcaption span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}

.tech-figure figcaption p {
  margin-top: 4px;
  font-weight: 600;
}

/* === Tech Stat Card === */
.tech-stat-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--surface-dark-border);
  background-color: rgba(255, 255, 255, 0.02);
}

.tech-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.tech-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.4;
}

/* === Team Section === */
.section-dark {
  background-color: #0c0c0c;
  border-top: 1px solid var(--surface-dark-border);
  border-bottom: 1px solid var(--surface-dark-border);
}

.team-card {
  border-radius: 16px;
  border: 1px solid var(--surface-dark-border);
  background-color: rgba(255, 255, 255, 0.02);
  padding: 24px;
  transition: border-color 0.2s ease;
  height: 100%;
}

.team-card:hover {
  border-color: rgba(117, 179, 180, 0.5);
}

.team-photo {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(117,179,180,0.3), var(--surface-dark-border));
  margin-bottom: 20px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.team-role {
  font-size: 0.875rem;
  color: var(--accent);
  margin-top: 2px;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

.team-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  color: var(--text-muted);
}

.team-links a {
  color: inherit;
  transition: color 0.2s;
}

.team-links a:hover {
  color: var(--accent);
}

/* === Upload Zone === */
.upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  border: 2px dashed rgba(255,255,255,0.12);
  border-radius: 12px;
  background-color: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: border-color 0.2s;
  text-align: center;
}

.upload-zone:hover {
  border-color: var(--accent);
}

/* === Simulator Section === */
.simulator-iframe {
  width: 100%;
  border: 0;
  display: block;
  border-radius: 16px;
  min-height: 800px;
  height: 900px;
}

/* === Form Styles === */
.form-card {
  border-radius: 16px;
  border: 1px solid var(--surface-dark-border);
  background-color: rgba(255, 255, 255, 0.02);
  padding: 32px;
}

.form-card input, .form-card textarea {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  padding: 10px 14px;
  width: 100%;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.form-card input:focus, .form-card textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-card label {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
  font-weight: 500;
}

/* === Group Photo === */
.group-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--surface-dark-border);
}

.group-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: none;
  display: block;
}

/* === Section Spacing === */
.py-24 {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* === Scroll Indicator === */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: pulse 2s infinite;
}

/* === Newsletter Section === */
.newsletter-section {
  padding: 96px 0;
}

.newsletter-card {
  border-radius: 16px;
  border: 1px solid var(--surface-dark-border);
  background-color: rgba(255, 255, 255, 0.02);
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.newsletter-card:hover {
  border-color: rgba(117, 179, 180, 0.3);
}

.newsletter-card-skeleton {
  border-radius: 16px;
  border: 1px solid var(--surface-dark-border);
  background-color: rgba(255, 255, 255, 0.02);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-card-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.newsletter-badge-new {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0c0c0c;
  background: #75B3B4;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.newsletter-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.87);
  line-height: 1.3;
  margin-bottom: 10px;
}

.newsletter-card-excerpt {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  flex-grow: 1;
}

.newsletter-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #75B3B4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.newsletter-card-link:hover {
  color: #8fd4d5;
}

.newsletter-archive-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.newsletter-archive-cta:hover {
  border-color: rgba(117, 179, 180, 0.4);
  color: #75B3B4;
}

.newsletter-card-preview {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.newsletter-body {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.newsletter-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin: 24px 0 12px;
}

.newsletter-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin: 20px 0 10px;
}

.newsletter-body p {
  margin: 12px 0;
}

.newsletter-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.newsletter-body blockquote {
  border-left: 3px solid #75B3B4;
  padding: 12px 20px;
  margin: 16px 0;
  background: rgba(117, 179, 180, 0.06);
  border-radius: 0 8px 8px 0;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

.newsletter-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
  margin: 32px 0;
}

.newsletter-body ul, .newsletter-body ol {
  padding-left: 20px;
  margin: 12px 0;
}

.newsletter-body li {
  margin: 6px 0;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}
