:root {
  --primary-blue: #092c4c;
  --primary-blue-dark: #051f36;
  --accent-green: #28a745;
  --text-dark: #fff;
  --text-muted: #ccc;
  --input-bg: #fff;
  --input-shadow: #bbb;
  --glass-bg: #102840;
  --glass-shadow: rgba(0 0 0 / 0.15);
  --border-radius: 14px;
  --font-family: "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

#fdp-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.fdp-container {
  display: flex;
  max-width: 960px;
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
  padding: 0 20px;
}

.fdp-left {
  background: var(--primary-blue);
  flex: 1 1 50%;
  padding: 48px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 30px 0 0 30px;
}

.fdp-left h2 {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #009ed6;
  margin-bottom: 8px;
  letter-spacing: 0.8px;
}

.fdp-left h3 {
  font-size: 28px;
  text-transform: capitalize;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
  color: #fff;
}

.fdp-price {
  font-size: 24px;
  color: #009ed6;
  font-weight: 700;
  margin-bottom: 24px;
}

.fdp-description {
  font-size: 15px;
  margin-bottom: 20px;
}

input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border-radius: var(--border-radius);
  border: none;
  background: var(--input-bg);
  box-shadow: inset 0 0 0 1px #ccc;
  font-weight: 500;
  margin-bottom: 16px;
}

input::placeholder {
  color: #888;
}

input:focus {
  outline: none;
  border: 2px solid var(--primary-blue);
}

.fdp-button {
  width: 100%;
  padding: 16px;
  background-color: #2c4d8c;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.fdp-button:hover {
  background-color: #050f23;
}

.fdp-privacy {
  font-size: 12px;
  color: #ccc;
  margin-top: 20px;
  line-height: 1.5;
}

.fdp-privacy a {
  color: #fff;
  text-decoration: underline;
}

.fdp-right {
  background-color: white;
  flex: 1 1 25%;
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 30px 30px 0;
}

.fdp-agent-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px #212e47;
  position: relative;
}

.fdp-agent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fdp-status-dot {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  background: var(--accent-green);
  border: 3px solid white;
  border-radius: 50%;
}

.fdp-call-heading {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.fdp-call-description {
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
}

.fdp-call-info {
  font-size: 22px;
  font-weight: 700;
  color: #009ed6;
  margin-bottom: 24px;
}

.fdp-rating {
  font-size: 16px;
  color: #009ed6;
  margin-bottom: 4px;
}

.fdp-review {
  font-size: 13px;
  color: #777;
}

body:has(#fdp-overlay[style="display: flex;"]) {
  overflow: clip;
  height: 100vh;
}

@media (max-width: 740px) {
  .fdp-container {
    flex-direction: column;
  }

  .fdp-left,
  .fdp-right {
    flex: 1 1 100%;
    padding: 20px 15px;
  }
  .fdp-left {
    border-radius: 30px 30px 0 0;
  }
  .fdp-right {
    border-radius: 0 0 30px 30px;
  }
  .fdp-price {
    font-size: 24px;
    margin-bottom: 11px;
  }
  input[type="email"],
  input[type="tel"] {
    padding: 10px 18px;
    font-size: 15px;
    margin-bottom: 12px;
  }
  .fdp-call-info {
    font-size: 21px;
    margin-bottom: 0px;
  }
  .fdp-button {
    padding: 12px;
    font-size: 16px;
  }
  .fdp-call-description {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .fdp-left h3 {
    font-size: 23px;
    margin-bottom: 5px;
    line-height: 1.2;
  }
  .fdp-description {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .fdp-agent-wrapper {
    display: none;
  }
  .fdp-privacy {
    font-size: 10px;
    margin-top: 15px;
    line-height: 1.3;
  }
  .fdp-left h2 {
    font-size: 14px;
    margin-bottom: 4px;
  }
}
