/* Publish My IP, Inc. — Coming Soon page styles */

:root {
  --bg-dark: #12122b;
  --bg-medium: #1a1a38;
  --accent: #6d4aff;
  --accent-bright: #8f74ff;
  --text-light: #f4f4fa;
  --text-muted: #b8b8cc;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
  --success: #3dd68c;
  --error: #ff6b7a;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-medium) 60%, #23204d 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Decorative background orbs */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -150px;
  right: -150px;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: #3d7bff;
  bottom: -120px;
  left: -120px;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, 40px) scale(1.15); }
}

main {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 56px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.brand-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  border-radius: 14px;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(109, 74, 255, 0.45);
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge {
  display: inline-block;
  background: rgba(109, 74, 255, 0.18);
  color: var(--accent-bright);
  border: 1px solid rgba(109, 74, 255, 0.4);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(109, 74, 255, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(109, 74, 255, 0); }
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

h1 .highlight {
  background: linear-gradient(90deg, var(--accent-bright), #56c5ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Sections */
section {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

section:hover {
  border-color: rgba(109, 74, 255, 0.45);
  transform: translateY(-2px);
}

section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

section h2::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 22px;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  border-radius: 4px;
}

section p {
  color: var(--text-muted);
}

section p strong {
  color: var(--text-light);
}

/* Centered sections (headings, text, and content groups) */
.section-center {
  text-align: center;
}

.section-center h2 {
  justify-content: center;
}

.section-center .contact-links {
  justify-content: center;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
  margin-top: 20px;
}

/* Wide screens: 3 tiles across, with the 4th centered
   in the middle column of the second row */
@media (min-width: 780px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature:nth-child(4) {
    grid-column: 2;
  }
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.feature:hover {
  background: rgba(109, 74, 255, 0.1);
  border-color: rgba(109, 74, 255, 0.4);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: block;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-light);
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Contact / social */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
}

.contact-link:hover {
  background: rgba(109, 74, 255, 0.2);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.contact-link span.labeled {
  opacity: 0.85;
  font-size: 0.85rem;
}

/* Signup form */
.signup-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 26px auto 0;
}

.signup-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-light);
  font-size: 1rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.signup-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

.signup-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109, 74, 255, 0.25);
}

.signup-form button {
  padding: 14px 28px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 6px 18px rgba(109, 74, 255, 0.4);
  white-space: nowrap;
}

.signup-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(109, 74, 255, 0.55);
}

.signup-form button:active {
  transform: translateY(0);
}

.form-message {
  display: none;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 500;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.form-message.success {
  display: block;
  background: rgba(61, 214, 140, 0.12);
  border: 1px solid rgba(61, 214, 140, 0.4);
  color: var(--success);
}

.form-message.error {
  display: block;
  background: rgba(255, 107, 122, 0.12);
  border: 1px solid rgba(255, 107, 122, 0.4);
  color: var(--error);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.footer-motto {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-motto .accent {
  color: var(--accent-bright);
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Reveal-on-scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 560px) {
  .signup-form {
    flex-direction: column;
  }
  section {
    padding: 26px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
