:root {
  --primary-color: #00938a;
  /* A premium teal/green-blue representing trust and transparency */
  --primary-light: #e6f6f5;
  /* Very soft wash of the primary color */
  --secondary-color: #0b3d42;
  /* Deeper slate color for strong headings */
  --text-dark: #333333;
  --text-light: #5f6c6d;
  --bg-color: #ffffff;
  --bg-alt: #fbfcfa;
  /* Clean off-white background */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* Base Adjustments */
.title {
  color: var(--secondary-color);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.subtitle {
  color: var(--text-light);
}

/* Navbar */
.navbar {
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.03);
  padding: 0.5rem 0;
}

.navbar-item img {
  max-height: 3rem;
  /* ensures the logo scales elegantly */
}

/* Buttons */
.button.is-primary {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.button.is-primary:hover {
  background-color: #007c74;
  box-shadow: 0 6px 15px rgba(0, 147, 138, 0.25);
  transform: translateY(-2px);
}

.button.is-outlined.is-primary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.button.is-outlined.is-primary:hover {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 6px 15px rgba(0, 147, 138, 0.25);
}

/* Hero Section */
.hero {
  background: linear-gradient(145deg, var(--bg-color) 40%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./assets/logo-front-alfa.png') no-repeat center center;
  background-size: contain;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(0, 147, 138, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero-body {
  position: relative;
  z-index: 1;
}

/* Glassmorphism Panels */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 147, 138, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  padding: 2.5rem;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.glass-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 147, 138, 0.08);
}

/* Feature Icons */
.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* Opacity vs Transparency Sections */
.comparison-section {
  background-color: var(--bg-alt);
}

.opacity-box {
  background-color: #fafafa;
  border: 1px dashed #e0e0e0;
  border-radius: 12px;
  padding: 3rem;
  height: 100%;
}

.transparency-box {
  background-color: white;
  border: 1px solid rgba(0, 147, 138, 0.15);
  border-radius: 12px;
  padding: 3rem;
  height: 100%;
  box-shadow: 0 15px 35px rgba(0, 147, 138, 0.05);
  position: relative;
  overflow: hidden;
}

.transparency-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
}

/* Stats Section */
.stats-section {
  padding: 5rem 1.5rem;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.stat-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -1.5px;
}

.stat-label {
  font-size: 1.25rem;
  color: var(--secondary-color);
  font-weight: 500;
}

.resource-list {
  list-style: none;
  padding: 0;
}

.resource-list li {
  margin-bottom: 1.5rem;
}

.resource-list a {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  background-color: var(--bg-alt);
  border: 1px solid #eee;
  color: var(--secondary-color);
  font-weight: 600;
  transition: all 0.2s ease;
}

.resource-list a:hover {
  background-color: white;
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 147, 138, 0.1);
}

.resource-list i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--primary-color);
}

/* Document Icon Helpers */
.icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-light);
  margin: 0 auto 1.5rem;
}

.icon-box i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Utility constraints */
.is-max-800 {
  max-width: 800px;
  margin: 0 auto;
}

.footer {
  background-color: #f7fbfa;
  padding: 4rem 1.5rem;
  border-top: 1px solid #eaeaea;
}

.isotype-bg {
  position: absolute;
  right: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  opacity: 0.03;
  pointer-events: none;
}