* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ede9dd;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* ================= INDEX SECTION ================= */
.hero {
  text-align: center;
  padding: 60px 20px;
  max-width: 700px;
  position: relative;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin: 0;
  line-height: 1.1;
}

.brand {
  font-size: 0.9rem;
  letter-spacing: 2px;
  opacity: 0.9;
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif, bold;
  font-weight: bold;
}

.tagline {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 40px;
  font-family: "Montserrat", sans-serif;
}

.subtext {
  margin: 25px auto 40px;
  max-width: 520px;
  font-size: 1rem;
  color: #ede9dd;
}

.cta {
  display: inline-block;
  padding: 14px 36px;
  background-color: #9b4923;
  border-radius: 30px;
  text-decoration: none;
  color: #ede9dd;
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.7);
}

.socials {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 18px;
}

.socials a {
  color: #e5e5e5;
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.socials a:hover {
  color: #c47a42;
  transform: scale(1.2);
}

/* Decorative overlay */
.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(255,255,255,0.05),
    transparent 60%
  );
  mix-blend-mode: overlay;
}

/* ================= Membership Section ================= */
.container {
  max-width: 1400px;
  margin: auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1.2fr 3fr;
  gap: 30px;
}

/* ================= FORM ================= */

.form-box {
  background: #5a4632;
  padding: 30px;
  border-radius: 14px;
}

.form-box h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.form-box label {
  font-size: 0.8rem;
  display: block;
  margin-top: 15px;
  opacity: 0.85;
}

.form-box input,
.form-box button {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  margin-top: 6px;
  font-family: inherit;
}

.form-box input {
  background: #6b5742;
  color: #fff;
}

.form-box input::placeholder {
  color: #ccc;
}

.membership-select {
  margin-top: 15px;
}

.membership-select button {
  background: #6b5742;
  color: #fff;
  margin-bottom: 8px;
  cursor: pointer;
}

.membership-select button:hover {
  background: #7b664e;
}

.submit-btn {
  background: #a7927f;
  color: #eeee;
  font-weight: 500;
  margin-top: 15px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #8c7656;
}

.form-note {
  font-size: 0.7rem;
  margin-top: 10px;
  opacity: 0.7;
}

/* ================= PRICING ================= */

.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

.plan {
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  height: 100%;
}

.plan-body {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  flex-grow: 1;
  padding-bottom: 50px;
}

.plan-body div {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,0.2);
  min-height: 50px;
  justify-content: center;
}

.plan-body div:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.plan-body div:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.plan::after {
  content: attr(data-flag);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px; /* Taller for better flag shape */
  background-color: #060503;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  z-index: 2;
  
  /* Flag shape with triangle at bottom center */
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.plan-header {
  color: #e5ded0;
  padding: 16px 14px;
  text-align: center;
  flex-shrink: 0;
}

.plan-header h3 {
  margin: 0 0 8px 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.price {
  margin-top: 8px;
  font-size: 0.9rem;
}

.price s {
  opacity: 0.7;
}

.price strong {
  font-size: 1.1rem;
  color: #ffd27f;
}

.plan.bronze .price s {
  display: none;
}

.plan.bronze .price strong {
  font-size: 1.95rem;
}

.feature-text {
  flex: 1;
  padding-right: 10px;
  word-wrap: break-word;   
  line-height: 1.3;
  align-items: center;
}

.check, .cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 100%;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
}

.plan-body div:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.2); 
}

.check {
  color: #28a745;
}

.cross {
  color: #dc3545;
}

.plan.platinum {
  background: #361d07;
}

.plan.platinum .plan-header {
  background: #361d07;
}
.plan.platinum .plan-body div {
  background: #887a6c;
}

.plan.gold {
  background: #5f503b;
}

.plan.gold .plan-header {
  background: #5f503b;
}

.plan.gold .plan-body div {
  background: #8c7656;
}

.plan.silver {
  background: #6f675a;
}

.plan.silver .plan-header {
  background: #6f675a;
}

.plan.silver .plan-body div {
  background: #a59a87;
}

.plan.bronze {
  background: #513108;
}

.plan.bronze .plan-header {
  background: #513108;
}

.plan.bronze .plan-body div {
  background: #947d5b;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
  .container {
    grid-template-columns: 1fr;
  }

  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .pricing {
    grid-template-columns: 1fr;
  }
}

.tier-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 2px solid transparent;
  background: #6b5742;
  color: #fff;
  margin-bottom: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border 0.2s ease;
}

.tier-btn:hover {
  background: #7b664e;
}

/* SELECTED STATE */
.tier-btn.selected {
  background: linear-gradient(135deg, #c37a43, #8a4f24);
  border: 2px solid #ffd27f;
  box-shadow: 0 0 10px rgba(255,210,127,0.6);
}

/* ================= LANGUAGE SWITCH ================= */
.lang-switch {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1000;
  padding: 8px 12px;
  border-radius: 20px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.lang-switch:hover {
  transform: translateY(-1px);
  background: rgba(0,0,0,0.7);
  box-shadow: 0 10px 22px rgba(0,0,0,0.5);
}
