/* ========== CSS Variables ========== */
:root {
  --primary-color: #04AB83;
  --secondary-color: #E84E02;
  --tertiary-color: #a78bfa;
  --dark-bg: #0a0e27;
  --darker-bg: #050810;
  --card-bg: rgba(15, 23, 42, 0.6);
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: rgba(148, 163, 184, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Global Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, var(--darker-bg) 0%, #1a1f3a 50%, var(--dark-bg) 100%);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(110, 231, 183, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(96, 165, 250, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(28px, 5vw, 48px);
  color: var(--secondary-color);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(24px, 4vw, 36px);
  color: var(--text-primary);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--text-primary);
  margin-bottom: 16px;
}

p {
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

/* ========== Layout ========== */
.wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  padding: 20px 20px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(5, 8, 16, 0.4);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}



.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

main {
  flex: 1;
  padding: 40px 20px;
}

footer {
  padding: 40px 20px;
  border-top: 1px solid var(--border-color);
  background: rgba(5, 8, 16, 0.6);
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* ========== Header ========== */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(4, 171, 131, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.header-text h1 {
  font-size: 20px;
  margin: 0;
}

header.scrolled .header-text h1 {
  font-size: 16px;
}

.header-text p {
  display: none;
}

/* ========== Social Links ========== */
.social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 171, 131, 0.1);
  border: 1px solid rgba(4, 171, 131, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-link:hover {
  background: rgba(4, 171, 131, 0.2);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--primary-color);
  transition: width 0.3s ease, height 0.3s ease;
}

/* ========== Hero Section ========== */
.hero {
  text-align: center;
  margin-bottom: 50px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--secondary-color);
  letter-spacing: 0.5px;
}

/* ========== Buttons ========== */
.btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: var(--secondary-color);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 78, 2, 0.4);
  background: #d14402;
}

.btn-secondary {
  background: rgba(4, 171, 131, 0.15);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
  background: rgba(4, 171, 131, 0.25);
  border-color: var(--primary-color);
}

/* ========== Grid Layouts ========== */
.grid {
  display: grid;
  gap: 24px;
  margin-bottom: 40px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-full {
  grid-column: 1 / -1;
}

/* ========== Cards ========== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(110, 231, 183, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(4, 171, 131, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(4, 171, 131, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.card-content {
  position: relative;
  z-index: 1;
}

/* ========== Member List ========== */
.member-list {
  list-style: none;
}

.member-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.member-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.member-info h4 {
  margin: 0 0 4px 0;
  color: var(--text-primary);
}

.member-info p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.member-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(4, 171, 131, 0.15);
  color: var(--primary-color);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* ========== Meeting Card ========== */
.meeting-grid {
  display: grid;
  gap: 16px;
}

.meeting-box {
  padding: 16px;
  background: rgba(4, 171, 131, 0.08);
  border: 1px solid rgba(4, 171, 131, 0.2);
  border-radius: 8px;
  transition: var(--transition);
}

.meeting-box:hover {
  background: rgba(4, 171, 131, 0.15);
  border-color: var(--primary-color);
}

.meeting-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.meeting-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* ========== Steps ========== */
.steps-list {
  list-style: none;
  counter-reset: step-counter;
}

.step-item {
  padding: 24px;
  margin-bottom: 16px;
  background: rgba(232, 78, 2, 0.08);
  border-left: 4px solid var(--secondary-color);
  border-radius: 6px;
  counter-increment: step-counter;
  transition: var(--transition);
  position: relative;
}

.step-item:hover {
  background: rgba(232, 78, 2, 0.15);
  transform: translateX(4px);
}

.step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: -16px;
  top: -12px;
  width: 32px;
  height: 32px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.step-title {
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  font-size: 16px;
}

.step-description {
  color: var(--text-secondary);
  margin: 0;
  font-size: 14px;
}

/* ========== Status Badge ========== */
.status-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(167, 139, 250, 0.15);
  color: var(--tertiary-color);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(167, 139, 250, 0.3);
  margin-bottom: 20px;
}

/* ========== Section ========== */
section {
  margin-bottom: 40px;
}

section h2 {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 32px;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* Center the decorative divider under hero headings */
.hero h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
  /* Keep desktop navigation layout on small screens */
  .header-content {
    flex-direction: row;
    gap: 40px;
  }

  .logo-section {
    width: auto;
    justify-content: flex-start;
  }

  .nav-social {
    width: auto;
    justify-content: flex-end;
  }

  .hero {
    margin-bottom: 60px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  main {
    padding: 40px 20px;
  }

  section h2::after {
    width: 100%;
  }

  /* Keep hero divider centered on mobile */
  .hero h2::after {
    width: 60px;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .card {
    padding: 16px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .step-item {
    padding: 16px;
    padding-left: 20px;
  }

  .social-links {
    gap: 6px;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* ========== Utility Classes ========== */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.mt-large {
  margin-top: 60px;
}

.mb-large {
  margin-bottom: 60px;
}
