* {
  box-sizing: border-box;
}


/* ================= ANIMATIONS ================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1.5s ease-in-out forwards;
  opacity: 0;
}

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 40px;
  max-width: 950px;
  position: relative;
}

/* Decorative corner flourishes */
.hero-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 0 80px;
}

@media (min-width: 1200px) {
  .hero-wrapper::before,
  .hero-wrapper::after {
    content: '';
    position: fixed;
    width: 150px;
    height: 150px;
    opacity: 0.15;
    pointer-events: none;
  }
  
  .hero-wrapper::before {
    top: 30px;
    left: 30px;
    border-top: 2px solid #c47a42;
    border-left: 2px solid #c47a42;
    border-radius: 15px 0 0 0;
  }
  
  .hero-wrapper::after {
    bottom: 30px;
    right: 30px;
    border-bottom: 2px solid #c47a42;
    border-right: 2px solid #c47a42;
    border-radius: 0 0 15px 0;
  }
}

/* Floating side decorations for wide screens */
@media (min-width: 1400px) {
  .hero-wrapper {
    background-image: 
      radial-gradient(ellipse at 3% 25%, rgba(139, 90, 43, 0.04) 0%, transparent 20%),
      radial-gradient(ellipse at 97% 35%, rgba(139, 90, 43, 0.03) 0%, transparent 18%),
      radial-gradient(ellipse at 5% 65%, rgba(100, 65, 30, 0.03) 0%, transparent 15%),
      radial-gradient(ellipse at 95% 75%, rgba(100, 65, 30, 0.04) 0%, transparent 20%);
  }
}

/* ================= LANDING PAGE CONTENT ================= */
.intro-text {
  font-size: 1.15rem;
  font-style: italic;
  color: #f5e6c8;
  margin-bottom: 30px;
}

.content-block {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #c47a42;
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 0 10px 10px 0;
  text-align: left;
}

.content-block p {
  margin: 0 0 10px 0;
  color: #ede9dd;
  font-size: 0.95rem;
  line-height: 1.6;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.highlight-text {
  font-size: 1.1rem !important;
  font-weight: 600;
  color: #ffd27f !important;
}

.features-section {
  background: linear-gradient(135deg, rgba(155, 73, 35, 0.15) 0%, rgba(100, 50, 20, 0.1) 100%);
  border-radius: 15px;
  padding: 25px 30px;
  margin: 30px 0;
  border: 1px solid rgba(255, 200, 120, 0.15);
}

.features-title {
  color: #ffd27f;
  font-size: 1.1rem;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #ede9dd;
  font-size: 0.95rem;
  line-height: 1.5;
}

.features-list li:last-child {
  border-bottom: none;
}

/* Two-column features on wider screens */
@media (min-width: 700px) {
  .features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
  }
  
  .features-list li {
    border-bottom: none;
    padding: 15px 0;
  }
  
  .features-list li:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 25px;
  }
  
  .features-list li:nth-child(even) {
    padding-left: 0;
  }
}

.features-list li i {
  color: #c47a42;
  font-size: 1.1rem;
  width: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.features-list li span {
  flex: 1;
}

.promise-block {
  margin: 30px 0;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

@media (min-width: 700px) {
  .promise-block {
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    text-align: center;
  }
  
  .promise-block p {
    flex: 1;
    max-width: 280px;
  }
}

.promise-block p {
  margin: 10px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cross-mark {
  color: #a67250;
  font-weight: bold;
  font-size: 1.1rem;
}

.check-mark {
  color: #ffd27f;
  font-weight: bold;
  font-size: 1.2rem;
}

.cta-section {
  background: linear-gradient(135deg, rgba(201, 141, 74, 0.2) 0%, rgba(155, 73, 35, 0.15) 100%);
  border-radius: 15px;
  padding: 25px 30px;
  margin: 30px 0;
  border: 1px solid rgba(255, 210, 127, 0.25);
}

.cta-title {
  color: #ffd27f;
  font-size: 1.15rem;
  margin: 0 0 10px 0;
}

.cta-section p {
  margin: 0;
  color: #e5d9c8;
  font-size: 0.95rem;
}

.closing-text {
  font-size: 1rem;
  color: #c9c5b9;
  font-style: italic;
  margin: 25px 0 30px 0;
}

.cta i {
  margin-right: 8px;
}

.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;
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif, bold;
  font-weight: bold;
}

.tagline {
  font-size: 0.85rem;
  opacity: 0;
  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 ================= */

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  max-width: 1400px;
  margin: auto;
  padding: 50px 25px;
  display: grid;
  grid-template-columns: 1.2fr 3fr;
  gap: 35px;
  position: relative;
}

.container::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(139, 90, 43, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(100, 65, 30, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(80, 50, 25, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: gradientShift 15s ease infinite;
  background-size: 200% 200%;
}

/* ================= FORM ================= */

.form-box {
  background: linear-gradient(145deg, #6b4f35 0%, #3d2a1a 50%, #2a1d12 100%);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid rgba(255, 200, 120, 0.15);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(139, 90, 43, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.form-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 180, 100, 0.6), 
    rgba(255, 210, 127, 0.8), 
    rgba(255, 180, 100, 0.6), 
    transparent);
}

.form-box h2 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #ffd27f 0%, #f5c76e 50%, #e8b85c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(255, 210, 127, 0.3);
}

.form-box label {
  font-size: 0.8rem;
  display: block;
  margin-top: 18px;
  opacity: 0.9;
  color: #e5d9c8;
  letter-spacing: 0.3px;
}

.form-box input,
.form-box button {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: none;
  margin-top: 8px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-box input {
  background: linear-gradient(135deg, #5a4a3a 0%, #4a3c2e 100%);
  color: #fff;
  border: 1px solid rgba(255, 200, 120, 0.1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-box input:focus {
  outline: none;
  border-color: rgba(255, 210, 127, 0.4);
  box-shadow: 
    inset 0 2px 4px rgba(0, 0, 0, 0.2),
    0 0 15px rgba(255, 210, 127, 0.15);
}

.form-box input::placeholder {
  color: #a89a8a;
}

.membership-select {
  margin-top: 18px;
}

.membership-select button {
  background: linear-gradient(135deg, #5a4a3a 0%, #4a3c2e 100%);
  color: #fff;
  margin-bottom: 10px;
  cursor: pointer;
  border: 1px solid rgba(255, 200, 120, 0.1);
}

.membership-select button:hover {
  background: linear-gradient(135deg, #6b5a4a 0%, #5a4c3e 100%);
  border-color: rgba(255, 210, 127, 0.3);
  transform: translateY(-1px);
}

.submit-btn {
  background: linear-gradient(135deg, #c98d4a 0%, #a67230 50%, #8b5a25 100%);
  color: #fff;
  font-weight: 600;
  margin-top: 20px;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: 
    0 4px 15px rgba(201, 141, 74, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #d9a05a 0%, #b88240 50%, #9b6a35 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(201, 141, 74, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-btn:hover::before {
  left: 100%;
}

.form-note {
  font-size: 0.7rem;
  margin-top: 10px;
  opacity: 0.7;
}

/* ================= PRICING ================= */

.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 10px 15px;
}

.plan {
  color: #fff;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 45px),
    85% calc(100% - 35px),
    70% calc(100% - 42px),
    50% 100%,
    30% calc(100% - 42px),
    15% calc(100% - 35px),
    0 calc(100% - 45px)
  );
  padding-bottom: 45px;
}

/* Side ribbon decorations */
.plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 8px;
  height: 60px;
  background: inherit;
  clip-path: polygon(100% 0, 100% 100%, 0 80%, 0 20%);
  z-index: -1;
  opacity: 0.7;
}

.plan::after {
  content: '';
  position: absolute;
  top: 0;
  right: -8px;
  width: 8px;
  height: 60px;
  background: inherit;
  clip-path: polygon(0 0, 0 100%, 100% 80%, 100% 20%);
  z-index: -1;
  opacity: 0.7;
}

.plan:hover {
  transform: translateY(-10px) scale(1.03);
  filter: brightness(1.05);
}

.plan:hover .plan-header h3::before,
.plan:hover .plan-header h3::after {
  animation: starTwinkle 0.8s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  from { opacity: 0.5; transform: translateY(-50%) scale(1); }
  to { opacity: 1; transform: translateY(-50%) scale(1.2); }
}

.plan-body {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  flex-grow: 1;
  overflow: hidden;
  padding-bottom: 15px;
}

.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: 0;
  border-top-right-radius: 0;
}

.plan-body div:last-child {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.plan-header {
  color: #e5ded0;
  padding: 20px 16px 15px;
  text-align: center;
  flex-shrink: 0;
  position: relative;
}

.plan-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    transparent 5%, 
    rgba(255, 255, 255, 0.4) 20%, 
    rgba(255, 255, 255, 0.6) 50%, 
    rgba(255, 255, 255, 0.4) 80%, 
    transparent 95%);
}

.plan-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 210, 127, 0.6), transparent);
  border-radius: 2px;
}

.plan-header h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.plan-header h3::before,
.plan-header h3::after {
  content: '✦';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6rem;
  opacity: 0.7;
}

.plan-header h3::before {
  left: -20px;
}

.plan-header h3::after {
  right: -20px;
}

.price {
  margin-top: 8px;
  font-size: 0.9rem;
}

.price s {
  opacity: 0.6;
  font-size: 0.85rem;
}

.price strong {
  font-size: 1.2rem;
  background: linear-gradient(135deg, #ffd27f 0%, #ffb347 50%, #f0a030 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(255, 210, 127, 0.4));
}

.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.4;
  align-items: center;
  font-size: 0.85rem;
}

.check, .cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  font-weight: bold;
  font-size: 1.3rem;
  line-height: 1;
  border-radius: 50%;
}

.plan-body div:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.15); 
}

.check {
  color: #5dd879;
  background: rgba(93, 216, 121, 0.15);
  text-shadow: 0 0 10px rgba(93, 216, 121, 0.5);
}

.cross {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.12);
  text-shadow: 0 0 8px rgba(255, 107, 107, 0.4);
}

.plan.platinum {
  background: linear-gradient(180deg, #2d1a0a 0%, #3d2815 50%, #2d1a0a 100%);
  border: none;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(229, 228, 226, 0.1),
    inset 0 0 30px rgba(229, 228, 226, 0.05);
}

.plan.platinum .plan-header {
  background: linear-gradient(135deg, #5a4530 0%, #4a3525 30%, #2d1a0a 70%, #1a0f05 100%);
  border-bottom: 1px solid rgba(229, 228, 226, 0.15);
}

.plan.platinum .plan-header::before {
  background: linear-gradient(90deg, 
    transparent 5%, 
    rgba(229, 228, 226, 0.3) 20%, 
    rgba(229, 228, 226, 0.5) 50%, 
    rgba(229, 228, 226, 0.3) 80%, 
    transparent 95%);
}

.plan.platinum .plan-header h3 {
  background: linear-gradient(135deg, #e5e4e2 0%, #c0c0c0 50%, #a8a8a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 15px rgba(229, 228, 226, 0.4));
}

.plan.platinum .plan-header h3::before,
.plan.platinum .plan-header h3::after {
  color: #e5e4e2;
}

.plan.platinum .plan-body div {
  background: linear-gradient(135deg, #8b7d6e 0%, #7a6c5e 50%, #6a5c4e 100%);
}

.plan.platinum .plan-body div:nth-child(even) {
  background: linear-gradient(135deg, #7e7062 0%, #6d5f52 50%, #5d5042 100%);
}

.plan.gold {
  background: linear-gradient(180deg, #4f3d25 0%, #5f4d30 50%, #4f3d25 100%);
  border: none;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(255, 215, 0, 0.12),
    inset 0 0 30px rgba(255, 215, 0, 0.05);
}

.plan.gold .plan-header {
  background: linear-gradient(135deg, #8b6914 0%, #6b5530 30%, #4f3d25 70%, #3d2e1a 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.plan.gold .plan-header::before {
  background: linear-gradient(90deg, 
    transparent 5%, 
    rgba(255, 215, 0, 0.3) 20%, 
    rgba(255, 215, 0, 0.5) 50%, 
    rgba(255, 215, 0, 0.3) 80%, 
    transparent 95%);
}

.plan.gold .plan-header h3 {
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 50%, #daa520 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
}

.plan.gold .plan-header h3::before,
.plan.gold .plan-header h3::after {
  color: #ffd700;
}

.plan.gold .plan-body div {
  background: linear-gradient(135deg, #9c8560 0%, #8a7450 50%, #786340 100%);
}

.plan.gold .plan-body div:nth-child(even) {
  background: linear-gradient(135deg, #8f7855 0%, #7d6745 50%, #6b5635 100%);
}

.plan.silver {
  background: linear-gradient(180deg, #5a554e 0%, #6a655e 50%, #5a554e 100%);
  border: none;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(192, 192, 192, 0.1),
    inset 0 0 30px rgba(192, 192, 192, 0.05);
}

.plan.silver .plan-header {
  background: linear-gradient(135deg, #7e7870 0%, #6e6860 30%, #5a554e 70%, #4a4540 100%);
  border-bottom: 1px solid rgba(192, 192, 192, 0.15);
}

.plan.silver .plan-header::before {
  background: linear-gradient(90deg, 
    transparent 5%, 
    rgba(192, 192, 192, 0.3) 20%, 
    rgba(192, 192, 192, 0.5) 50%, 
    rgba(192, 192, 192, 0.3) 80%, 
    transparent 95%);
}

.plan.silver .plan-header h3 {
  background: linear-gradient(135deg, #c0c0c0 0%, #a8a8a8 50%, #909090 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 15px rgba(192, 192, 192, 0.4));
}

.plan.silver .plan-header h3::before,
.plan.silver .plan-header h3::after {
  color: #c0c0c0;
}

.plan.silver .plan-body div {
  background: linear-gradient(135deg, #b5aa95 0%, #a59a85 50%, #958a75 100%);
}

.plan.silver .plan-body div:nth-child(even) {
  background: linear-gradient(135deg, #a89d88 0%, #988d78 50%, #887d68 100%);
}

.plan.bronze {
  background: linear-gradient(180deg, #4d2a08 0%, #5d3a10 50%, #4d2a08 100%);
  border: none;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.5),
    0 0 50px rgba(205, 127, 50, 0.12),
    inset 0 0 30px rgba(205, 127, 50, 0.05);
}

.plan.bronze .plan-header {
  background: linear-gradient(135deg, #7a4810 0%, #5f380d 30%, #4d2a08 70%, #3a2005 100%);
  border-bottom: 1px solid rgba(205, 127, 50, 0.15);
}

.plan.bronze .plan-header::before {
  background: linear-gradient(90deg, 
    transparent 5%, 
    rgba(205, 127, 50, 0.3) 20%, 
    rgba(205, 127, 50, 0.5) 50%, 
    rgba(205, 127, 50, 0.3) 80%, 
    transparent 95%);
}

.plan.bronze .plan-header h3 {
  background: linear-gradient(135deg, #cd7f32 0%, #b87333 50%, #a06629 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 15px rgba(205, 127, 50, 0.5));
}

.plan.bronze .plan-header h3::before,
.plan.bronze .plan-header h3::after {
  color: #cd7f32;
}

.plan.bronze .plan-body div {
  background: linear-gradient(135deg, #a08565 0%, #907555 50%, #806545 100%);
}

.plan.bronze .plan-body div:nth-child(even) {
  background: linear-gradient(135deg, #937858 0%, #836848 50%, #735838 100%);
}


/* ================= RESPONSIVE ================= */

/* Mobile text hidden by default, shown on mobile */
.mobile-text {
  display: none;
  flex: 1;
  padding-right: 10px;
  word-wrap: break-word;
  line-height: 1.4;
  font-size: 0.85rem;
}

@media (max-width: 1100px) {
  .container {
    grid-template-columns: 1fr;
  }

  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  /* Landing page mobile adjustments */
  .hero-wrapper {
    padding: 0 15px;
  }

  .hero {
    padding: 40px 15px;
  }

  .features-section {
    padding: 20px 15px;
  }

  .content-block {
    padding: 15px 15px;
  }

  .container {
    display: flex;
    flex-direction: column;
  }

  .pricing {
    grid-template-columns: 1fr;
    order: -1;
    margin-bottom: 20px;
  }

  .form-box {
    order: 0;
  }

  .plan {
    display: none;
    height: auto;
    padding-bottom: 25px;
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 25px),
      85% calc(100% - 18px),
      70% calc(100% - 23px),
      50% 100%,
      30% calc(100% - 23px),
      15% calc(100% - 18px),
      0 calc(100% - 25px)
    );
  }

  .plan.selected-plan {
    display: flex;
  }

  /* Remove fixed grid rows on mobile - let it size to content */
  .plan-body {
    grid-template-rows: auto;
    flex-grow: 0;
    padding-bottom: 15px;
  }

  /* Compact header on mobile */
  .plan-header {
    padding: 15px 16px 12px;
  }

  .plan-header h3 {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  /* Compact body rows on mobile */
  .plan-body div {
    padding: 8px 12px;
    min-height: 40px;
  }

  /* Hide rows that only have a cross icon */
  .cross-only {
    display: none !important;
  }

  /* Show mobile text and hide check icon when mobile text is present */
  .mobile-text {
    display: block;
  }

  /* Hide check icon when followed by mobile-text (using adjacent sibling) */
  .check + .mobile-text {
    display: block;
  }
  
  .plan-body div:has(.mobile-text) .check {
    display: none;
  }
  
  /* Fallback for browsers without :has() support - hide all checks on mobile */
  @supports not selector(:has(*)) {
    .plan-body .check {
      display: none;
    }
  }
}

.tier-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 2px solid rgba(255, 200, 120, 0.1);
  background: linear-gradient(135deg, #5a4a3a 0%, #4a3c2e 100%);
  color: #fff;
  margin-bottom: 10px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.tier-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.4s ease;
}

.tier-btn:hover {
  background: linear-gradient(135deg, #6b5a4a 0%, #5a4c3e 100%);
  border-color: rgba(255, 210, 127, 0.3);
  transform: translateX(3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tier-btn:hover::before {
  left: 100%;
}

/* SELECTED STATE */
.tier-btn.selected {
  background: linear-gradient(135deg, #d48b4a 0%, #c37a43 50%, #a55c28 100%);
  border: 2px solid #ffd27f;
  box-shadow: 
    0 0 20px rgba(255, 210, 127, 0.5),
    0 4px 15px rgba(195, 122, 67, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.tier-btn.selected::after {
  content: '✓';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: #ffd27f;
}

/* ================= 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);
}

/* ================= TERMS BUTTON ================= */
.terms-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37 0%, #f0e68c 100%);
  border: none;
  color: #000;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.terms-button:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

.terms-button:active {
  transform: scale(0.95);
}

/* ================= TERMS MODAL ================= */
#termsModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#termsModal.show {
  opacity: 1;
}

.terms-modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.terms-modal-header {
  margin-bottom: 24px;
  text-align: center;
}

.terms-modal-header h2 {
  margin: 0;
  font-size: 28px;
  color: #ede9dd;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.5px;
}

.modal-lang-switch {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-lang-btn {
  background: transparent;
  color: #c9c5b9;
  border: none;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Poppins", sans-serif;
}

.modal-lang-btn:hover {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
}

.modal-lang-btn.active {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.terms-modal-body {
  margin-bottom: 32px;
  color: #c9c5b9;
  line-height: 1.6;
  font-size: 14px;
}

.terms-modal-body p {
  margin: 0 0 12px 0;
}

.terms-modal-body strong {
  color: #ede9dd;
}

.terms-modal-buttons {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.terms-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#acceptTermsBtn {
  background: linear-gradient(135deg, #d4af37 0%, #f0e68c 100%);
  color: #000;
  border: none;
}

#acceptTermsBtn:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

#acceptTermsBtn:active:not(.disabled) {
  transform: translateY(0);
}

#acceptTermsBtn.disabled {
  background: linear-gradient(135deg, #888 0%, #aaa 100%);
  color: #555;
  cursor: not-allowed;
  opacity: 0.6;
}

#acceptTermsBtn.disabled:hover {
  transform: none;
  box-shadow: none;
}

#policyHint {
  color: #d4af37;
  font-size: 12px;
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

#rejectTermsBtn {
  background: rgba(255, 255, 255, 0.1);
  color: #ede9dd;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#rejectTermsBtn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

#viewPdfBtn {
  background: rgba(212, 175, 55, 0.2);
  color: #d4af37;
  border: 1px solid #d4af37;
  margin-bottom: 12px;
}

#viewPdfBtn:hover {
  background: rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

@media (max-width: 600px) {
  .terms-modal-content {
    padding: 24px;
    margin: 20px;
  }

  .terms-modal-header h2 {
    font-size: 22px;
  }

  .terms-modal-body {
    font-size: 13px;
  }

  .terms-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

