/*
Theme Name: AsetProperty Coming Soon Minimal
Theme URI: https://asetproperty.com/
Author: Aset Property
Description: Minimal elegant coming soon theme for Aset Property with a fixed luxury-home background, subtle motion, and built-in email waitlist.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: asetproperty-coming-soon
*/

:root {
  --ap-bg: #071113;
  --ap-text: #f7faf9;
  --ap-muted: rgba(235, 241, 239, 0.86);
  --ap-soft: rgba(235, 241, 239, 0.72);
  --ap-accent: #2f7255;
  --ap-accent-hover: #398261;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--ap-bg);
  color: var(--ap-text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
a { color: inherit; }
body.admin-bar .ap-page { min-height: calc(100vh - 32px); }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}

.ap-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #081113;
}

.ap-bg,
.ap-overlay,
.ap-vignette,
.ap-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ap-bg {
  z-index: -4;
  overflow: hidden;
  background: #081113;
}

.ap-bg-frame {
  position: absolute;
  inset: -3%;
  background-image: var(--ap-bg-1);
  background-size: cover;
  background-position: center center;
  transform: scale(1.045);
  will-change: transform;
}

.ap-overlay {
  z-index: -3;
  background:
    linear-gradient(180deg, rgba(5, 12, 13, 0.18), rgba(5, 12, 13, 0.74)),
    linear-gradient(90deg, rgba(5,12,13,0.64) 0%, rgba(5,12,13,0.28) 42%, rgba(5,12,13,0.60) 100%);
}

.ap-vignette {
  z-index: -2;
  background: radial-gradient(circle at 50% 42%, rgba(0,0,0,0) 0 22%, rgba(0,0,0,0.18) 58%, rgba(0,0,0,0.58) 100%);
}

.ap-light {
  z-index: -1;
  width: 44vw;
  height: 44vw;
  left: -8vw;
  bottom: -12vw;
  top: auto;
  border-radius: 50%;
  background: rgba(51, 121, 90, 0.13);
  filter: blur(90px);
  will-change: transform;
}

.ap-content-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 22px;
}

.ap-shell {
  width: min(760px, 100%);
  text-align: center;
}

.ap-logo {
  margin: 0 auto 30px;
}

.ap-logo img,
.ap-logo .custom-logo {
  display: block;
  width: min(360px, 74vw);
  max-height: 100px;
  object-fit: contain;
  margin: 0 auto;
}

.ap-title {
  margin: 0;
  font-size: clamp(46px, 8vw, 94px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 12px 44px rgba(0,0,0,0.22);
}

.ap-subtitle {
  width: min(720px, 100%);
  margin: 22px auto 0;
  color: var(--ap-muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.68;
  text-wrap: balance;
}

.ap-form {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin: 34px auto 0;
}

.ap-input {
  width: 100%;
  min-height: 64px;
  padding: 0 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.10);
  color: #fff;
  outline: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.ap-input::placeholder { color: rgba(235,241,239,0.72); }
.ap-input:focus {
  border-color: rgba(93,186,144,0.82);
  background: rgba(255,255,255,0.13);
  box-shadow: 0 0 0 4px rgba(72, 147, 112, 0.16);
}

.ap-button {
  min-height: 64px;
  min-width: 170px;
  padding: 0 30px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--ap-accent), #255840);
  color: #fff;
  font-weight: 760;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(26, 76, 54, 0.28);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.ap-button:hover,
.ap-button:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, var(--ap-accent-hover), #2c684d);
  box-shadow: 0 20px 52px rgba(26, 76, 54, 0.34);
}

.ap-privacy {
  margin-top: 16px;
  color: var(--ap-soft);
  font-size: 13px;
}

.ap-footer {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.66);
  font-size: 12px;
}

.ap-message {
  width: min(720px,100%);
  margin: 22px auto 0;
  padding: 14px 16px;
  border-radius: 15px;
  font-size: 14px;
}
.ap-message--success {
  background: rgba(51,114,86,.18);
  border: 1px solid rgba(114,215,161,.24);
  color: #e5fff2;
}
.ap-message--error {
  background: rgba(133,51,51,.18);
  border: 1px solid rgba(255,137,137,.22);
  color: #ffe9e9;
}

@media (max-width: 767px) {
  body.admin-bar .ap-page { min-height: calc(100vh - 46px); }
  .ap-content-wrap { padding: 24px 16px; }
  .ap-form { grid-template-columns: 1fr; }
  .ap-button { width: 100%; }
  .ap-logo { margin-bottom: 24px; }
  .ap-subtitle { line-height: 1.62; }
  .ap-footer { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .ap-bg-frame { transform: none !important; }
}
