/* ==========================================================================
   GWPA (Georgian Wildlife Photographers Association) Main Stylesheet
   ========================================================================== */

@import url('variables.css');

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

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

body {
  background-color: var(--color-bg-base);
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(245, 158, 11, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Georgian font fallback for Georgian text */
[lang="ka"], .lang-ka {
  font-family: var(--font-georgian);
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Section Common Styling */
.section {
  padding: 6.5rem 0;
  position: relative;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #ffffff;
}

.section-desc {
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: all var(--transition-normal);
  background: rgba(10, 14, 18, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-subtle);
}

.site-header.scrolled {
  background: rgba(10, 14, 18, 0.92);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--color-border-highlight);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img, .brand-logo svg {
  height: 44px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-mobile-cta {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher Pill */
.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: 0 0 12px var(--color-primary-glow);
}

.lang-btn:not(.active):hover {
  color: var(--color-text-primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--color-primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-highlight);
  color: var(--color-text-primary);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  padding: 0.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.02);
  transition: transform 10s ease-out;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 18, 0.45) 0%,
    rgba(10, 14, 18, 0.65) 50%,
    var(--color-bg-base) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-gold-light);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-gold);
  box-shadow: 0 0 10px var(--color-accent-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-title span.highlight {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 700px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

/* Quick Metrics Row */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.metric-num span {
  color: var(--color-primary);
}

.metric-label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-top: 0.4rem;
}

/* ==========================================================================
   Mission & About Section
   ========================================================================== */

.about-grid {
  display: block;
  max-width: 1080px;
  margin: 0 auto;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-text p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.feature-box {
  background: var(--color-bg-glass-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.feature-box:hover {
  background: var(--color-bg-glass-card-hover);
  border-color: var(--color-border-primary);
  transform: translateY(-2px);
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.feature-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.feature-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}



/* ==========================================================================
   Goals Section
   ========================================================================== */

.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.goal-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.goal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.goal-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-border-highlight);
  box-shadow: var(--shadow-md), 0 0 30px rgba(16, 185, 129, 0.08);
}

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

.goal-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.goal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.goal-desc {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ==========================================================================
   Wildlife Gallery Showcase
   ========================================================================== */

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.filter-btn.active {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
  box-shadow: 0 0 16px var(--color-primary-glow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: all var(--transition-normal);
}

.gallery-card.featured {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(10, 14, 18, 0.85) 75%,
    rgba(10, 14, 18, 0.98) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0.95;
  transition: opacity var(--transition-fast);
}

.gallery-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent-gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.gallery-scientific {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--color-text-secondary);
}

.gallery-author {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 11, 15, 0.95);
  backdrop-filter: blur(24px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 75vh;
  display: flex;
  justify-content: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-highlight);
}

.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.lightbox-details {
  width: 100%;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--color-border-subtle);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
}

/* ==========================================================================
   Founders & Leadership Section
   ========================================================================== */

.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.founder-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.founder-card.president {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, var(--color-bg-surface) 100%);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.08);
}

.founder-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-highlight);
  box-shadow: var(--shadow-md);
}

.founder-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 3px solid var(--color-border-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary-light);
  margin-bottom: 1.25rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.founder-avatar.has-photo {
  border-color: rgba(16, 185, 129, 0.4);
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.founder-card:hover .founder-img {
  transform: scale(1.08);
}

.founder-card.president .founder-avatar {
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold-light);
  box-shadow: 0 0 20px var(--color-accent-gold-glow);
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.founder-link-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  padding: 0.4rem 0.85rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  color: var(--color-primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.founder-link-badge:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.founder-link-badge svg {
  width: 13px;
  height: 13px;
}

.founder-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.founder-card.president .founder-role {
  color: var(--color-accent-gold);
}

.founder-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Membership Tiers Section
   ========================================================================== */

.membership-intro-box {
  background: var(--color-bg-glass-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 3rem;
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tier-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.tier-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-highlight);
  box-shadow: var(--shadow-md);
}

.tier-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: 1.5rem;
}

.tier-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.tier-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.tier-amount {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
}

.tier-currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.tier-period {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.tier-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.tier-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.84rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.tier-perk-item svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.tier-storage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-primary-light);
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

/* ==========================================================================
   Application / Join Modal
   ========================================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 11, 15, 0.85);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.active {
  display: flex;
}

.modal-card {
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-border-highlight);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #ffffff;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 12px var(--color-primary-glow);
  background: rgba(255, 255, 255, 0.07);
}

.modal-btn-row {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.modal-btn-row #modalCancelBtn {
  flex: 1;
}

.modal-btn-row button[type="submit"] {
  flex: 2;
}

/* ==========================================================================
   Contact & Legal Registry Section
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-form-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-card-item:hover {
  border-color: var(--color-border-highlight);
  background: var(--color-bg-surface-elevated);
}

.contact-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.legal-box {
  background: linear-gradient(145deg, rgba(22, 32, 42, 0.8), rgba(16, 22, 29, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-md);
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent-gold-light);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.legal-field-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-field-val {
  font-size: 0.9375rem;
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--color-border-subtle);
  background: #070a0d;
  padding: 4.5rem 0 2rem 0;
  color: var(--color-text-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 340px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .about-grid, .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .goals-grid, .founders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  /* Layout & Container */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  /* Header & Navigation */
  .site-header {
    height: 64px;
  }

  .brand-logo img, .brand-logo svg {
    height: 38px;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  /* Hide header CTA on mobile to avoid overcrowding; CTA lives inside drawer */
  .nav-actions .open-join-modal {
    display: none;
  }

  /* Mobile Drawer Menu */
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(14, 20, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 2rem 1.25rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--color-border-highlight);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 99;
  }

  .nav-menu.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--color-primary-light);
  }

  .nav-mobile-cta {
    display: block;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border-subtle);
  }

  .nav-mobile-cta .btn {
    width: 100%;
    padding: 0.85rem;
    font-size: 0.95rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero Section */
  .hero-section {
    min-height: auto;
    padding-top: calc(64px + 2rem);
    padding-bottom: 3.5rem;
  }

  .hero-content {
    padding: 0;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.25rem);
    line-height: 1.2;
    word-break: break-word;
    margin-bottom: 1.25rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    padding-top: 1.5rem;
  }

  .metric-num {
    font-size: 1.85rem;
  }

  .metric-label {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  /* About Section */
  .about-text h3 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.75rem;
  }

  .feature-box {
    padding: 1rem;
  }

  /* Goals */
  .goals-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .goal-card {
    padding: 1.75rem 1.25rem;
  }

  /* Founders */
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .founder-card {
    padding: 1.75rem 1.25rem;
  }

  .founder-avatar {
    width: 90px;
    height: 90px;
    font-size: 1.6rem;
  }

  .founder-name {
    font-size: 1.15rem;
  }

  .founder-desc {
    font-size: 0.85rem;
  }

  /* Membership */
  .membership-notice {
    padding: 1rem;
    font-size: 0.85rem;
    margin-bottom: 1.75rem;
  }

  .membership-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .tier-card {
    padding: 1.75rem 1.25rem;
  }

  .tier-amount {
    font-size: 2rem;
  }

  .apply-tier-btn {
    width: 100%;
    padding: 0.75rem;
  }

  /* Contact & Legal */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-cards {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .contact-card-item {
    padding: 1rem;
    gap: 1rem;
  }

  .contact-icon-wrap {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .legal-box {
    padding: 1.5rem 1.25rem;
  }

  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }

  /* Modal */
  .modal {
    padding: 1rem;
    align-items: flex-end;
  }

  .modal-card {
    padding: 1.5rem 1.25rem;
    max-width: 100%;
    border-radius: var(--radius-lg);
    max-height: 92vh;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
  }

  .modal-btn-row {
    flex-direction: column;
    gap: 0.625rem;
  }

  .modal-btn-row button {
    width: 100%;
  }

  /* Footer */
  .site-footer {
    padding: 3.5rem 0 1.5rem 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo img, .brand-logo svg {
    height: 32px;
  }

  .lang-btn {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-desc {
    font-size: 0.9375rem;
  }

  .hero-metrics {
    gap: 1rem 0.65rem;
  }

  .metric-num {
    font-size: 1.6rem;
  }

  .metric-label {
    font-size: 0.7rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .about-text h3 {
    font-size: 1.35rem;
  }

  .founder-avatar {
    width: 80px;
    height: 80px;
    font-size: 1.45rem;
  }
}
