* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #102a43;
  --primary-light: #173b5f;
  --gold: #d6a84f;
  --gold-dark: #b98a32;
  --green: #16a34a;
  --bg: #f7f4ee;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --radius: 28px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--primary);
  color: rgba(255,255,255,0.86);
  font-size: 13px;
  padding: 10px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--primary);
  font-size: 21px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-weight: 700;
  color: #334155;
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--gold-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111827;
}

.btn-dark {
  background: var(--primary);
  color: white;
}

.btn-light {
  background: white;
  color: var(--primary);
  border: 1px solid var(--border);
}

.mobile-menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: white;
  font-size: 24px;
  cursor: pointer;
}

.mobile-dropdown {
  display: none;
  background: white;
  border-top: 1px solid var(--border);
  padding: 12px 20px 18px;
}

.mobile-dropdown.show {
  display: grid;
  gap: 10px;
}

.mobile-dropdown a {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  color: var(--primary);
  font-weight: 800;
  border: 1px solid var(--border);
}

.hero {
  padding: 80px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 55px;
  align-items: center;
}

.badge {
  display: inline-flex;
  background: rgba(22, 163, 74, 0.1);
  color: #166534;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.075em;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--gold-dark);
}

.hero p {
  font-size: 18px;
  color: #475569;
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: 24px;
}

.stat-card span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.estate-card {
  background: white;
  border-radius: 38px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.estate-image {
  height: 350px;
  border-radius: 28px;
  background:
    linear-gradient(to bottom, rgba(16,42,67,0.05), rgba(16,42,67,0.65)),
    url('efab-verizon-gate.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.floating-panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: rgba(255,255,255,0.92);
  border-radius: 24px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qr-img-small {
  width: 74px;
  height: 74px;
  border-radius: 16px;
  background: white;
  border: 8px solid white;
  object-fit: cover;
}

.section {
  padding: 82px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.section-kicker {
  color: var(--gold-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  margin-bottom: 12px;
}

.section h2 {
  color: var(--primary);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--muted);
  font-size: 17px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(214, 168, 79, 0.14);
  color: var(--gold-dark);
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card h3 {
  color: var(--primary);
  font-size: 21px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
}

.dark-section {
  background: var(--primary);
  color: white;
  border-radius: 44px;
  margin: 30px auto;
  width: min(1240px, calc(100% - 28px));
}

.how-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  align-items: center;
}

.dark-section h2 {
  color: white;
}

.white-muted {
  color: rgba(255,255,255,0.72);
  margin-bottom: 28px;
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 18px;
}

.step-num {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--gold);
  color: #111827;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.step p {
  color: rgba(255,255,255,0.72);
}

.phone-mockup {
  width: min(360px, 100%);
  margin: 0 auto;
  background: #0f172a;
  border-radius: 42px;
  padding: 14px;
}

.phone-screen {
  background: #f8fafc;
  border-radius: 32px;
  min-height: 520px;
  overflow: hidden;
}

.app-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 30px 22px;
  color: white;
}

.app-header h3 {
  font-size: 24px;
}

.app-body {
  padding: 20px;
  color: var(--text);
}

.access-code {
  background: white;
  border-radius: 24px;
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.access-code .big {
  font-size: 34px;
  letter-spacing: 0.1em;
  color: var(--primary);
  font-weight: 900;
}

.access-code p {
  color: var(--muted);
  font-size: 13px;
}

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-item {
  display: flex;
  justify-content: space-between;
  background: white;
  border-radius: 18px;
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
}

.status-ok {
  color: var(--green);
}

footer {
  background: #081827;
  color: rgba(255,255,255,0.72);
  padding: 55px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 30px;
  margin-bottom: 36px;
}

footer h3,
footer h4 {
  color: white;
  margin-bottom: 14px;
}

footer a {
  display: block;
  margin: 9px 0;
  color: rgba(255,255,255,0.68);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav-links,
  .nav-inner > .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .topbar {
    display: none;
  }

  .nav-inner {
    height: 72px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding: 50px 0;
  }

  .hero-stats,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .estate-image {
    height: 430px;
  }

  .floating-panel {
    left: 15px;
    right: 15px;
    bottom: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
  
  .page-hero {
  padding-bottom: 30px;
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.download-card {
  background: white;
  border-radius: 34px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 34px;
}

.qr-downloads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.qr-download {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 18px;
  text-align: center;
}

.qr-real {
  width: 140px;
  height: 140px;
  margin: 0 auto 13px;
  background: white;
  border: 12px solid white;
  border-radius: 18px;
  object-fit: cover;
}

.benefit-list {
  display: grid;
  gap: 14px;
}

.benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #475569;
  font-weight: 600;
}

.benefit span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.1);
  color: var(--green);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 900;
}

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

@media (max-width: 640px) {
  .qr-downloads {
    grid-template-columns: 1fr;
  }
}

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.error-box {
  max-width: 780px;
  text-align: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 60px 30px;
  box-shadow: var(--shadow);
}

.error-code {
  font-size: clamp(76px, 12vw, 150px);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.08em;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.error-box h1 {
  font-size: clamp(34px, 5vw, 56px);
  color: var(--primary);
  letter-spacing: -0.06em;
  margin-bottom: 14px;
}

.error-box p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;

}

.contact-form-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 35px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  max-width: 720px;
}

.contact-form-card form {
  margin-top: 25px;
}

.contact-form-card label {
  display: block;
  margin-bottom: 7px;
  margin-top: 16px;
  font-weight: 800;
  color: var(--primary);
  font-size: 14px;
}

.contact-input {
  width: 100%;
  height: 54px;
  border: 1px solid #d6dce5;
  border-radius: 14px;
  padding: 0 15px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  background: #f8fafc;
}

textarea.contact-input {
  height: auto;
  min-height: 130px;
  padding-top: 15px;
  resize: vertical;
}

.contact-input:focus {
  border-color: var(--gold-dark);
  background: #ffffff;
}

.contact-submit {
  width: 100%;
  margin-top: 22px;
  height: 56px;
}


.contact-grid{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:28px;
  align-items:start;
}

.contact-info{
  display:grid;
  gap:22px;
}

.contact-email{
  display:inline-block;
  margin-top:18px;
  color:var(--gold-dark);
  font-weight:800;
  word-break:break-word;
}

.contact-form-card{
  background:#ffffff;
  border-radius:32px;
  padding:40px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}

.contact-form{
  display:flex;
  flex-direction:column;
}

.contact-form-card label{
  display:block;
  margin-top:18px;
  margin-bottom:8px;
  font-weight:800;
  color:var(--primary);
  font-size:14px;
}

.contact-input{
  width:100%;
  height:56px;
  border:1px solid #d6dce5;
  border-radius:16px;
  padding:0 18px;
  font-size:15px;
  font-family:inherit;
  outline:none;
  background:#f8fafc;
}

textarea.contact-input{
  height:160px;
  padding-top:16px;
  resize:vertical;
}

.contact-input:focus{
  border-color:var(--gold-dark);
  background:#ffffff;
}

.contact-submit{
  width:100%;
  margin-top:24px;
  height:58px;
  font-size:16px;
}

@media(max-width:920px){

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

  .contact-form-card{
    padding:28px 22px;
  }

}

.form-alert{
  padding:16px 18px;
  border-radius:16px;
  margin:0 0 22px;
  font-weight:800;
}

.form-alert.success{
  background:rgba(22,163,74,0.1);
  color:#166534;
  border:1px solid rgba(22,163,74,0.2);
}

.form-alert.error{
  background:rgba(220,38,38,0.1);
  color:#991b1b;
  border:1px solid rgba(220,38,38,0.2);
}

.message-status-box{
  background:#ffffff;
  border-radius:28px;
  padding:34px 28px;
  text-align:center;
  margin:0 auto 35px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  max-width:760px;
}

.message-status-box h3{
  font-size:32px;
  color:var(--primary);
  margin:18px 0 12px;
  letter-spacing:-0.04em;
}

.message-status-box p{
  color:var(--muted);
  max-width:560px;
  margin:auto;
  line-height:1.7;
}

.message-success-icon,
.message-error-icon{
  width:78px;
  height:78px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:auto;
  font-size:34px;
  font-weight:900;
}

.message-success-icon{
  background:rgba(22,163,74,0.12);
  color:#16a34a;
}

.message-error-icon{
  background:rgba(220,38,38,0.12);
  color:#dc2626;
}