/* ========================================
   WISE YPN - wiseypn.com
   Brand: brand-kit.md
   ======================================== */

:root {
  --navy: #2D2B55;
  --teal: #2A9D8F;
  --orange: #E07A3A;
  --purple: #6B5B8A;
  --sunset-pink: #D4A0B9;
  --forest: #2D5A3D;
  --lavender: #B8A9D4;
  --sky-warm: #F5E6D3;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --text: #2D2B55;
  --text-light: #6B5B8A;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--orange); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  z-index: 100;
  border-bottom: 1px solid #eee;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--teal); }

.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

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

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

.btn-outline {
  border: 2px solid var(--teal);
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
}

.hero-logo {
  max-width: 340px;
  margin: 0 auto 32px;
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero .tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--purple);
  margin-bottom: 32px;
}

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

/* ---- SECTION SHARED ---- */
section { padding: 80px 0; }
section:nth-child(even) { background: var(--light-gray); }

.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 48px;
}

.section-subtitle.center {
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ---- EVENTS ---- */
.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.event-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.event-card-image {
  height: 220px;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-body {
  padding: 28px;
}

.event-freq {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  background: rgba(45,43,85,0.08);
  color: var(--navy);
}

.event-card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.event-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.event-tag.pro-dev {
  background: rgba(42,157,143,0.1);
  color: var(--teal);
}

.event-tag.social {
  background: rgba(224,122,58,0.1);
  color: var(--orange);
}

.event-card-body p {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ---- MEMBERSHIP ---- */
.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.membership-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-align: left;
  position: relative;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}

.membership-card.featured {
  border-color: var(--teal);
}

.membership-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--teal);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 4px;
}

.membership-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.membership-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.membership-price span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-light);
}

.membership-price-alt {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: -16px;
  margin-bottom: 8px;
}

.membership-promo {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 24px;
}

.membership-perks {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.membership-perks li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.5;
}

.membership-perks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.membership-card .btn {
  text-align: center;
  width: 100%;
}

/* ---- FOUNDERS ---- */
.founders-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: center;
}

.founder-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founder-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.founder-card p {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ---- SPONSORS ---- */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  height: 120px;
  width: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sponsor-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.sponsor-logo img {
  max-height: 80px;
  max-width: 140px;
  object-fit: contain;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 300px;
  line-height: 1.6;
}

.footer-links h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

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

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: background 0.2s;
}

.social-icons a:hover {
  background: var(--teal);
  color: var(--white);
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8125rem;
}

.dovito-credit {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.dovito-credit:hover { color: var(--white); }

.dovito-logo-inline {
  display: inline-block;
  height: 1.2em;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  position: relative;
  top: -3px;
  margin-right: 1px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
  .nav-toggle { display: block; }

  .hero { padding: 110px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero-logo { max-width: 260px; }

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

  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .events-grid { grid-template-columns: 1fr; }
  .membership-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
  .social-icons { justify-content: center; }
  .sponsors-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .sponsor-logo { height: 100px; padding: 14px; }
  .sponsor-logo img { max-height: 60px; max-width: 120px; }
}

@media (max-width: 480px) {
  .founders-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 1.75rem; }
  .founder-photo { width: 110px; height: 110px; }
}
