﻿/* BUYE IELTS HOME PAGE LEAD + PRICING ADVERTISEMENT
   Additive module - does not modify existing theme styles */

.buye-lead-ad {
  padding: 40px 20px;
  background: linear-gradient(135deg,#eef8ff,#ffffff);
}

.buye-lead-ad-wrap {
  max-width: 1400px;
  margin: auto;
}

.buye-lead-ad-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 25px;
  align-items: stretch;
}

.buye-ad-visual,
.buye-lead-form-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0,40,100,.12);
}

.buye-ad-visual {
  padding: 45px;
  min-height: 440px;
  background: linear-gradient(135deg,#ffffff,#dff2ff);
  position: relative;
}

.buye-ad-visual h2 {
  margin: 0;
  font-size: clamp(38px,5vw,68px);
  line-height: .98;
  font-weight: 900;
  color: #07184f;
}

.buye-ad-visual h2 span {
  color: #1478ed;
}

.buye-ad-subtitle {
  margin-top: 20px;
  font-size: 19px;
  font-weight: 700;
  color: #172c61;
}

.buye-ad-benefits {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
  margin-top: 30px;
}

.buye-ad-benefits div {
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  color: #09205e;
  font-weight: 700;
}

.buye-ad-message {
  position: absolute;
  right: 25px;
  top: 25px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  background: #ffe000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-weight: 900;
  color: #07184f;
  transform: rotate(5deg);
}

.buye-lead-form-card {
  background: #fff;
  padding: 32px;
}

.buye-lead-form-card h2 {
  margin: 0;
  color: #07184f;
  font-size: 32px;
  font-weight: 900;
}

.buye-lead-form-card > p {
  color: #596b86;
  line-height: 1.5;
}

.buye-lead-field {
  margin-top: 15px;
}

.buye-lead-field label {
  display: block;
  margin-bottom: 6px;
  color: #07184f;
  font-weight: 800;
}

.buye-lead-field label span {
  color: #e51c46;
}

.buye-lead-field input,
.buye-lead-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid #cbd9ea;
  border-radius: 10px;
  background: #fff;
  color: #07184f;
  font-size: 15px;
}

.buye-lead-consent {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  font-size: 12px;
  color: #596b86;
}

.buye-lead-consent input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.buye-lead-submit {
  width: 100%;
  margin-top: 18px;
  padding: 15px;
  border: 0;
  border-radius: 10px;
  background: #1478ed;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.buye-lead-submit:hover {
  transform: translateY(-1px);
}

.buye-lead-message {
  min-height: 20px;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.buye-lead-secure {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: #6a7890;
}

/* PRICING */

.buye-ad-pricing-title {
  text-align: center;
  margin: 45px 0 22px;
}

.buye-ad-pricing-title h2 {
  margin: 0;
  color: #07184f;
  font-size: 36px;
  font-weight: 900;
}

.buye-ad-pricing-title p {
  color: #60708a;
}

.buye-ad-prices {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 12px;
}

.buye-plan {
  background: #fff;
  border: 2px solid #e0eaf6;
  border-radius: 18px;
  padding: 22px 15px 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,30,80,.07);
  position: relative;
}

.buye-plan.popular {
  border-color: #ffc400;
  transform: translateY(-7px);
}

.buye-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 20px;
  background: #ff1750;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.buye-plan-period {
  color: #135ac9;
  font-size: 20px;
  font-weight: 900;
}

.buye-plan h3 {
  color: #07184f;
  margin: 4px 0 10px;
  font-size: 17px;
}

.buye-plan-price {
  color: #1478ed;
  font-size: 39px;
  font-weight: 900;
}

.buye-plan ul {
  min-height: 120px;
  padding: 0;
  margin: 15px 0;
  list-style: none;
  text-align: left;
}

.buye-plan li {
  margin: 7px 0;
  font-size: 12px;
  color: #263653;
}

.buye-plan-button {
  width: 100%;
  padding: 12px 5px;
  border: 0;
  border-radius: 9px;
  background: #1478ed;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.buye-plan-button.free {
  background: #fff;
  color: #1478ed;
  border: 2px solid #1478ed;
}

/* DARK MODE */

[data-theme="dark"] .buye-lead-ad {
  background: #07152e;
}

[data-theme="dark"] .buye-ad-visual,
[data-theme="dark"] .buye-lead-form-card,
[data-theme="dark"] .buye-plan {
  background: #fff;
  color: #07184f;
}

[data-theme="dark"] .buye-ad-visual h2,
[data-theme="dark"] .buye-lead-form-card h2,
[data-theme="dark"] .buye-lead-field label,
[data-theme="dark"] .buye-plan h3 {
  color: #07184f;
}

[data-theme="dark"] .buye-plan li,
[data-theme="dark"] .buye-lead-form-card > p,
[data-theme="dark"] .buye-lead-secure {
  color: #263653;
}

[data-theme="dark"] .buye-plan-button {
  background: #1478ed;
  color: #fff;
}

@media(max-width:1000px) {
  .buye-lead-ad-grid {
    grid-template-columns: 1fr;
  }

  .buye-ad-prices {
    grid-template-columns: repeat(2,1fr);
  }

  .buye-plan.popular {
    transform: none;
  }
}

@media(max-width:600px) {
  .buye-lead-ad {
    padding: 25px 12px;
  }

  .buye-ad-visual {
    padding: 30px 20px;
  }

  .buye-ad-benefits {
    grid-template-columns: 1fr;
  }

  .buye-ad-message {
    position: relative;
    right: auto;
    top: auto;
    margin: 25px auto 0;
  }

  .buye-lead-form-card {
    padding: 23px 18px;
  }

  .buye-ad-prices {
    grid-template-columns: 1fr;
  }
}
