body.page-template-template-seo-edge,
body.page-template-page-templates-template-seo-edge-php {
  --seo-green: #3BCC42;
  --seo-navy: #091233;
  --seo-overlay: #121212cc;
  --seo-dark: #121212;
  --seo-white: #ffffff;

  background: var(--seo-navy);
  color: var(--seo-white);
}

body.page-template-template-seo-edge .site-header,
body.page-template-template-seo-edge .site-footer,
body.page-template-template-seo-edge #site-header,
body.page-template-template-seo-edge #site-footer,
body.page-template-template-seo-edge .elementor-location-header,
body.page-template-template-seo-edge .elementor-location-footer,
body.page-template-page-templates-template-seo-edge-php .site-header,
body.page-template-page-templates-template-seo-edge-php .site-footer,
body.page-template-page-templates-template-seo-edge-php #site-header,
body.page-template-page-templates-template-seo-edge-php #site-footer,
body.page-template-page-templates-template-seo-edge-php .elementor-location-header,
body.page-template-page-templates-template-seo-edge-php .elementor-location-footer {
  display: none;
}

body.page-template-template-seo-edge .site-content,
body.page-template-template-seo-edge #content,
body.page-template-page-templates-template-seo-edge-php .site-content,
body.page-template-page-templates-template-seo-edge-php #content {
  padding: 0;
  margin: 0;
  max-width: none;
}

body.page-template-template-seo-edge .site,
body.page-template-page-templates-template-seo-edge-php .site {
  min-height: 100vh;
  width: 100%;
}

body.page-template-template-seo-edge *,
body.page-template-template-seo-edge *::before,
body.page-template-template-seo-edge *::after,
body.page-template-page-templates-template-seo-edge-php *,
body.page-template-page-templates-template-seo-edge-php *::before,
body.page-template-page-templates-template-seo-edge-php *::after {
  box-sizing: border-box;
}

.seo-edge-page {
  position: relative;
  isolation: isolate;
  --seo-bg-scale: 1;
  min-height: 100vh;
  padding: clamp(32px, 6vw, 80px) 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--seo-navy);
}

.seo-edge-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://seoedge.pk/wp-content/uploads/2026/01/Gemini_Generated_Image_t1xhzit1xhzit1xh-scaled.jpg') center/cover no-repeat;
  transform: scale(var(--seo-bg-scale));
  transform-origin: center;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 0;
}


.seo-edge-card {
  position: relative;
  width: min(60vw, 660px);
  border-radius: 32px;
  background: #FFFFFF33;
  border: 1px solid;
  border-image-source: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(10px);
  z-index: 1;
  animation: cardIn 0.8s ease both;
}

.seo-edge-card--minimal .seo-edge-header {
  display: none;
}


.seo-edge-card-inner {
  padding: 40px;
}

.seo-edge-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 28px;
}

.seo-edge-header-logo {
  display: inline-flex;
  align-items: center;
  justify-self: center;
}


.seo-edge-prev {
  justify-self: start;
}

.seo-edge-progress {
  justify-self: end;
}

.seo-edge-prev {
  background: #6BBA76;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 10px 24px rgba(60, 204, 66, 0.28);
}

.seo-edge-prev:hover {
  background: #6BBA76;
  border-color: rgba(255, 255, 255, 0);
  color: #ffffff;
  transform: translateX(-2px);
}

.seo-edge-prev:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.seo-edge-progress {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  position: relative;
  --progress: 20%;
}

.seo-edge-progress::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--seo-green) var(--progress), rgba(255, 255, 255, 0.22) 0);
}

.seo-edge-progress::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.seo-edge-progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.seo-edge-form h2 {
    margin: 0 0 16px;
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    font-family: Montserrat;
}

.seo-subtitle {
  margin-top: 24px;
}

.seo-step {
  display: none;
  animation: fadeUp 0.5s ease both;
}

.seo-step.is-active {
  display: block;
}

.seo-edge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.seo-option {
  position: relative;
  cursor: pointer;
}

.seo-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seo-option-ui {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0);
  border: 1px solid #FFFFFF;
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.seo-option-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  display: inline-block;
  position: relative;
}

.seo-option-text {
  font-size: 0.92rem;
}

.seo-option:hover .seo-option-ui {
  border-color: rgba(255, 255, 255, 0.45);
}

.seo-option input:checked+.seo-option-ui {
  background: rgba(9, 18, 51, 0.72);
  border-color: rgba(255, 255, 255, 0);
  /* box-shadow: 0 0 0 1px rgba(60, 204, 66, 0.3); */
  transform: translateY(-1px);
}

.seo-option input:checked+.seo-option-ui .seo-option-dot {
  border-color: var(--seo-green);
}

.seo-option input:checked+.seo-option-ui .seo-option-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--seo-green);
  border-radius: 50%;
}

.seo-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.seo-field--other {
  display: none;
}

.seo-field--other.is-visible {
  display: flex;
}

.seo-field span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.seo-field input,
.seo-field select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #FFFFFF;
    background: rgb(18 18 18 / 0%);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.seo-field select option{
  font-family: Montserrat;
  background-color: transparent;
  color: #000000;
}

.seo-field input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.seo-field input:focus,
.seo-field select:focus {
  border-color: rgba(60, 204, 66, 0.9);
  box-shadow: 0 0 0 3px rgba(60, 204, 66, 0.22);
}

.seo-field input.is-invalid,
.seo-field select.is-invalid,
.seo-field input[aria-invalid="true"],
.seo-field select[aria-invalid="true"] {
  border-color: rgba(255, 107, 107, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.22);
}

.seo-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.seo-note {
    margin-top: 12px;
    font-size: 16px;
    color: #FFFFFF;
    text-align: left;
    font-family: Montserrat;
}

.seo-step-header {
  text-align: center;
  margin-bottom: 16px;
}

.seo-step-header p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.75);
}

.seo-edge-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

[type=button]:focus:not(:focus-visible), [type=submit]:focus:not(:focus-visible), button:focus:not(:focus-visible) {
    outline: none;
    background-color: #6BBA76;

}


.seo-edge-next {
    width: 100%;
    font-size: 20px;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    background: #6BBA76;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(60, 204, 66, 0.28);
    transition: transform 0.2s ease, filter 0.2s ease;
    font-family: Montserrat;
}

.seo-edge-next:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  background: #6BBA76;
}

.seo-edge-next:disabled,
.seo-final-cta:disabled,
.seo-whatsapp-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.seo-edge-next.is-submit .seo-edge-next-icon {
  display: none;
}

.seo-edge-message {
  min-height: 18px;
  font-size: 0.85rem;
  color: var(--seo-white);
  text-align: center;
  opacity: 0.9;
}

.seo-edge-message.is-success {
  color: var(--seo-green);
}

.seo-edge-message.is-error {
  color: var(--seo-white);
}

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

.seo-logo {
  display: inline-flex;
  align-items: center;
  max-width: 160px;
  gap: 10px;
  margin-bottom: 10px;
}

.seo-logo-img {
  width: auto;
  max-width: 160px;
  height: auto;
  display: block;
}

.seo-final h2 {
  margin-top: 6px;
}

.seo-final h2 span {
  color: #ffffff;
  font-weight: 700;
}

.seo-final p {
  margin: 4px 0 16px;
  color: #FFFFFFFF;
  font-size: 20px;
  font-weight: 500;
  font-family: Montserrat;
  padding: 0 0 20px 0;
}

.seo-final-image {
  height: 180px;
  border-radius: 14px;
  background: url('https://seoedge.pk/wp-content/uploads/2026/01/Gemini_Generated_Image_t1xhzit1xhzit1xh-scaled.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  margin: 18px auto 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.seo-final-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(12, 28, 44, 0.55), rgba(12, 28, 44, 0.2));
}

.seo-final-cta {
    width: 100%;
    font-family: Montserrat;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: #202045;
    color: var(--seo-white);
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.seo-final-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(13, 20, 45, 0.4);
  background: #202045;
}

.seo-thankyou {
  text-align: center;
  padding: 10px 8px 4px;
}

.seo-thankyou-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #6BBA76;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px rgba(60, 204, 66, 0.26);
}

.seo-thankyou-icon svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

.seo-thankyou p {
  margin: 4px auto 18px;
  max-width: 520px;
  font-size: 20px;
  font-family: Montserrat;
  color: rgba(255, 255, 255, 0.85);
}

.seo-whatsapp-btn {
  width: max-content;
  min-width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background: #6BBA76;
  color: var(--seo-navy);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(60, 204, 66, 0.28);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.seo-whatsapp-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.seo-whatsapp-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.seo-whatsapp-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--seo-navy);
}

.seo-call {
  margin-top: 16px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.seo-call a {
  color: var(--seo-white);
  text-decoration: none;
}

.seo-thankyou-note {
  margin: 14px auto 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}


@media (max-width: 720px) {
  .seo-edge-card {
    width: min(92vw, 660px);
    border-radius: 24px;
  }

  .seo-edge-grid {
    grid-template-columns: 1fr;
  }

  .seo-field-row {
    grid-template-columns: 1fr;
  }

  .seo-edge-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .seo-final p,
  .seo-thankyou p {
    font-size: 18px;
  }

  .seo-edge-next {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .seo-edge-card-inner {
    padding: 20px;
  }

  .seo-edge-progress {
    width: 54px;
    height: 54px;
  }
  

  .seo-final-image {
    height: 140px;
  }

  .seo-field-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
